#hsh-hero{ --blue: #0b4078; --gold: #ffc466; --cream: #fffbec; --tile: #faeed6; --tile-alt: #fff7e9; --tile-hi: #fff1da; position: relative; }
#hsh-hero, #hsh-hero *{ box-sizing: border-box; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", "Noto Sans", sans-serif; }
.bg{ position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(900px 640px at 12% 10%, rgba(255,196,102,.10), transparent 60%), radial-gradient(820px 700px at 88% 85%, rgba(11,64,120,.08), transparent 60%), linear-gradient(180deg,#fff8e8 0%, #fff3dd 100%); }
.grain{ position: absolute; inset: -10%; z-index: -1; opacity: .1; mix-blend-mode: multiply; pointer-events: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>'); }
.wrap{ position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px,5.5vw,90px); padding: clamp(24px,6vw,64px); min-height: min(80vh,720px); border-radius: 24px; overflow: hidden; }
#hsh-hero .wrap{ max-width: min(1200px,94vw); margin-left: auto; margin-right: auto; }
.left{ display: flex; flex-direction: column; justify-content: center; }
.right{ display: block; position: relative; }
.eyebrow{ display: inline-flex; align-items: center; gap: .6ch; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: #2f4660; opacity: .95; font-size: clamp(12px,1.1vw,14px); margin-bottom: 12px; }
.dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(255,196,102,.22); }
.headline{ --fs: clamp(22px,3.8vw,48px); --lh: 1.08; font-weight: 900; letter-spacing: -.02em; color: var(--blue); text-transform: uppercase; line-height: var(--lh); }
.h1,.h2,.h3{ display: block; font-size: var(--fs); line-height: var(--lh); margin: 0; }
.h1{ margin-bottom: .14em; }
.h2{ margin: .06em 0; }
.h3{ margin: .10em 0 0; }
.rot-stack{ display: inline-block; position: relative; line-height: var(--lh); font-size: var(--fs); vertical-align: baseline; }
.rot-frame{ position: absolute; left: 0; top: 0; font: inherit; font-weight: 900; white-space: nowrap; color: transparent; background: linear-gradient(180deg,var(--gold),#efb650); -webkit-background-clip: text; background-clip: text; text-shadow: 0 6px 14px rgba(255,196,102,.28); opacity: 0; transform: translateY(18%); transition: opacity .34s ease, transform .34s cubic-bezier(.2,.8,.2,1); line-height: var(--lh); vertical-align: baseline; }
.rot-frame.on{ opacity: 1; transform: translateY(0); }
.rot-frame.out{ opacity: 0; transform: translateY(-14%); }
.sub{ margin-top: 14px; font-size: clamp(13px,1.35vw,18px); line-height: 1.65; color: #3d4e61; max-width: 60ch; }
.cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(16px,2vw,24px); }
.btn{ appearance: none; border: 0; border-radius: 16px; padding: 14px 18px; font-weight: 900; cursor: pointer; }
.btn--gold{ background: var(--gold); color: var(--blue); box-shadow: 0 14px 26px rgba(255,196,102,.28); }
.btn--blue{ background: var(--blue); color: #fff; box-shadow: 0 14px 26px rgba(11,64,120,.22); }
.game-wrap{ width: 100%; display: grid; place-items: center; }
.game-toggle{ display: none; margin-top: 12px; width: 100%; max-width: 520px; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; border: 1px solid rgba(15,35,55,.12); background: #fff; color: #1a4b84; box-shadow: 0 10px 20px rgba(15,35,55,.08); padding: 12px 14px; font-weight: 900; cursor: pointer; }
.game-toggle .arrow{ display: inline-block; transition: transform .3s ease; }
.game-toggle:active{ transform: scale(0.98); transition: transform 0.1s ease; }
.intro-screen{ padding: 0; background: linear-gradient(135deg, var(--cream) 0%, #fff8e8 100%); border-radius: 16px; position: relative; overflow: hidden; max-height: none; display: flex; flex-direction: column; border: 1px solid rgba(11,64,120,0.1); box-shadow: 0 12px 24px rgba(11,64,120,0.08); }
.intro-content{ width: 100%; display: flex; flex-direction: column; height: 100%; }
.intro-header{ position: relative; padding: 0; border-radius: 16px 16px 0 0; overflow: hidden; height: 100px; }
.header-visual{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
.header-svg{ width: 100%; height: 100%; }
.header-text{ position: relative; z-index: 2; text-align: center; }
.header-text h2{ color: #ffffff; font-size: 20px; font-weight: 800; margin: 0 0 4px 0; letter-spacing: -0.5px; }
.header-text p{ color: rgba(255,255,255,0.9); font-size: 12px; margin: 0; font-weight: 500; }
.intro-body{ flex: 1; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.intro-visual{ margin-bottom: 8px; }
.intro-svg{ width: 60px; height: 40px; }
.intro-text h3{ color: var(--blue); font-size: 18px; font-weight: 700; margin: 0 0 8px 0; line-height: 1.3; }
.intro-text p{ color: #64748b; font-size: 14px; line-height: 1.5; margin: 0 0 16px 0; }
.explore-btn{ gap: 8px; background: linear-gradient(135deg, var(--blue), #1e40af); color: #fff; padding: 12px 24px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: all .3s ease; box-shadow: 0 4px 12px rgba(11,64,120,0.3); font-size: 14px; display: inline-flex !important; align-items: center !important; justify-content: center !important; text-decoration: none !important; border: none !important; outline: none !important; user-select: none !important; -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; }
.explore-btn:hover{ transform: translateY(-2px); box-shadow: 0 6px 16px rgba(11,64,120,0.4); }
.intro-footer{ padding: 20px 24px; text-align: center; padding-top: 16px; border-top: 1px solid rgba(15,35,55,0.08); }
.intro-footer p{ color: #64748b; font-size: 14px; margin: 0 0 12px 0; }
.contact-link{ color: var(--blue); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 16px; border: 2px solid var(--blue); border-radius: 8px; transition: all 0.3s ease; display: inline-block; }
.contact-link:hover{ background: var(--blue); color: #ffffff; transform: translateY(-1px); }
.games-screen{ padding: 0; background: linear-gradient(135deg, var(--cream) 0%, #fff8e8 100%); border-radius: 16px; position: relative; overflow-y: auto; max-height: 100%; height: 100%; display: flex; flex-direction: column; border: 1px solid rgba(15,35,55,0.08); box-shadow: 0 12px 24px rgba(15,35,55,0.12); }
.games-screen::-webkit-scrollbar{ width: 8px; }
.games-screen::-webkit-scrollbar-track{ background: rgba(11,64,120,.1); border-radius: 4px; }
.games-screen::-webkit-scrollbar-thumb{ background: linear-gradient(180deg, var(--blue), #1e40af); border-radius: 4px; }
.games-screen::-webkit-scrollbar-thumb:hover{ background: linear-gradient(180deg, #1e40af, var(--blue)); }
.games-content{ width: 100%; display: flex; flex-direction: column; padding: 0; gap: 0; }
.games-header{ position: relative; padding: 0; border-radius: 16px 16px 0 0; overflow: hidden; height: 100px; margin-bottom: 0; }
.games-header .header-visual{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
.games-header .header-svg{ width: 100%; height: 100%; }
.games-header .header-text{ position: relative; z-index: 2; padding: 16px; text-align: center; }
.games-header .header-text h2{ color: #ffffff; font-size: 20px; font-weight: 800; margin: 0 0 4px 0; letter-spacing: -0.5px; }
.games-header .header-text p{ color: rgba(255,255,255,0.9); font-size: 12px; margin: 0; font-weight: 500; }
.back-btn-container{ position: absolute; top: 14px; left: 8px; z-index: 10; }
.back-btn{ font-size: 16px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); background: linear-gradient(135deg, rgba(15,35,55,0.08), rgba(15,35,55,0.04)); border: 1px solid rgba(15,35,55,0.15); border-radius: 10px; padding: 8px 14px; font-weight: 700; color: #1a4b84; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(15,35,55,0.1); }
.back-btn:hover{ background: rgba(255,255,255,1); color: var(--blue); border-color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(15,35,55,0.15); }
.games-screen .back-btn{ background: rgba(255,255,255,0.9) !important; border: 2px solid #ffffff !important; color: var(--blue) !important; }
.games-screen .back-btn:hover{ background: rgba(255,255,255,1) !important; border-color: #ffffff !important; color: var(--blue) !important; }
.games-body{ padding: 16px; display: flex; flex-direction: column; gap: 5px; overflow-y: auto; max-height: calc(100% - 120px); flex: 1; }
.games-body::-webkit-scrollbar{ width: 8px; }
.games-body::-webkit-scrollbar-track{ background: rgba(15,35,55,.05); border-radius: 4px; }
.games-body::-webkit-scrollbar-thumb{ background: linear-gradient(180deg, var(--gold), #e1a648); border-radius: 4px; }
.games-body::-webkit-scrollbar-thumb:hover{ background: linear-gradient(180deg, #e1a648, var(--gold)); }
.games-image-container{ width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; height: 80px; margin: 16px 0; }
.games-image{ width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.games-text{ text-align: center; }
.games-text h3{ color: var(--blue); font-size: 18px; font-weight: 700; margin: 0 0 8px 0; }
.games-text p{ color: #64748b; font-size: 14px; margin: 0; line-height: 1.4; }
.games-grid{ display: flex; flex-direction: column; gap: 16px; height: 230px; margin: 0 auto; overflow-y: auto; padding: 8px; }
.games-grid::-webkit-scrollbar{ width: 6px; }
.games-grid::-webkit-scrollbar-track{ background: rgba(15,35,55,.05); border-radius: 3px; }
.games-grid::-webkit-scrollbar-thumb{ background: linear-gradient(180deg, var(--gold), #e1a648); border-radius: 3px; }
.games-grid::-webkit-scrollbar-thumb:hover{ background: linear-gradient(180deg, #e1a648, var(--gold)); }
.game-card{ display: flex; align-items: center; gap: 8px; padding: 15px; background: #ffffff; border: 2px solid rgba(15,35,55,0.1); border-radius: 10px; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 2px 6px rgba(15,35,55,0.08); min-height: 50px; flex-shrink: 0; }
.game-visual{ width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: linear-gradient(135deg, var(--cream), #fff8e8); border: 1px solid rgba(11,64,120,0.1); }
.game-svg{ width: 24px; height: 24px; }
.game-info{ min-width: 0; flex: 1; }
.game-info h4{ line-height: 1.2; margin: 0 0 4px 0; font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: -0.3px; }
.game-info p{ line-height: 1.3; margin: 0 0 6px 0; font-size: 12px; color: #64748b; font-weight: 500; }
.game-duration{ font-size: 10px; color: #94a3b8; font-weight: 600; background: linear-gradient(135deg, rgba(15,35,55,0.08), rgba(15,35,55,0.04)); padding: 3px 6px; border-radius: 4px; display: inline-block; }
#marketingGame{ border-color: #458f58; }
#marketingGame .game-visual{ background: var(--cream); }
#marketingGame .game-duration{ background: #ffffff; color: #458f58; border-color: #458f58; }
#formationGame{ border-color: #eb4747; }
#formationGame .game-visual{ background: var(--cream); }
#formationGame .game-duration{ background: #ffffff; color: #eb4747; border-color: #eb4747; }
#teambuildingGame{ border-color: #0959d9; }
#teambuildingGame .game-visual{ background: var(--cream); }
#teambuildingGame .game-duration{ background: #ffffff; color: #0959d9; border-color: #0959d9; }
.game-card::before{ content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transition: transform 0.3s ease; }
.game-card:hover{ transform: translateY(-1px); box-shadow: 0 4px 12px rgba(11,64,120,0.12); border-color: var(--blue); }
.game-card:hover::before{ transform: scaleX(1); }
.game-status{ width: 10px; height: 10px; border-radius: 50%; background: rgba(11,64,120,0.2); font-size: 20px; color: var(--gold); opacity: 0; transition: all .4s cubic-bezier(0.4, 0, 0.2, 1); position: absolute; right: 12px; top: 50%; transform: translateY(-50%); filter: drop-shadow(0 2px 4px rgba(255,196,102,0.3)); }
.game-card:hover .game-status{ background: var(--blue); transform: scale(1.1); }
.intro-image-container, .games-image-container{ width: 100%; display: flex; align-items: center; justify-content: center; }
.intro-image-container{ height: 80px; }
.image-placeholder{ width: 100%; height: 100%; background: linear-gradient(135deg, rgba(11,64,120,0.1), rgba(11,64,120,0.05)); border: 2px dashed rgba(11,64,120,0.3); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.placeholder-text{ color: rgba(11,64,120,0.6); font-size: 14px; font-weight: 500; }
.intro-image, .games-image{ width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 12px; box-shadow: none; border: none; }
.mission-objective{ background: linear-gradient(135deg, #0959d9, #0848b8); color: #ffffff; padding: 20px; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 4px 12px rgba(9,89,217,0.2); }
.mission-objective h4, .mission-context h4{ font-size: 18px; font-weight: 800; margin: 0 0 12px 0; letter-spacing: -0.3px; }
.mission-objective h4{ color: #ffffff !important; }
.mission-context h4{ color: var(--blue) !important; }
.mission-objective p, .mission-context p{ font-size: 16px; margin: 0; line-height: 1.5; font-weight: 500; }
.mission-objective p{ color: rgba(255,255,255,0.95) !important; }
.mission-context p{ color: #374151 !important; }
.mission-context{ background: linear-gradient(135deg, #f8fafc, #ffffff); color: var(--blue); padding: 20px; border-radius: 12px; margin-bottom: 24px; border: 2px solid rgba(11,64,120,0.15); box-shadow: 0 2px 8px rgba(11,64,120,0.1); }
.game-zone-compact{ margin-bottom: 20px; }
.memory-container-compact{ margin-bottom: 16px; }
.memory-grid-compact{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 320px; margin: 0 auto; padding: 20px; background: linear-gradient(135deg, #f8fafc, #ffffff); border-radius: 16px; border: 2px solid rgba(11,64,120,0.1); box-shadow: 0 4px 12px rgba(11,64,120,0.08); }
#marketingGameContent{ background: linear-gradient(135deg, #458f58 0%, #458f58 100%) !important; padding: 24px !important; height: auto !important; overflow-y: auto !important; max-width: 100% !important; border-radius: 20px !important; box-shadow: 0 12px 32px rgba(139,69,19,0.3) !important; color: #ffffff !important; margin: 0 !important; position: static !important; top: auto !important; left: auto !important; z-index: auto !important; }
.advergame-badge{ background: #FFD700; color: #8B4513; padding: 4px 8px; border-radius: 12px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.brand-message{ background: rgba(255,255,255,0.2); padding: 8px 12px; border-radius: 8px; font-size: 12px; font-style: italic; margin-top: 8px; text-align: center; }
.bean-price{ font-size: 11px; color: #FFD700; font-weight: 700; margin-top: 4px; }
.coffee-header{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; padding-bottom: 15px; border-bottom: 2px solid rgba(255,255,255,0.2); }
.coffee-logo{ display: flex; align-items: center; gap: 10px; }
.coffee-icon{ font-size: 24px; animation: pulse 2s infinite; }
.coffee-brand{ font-size: 16px; font-weight: 800; letter-spacing: 1px; color: #ffffff; }
.coffee-hero{ text-align: center; margin-bottom: 25px; }
.coffee-hero h2{ color: #ffffff; font-size: 20px; font-weight: 800; margin: 0 0 8px 0; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.coffee-hero p{ color: rgba(255,255,255,0.9); font-size: 14px; margin: 0; line-height: 1.4; }
.coffee-balance{ background: rgba(255,255,255,0.1); border-radius: 15px; padding: 20px; margin-bottom: 25px; backdrop-filter: blur(10px); }
.balance-display{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.balance-left, .balance-right{ display: flex; flex-direction: column; align-items: center; gap: 5px; }
.balance-icon{ font-size: 20px; }
.balance-text{ font-size: 12px; color: rgba(255,255,255,0.8); font-weight: 600; }
.balance-center{ text-align: center; }
.balance-weight{ font-size: 24px; font-weight: 800; color: #ffffff; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.balance-target{ font-size: 12px; color: rgba(255,255,255,0.7); }
.balance-bar{ width: 100%; height: 8px; background: rgba(255,255,255,0.2); border-radius: 4px; overflow: hidden; }
.balance-fill{ height: 100%; background: linear-gradient(90deg, #4CAF50, #8BC34A); width: 0%; transition: width 0.5s ease; border-radius: 4px; }
.coffee-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 25px; }
.coffee-bean{ background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; padding: 10px; text-align: center; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(10px); min-height: 60px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.coffee-bean:hover{ background: rgba(255,255,255,0.25); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.coffee-bean.selected{ background: #4CAF50; border-color: #4CAF50; transform: scale(1.05); }
.bean-icon{ font-size: 18px; margin-bottom: 4px; }
.bean-name{ font-size: 11px; font-weight: 700; margin-bottom: 2px; color: #ffffff; }
.bean-weight{ font-size: 12px; font-weight: 800; margin-bottom: 2px; color: #FFD700; }
.bean-flavor{ font-size: 9px; color: rgba(255,255,255,0.8); font-style: italic; }
.coffee-instructions{ display: flex; justify-content: space-between; margin-bottom: 20px; gap: 10px; }
.instruction-step{ display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; }
.step-number{ width: 24px; height: 24px; background: #4CAF50; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #ffffff; }
.step-text{ font-size: 10px; color: rgba(255,255,255,0.9); text-align: center; line-height: 1.2; }
.coffee-status{ display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255,255,255,0.4); border-radius: 12px; padding: 12px; backdrop-filter: blur(10px); }
.status-icon{ font-size: 16px; }
.status-text{ font-size: 12px; color: rgba(255,255,255,0.9); font-weight: 600; }
#formationGameContent{ background: #ffffff !important; color: #333333 !important; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important; padding: 24px !important; height: auto !important; overflow-y: auto !important; border: 1px solid #e0e0e0 !important; border-radius: 12px !important; max-width: 100% !important; display: block !important; position: static !important; margin: 0 !important; top: auto !important; left: auto !important; z-index: auto !important; }
#formationGameContent[style*="display:none"]{ margin: 0 !important; padding: 0 !important; height: 0 !important; min-height: 0 !important; border: none !important; overflow: hidden !important; }
.formation-instructions{ background: linear-gradient(135deg, #f8f9fa, #e9ecef); padding: 16px; border-radius: 12px; margin-bottom: 20px; border-left: 4px solid #eb4747; margin-top: 10px; }
.instruction-badge{ background: #eb4747; color: white; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; display: inline-block; margin-bottom: 8px; }
.hint-text{ font-size: 12px; color: #6c757d; margin: 8px 0 0 0; font-style: italic; }
.email-interface{ background: #fff; border: 2px solid rgba(15,35,55,.1); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(15,35,55,.1); max-height: 350px; overflow-y: auto; }
.email-client-header{ background: #f8f9fa; padding: 12px 16px; border-bottom: 1px solid #e0e0e0; display: flex; justify-content: space-between; align-items: center; }
.email-client-title{ font-weight: 700; color: #333; }
.email-count{ background: #eb4747; color: white; padding: 4px 8px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.email-list{ background: #fff; }
.email-item{ display: flex; align-items: center; padding: 12px; border-bottom: 1px solid rgba(15,35,55,.05); cursor: pointer; transition: background .2s ease; font-size: 13px; min-height: 60px; gap: 8px; }
.email-item:hover{ background: rgba(15,35,55,.02); }
.email-item.selected{ border-left: 4px solid #007bff; background: rgba(255,196,102,.1); border: 2px solid var(--gold); border-radius: 8px; }
.email-checkbox{ margin-right: 12px; }
.email-sender{ margin-right: 12px; min-width: 140px; max-width: 140px; display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; position: relative; }
.sender-name{ font-weight: 700; color: var(--blue); font-size: 12px; line-height: 1.2; }
.sender-email{ font-style: italic; font-size: 10px; color: #666; line-height: 1.2; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid rgba(15,35,55,.2); border-radius: 6px; padding: 6px 8px; box-shadow: 0 4px 12px rgba(0,0,0,.15); z-index: 10; white-space: nowrap; display: none; margin-top: 4px; }
.email-sender:hover .sender-email{ display: block !important; }
.email-subject{ justify-content: space-between; margin-top: 4px; flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; }
.subject-text{ color: #333; font-weight: 700; font-size: 12px; line-height: 1.2; }
.priority-flag{ font-size: 12px; flex-shrink: 0; }
.email-preview{ margin-top: 4px; font-style: italic; font-size: 12px; color: #666; line-height: 1.3; margin: 4px 0; display: block; }
.email-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.sender-info{ display: flex; flex-direction: column; }
.sender-info .sender-name{ color: #ffffff; font-weight: bold; font-size: 12px; }
.sender-info .sender-email{ color: #666; font-size: 10px; }
.threat-level{ padding: 2px 6px; border-radius: 3px; font-size: 10px; font-weight: bold; }
.threat-level.high{ background: #ff0000; color: #ffffff; }
.threat-level.low{ background: #00ff00; color: #000000; }
.email-subject-hack{ color: #00ff00; font-weight: bold; font-size: 11px; margin-bottom: 4px; }
.email-preview-hack{ color: #cccccc; font-size: 10px; line-height: 1.3; }
.analysis-panel{ background: #1a1a1a; border: 2px solid #ff0000; border-radius: 4px; padding: 16px; margin-top: 16px; }
.analysis-header h4{ color: #ff0000; font-size: 14px; margin: 0 0 12px 0; text-align: center; }
.threat-indicators{ margin-bottom: 12px; }
.indicator{ margin-bottom: 6px; font-size: 11px; padding: 4px 8px; border-radius: 3px; }
.indicator.high{ background: #2a1a1a; color: #ff6666; border-left: 3px solid #ff0000; }
.threat-score{ display: flex; justify-content: space-between; align-items: center; padding: 8px; background: #2a1a1a; border-radius: 3px; }
.score-label{ color: #cccccc; font-size: 11px; }
.score-value.high{ color: #ff0000; font-weight: bold; font-size: 12px; }
#teambuildingGameContent{ color: #ffffff !important; padding: 24px !important; overflow: visible !important; max-width: 100% !important; border-radius: 20px !important; box-shadow: 0 12px 32px rgba(102,126,234,0.3) !important; position: static !important; margin: 0 !important; top: auto !important; left: auto !important; z-index: auto !important; height: 100% !important; min-height: 100% !important; display: flex !important; flex-direction: column !important; }
.phonegamegame > #teambuildingGameContent{ margin-top: 0 !important; padding-top: 20px !important; }
.phonegamegame > .game-content[style*="display:none"]{ margin: 0 !important; padding: 0 !important; height: 0 !important; min-height: 0 !important; border: none !important; overflow: hidden !important; }
.memory-game-container{ display: flex; flex-direction: column; gap: 20px; }
.memory-grid-mobile{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 auto; max-width: 280px; }
.memory-card-mobile{ aspect-ratio: 1; background: #ffffff; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; position: relative; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: 2px solid transparent; min-height: 60px; min-width: 60px; }
.memory-card-mobile:hover{ transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.memory-card-mobile.flipped{ background: linear-gradient(135deg, #F5E6D3, #E6D3B7); border-color: #D4AF37; transform: rotateY(180deg); }
.memory-card-mobile.matched{ background: linear-gradient(135deg, #4CAF50, #45a049); border-color: #4CAF50; transform: scale(0.95); }
.card-back, .card-front{ position: absolute; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: opacity 0.3s ease; }
.card-back{ opacity: 1; }
.card-front{ opacity: 0; }
.memory-card-mobile.flipped .card-back{ opacity: 0; }
.memory-card-mobile.flipped .card-front{ opacity: 1; }
.memory-progress{ background: rgba(255,255,255,0.1); padding: 16px; border-radius: 12px; backdrop-filter: blur(10px); }
.progress-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.progress-header h4{ margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.progress-text{ font-size: 14px; font-weight: 600; }
.progress-bar{ margin-bottom: 8px; width: 200px; height: 8px; background: rgba(15,35,55,.1); border-radius: 4px; overflow: hidden; }
.progress-fill{ height: 100%; background: var(--gold); width: 0%; transition: width .5s ease; }
.memory-stats{ display: flex; justify-content: space-around; background: rgba(255,255,255,0.1); padding: 16px; border-radius: 12px; backdrop-filter: blur(10px); }
.stat-item{ display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.stat-icon{ font-size: 20px; }
.stat-number{ font-size: 18px; font-weight: 700; }
.stat-label{ opacity: 0.8; font-weight: 500; letter-spacing: 0.5px; font-size: 10px; color: #666; text-transform: uppercase; margin-top: 2px; }
.game-success-message{ background: linear-gradient(135deg, #4CAF50, #45a049); color: white; padding: 30px; border-radius: 16px; text-align: center; margin: 0; box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3); animation: fadeInUp 0.5s ease-out; width: 100%; box-sizing: border-box; }
.success-icon{ font-size: 48px; margin-bottom: 16px; }
.game-success-message h3{ margin: 0 0 12px 0; font-size: 24px; font-weight: 700; }
.game-success-message p{ margin: 0 0 12px 0; font-size: 16px; line-height: 1.5; }
.success-explanation{ font-style: italic; opacity: 0.9; font-size: 14px; }
.success-back-btn{ background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.3); color: white; padding: 12px 24px; border-radius: 25px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 20px; transition: all 0.3s ease; }
.success-back-btn:hover{ background: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }
.email-capture{ background: rgba(255,196,102,.1); padding: 20px; border-radius: 12px; margin: 20px 0; border: 1px solid rgba(255,196,102,.2); }
.email-capture h4{ margin: 0 0 12px 0; font-size: 16px; font-weight: 700; color: #ffffff; }
.email-form{ display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; justify-content: center; }
.email-input{ flex: 1; padding: 10px 12px; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; background: rgba(255,255,255,0.9); color: #333; font-size: 14px; outline: none; }
.email-input::placeholder{ color: #666; }
.email-input:focus{ border-color: #4CAF50; box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2); }
.email-submit-btn{ background: #4CAF50; color: white; border: none; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.email-submit-btn:hover{ background: #45a049; transform: translateY(-1px); }
.email-note{ margin: 0; font-size: 12px; color: rgba(255,255,255,0.8); font-style: italic; }
.email-capture-marketing{ background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%); border-radius: 16px; padding: 24px; margin: 0 0 20px 0; border: 2px solid #FFD700; box-shadow: 0 8px 24px rgba(139, 69, 19, 0.3); text-align: center; animation: slideInUp 0.5s ease-out; width: 100%; box-sizing: border-box; }
.email-capture-content h4{ margin: 0 0 16px 0; font-size: 18px; font-weight: 800; color: #FFD700; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.email-capture-marketing .email-form{ display: flex; gap: 12px; margin-bottom: 12px; justify-content: center; }
.email-capture-marketing .email-input{ flex: 1; max-width: 300px; padding: 12px 16px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; background: rgba(255,255,255,0.95); color: #333; font-size: 14px; font-weight: 600; outline: none; transition: all 0.3s ease; }
.email-capture-marketing .email-input:focus{ border-color: #FFD700; box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2); transform: translateY(-2px); }
.email-capture-marketing .email-submit-btn{ background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: #8B4513; border: none; padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 800; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3); }
.email-capture-marketing .email-submit-btn:hover{ background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4); }
.email-capture-marketing .email-note{ margin: 0; font-size: 13px; color: rgba(255,255,255,0.9); font-style: italic; font-weight: 500; }
.email-close-btn{ position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.2); border: none; color: #FFD700; font-size: 24px; font-weight: bold; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; z-index: 11; }
.email-close-btn:hover{ background: rgba(255,255,255,0.3); transform: scale(1.1); }
.coffee-toast{ position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000; padding: 12px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); animation: slideInDown 0.3s ease-out; max-width: 90%; word-wrap: break-word; }
.coffee-toast.success{ background: linear-gradient(135deg, #4CAF50, #45a049); color: white; border: 1px solid #4CAF50; }
.coffee-toast.error{ background: linear-gradient(135deg, #f44336, #d32f2f); color: white; border: 1px solid #f44336; }
.formation-toast .toast-title{ font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.formation-toast .toast-message{ font-size: 13px; line-height: 1.4; opacity: 0.95; }
.teambuilding-game-container{ width: 100%; height: 100%; min-height: 500px; background: #0f172a; border-radius: 12px; overflow-y: auto; position: relative; padding: 0; }
.teambuilding-game-container::before{ content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at top right, rgba(56,189,248,0.25), transparent 40%), radial-gradient(circle at bottom left, rgba(99,102,241,0.25), transparent 35%); pointer-events: none; }
.teambuilding-game-container *{ box-sizing: border-box; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", "Noto Sans", sans-serif; }
.teambuilding-game-container .game-container{ gap: 10px; position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; background: #0f172a; border-radius: 12px; overflow: hidden; }
.teambuilding-game-container .game-header{ position: sticky; top: 0; z-index: 20; padding: 12px; padding-bottom: 8px; backdrop-filter: blur(8px); background: rgba(15, 23, 42, 0.7); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.teambuilding-game-container .header-content{ display: flex; align-items: center; justify-content: space-between; }
.teambuilding-game-container .header-left{ display: flex; align-items: center; gap: 8px; }
.teambuilding-game-container .header-logo{ width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; }
.teambuilding-game-container .header-title h1{ font-size: 14px; font-weight: 600; color: white; margin: 0; }
.teambuilding-game-container .header-title p{ font-size: 11px; color: rgba(255, 255, 255, 0.6); margin: 0; line-height: 1; }
.teambuilding-game-container .header-right{ display: flex; align-items: center; gap: 8px; }
.teambuilding-game-container .chip{ display: inline-flex; align-items: center; gap: 4px; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); padding: 2px 8px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.8); }
.teambuilding-game-container .progress-bar{ margin-top: 8px; height: 6px; width: 100%; border-radius: 9999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.teambuilding-game-container .progress-fill{ height: 100%; background: linear-gradient(90deg, #22d3ee, #3b82f6); transition: width 0.3s ease; }
.teambuilding-game-container .game-main{ position: relative; flex: 1; padding: 12px; padding-top: 4px; overflow-y: auto; min-height: 0; }
.teambuilding-game-container .game-main::-webkit-scrollbar{ width: 8px; }
.teambuilding-game-container .game-main::-webkit-scrollbar-track{ background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
.teambuilding-game-container .game-main::-webkit-scrollbar-thumb{ background: rgba(59, 130, 246, 0.6); border-radius: 4px; }
.teambuilding-game-container .game-main::-webkit-scrollbar-thumb:hover{ background: rgba(59, 130, 246, 0.8); }
.teambuilding-game-container .role-selector{ margin-bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.teambuilding-game-container .role-btn{ border-radius: 8px; padding: 8px 12px; font-size: 12px; font-weight: 500; transition: all 0.2s ease; border: none; cursor: pointer; }
.teambuilding-game-container .role-btn.active{ background: rgba(255, 255, 255, 0.2); color: white; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); }
.teambuilding-game-container .role-btn.inactive{ background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); }
.teambuilding-game-container .role-btn.inactive:hover{ background: rgba(255, 255, 255, 0.15); }
.teambuilding-game-container .stages-container{ display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; }
.teambuilding-game-container .stage-card{ border-radius: 16px; border: 1px solid; padding: 12px; }
.teambuilding-game-container .stage-card.done{ border-color: rgba(34, 197, 94, 0.3); background: rgba(34, 197, 94, 0.05); }
.teambuilding-game-container .stage-card.active{ border-color: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); }
.teambuilding-game-container .stage-card.inactive{ border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); opacity: 0.6; }
.teambuilding-game-container .stage-header{ margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.teambuilding-game-container .stage-title{ font-size: 12px; font-weight: 600; color: white; margin: 0; }
.teambuilding-game-container .stage-status{ border-radius: 9999px; padding: 2px 8px; font-size: 10px; font-weight: 500; }
.teambuilding-game-container .stage-status.done{ background: rgba(34, 197, 94, 0.2); color: #86efac; }
.teambuilding-game-container .stage-status.active{ background: rgba(34, 211, 238, 0.2); color: #67e8f9; }
.teambuilding-game-container .stage-status.inactive{ background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); }
.teambuilding-game-container .stage-content{ min-height: 90px; }
.teambuilding-game-container .end-screen{ display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.teambuilding-game-container .end-content{ position: relative; }
.teambuilding-game-container .end-glow{ position: absolute; top: -24px; left: -24px; right: -24px; bottom: -24px; z-index: -10; animation: pulse 2s infinite; border-radius: 24px; background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(139, 92, 246, 0.2)); filter: blur(8px); }
.teambuilding-game-container .end-card{ border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.1); padding: 24px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); backdrop-filter: blur(8px); }
.teambuilding-game-container .end-icon{ font-size: 48px; margin-bottom: 4px; }
.teambuilding-game-container .end-title{ margin-top: 4px; font-size: 18px; font-weight: 600; color: white; margin: 0; }
.teambuilding-game-container .end-description{ font-size: 14px; color: rgba(255, 255, 255, 0.7); margin: 0; }
.teambuilding-game-container .end-note{ max-width: 320px; font-size: 12px; color: rgba(255, 255, 255, 0.6); margin: 0; }
.teambuilding-game-container .game-footer{ position: sticky; bottom: 0; z-index: 20; padding: 12px; padding-top: 0; backdrop-filter: blur(8px); background: rgba(15, 23, 42, 0.7); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.teambuilding-game-container .footer-content{ display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.teambuilding-game-container .footer-left{ display: flex; align-items: center; gap: 8px; }
.teambuilding-game-container .role-badge{ border-radius: 6px; background: rgba(255, 255, 255, 0.1); padding: 2px 8px; color: white; font-size: 11px; }
.teambuilding-game-container .footer-right{ display: flex; align-items: center; gap: 8px; }
.teambuilding-game-container .footer-btn{ border-radius: 6px; padding: 4px 8px; font-size: 11px; border: none; cursor: pointer; transition: all 0.2s ease; }
.teambuilding-game-container .footer-btn.enabled{ background: rgba(34, 211, 238, 0.2); color: white; }
.teambuilding-game-container .footer-btn.enabled:hover{ background: rgba(34, 211, 238, 0.3); }
.teambuilding-game-container .footer-btn.disabled{ background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.4); cursor: not-allowed; }
.teambuilding-game-container .footer-btn.normal{ background: rgba(255, 255, 255, 0.1); color: white; }
.teambuilding-game-container .footer-btn.normal:hover{ background: rgba(255, 255, 255, 0.2); }
#teambuildingGameContent .mobile-header{ display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding: 16px 20px; background: rgba(255,255,255,0.1); border-radius: 12px; border-bottom: none; }
#teambuildingGameContent .mobile-header h3{ color: var(--blue); font-size: 18px; font-weight: 700; margin: 0; }
#teambuildingGameContent .game-objective, #teambuildingGameContent .game-context, #teambuildingGameContent .game-play{ background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); border: 2px solid #0959d9; border-radius: 16px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 12px rgba(9,89,217,0.1); }
#teambuildingGameContent .game-objective h4, #teambuildingGameContent .game-context h4, #teambuildingGameContent .game-play h4{ color: #0959d9; font-size: 16px; font-weight: 700; margin: 0 0 8px 0; }
#teambuildingGameContent .game-objective p, #teambuildingGameContent .game-context p{ color: var(--blue); font-size: 14px; margin: 0; line-height: 1.4; }
#teambuildingGameContent .memory-grid-compact{ background: #ffffff; border: 2px solid #0959d9; border-radius: 16px; padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.phonegamegame{ position: relative !important; border-radius: 28px; padding: 0; overflow: hidden; background: linear-gradient(180deg,#fff,#fbf6ee); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 28px rgba(15,35,55,.12), 0 28px 80px rgba(15,35,55,.16); border: 1px solid rgba(15,35,55,.08); width: 310px; height: 600px; margin: 0 auto; display: block !important; visibility: visible !important; }
.phonegamegame.mobile-game{ background: #ffffff !important; border-radius: 16px !important; box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important; }
#formationGameContent[style*="display:none"], #teambuildingGameContent[style*="display:none"], #marketingGameContent[style*="display:none"]{ display: none !important; }
#formationGameContent[style*="display:block"], #teambuildingGameContent[style*="display:block"], #marketingGameContent[style*="display:block"]{ display: block !important; }
.tooltip-trigger{ position: relative; display: inline-block; cursor: help; color: var(--blue); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }
.tooltip{ position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(15,35,55,0.98); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 12px; line-height: 1.5; max-width: 300px; white-space: normal; text-align: center; z-index: 10000; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 8px 32px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); }
.tooltip-trigger:hover .tooltip{ opacity: 1; visibility: visible; }
.disclaimer-box{ background: linear-gradient(135deg, rgba(255,196,102,0.1), rgba(255,196,102,0.05)); border: 1px solid rgba(255,196,102,0.3); border-radius: 6px; padding: 8px; display: flex; gap: 6px; align-items: flex-start; backdrop-filter: blur(10px); box-shadow: 0 2px 6px rgba(255,196,102,0.1); }
.disclaimer-icon{ font-size: 14px; margin-top: 1px; filter: drop-shadow(0 2px 4px rgba(255,196,102,0.3)); }
.disclaimer-text{ font-size: 10px; color: #475569; line-height: 1.3; font-weight: 500; }
.email-content{ flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 20px; background: #fff; text-align: left; }
.intro-cta{ text-align: center; margin: 20px 0; }
.contact-cta{ font-size: 11px; color: #475569; margin-bottom: 8px; font-weight: 500; }
.contact-btn{ background: linear-gradient(135deg, var(--blue), #1e40af); color: #fff; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; display: inline-block; transition: all .3s ease; box-shadow: 0 3px 8px rgba(11,64,120,0.3); border: none; font-size: 11px; }
.contact-btn:hover{ transform: translateY(-3px); box-shadow: 0 8px 20px rgba(11,64,120,0.4); }
.game-selection{ display: flex; flex-direction: column; gap: 12px; }
.game-option{ display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); border: 2px solid rgba(15,35,55,0.06); cursor: pointer; transition: all .4s cubic-bezier(0.4, 0, 0.2, 1); text-align: left; width: 100%; position: relative; overflow: hidden; box-shadow: 0 3px 8px rgba(15,35,55,0.08); }
.game-option::before{ content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg, var(--gold), var(--blue)); transform: scaleY(0); transition: transform 0.3s ease; }
.game-option:hover{ border-color: var(--gold); box-shadow: 0 8px 25px rgba(255,196,102,0.2); transform: translateY(-4px); }
.game-option:hover::before{ transform: scaleY(1); }
.game-option.completed{ border-color: var(--gold); background: linear-gradient(135deg, rgba(255,196,102,0.05), rgba(255,196,102,0.02)); box-shadow: 0 6px 20px rgba(255,196,102,0.15); }
.game-option.completed::before{ transform: scaleY(1); }
.game-icon{ font-size: 24px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); transition: transform 0.3s ease; }
.game-option:hover .game-icon{ transform: scale(1.1); }
.game-option.completed .game-status{ opacity: 1; animation: checkmarkPop 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.game-content{ padding: 20px; background: transparent; border-radius: 0; position: relative; overflow: hidden; max-height: 70vh; overflow-y: auto; overflow-x: hidden; border: none; box-shadow: none; }
.game-content::-webkit-scrollbar{ width: 8px; }
.game-content::-webkit-scrollbar-track{ background: rgba(15,35,55,.05); border-radius: 4px; }
.game-content::-webkit-scrollbar-thumb{ background: linear-gradient(180deg, var(--gold), #e1a648); border-radius: 4px; }
.game-content::-webkit-scrollbar-thumb:hover{ background: linear-gradient(180deg, #e1a648, var(--gold)); }
.game-header{ gap: 5px; margin-bottom: 20px; padding-top: 8px; display: flex !important; align-items: center !important; justify-content: space-between !important; flex-shrink: 0 !important; margin: 0 !important; box-sizing: border-box !important; }
.game-header h3{ font-size: 18px; background: linear-gradient(135deg, var(--gold), #fcfcfc) -webkit-background-clip: text; background-clip: text; font-weight: 700 !important; color: white !important; margin: 0 !important; padding: 0 !important; flex: 1 !important; text-align: left !important; }
.advergame-container{ text-align: center; }
.game-objective{ background: rgba(255,255,255,0.1); padding: 16px; border-radius: 12px; margin-bottom: 20px; backdrop-filter: blur(10px); }
.game-objective h4{ margin: 0 0 8px 0; display: flex; align-items: center; gap: 8px; }
.game-objective p{ margin: 0; line-height: 1.4; }
.objective-header{ flex: 1; text-align: left; }
.objective-header h4{ margin: 0 0 6px 0; font-size: 15px; font-weight: 800; color: #ffffff !important; }
.objective-header p{ margin: 0; opacity: 0.95; font-size: 13px; line-height: 1.4; color: #ffffff !important; }
.product-preview{ margin-left: 16px; }
.product-mini{ background: rgba(255,255,255,0.15); border-radius: 10px; padding: 12px; text-align: center; min-width: 80px; }
.product-icon{ font-size: 24px; margin-bottom: 4px; }
.product-name{ font-size: 11px; font-weight: 700; opacity: 0.9; }
.product-image{ position: relative; width: 80px; height: 80px; background: linear-gradient(135deg, var(--gold) 0%, #e1a648 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(255,196,102,0.3); }
.eco-icon{ font-size: 40px; }
.product-glow{ position: absolute; inset: -4px; border-radius: 50%; background: linear-gradient(135deg, var(--gold) 0%, #e1a648 100%); opacity: 0.2; animation: pulse 2s infinite; }
.product-info{ flex: 1; text-align: left; }
.product-info h5{ margin: 0 0 8px 0; font-size: 18px; color: var(--blue); }
.product-info p{ margin: 0 0 12px 0; color: #3d4e61; }
.product-stats{ display: flex; gap: 12px; flex-wrap: wrap; }
.product-stats .stat{ background: linear-gradient(135deg, rgba(255,196,102,0.1), rgba(255,196,102,0.05)); color: var(--blue); border: 1px solid rgba(255,196,102,0.2); padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.game-challenge{ margin: 20px 0; }
.game-challenge h5{ margin: 0 0 8px 0; font-size: 16px; color: var(--blue); }
.game-challenge p{ margin: 0 0 16px 0; color: #3d4e61; }
.energy-grid{ display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; max-width: 350px; margin: 0 auto 20px; }
.energy-source{ background: #fff; border: 2px solid rgba(15,35,55,.1); border-radius: 12px; padding: 16px; cursor: pointer; transition: all .3s ease; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.energy-source:hover{ border-color: var(--gold); transform: scale(1.05); box-shadow: 0 4px 12px rgba(255,196,102,.2); }
.energy-source.activated{ background: var(--gold); border-color: var(--gold); color: #fff; animation: energyActivate .6s ease; }
.energy-source.wrong{ background: #ef4444; border-color: #ef4444; color: #fff; animation: wrongShake .6s ease; }
.energy-icon{ font-size: 24px; }
.energy-name{ font-weight: 700; font-size: 14px; }
.energy-value{ font-size: 12px; font-weight: 700; background: rgba(15,35,55,.1); padding: 4px 8px; border-radius: 6px; color: var(--blue); }
.energy-source.activated .energy-value{ background: rgba(255,255,255,.2); color: #fff; }
.energy-summary{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding: 12px; background: rgba(15,35,55,.05); border-radius: 8px; font-weight: 700; }
.current-sum{ color: var(--blue); }
.target-sum{ color: #666; }
.target-value{ color: var(--gold); }
.progress-display{ margin: 16px 0; }
#progressText{ font-size: 12px; color: #3d4e61; font-weight: 700; }
.game-success{ text-align: center; }
.success-celebration{ background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #fff; padding: 20px; border-radius: 12px; margin-bottom: 20px; }
.celebration-icon{ font-size: 40px; margin-bottom: 8px; }
.success-celebration h4{ margin: 0 0 8px 0; }
.success-celebration p{ margin: 0; opacity: 0.9; }
.email-capture h5{ margin: 0 0 8px 0; color: var(--blue); }
.email-capture p{ margin: 0 0 16px 0; color: #3d4e61; }
.email-form input{ flex: 1; min-width: 200px; padding: 12px; border: 1px solid rgba(15,35,55,.2); border-radius: 8px; }
.privacy-note{ font-size: 12px; color: #666; margin: 0; }
.marketing-message{ background: rgba(15,35,55,.05); padding: 16px; border-radius: 8px; margin: 16px 0; text-align: left; }
.marketing-message p{ margin: 8px 0; line-height: 1.5; }
.slogan-options, .cta-options{ display: flex; flex-direction: column; gap: 10px; }
.slogan-option, .cta-option{ padding: 16px; border: 2px solid rgba(15,35,55,.08); border-radius: 12px; background: #fff; cursor: pointer; color: #1a4b84; transition: all .3s ease; display: flex; align-items: center; gap: 12px; position: relative; overflow: hidden; }
.slogan-option:hover, .cta-option:hover{ border-color: var(--gold); transform: translateX(4px); box-shadow: 0 4px 12px rgba(255,196,102,.15); }
.slogan-option.selected, .cta-option.selected{ border-color: var(--gold); background: rgba(255,196,102,.1); transform: scale(1.02); }
.slogan-icon, .cta-icon{ font-size: 20px; flex-shrink: 0; }
.slogan-text, .cta-text{ font-weight: 700; flex: 1; }
.slogan-tone, .cta-impact{ font-size: 11px; color: #666; font-style: italic; background: rgba(15,35,55,.05); padding: 2px 6px; border-radius: 4px; }
.game-result{ text-align: center; }
.final-ad{ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 20px; border-radius: 12px; margin: 16px 0; font-weight: 700; }
.result-message{ font-size: 14px; color: #3d4e61; line-height: 1.5; margin: 16px 0; }
.email-simulator{ text-align: center; }
.email-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.email-header h4{ margin: 0; color: var(--blue); }
.email-header p{ margin: 8px 0 0 0; color: #3d4e61; font-size: 14px; }
.email-client{ background: #f8f9fa; border-bottom: 1px solid rgba(15,35,55,.1); }
.email-toolbar{ display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid rgba(15,35,55,.1); }
.toolbar-buttons{ display: flex; gap: 8px; }
.toolbar-btn{ background: none; border: 1px solid rgba(15,35,55,.2); border-radius: 6px; padding: 6px 8px; cursor: pointer; }
.search-bar{ flex: 1; max-width: 300px; margin-left: 16px; }
.search-bar input{ width: 100%; padding: 8px 12px; border: 1px solid rgba(15,35,55,.2); border-radius: 6px; font-size: 14px; }
.email-item.unread{ background: rgba(11,64,120,.05); font-weight: 700; }
.email-details{ background: #f8f9fa; padding: 12px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.email-details div{ margin: 4px 0; }
.email-body{ line-height: 1.6; color: #3d4e61; margin-bottom: 20px; }
.email-actions{ display: flex; gap: 8px; flex-wrap: wrap; }
.email-btn{ background: var(--blue); color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-weight: 700; }
.email-btn.reply{ background: #10b981; }
.email-btn.forward{ background: #6b7280; }
.email-btn.report{ background: #ef4444; }
.detection-hint{ background: rgba(239,68,68,.1); border: 1px solid #ef4444; padding: 16px; border-radius: 8px; margin: 16px 0; text-align: left; }
.hint-content h5{ margin: 0 0 8px 0; color: #ef4444; }
.hint-content ul{ margin: 0; padding-left: 20px; }
.hint-content li{ margin: 4px 0; color: #3d4e61; }
.formation-feedback{ text-align: center; }
.feedback-content{ padding: 16px; border-radius: 8px; margin: 16px 0; font-weight: 700; }
.feedback-content.correct{ background: rgba(16,185,129,.1); border: 1px solid #10b981; color: #065f46; }
.feedback-content.wrong{ background: rgba(239,68,68,.1); border: 1px solid #ef4444; color: #991b1b; }
.formation-toast{ position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1000; background: #fff; border: 2px solid #ef4444; border-radius: 8px; padding: 12px 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); max-width: 280px; font-size: 14px; font-weight: 700; color: #991b1b; animation: slideIn 0.3s ease; }
.formation-toast.success{ border-color: #10b981; color: #065f46; }
.teambuilding-mission{ text-align: left; display: flex; flex-direction: column; gap: 20px; }
.mission-header{ display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, #1e293b 0%, #334155 100%); padding: 20px; border-radius: 16px; color: white; box-shadow: 0 8px 25px rgba(30,41,59,0.3); }
.mission-title-section{ display: flex; align-items: center; gap: 16px; }
.mission-icon{ font-size: 32px; background: linear-gradient(135deg, #8B5CF6, #7C3AED); padding: 12px; border-radius: 12px; box-shadow: 0 4px 12px rgba(139,92,246,0.3); }
.mission-text h4{ margin: 0 0 4px 0; font-size: 18px; font-weight: 800; color: #ffffff; }
.mission-text p{ margin: 0; font-size: 14px; color: rgba(255,255,255,0.8); }
.mission-stats{ display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.stat-value{ display: block; font-size: 18px; font-weight: 900; color: var(--blue); line-height: 1; }
.mission-instructions{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.instruction-card{ display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); padding: 16px; border-radius: 12px; border: 1px solid rgba(15,35,55,0.08); box-shadow: 0 2px 8px rgba(15,35,55,0.05); }
.instruction-icon{ font-size: 20px; background: linear-gradient(135deg, #8B5CF6, #7C3AED); padding: 8px; border-radius: 8px; color: white; }
.instruction-text{ font-size: 13px; color: #475569; line-height: 1.4; }
.game-zone{ display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.cards-section{ background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); padding: 20px; border-radius: 16px; border: 1px solid rgba(15,35,55,0.08); }
.memory-grid{ max-width: 400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; width: 280px; height: 280px; background: #f0f0f0; border-radius: 12px; padding: 10px; box-shadow: 0 4px 12px rgba(15,35,55,.1); }
.memory-card{ background: #fff; border: 2px solid rgba(15,35,55,.1); border-radius: 6px; cursor: pointer; transition: all .3s ease; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--blue); box-shadow: 0 2px 4px rgba(15,35,55,.1); position: relative; overflow: hidden; aspect-ratio: 1; }
.memory-card:hover{ border-color: var(--gold); transform: scale(1.05); box-shadow: 0 4px 8px rgba(255,196,102,.3); }
.memory-card.flipped{ transform: rotateY(180deg); background: var(--gold); border-color: var(--gold); color: #fff; }
.memory-card.matched{ background: #10b981; border-color: #10b981; color: #fff; animation: cardMatch .6s ease; }
.targets-section{ background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); padding: 20px; border-radius: 16px; border: 1px solid rgba(15,35,55,0.08); box-shadow: 0 4px 12px rgba(15,35,55,0.05); }
.targets-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.targets-header h4{ margin: 0; font-size: 16px; font-weight: 700; color: #1e293b; }
.progress-circle{ width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #8B5CF6, #7C3AED); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 14px; box-shadow: 0 4px 12px rgba(139,92,246,0.3); }
.target-keys{ grid-template-columns: 1fr 1fr; display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.target-key{ display: flex; flex-direction: column; align-items: center; gap: 8px; transition: all 0.3s ease; background: #fff; border: 2px solid var(--gold); border-radius: 6px; padding: 6px; font-size: 16px; box-shadow: 0 2px 4px rgba(255,196,102,.3); }
.target-key.found{ background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; border-color: #10b981; transform: scale(1.05); }
.key-icon{ font-size: 24px; }
.key-label{ font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.target-key.found .key-label{ color: white; }
.mission-progress{ display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 20px; }
.memory-container{ display: flex; gap: 20px; justify-content: center; align-items: flex-start; margin: 20px 0; flex-wrap: wrap; }
.memory-card.flipped .card-back{ display: none; }
.memory-card.flipped .card-front{ display: flex; }
.memory-card .card-back{ position: absolute; inset: 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }
.memory-card .card-front{ position: absolute; inset: 0; display: none; align-items: center; justify-content: center; font-size: 20px; }
.memory-target{ background: rgba(15,35,55,.05); padding: 16px; border-radius: 12px; min-width: 180px; }
.memory-target h5{ margin: 0 0 12px 0; color: var(--blue); font-size: 16px; font-weight: 900; }
.target-hint{ font-size: 14px; color: #3d4e61; margin: 0; text-align: center; font-weight: 700; }
.puzzle-hint{ background: rgba(255,196,102,.1); padding: 16px; border-radius: 8px; margin-top: 16px; border: 1px solid rgba(255,196,102,.2); display: flex; align-items: center; gap: 8px; }
.hint-icon{ font-size: 20px; }
.stat{ text-align: center; background: rgba(15,35,55,.05); padding: 8px 12px; border-radius: 8px; min-width: 60px; }
.teambuilding-success{ text-align: center; }
.success-animation{ margin: 20px 0; }
.connection-line{ width: 200px; height: 4px; background: var(--gold); margin: 0 auto 16px; border-radius: 2px; animation: pulse 1s ease-in-out infinite; }
.btn-ok{ background: linear-gradient(135deg, var(--blue), #1e40af); color: #fff; border: 0; border-radius: 12px; padding: 12px 24px; font-weight: 700; cursor: pointer; margin-top: 16px; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(11,64,120,0.3); font-size: 14px; }
.btn-ok:hover{ transform: translateY(-2px); box-shadow: 0 6px 16px rgba(11,64,120,0.4); }
.phonegamegame > *{ position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; height: 100% !important; }
.phonegamegame > *.active{ position: relative !important; }
#gamesScreen, #marketingGameContent, #formationGameContent, #teambuildingGameContent{ display: none !important; position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; height: 100% !important; overflow: hidden !important; }
#introScreen{ position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; height: 100% !important; overflow-y: auto !important; background: linear-gradient(135deg, var(--cream) 0%, #fff8e8 100%) !important; border-radius: 16px !important; display: flex !important; }
#introScreen:not(.active){ display: none !important; }
#introScreen.active{ display: flex !important; }
#introScreen .intro-content{ display: flex !important; flex-direction: column !important; width: 100% !important; height: 100% !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; justify-content: space-between !important; align-items: center !important; }
#gamesScreen:not(.active){ display: none !important; }
#marketingGameContent:not(.active){ display: none !important; }
#formationGameContent:not(.active){ display: none !important; }
#teambuildingGameContent:not(.active){ display: none !important; }
#gamesScreen.active, #marketingGameContent.active, #formationGameContent.active, #teambuildingGameContent.active{ display: flex !important; position: relative !important; overflow-y: auto !important; }
.back-btn, .explore-btn, .game-card{ cursor: pointer !important; transition: all 0.3s ease !important; }
.back-btn:hover, .explore-btn:hover, .game-card:hover{ transform: translateY(-1px) !important; box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important; }
.explore-btn:focus{ outline: 2px solid var(--blue) !important; outline-offset: 2px !important; }
.game-header .back-btn{ background: rgba(255, 255, 255, 0.2) !important; border: 1px solid rgba(255, 255, 255, 0.3) !important; color: white !important; font-weight: 600 !important; transition: all 0.2s ease !important; flex-shrink: 0 !important; cursor: pointer !important; }
.game-header .back-btn:hover{ background: rgba(255, 255, 255, 0.3) !important; transform: translateY(-1px) !important; }
#marketingGameContent .game-header{ background: linear-gradient(135deg, #458f58 0%, #458f58 100%) !important; }
#formationGameContent .game-header{ background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important; }
#teambuildingGameContent .game-header{ background: linear-gradient(135deg, #175bf0 0%, #04164b 100%) !important; }
.rules-btn{ position: absolute; right: 12px; top: 12px; z-index: 3; background: #fff; border: 1px solid rgba(15,35,55,.12); border-radius: 12px; padding: 8px 10px; font-weight: 800; color: #1a4b84; cursor: pointer; box-shadow: 0 8px 18px rgba(15,35,55,.12); }
.hud{ display: flex; gap: 14px; align-items: center; justify-content: center; font-weight: 900; color: #233b57; margin-bottom: 10px; }
.teambuilding-arrow-error{ border: 2px solid #ef4444 !important; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4) !important; background-color: rgba(254, 242, 242, 0.1) !important; transition: all 0.3s ease !important; }
.teambuilding-input-error{ border: 2px solid #ef4444 !important; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.4) !important; background-color: rgba(254, 242, 242, 0.1) !important; transition: all 0.3s ease !important; }
.hud b{ color: #d18300; }
.game-instruction{ text-align: center; font-size: clamp(12px,1.2vw,14px); color: #1a4b84; font-weight: 700; margin-bottom: 14px; padding: 6px 10px; background: rgba(255,196,102,.15); border-radius: 10px; border: 1px solid rgba(255,196,102,.25); }
.board{ --gap: 8px; display: grid; grid-template-columns: repeat(7,1fr); gap: var(--gap); background: linear-gradient(180deg,#f8e9cc,#f6e3c0); padding: 14px; border-radius: 18px; border: 1px solid rgba(15,35,55,.06); box-shadow: inset 0 8px 20px rgba(15,35,55,.06); max-width: 100%; margin: 0 auto; }
.tile{ position: relative; aspect-ratio: 1/1; border-radius: 16px; background: linear-gradient(180deg,var(--tile-alt),var(--tile)); border: 1px solid rgba(15,35,55,.08); box-shadow: inset 0 -6px 0 rgba(0,0,0,.07), 0 6px 16px rgba(15,35,55,.10); overflow: hidden; user-select: none; cursor: pointer; }
.tile-inner{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(14px, 2vw, 18px); color: var(--blue); pointer-events: none; transform: translateY(0); }
.tile.revealed{ background: linear-gradient(180deg,var(--tile-hi),#ffe9cf); }
.num{ font-weight: 900; color: #1a4f8c; text-shadow: 0 1px 0 #fff; font-size: clamp(14px, 2vw, 18px); line-height: 1; transform: translateY(-1px); }
.num.orange{ color: #d68300; }
.book{ font-size: 1.2em; filter: drop-shadow(0 2px 0 #fff) drop-shadow(0 8px 10px rgba(15,35,55,.15)); line-height: 1; transform: translateY(-2px); }
.trap{ color: #c53030; font-size: 1.1em; line-height: 1; }
.current::after{ content: ""; position: absolute; inset: 3px; border-radius: 14px; box-shadow: 0 0 0 2px rgba(11,64,120,.35) inset; }
.pawn{ position: absolute; width: min(30px,5.6vw); height: min(30px,5.6vw); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3d5 0%, #ffd286 55%, #e1a648 100%); border: 3px solid #e1a03a; box-shadow: 0 8px 18px rgba(15,35,55,.22), inset 0 2px 6px rgba(255,255,255,.6); left: 50%; top: 50%; transform: translate(-50%,-50%); margin: 0; }
.tile.target::before{ content: ""; position: absolute; inset: 10%; border-radius: 14px; box-shadow: 0 0 0 2px rgba(11,64,120,.18), inset 0 0 20px rgba(11,64,120,.10); }
.tile.collected::before{ content: ""; position: absolute; inset: 8%; border-radius: 14px; box-shadow: 0 0 0 2px rgba(255,196,102,.7), inset 0 0 28px rgba(255,196,102,.25); }
.tile.hit{ animation: shake .4s ease-in-out; }
.game-wrap.shake{ animation: gameShake .6s ease-in-out; }
.controls{ margin: 14px auto 0; width: 100%; max-width: 300px; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,56px); gap: 10px; }
.ctrl{ display: grid; place-items: center; font-weight: 900; font-size: 18px; color: #1a4b84; background: linear-gradient(180deg,#fff,#f6f0e6); border-radius: 16px; border: 1px solid rgba(15,35,55,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 16px rgba(15,35,55,.12); cursor: pointer; user-select: none; transition: transform .1s ease; }
.ctrl:active{ transform: translateY(2px); }
.toast{ position: absolute; left: 50%; top: 18px; transform: translateX(-50%); background: #0b4078; color: #fff; padding: 10px 14px; border-radius: 12px; font-weight: 800; display: none; z-index: 6; box-shadow: 0 10px 20px rgba(11,64,120,.25); }
.toast.show{ display: block; animation: fade 1.6s ease both; }
.modal{ position: absolute; inset: 0; background: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; z-index: 8; backdrop-filter: blur(2px); }
.modal-card{ background: #fff; border: 1px solid rgba(15,35,55,.12); border-radius: 16px; width: min(560px,92%); padding: 18px; box-shadow: 0 12px 28px rgba(15,35,55,.18); color: #1a3050; }
.modal-actions{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.btn-ok,.btn-sec{ background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 900; cursor: pointer; }
.btn-sec{ background: rgba(11,64,120,.08); color: var(--blue); border: 1px solid rgba(11,64,120,.25); }
.book-actions{ margin: 12px auto 0; display: flex; flex-direction: column; gap: 8px; max-width: 300px; }
.book-btn{ display: none; border-radius: 12px; padding: 8px 10px; font-weight: 900; color: #1a4b84; background: #fff; border: 1px solid rgba(15,35,55,.12); box-shadow: 0 6px 14px rgba(15,35,55,.10); text-align: center; cursor: pointer; }
.book-btn.show{ display: block; }
.coffee-error{ border: 2px solid #ef4444 !important; box-shadow: 0 0 20px rgba(239, 68, 68, 0.3) !important; }
#teambuildingGameContent .teambuilding-game-container{ height: 100% !important; min-height: 100% !important; display: flex !important; flex-direction: column !important; }
#teambuildingGameContent .teambuilding-game-container .game-container{ height: 100% !important; min-height: 100% !important; flex: 1 !important; }
#teambuildingGameContent .teambuilding-game-container .game-main{ flex: 1 !important; min-height: 0 !important; max-height: none !important; }

@media (max-width: 980px){
#hsh-hero .right{ display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; margin: 0; padding: 0; }
#hsh-hero .game-toggle{ display: flex !important; margin-bottom: 12px; }
#hsh-hero .game-wrap{ width: 100%; max-width: 100%; margin: 0; padding: 0; display: none; flex-direction: column; align-items: center; justify-content: flex-start; }
#hsh-hero .game-wrap.open{ display: flex; }
#hsh-hero .game-wrap:not(.open){ display: none !important; }
#hsh-hero .phonegamegame{ margin: 0 auto !important; transform: none !important; left: 0 !important; right: 0 !important; position: relative !important; }
.sender-email{ display: block !important; }
.email-preview{ display: block !important; }
.email-sender .sender-email{ display: none; }
.email-sender.show-email .sender-email{ display: block !important; }
.intro-screen{ padding: 0px; }
.intro-title{ font-size: clamp(16px,2.2vw,20px); }
.intro-text{ font-size: clamp(12px,1.1vw,14px); }
.game-selection{ gap: 10px; }
.game-option{ padding: 14px; }
.game-icon{ font-size: 20px; }
.game-info h4{ font-size: 14px; }
.game-info p{ font-size: 12px; }
.game-content{ padding: 16px; }
.game-header h3{ font-size: 15px !important; }
.back-btn{ padding: 6px 10px; font-size: 13px; }
.style-options{ gap: 8px; }
.style-option{ padding: 12px; min-width: 80px; }
.style-preview{ width: 50px; height: 35px; }
.slogan-option, .cta-option{ padding: 10px 14px; font-size: 14px; }
.network-puzzle{ max-width: 250px; gap: 8px; }
.puzzle-node{ width: 50px; height: 50px; font-size: 14px; }
.final-ad{ padding: 16px; font-size: 16px; }
.result-message{ font-size: 13px; }
.phonegamegame{ display: block !important; visibility: visible !important; width: 310px !important; height: 500px !important; max-height: 500px !important; overflow: hidden !important; }
#introScreen .intro-content{ height: 600px !important; max-height: 600px !important; overflow: hidden !important; justify-content: flex-start !important; align-items: center !important; padding: 0 !important; }
#gamesScreen{ overflow: hidden !important; height: 600px !important; max-height: 600px !important; }
#gamesScreen .games-content{ height: 100% !important; max-height: 100% !important; min-height: 0 !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; align-items: center !important; padding: 0 !important; position: relative !important; }
#introScreen, #introScreen.active, #gamesScreen.active{ width: 100% !important; height: 100% !important; max-height: 100% !important; overflow-y: auto !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; display: flex !important; flex-direction: column !important; }
#marketingGameContent.active, #formationGameContent.active, #teambuildingGameContent.active{ width: 100% !important; height: 100% !important; max-height: 100% !important; overflow-y: auto !important; padding: 16px !important; margin: 0 !important; box-sizing: border-box !important; display: flex !important; flex-direction: column !important; }
.intro-content, .games-content{ width: 100% !important; height: 100% !important; max-height: 100% !important; overflow-y: auto !important; padding: 16px !important; margin: 0 !important; box-sizing: border-box !important; }
.coffee-game-container, .formation-game-container, .teambuilding-game-container{ width: 100% !important; height: 100% !important; max-height: 100% !important; overflow-y: auto !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; }
.intro-header, .games-header, .intro-footer, .games-footer{ padding: 12px 16px !important; margin: 0 !important; box-sizing: border-box !important; }
.game-header{ padding: 10px 14px !important; min-height: 45px !important; border-radius: 8px 8px 0 0 !important; }
.game-header .back-btn{ padding: 6px 10px !important; border-radius: 6px !important; font-size: 12px !important; }
#formationGameContent .game-header{ padding: 14px 18px !important; min-height: 55px !important; }
#formationGameContent .game-header h3{ font-size: 17px !important; margin-bottom: 1px !important; }
#formationGameContent .game-header .back-btn{ padding: 8px 12px !important; font-size: 13px !important; }
.intro-body{ padding: 0 16px 16px 16px !important; margin: 0 !important; box-sizing: border-box !important; flex: 1 !important; overflow: visible !important; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; width: 100% !important; max-width: 100% !important; }
#introScreen .intro-header{ flex-shrink: 0 !important; width: 100% !important; text-align: center !important; height: 70px !important; max-height: 70px !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-bottom: 0 !important; padding: 15px 16px !important; box-sizing: border-box !important; }
#introScreen .intro-header h2{ font-size: 20px !important; line-height: 1.3 !important; margin: 0 !important; padding: 0 !important; font-weight: 700 !important; }
#introScreen .intro-image-container{ flex-shrink: 0 !important; width: 100% !important; height: auto !important; max-height: none !important; display: flex !important; justify-content: center !important; align-items: center !important; margin: 8px 0 !important; }
#introScreen .intro-image-container img{ max-height: 80px !important; width: auto !important; object-fit: contain !important; }
#introScreen .intro-body{ flex: 1 !important; min-height: 0 !important; overflow: visible !important; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; padding: 10px 20px !important; text-align: center !important; }
#introScreen .intro-body p{ font-size: 14px !important; line-height: 1.4 !important; margin: 6px 0 !important; text-align: center !important; max-width: 280px !important; }
#introScreen .intro-footer{ flex-shrink: 0 !important; width: 100% !important; text-align: center !important; height: auto !important; max-height: none !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-top: 8px !important; }
#introScreen .intro-footer .explore-btn{ font-size: 15px !important; padding: 12px 24px !important; margin: 0 !important; border-radius: 25px !important; font-weight: 600 !important; }
.games-body{ padding: 0 16px 16px 16px !important; margin: 0 !important; box-sizing: border-box !important; flex: 1 !important; overflow-y: auto !important; }
#gamesScreen .games-header{ flex-shrink: 0 !important; width: 100% !important; text-align: center !important; height: 70px !important; max-height: 70px !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-bottom: 0 !important; padding: 15px 16px !important; box-sizing: border-box !important; }
#gamesScreen .games-header h2{ font-size: 20px !important; line-height: 1.3 !important; margin: 0 !important; padding: 0 !important; font-weight: 700 !important; }
#gamesScreen .games-body{ flex: 1 !important; min-height: 0 !important; max-height: calc(100% - 60px - 40px) !important; overflow-y: auto !important; overflow-x: hidden !important; display: flex !important; flex-direction: column !important; justify-content: flex-start !important; align-items: center !important; padding: 8px 16px !important; gap: 12px !important; }
#gamesScreen .games-image-container{ flex-shrink: 0 !important; width: 100% !important; height: auto !important; max-height: none !important; display: flex !important; justify-content: center !important; align-items: center !important; margin: 8px 0 !important; }
#gamesScreen .games-image-container img{ max-height: 80px !important; width: auto !important; object-fit: contain !important; }
#gamesScreen .games-text{ text-align: center !important; margin-bottom: 8px !important; }
#gamesScreen .games-text h3{ font-size: 16px !important; margin: 0 0 4px 0 !important; color: #0b4078 !important; font-weight: 700 !important; }
#gamesScreen .games-text p{ font-size: 12px !important; margin: 0 !important; color: #64748b !important; line-height: 1.4 !important; }
#gamesScreen .games-grid{ width: 100% !important; max-width: 280px !important; display: flex !important; flex-direction: column !important; gap: 8px !important; margin: 0 auto !important; justify-content: flex-start !important; align-items: center !important; overflow: visible !important; flex: none !important; min-height: auto !important; }
#gamesScreen .game-card{ width: 100% !important; height: 65px !important; min-height: 65px !important; max-height: 65px !important; display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; padding: 14px 18px !important; text-align: left !important; border-radius: 14px !important; gap: 14px !important; flex-shrink: 0 !important; background: linear-gradient(135deg, #fcf0dc 0%, #fceed7 85%, #fac060 100%) !important; border: 2px solid transparent !important; box-shadow: 0 3px 12px rgba(11, 64, 120, 0.08), 0 1px 4px rgba(11, 64, 120, 0.04) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; position: relative !important; overflow: hidden !important; cursor: pointer !important; }
#gamesScreen .game-card::before{ content: '' !important; position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; background: linear-gradient(135deg, rgba(250, 192, 96, 0.04) 0%, rgba(11, 64, 120, 0.02) 100%) !important; opacity: 0 !important; transition: opacity 0.2s ease !important; pointer-events: none !important; }
#gamesScreen .game-card:hover::before{ opacity: 1 !important; }
#gamesScreen .game-card:hover{ transform: translateY(-4px) scale(1.02) !important; box-shadow: 0 8px 32px rgba(11, 64, 120, 0.15), 0 4px 16px rgba(11, 64, 120, 0.08) !important; border-color: #0b4078 !important; background: linear-gradient(135deg, #fceed7 0%, #fcf0dc 15%, #fac060 100%) !important; }
#gamesScreen .game-card:active{ transform: translateY(-2px) scale(1.01) !important; transition: all 0.1s ease !important; }
#gamesScreen .game-visual{ width: 42px !important; height: 42px !important; min-width: 42px !important; min-height: 42px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: linear-gradient(135deg, #0b4078 0%, #1e40af 100%) !important; border-radius: 10px !important; box-shadow: 0 3px 8px rgba(11, 64, 120, 0.2) !important; transition: all 0.2s ease !important; position: relative !important; overflow: hidden !important; }
#gamesScreen .game-card:hover .game-visual{ transform: scale(1.1) rotate(5deg) !important; box-shadow: 0 6px 20px rgba(11, 64, 120, 0.3) !important; }
#gamesScreen .game-svg{ width: 24px !important; height: 24px !important; filter: brightness(0) invert(1) !important; transition: all 0.2s ease !important; }
#gamesScreen .game-card:hover .game-svg{ transform: scale(1.1) !important; }
#gamesScreen .game-info{ display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; flex: 1 !important; gap: 4px !important; margin-left: 8px !important; }
#gamesScreen .game-card h4{ font-size: 13px !important; line-height: 1.3 !important; margin: 0 !important; padding: 0 !important; font-weight: 700 !important; color: #0b4078 !important; text-align: left !important; letter-spacing: -0.01em !important; }
#gamesScreen .game-card p{ font-size: 10px !important; line-height: 1.2 !important; margin: 0 !important; padding: 0 !important; font-weight: 500 !important; color: #64748b !important; text-align: left !important; opacity: 0.8 !important; }
#gamesScreen .game-card:hover h4{ color: #0b4078 !important; }
#gamesScreen .game-card:hover p{ color: #475569 !important; opacity: 1 !important; }
#gamesScreen .game-card.completed{ background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 85%, #28a745 100%) !important; border-color: #28a745 !important; box-shadow: 0 3px 12px rgba(40, 167, 69, 0.15), 0 1px 4px rgba(40, 167, 69, 0.08) !important; }
#gamesScreen .game-card.completed .game-visual{ background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important; box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3) !important; }
#gamesScreen .game-card.completed .game-visual::after{ content: '✓' !important; position: absolute !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; color: white !important; font-size: 14px !important; font-weight: bold !important; z-index: 2 !important; }
#gamesScreen .game-card.completed h4{ color: #155724 !important; }
#gamesScreen .game-card.completed p{ color: #155724 !important; opacity: 0.8 !important; }
#gamesScreen .game-card.completed:hover{ transform: translateY(-2px) scale(1.01) !important; box-shadow: 0 6px 20px rgba(40, 167, 69, 0.2), 0 3px 10px rgba(40, 167, 69, 0.1) !important; background: linear-gradient(135deg, #c3e6cb 0%, #d4edda 15%, #28a745 100%) !important; }
}

@media (max-width:980px){
.wrap{ grid-template-columns: 1fr; min-height: auto; padding: clamp(20px,4vw,40px); }
.left{ text-align: center; align-items: center; }
.headline{ text-align: center; }
.sub{ text-align: center; margin-left: auto; margin-right: auto; }
.cta{ justify-content: center; }
.btn{ padding: 16px 20px; font-size: clamp(14px,1.1vw,16px); }
.rot-stack{ margin: 0 auto; text-align: center; display: block; width: 100%; position: relative; }
.rot-frame{ left: 50% !important; transform: translateX(-50%) translateY(18%) !important; }
.rot-frame.on{ transform: translateX(-50%) translateY(0) !important; }
.rot-frame.out{ transform: translateX(-50%) translateY(-14%) !important; }
#introScreen:not([style*="display: none"]){ height: 100% !important; min-height: 100% !important; max-height: 100% !important; display: flex !important; flex-direction: column !important; }
.intro-header{ height: 50px !important; flex-shrink: 0 !important; position: relative !important; z-index: 10 !important; }
.header-text{ padding: 8px !important; }
.header-text h2{ font-size: 16px !important; margin: 0 0 2px 0 !important; }
.header-text p{ font-size: 10px !important; }
.intro-image-container{ height: 60px !important; }
.intro-body{ margin-top: 10px !important; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; flex: 1 !important; position: relative !important; z-index: 1 !important; overflow-y: auto !important; }
.games-header{ height: 50px !important; flex-shrink: 0 !important; position: relative !important; z-index: 10 !important; padding: 0 !important; border-radius: 16px 16px 0 0 !important; overflow: hidden !important; }
.games-header .header-text{ padding: 8px !important; position: relative !important; z-index: 2 !important; text-align: center !important; }
.games-header .header-text h2{ font-size: 16px !important; margin: 0 0 2px 0 !important; color: #ffffff !important; font-weight: 800 !important; letter-spacing: -0.5px !important; }
.games-header .header-text p{ font-size: 10px !important; margin: 0 !important; color: rgba(255,255,255,0.9) !important; font-weight: 500 !important; }
.game-toggle{ max-width: 400px; padding: 14px 16px; font-size: clamp(13px,1.2vw,15px); margin-bottom: 12px; display: flex !important; }
.phonegamegame{ margin-top: 12px; margin: 0 auto; align-self: center; right: 0; box-sizing: border-box; width: 310px !important; height: 600px !important; position: relative !important; left: 50% !important; transform: translateX(-50%) !important; display: none; padding: 0; margin-left: auto; margin-right: auto; }
.game-wrap.open .phonegamegame{ 
  display: block; 
  animation: drop .5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; 
  visibility: visible !important;
}
.game-wrap.closing .phonegamegame{
  display: none !important;
  visibility: hidden !important;
}
.game-wrap{ display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 100%; position: relative; text-align: center; margin: 0; padding: 0; left: 0; right: 0; transform: translateX(0); justify-items: center; }
.board{ --gap: 8px; padding: 12px; }
.tile{ border-radius: 14px; }
.tile-inner{ font-size: clamp(12px,1.6vw,16px); }
.num{ font-size: clamp(12px,1.6vw,16px); }
.book{ font-size: 1.1em; }
.trap{ font-size: 1em; }
.controls{ grid-template-rows: repeat(2,56px); gap: 10px; }
.ctrl{ font-size: 18px; border-radius: 16px; }
.modal-card{ width: min(480px,90%); padding: 16px; }
.modal-actions{ flex-direction: column; gap: 8px; }
.btn-ok,.btn-sec{ width: 100%; padding: 12px 16px; }
.modal-card h3{ font-size: clamp(16px,1.3vw,18px); }
.modal-card ul{ font-size: clamp(13px,1.1vw,15px); line-height: 1.4; }
.modal-card li{ margin-bottom: 6px; }
.hud{ font-size: clamp(11px, 1.1vw, 13px); gap: 12px; margin-bottom: 10px; padding-right: 60px; }
.game-instruction{ font-size: clamp(11px, 1.1vw, 13px); padding: 6px 10px; margin-bottom: 12px; }
.rules-btn{ position: absolute; right: 8px; top: 8px; z-index: 3; background: #fff; border: 1px solid rgba(15,35,55,.12); border-radius: 10px; padding: 6px 8px; font-weight: 800; color: #1a4b84; cursor: pointer; box-shadow: 0 6px 14px rgba(15,35,55,.12); font-size: clamp(10px, 1vw, 12px); }
}

@media (max-width:480px){
.cta{ flex-direction: column; align-items: center; }
.btn{ width: 100%; max-width: 280px; }
.rot-stack{ display: block !important; width: 100% !important; text-align: center !important; margin: 0 auto !important; position: relative !important; }
.rot-frame{ left: 50% !important; transform: translateX(-50%) translateY(18%) !important; }
.rot-frame.on{ transform: translateX(-50%) translateY(0) !important; }
.rot-frame.out{ transform: translateX(-50%) translateY(-14%) !important; }
.game-toggle{ max-width: 320px; padding: 12px 14px; font-size: clamp(12px,1.1vw,14px); }
}

@media (min-width: 981px){
.intro-screen{ height: 100% !important; min-height: 100% !important; max-height: 100% !important; }
.intro-content{ height: 100% !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; }
.intro-header{ flex-shrink: 0; height: 120px !important; }
.header-text h2{ font-size: 30px !important; margin: 0 0 0px 0 !important; margin-top: 3% !important;}
.header-text p{ font-size: 14px !important; }
.intro-body{ gap: 10px !important; padding: 0 20px 20px 20px !important; margin: 0 !important; box-sizing: border-box !important; flex: 1 !important; overflow: visible !important; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; width: 100% !important; max-width: 100% !important; }
.intro-image-container{ margin-top: 16px; height: 120px !important; margin-bottom: 20px !important; }
.intro-text h3{ font-size: 22px !important; margin: 0 0 12px 0 !important; }
.intro-text p{ font-size: 16px !important; margin: 0 0 10px 0 !important; max-width: 400px !important; }
.explore-btn{ padding: 16px 32px !important; font-size: 18px !important; }
.intro-footer{ flex-shrink: 0; padding: 24px !important; }
.games-screen{ height: 100% !important; min-height: 100% !important; max-height: 100% !important; overflow-y: hidden !important; }
.games-screen .games-body{ display: flex !important; visibility: visible !important; opacity: 1 !important; }
.games-screen .games-body .games-image-container{ display: flex !important; visibility: visible !important; opacity: 1 !important; position: relative !important; height: 120px !important; min-height: 120px !important; max-height: 120px !important; width: 100% !important; max-width: 500px !important; background-color: #f8f9fa !important; border: 1px solid #dee2e6 !important; margin-bottom: 20px !important; border-radius: 12px !important; overflow: hidden !important; align-items: center !important; justify-content: center !important; }
.games-content{ height: 100% !important; display: flex !important; flex-direction: column !important; }
.games-header{ flex-shrink: 0; height: 120px !important; }
.games-header .header-visual{ height: 120px !important; }
.games-header .header-text{ padding: 24px !important; }
.games-header .header-text h2{ margin: 0 0 8px 0 !important; }
.games-header .header-text p{ font-size: 14px !important; }
.games-body{ display: flex !important; flex-direction: column !important; justify-content: flex-start !important; align-items: center !important; gap: 24px !important; max-height: calc(100vh - 200px) !important; padding: 0 20px 20px 20px !important; margin: 0 !important; box-sizing: border-box !important; flex: 1 !important; overflow-y: auto !important; }
.games-screen .games-image-container{ height: 80px !important; min-height: 80px !important; max-height: 80px !important; margin-bottom: 16px !important; width: 100% !important; max-width: 280px !important; display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; border-radius: 12px !important; background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important; border: 1px solid rgba(11, 64, 120, 0.1) !important; position: relative !important; z-index: 10 !important; flex-shrink: 0 !important; }
.games-screen .games-image{ width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; display: block !important; visibility: visible !important; opacity: 1 !important; }
.games-screen .games-body .games-image-container img{ display: block !important; visibility: visible !important; opacity: 1 !important; max-width: 100% !important; height: 100% !important; max-height: 120px !important; object-fit: cover !important; object-position: center !important; }
.games-text h3{ font-size: 20px !important; margin: 0 0 12px 0 !important; }
.games-text p{ font-size: 16px !important; max-width: 500px !important; margin: 0 auto !important; }
.games-grid{ width: 100% !important; max-width: 600px !important; height: auto !important; max-height: none !important; display: flex !important; flex-direction: column !important; gap: 16px !important; padding: 0 !important; overflow-y: visible !important; align-items: center !important; }
.game-card{ padding: 10px !important; min-height: 80px !important; border-radius: 12px !important; width: 100% !important; max-width: 500px !important; }
.game-visual{ width: 40px !important; height: 40px !important; border-radius: 10px !important; }
.game-svg{ width: 28px !important; height: 28px !important; }
.game-info h4{ font-size: 16px !important; margin: 0 0 6px 0 !important; }
.game-info p{ font-size: 13px !important; margin: 0 0 8px 0 !important; }
.game-duration{ font-size: 11px !important; padding: 4px 8px !important; border-radius: 10px !important; }
.email-content{ cursor: pointer; }
.email-content:hover{ background-color: rgba(0,0,0,0.02); border-radius: 4px; }
.sender-email{ display: none !important; }
.email-preview{ display: none !important; }
.email-item:hover .email-preview{ display: none !important; }
.phonegamegame{ width: 400px !important; height: 600px !important; max-height: 600px !important; overflow: hidden !important; }
#introScreen, #introScreen.active, #gamesScreen.active{ width: 100% !important; height: 100% !important; max-height: 100% !important; overflow-y: auto !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; display: flex !important; flex-direction: column !important; }
#marketingGameContent.active, #formationGameContent.active, #teambuildingGameContent.active{ width: 100% !important; height: 100% !important; max-height: 100% !important; overflow-y: auto !important; padding: 20px !important; margin: 0 !important; box-sizing: border-box !important; display: flex !important; flex-direction: column !important; }
.intro-content, .games-content{ width: 100% !important; height: 100% !important; max-height: 100% !important; overflow-y: auto !important; margin: 0 !important; box-sizing: border-box !important; position: relative !important; }
.coffee-game-container, .formation-game-container, .teambuilding-game-container{ width: 100% !important; height: 100% !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; flex: 1 !important; overflow-y: auto !important; max-height: 100% !important; }
.intro-header, .games-header, .intro-footer, .games-footer{ padding: 10px 10px !important; margin: 0 !important; box-sizing: border-box !important; }
.game-header{ padding: 16px 20px !important; min-height: 60px !important; border-radius: 12px 12px 0 0 !important; }
.game-header h3{ font-size: 18px !important; }
.game-header .back-btn{ padding: 8px 12px !important; border-radius: 8px !important; font-size: 14px !important; }
#gamesScreen .back-btn-container{ position: absolute !important; top: 10% !important; left: 20px !important; transform: translateY(-50%) !important; z-index: 10 !important; }
#gamesScreen .back-btn-container .back-btn{ padding: 10px 14px !important; border-radius: 20px !important; font-size: 14px !important; font-weight: 600 !important; background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important; border: 1px solid rgba(148, 163, 184, 0.3) !important; color: #475569 !important; transition: all 0.2s ease !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important; }
#gamesScreen .back-btn-container .back-btn:hover{ background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important; transform: translateY(-1px) !important; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; }
#formationGameContent .game-header{ padding: 18px 22px !important; min-height: 65px !important; }
#formationGameContent .game-header h3{ font-size: 19px !important; margin-bottom: 2px !important; }
#formationGameContent .game-header .back-btn{ padding: 10px 14px !important; font-size: 15px !important; }
#introScreen .intro-header{ flex-shrink: 0 !important; width: 100% !important; text-align: center !important; }
#introScreen .intro-image-container{ flex-shrink: 0 !important; width: 100% !important; display: flex !important; justify-content: center !important; align-items: center !important; }
#introScreen .intro-footer{ flex-shrink: 0 !important; width: 100% !important; text-align: center !important; }
#marketingGameContent, #formationGameContent, #teambuildingGameContent{ height: 100% !important; overflow-y: auto !important; display: flex !important; flex-direction: column !important; }
#gamesScreen .games-grid{ width: 100% !important; max-width: 320px !important; display: flex !important; flex-direction: column !important; gap: 16px !important; margin: 0 auto !important; justify-content: center !important; align-items: center !important; overflow: visible !important; flex: 1 !important; height: 280px !important; }
#gamesScreen .game-card{ width: 100% !important; height: 65px !important; min-height: 65px !important; max-height: 65px !important; display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; padding: 16px 20px !important; text-align: left !important; border-radius: 16px !important; gap: 16px !important; flex-shrink: 0 !important; background: linear-gradient(135deg, #fcf0dc 0%, #fceed7 85%, #fac060 100%) !important; border: 2px solid transparent !important; box-shadow: 0 4px 16px rgba(11, 64, 120, 0.08), 0 2px 8px rgba(11, 64, 120, 0.04) !important; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important; position: relative !important; overflow: hidden !important; cursor: pointer !important; }
#gamesScreen .game-card::before{ content: '' !important; position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; background: linear-gradient(135deg, rgba(250, 192, 96, 0.05) 0%, rgba(11, 64, 120, 0.03) 100%) !important; opacity: 0 !important; transition: opacity 0.2s ease !important; pointer-events: none !important; }
#gamesScreen .game-card:hover::before{ opacity: 1 !important; }
#gamesScreen .game-card:hover{ transform: translateY(-2px) !important; box-shadow: 0 8px 25px rgba(11, 64, 120, 0.12), 0 4px 12px rgba(11, 64, 120, 0.06) !important; border-color: #0b4078 !important; background: linear-gradient(135deg, #fceed7 0%, #fcf0dc 15%, #fac060 100%) !important; }
#gamesScreen .game-card:active{ transform: translateY(-1px) !important; transition: all 0.1s ease !important; }
#gamesScreen .game-visual{ width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: linear-gradient(135deg, #0b4078 0%, #1e40af 100%) !important; border-radius: 12px !important; box-shadow: 0 4px 12px rgba(11, 64, 120, 0.2) !important; transition: all 0.2s ease !important; position: relative !important; overflow: hidden !important; }
#gamesScreen .game-visual::before{ content: '' !important; position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important; opacity: 0 !important; transition: opacity 0.2s ease !important; }
#gamesScreen .game-card:hover .game-visual{ transform: scale(1.05) !important; box-shadow: 0 6px 18px rgba(11, 64, 120, 0.2) !important; }
#gamesScreen .game-card:hover .game-visual::before{ opacity: 1 !important; }
#gamesScreen .game-svg{ width: 28px !important; height: 28px !important; filter: brightness(0) invert(1) !important; transition: all 0.2s ease !important; }
#gamesScreen .game-card:hover .game-svg{ transform: scale(1.08) !important; }
#gamesScreen .game-info{ display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; flex: 1 !important; gap: 6px !important; margin-left: 12px !important; }
#gamesScreen .game-card h4{ font-size: 14px !important; line-height: 1.3 !important; margin: 0 !important; padding: 0 !important; font-weight: 700 !important; color: #0b4078 !important; text-align: left !important; letter-spacing: -0.01em !important; }
#gamesScreen .game-card p{ font-size: 12px !important; line-height: 1.3 !important; margin: 0 !important; padding: 0 !important; font-weight: 500 !important; color: #64748b !important; text-align: left !important; opacity: 0.8 !important; }
#gamesScreen .game-card:hover h4{ color: #0b4078 !important; }
#gamesScreen .game-card:hover p{ color: #475569 !important; opacity: 1 !important; }
#gamesScreen .games-body{ flex: 1 !important; min-height: 0 !important; max-height: calc(100% - 70px - 50px) !important; overflow-y: auto !important; overflow-x: hidden !important; display: flex !important; flex-direction: column !important; justify-content: flex-start !important; align-items: center !important; gap: 20px !important; }
#gamesScreen .games-image-container{ flex-shrink: 0 !important; width: 100% !important; height: auto !important; max-height: none !important; display: flex !important; justify-content: center !important; align-items: center !important; margin: 15px 0 !important; }
#gamesScreen .games-image-container img{ max-height: 120px !important; width: auto !important; }
#gamesScreen .games-text{ text-align: center !important; margin-bottom: 16px !important; }
#gamesScreen .games-text h3{ font-size: 18px !important; margin: 0 0 6px 0 !important; color: #0b4078 !important; font-weight: 700 !important; }
#gamesScreen .games-text p{ font-size: 14px !important; margin: 0 !important; color: #64748b !important; line-height: 1.5 !important; }
#gamesScreen .games-footer{ flex-shrink: 0 !important; width: 100% !important; text-align: center !important; height: 40px !important; max-height: 40px !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-top: 0 !important; padding: 8px 0 !important; }
#gamesScreen .back-btn{ font-size: 12px !important; padding: 8px 16px !important; margin: 0 !important; border-radius: 20px !important; font-weight: 600 !important; background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important; border: 1px solid rgba(148, 163, 184, 0.3) !important; color: #475569 !important; transition: all 0.2s ease !important; }
#gamesScreen .back-btn:hover{ background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important; transform: translateY(-1px) !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important; }
}

@media (max-width: 480px){
.intro-screen{ padding: 0px; }
.game-selection{ gap: 8px; }
.game-option{ padding: 12px; }
.game-icon{ font-size: 18px; }
.game-info h4{ font-size: 13px; }
.game-info p{ font-size: 11px; }
.game-content{ padding: 12px; }
.game-header h3{ font-size: 15px; }
.style-options{ flex-direction: column; align-items: center; }
.style-option{ min-width: 120px; }
.slogan-option, .cta-option{ font-size: 13px; }
.network-puzzle{ max-width: 200px; gap: 6px; }
.puzzle-node{ width: 45px; height: 45px; font-size: 12px; }
.final-ad{ padding: 12px; font-size: 14px; }
.result-message{ font-size: 12px; }
}

@media (max-width:420px){
.board{ --gap: 6px; padding: 10px; }
.controls{ grid-template-rows: repeat(2,50px); gap: 8px; }
.ctrl{ font-size: 16px; border-radius: 14px; }
.phonegamegame{ width: 310px; height: 600px; padding: 0; }
.tile{ border-radius: 12px; }
.tile-inner{ font-size: clamp(11px,1.4vw,14px); }
.num{ font-size: clamp(11px,1.4vw,14px); }
.book{ font-size: 1em; }
.trap{ font-size: 0.9em; }
.modal-card{ width: 94%; padding: 12px; }
.game-instruction{ font-size: clamp(11px,1.1vw,13px); padding: 6px 10px; }
.hud{ font-size: clamp(10px, 1vw, 12px); gap: 10px; padding-right: 50px; }
.modal-card h3{ font-size: clamp(15px,1.2vw,16px); margin-bottom: 6px; }
.modal-card ul{ font-size: clamp(12px,1vw,13px); line-height: 1.3; margin-bottom: 6px; }
.modal-card li{ margin-bottom: 4px; }
.rules-btn{ right: 6px; top: 6px; padding: 5px 7px; font-size: clamp(9px, 0.9vw, 11px); border-radius: 8px; }
}

@media (max-width:460px){
.phonegamegame{ margin: 0 auto !important; transform: none !important; left: 0 !important; right: 0 !important; position: relative !important; }
.board{ --gap: 5px !important; padding: 8px !important; border-radius: 14px !important; }
.tile{ border-radius: 10px !important; }
.tile-inner{ font-size: clamp(10px, 1.2vw, 12px) !important; }
.num{ font-size: clamp(10px, 1.2vw, 12px) !important; }
.book{ font-size: 0.9em !important; }
.trap{ font-size: 0.8em !important; }
.controls{ grid-template-rows: repeat(2, 44px) !important; gap: 6px !important; max-width: 260px !important; }
.ctrl{ font-size: 14px !important; border-radius: 12px !important; }
.modal-card{ width: 96% !important; padding: 12px !important; }
.game-instruction{ font-size: clamp(10px, 1vw, 12px) !important; padding: 5px 8px !important; margin-bottom: 10px !important; }
.hud{ font-size: clamp(10px, 1vw, 12px) !important; gap: 10px !important; padding-right: 45px !important; margin-bottom: 8px !important; }
.rules-btn{ right: 5px !important; top: 5px !important; padding: 4px 6px !important; font-size: clamp(8px, 0.8vw, 10px) !important; border-radius: 6px !important; }
.book-actions{ max-width: 260px !important; gap: 6px !important; }
.book-btn{ padding: 6px 8px !important; font-size: clamp(9px, 0.9vw, 11px) !important; border-radius: 8px !important; }
}

/* Animations pour le toggle mobile */
@keyframes drop {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px) scale(0.9);
    filter: blur(2px);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) translateY(-10px) scale(0.98);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    filter: blur(0px);
  }
}

