/* ===================================================
   AA GAME APP - aagameapp.it.com
   Theme: Vibrant Orange / Energetic / Mobile-First
   =================================================== */

:root {
  --primary: #ff5722;
  --primary-light: #ff7043;
  --primary-dark: #e64a19;
  --secondary: #ffc107;
  --accent: #00bcd4;
  --bg: #0d0d0d;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --card: #1e1e1e;
  --card2: #242424;
  --border: rgba(255,87,34,0.15);
  --text: #f5f5f5;
  --text-muted: #9e9e9e;
  --text-dim: #616161;
  --success: #4caf50;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(255,87,34,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.05rem; font-weight: 700; }
.highlight { color: var(--primary); }
.highlight2 { color: var(--secondary); }
.text-cyan { color: var(--accent); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 0.92rem; transition: all 0.25s; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; box-shadow: 0 4px 20px rgba(255,87,34,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,87,34,0.55); }
.btn-secondary { background: linear-gradient(135deg, var(--secondary), #ffca28); color: #1a1a1a; box-shadow: 0 4px 20px rgba(255,193,7,0.3); font-weight: 800; }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,193,7,0.45); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-pulse { animation: pulse-orange 2s infinite; }
@keyframes pulse-orange { 0%,100%{ box-shadow: 0 4px 20px rgba(255,87,34,0.4); } 50%{ box-shadow: 0 4px 40px rgba(255,87,34,0.7), 0 0 0 8px rgba(255,87,34,0.1); } }

/* ── Flash Banner ── */
.flash-banner { background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--secondary), var(--primary)); background-size: 300%; animation: slide 5s linear infinite; padding: 8px 0; text-align: center; font-size: 0.82rem; font-weight: 600; color: #fff; overflow: hidden; }
@keyframes slide { 0%{background-position:0%} 100%{background-position:300%} }
.ticker-wrap { display: flex; }
.ticker-item { white-space: nowrap; padding: 0 12px; }

/* ── Navbar ── */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(13,13,13,0.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.05rem; letter-spacing: 0.5px; }
.navbar-brand img { border-radius: 10px; }
.brand-text { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 7px 13px; border-radius: 8px; font-size: 0.86rem; font-weight: 500; color: var(--text-muted); transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,87,34,0.1); }
.nav-links .nav-cta { background: var(--primary); color: #fff !important; border-radius: 50px !important; padding: 8px 18px !important; }
.nav-links .nav-cta:hover { background: var(--primary-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── Hero ── */
.hero { min-height: 94vh; display: flex; align-items: center; padding: 80px 0 60px; background: radial-gradient(ellipse at 80% 20%, rgba(255,87,34,0.12) 0%, transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(0,188,212,0.07) 0%, transparent 50%), var(--bg); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,87,34,0.12); border: 1px solid rgba(255,87,34,0.25); border-radius: 50px; padding: 6px 16px; font-size: 0.78rem; font-weight: 700; color: var(--primary-light); margin-bottom: 24px; }
.hero-badge-dot { width: 8px; height: 8px; background: var(--secondary); border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }
.hero h1 { margin-bottom: 20px; }
.hero-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 32px; max-width: 500px; line-height: 1.75; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.app-info-bar { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); }
.app-info-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; }
.app-info-item .icon { font-size: 1.1rem; }
.app-info-item span { color: var(--text-muted); }
.app-info-item strong { color: var(--text); }

/* Hero Phone Mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-card { background: linear-gradient(145deg, var(--card2), var(--card)); border: 1px solid var(--border); border-radius: 28px; padding: 28px 22px; width: 280px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(255,87,34,0.15); position: relative; }
.phone-card img { width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 16px; }
.phone-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.phone-card .version { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 16px; }
.phone-card .rating { color: var(--secondary); font-size: 0.82rem; margin-bottom: 20px; }
.download-bar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.dl-badge { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: 0.72rem; font-weight: 600; color: var(--text-muted); }
.phone-float { position: absolute; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.phone-float.top { top: -16px; right: -20px; color: var(--secondary); }
.phone-float.bottom { bottom: -14px; left: -20px; color: var(--accent); }

/* ── Section ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg2); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag { display: inline-block; background: rgba(255,87,34,0.1); border: 1px solid rgba(255,87,34,0.25); color: var(--primary-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 14px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 0.95rem; }

/* ── Stats ── */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--primary); }
.stat-lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: all 0.3s; position: relative; overflow: hidden; }
.feature-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255,87,34,0.3); box-shadow: var(--shadow); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

/* ── Games ── */
.games-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.game-tab { padding: 8px 20px; border-radius: 50px; font-size: 0.84rem; font-weight: 600; color: var(--text-muted); border: 1px solid var(--border); transition: all 0.2s; background: transparent; }
.game-tab.active, .game-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.games-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.game-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; display: block; position: relative; }
.game-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(255,87,34,0.2); border-color: var(--primary-light); }
.game-img { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.game-info { padding: 12px 14px; }
.game-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.game-prov { font-size: 0.72rem; color: var(--text-muted); }
.game-badge { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.75); border-radius: 50px; padding: 3px 8px; font-size: 0.68rem; font-weight: 700; color: var(--secondary); }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: steps; }
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; position: relative; counter-increment: steps; }
.step-card::before { content: counter(steps); position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.85rem; color: #fff; }
.step-icon { font-size: 2.5rem; margin-bottom: 16px; }
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: 0.87rem; color: var(--text-muted); }

/* ── Payments ── */
.pay-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.pay-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; text-align: center; font-size: 0.83rem; font-weight: 600; color: var(--text-muted); transition: all 0.2s; }
.pay-card:hover { border-color: var(--primary); color: var(--text); }
.pay-icon { font-size: 2rem; margin-bottom: 8px; display: block; }

/* ── Bonus CTA ── */
.bonus-cta { background: linear-gradient(135deg, rgba(255,87,34,0.15), rgba(255,193,7,0.1)); border: 1px solid rgba(255,87,34,0.25); border-radius: 24px; padding: 60px 40px; text-align: center; position: relative; overflow: hidden; }
.bonus-cta h2 { margin-bottom: 12px; }
.bonus-cta p { color: var(--text-muted); margin-bottom: 32px; }
.countdown { display: flex; gap: 14px; justify-content: center; margin-bottom: 32px; }
.cd-item { background: rgba(0,0,0,0.4); border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px; min-width: 68px; text-align: center; }
.cd-num { font-size: 1.8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.cd-lbl { font-size: 0.68rem; color: var(--text-muted); margin-top: 4px; }

/* ── Testimonials ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; transition: border-color 0.2s; }
.testi-card:hover { border-color: rgba(255,87,34,0.3); }
.testi-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testi-av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-loc { font-size: 0.72rem; color: var(--text-muted); }
.testi-stars { color: var(--secondary); font-size: 0.82rem; margin-bottom: 10px; }
.testi-text { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; display: block; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255,87,34,0.3); }
.blog-thumb { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.blog-body { padding: 18px; }
.blog-tag { display: inline-block; background: rgba(255,87,34,0.1); color: var(--primary-light); border-radius: 50px; padding: 3px 10px; font-size: 0.68rem; font-weight: 700; margin-bottom: 10px; }
.blog-card h3 { font-size: 0.94rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
.blog-meta { font-size: 0.72rem; color: var(--text-dim); }

/* ── FAQ ── */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.95rem; color: var(--text); gap: 14px; }
.faq-q:hover { color: var(--primary-light); }
.faq-icon { flex-shrink: 0; transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-ans { display: none; padding-bottom: 18px; }
.faq-item.active .faq-ans { display: block; }
.faq-ans p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.75; }

/* ── SEO Content ── */
.seo-box { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.seo-box h3 { font-size: 1.02rem; margin: 22px 0 10px; color: var(--text); }
.seo-box h3:first-child { margin-top: 0; }
.seo-box p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.seo-box ul { padding-left: 20px; list-style: disc; }
.seo-box li { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 6px; }
.seo-box strong { color: var(--text); }

/* ── Footer ── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1rem; margin-bottom: 12px; }
.footer-brand img { border-radius: 8px; }
.footer-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }
.footer h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 14px; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { font-size: 0.84rem; color: var(--text-muted); transition: color 0.2s; }
.footer ul a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-disc { font-size: 0.75rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 8px; }
.footer-copy { font-size: 0.76rem; color: var(--text-dim); text-align: center; margin-top: 14px; }

/* ── Sticky Bar ── */
.sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 99; background: rgba(13,13,13,0.96); backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sticky-text { font-size: 0.86rem; font-weight: 600; color: var(--text-muted); }

/* ── Popup ── */
.popup-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 200; align-items: center; justify-content: center; padding: 20px; }
.popup-overlay.show { display: flex; }
.popup { background: var(--card2); border: 1px solid var(--border); border-radius: 24px; padding: 40px 32px; max-width: 420px; width: 100%; text-align: center; position: relative; }
.popup h2 { font-size: 1.35rem; margin-bottom: 12px; }
.popup p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 24px; line-height: 1.7; }
.popup-close { position: absolute; top: 14px; right: 18px; font-size: 1.3rem; color: var(--text-muted); }

/* ── Utils ── */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.55s, transform 0.55s; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media(max-width:960px){ .hero .container{ grid-template-columns:1fr; text-align:center; } .hero-desc{ margin:0 auto 32px; } .hero-btns,.app-info-bar{ justify-content:center; } .hero-visual{ display:none; } .features-grid{ grid-template-columns:repeat(2,1fr); } .games-grid{ grid-template-columns:repeat(3,1fr); } .stats-row{ grid-template-columns:repeat(2,1fr); } .footer-grid{ grid-template-columns:1fr 1fr; } .pay-grid{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:640px){ .nav-links{ display:none; } .nav-links.open{ display:flex;flex-direction:column;position:absolute;top:62px;left:0;right:0;background:var(--bg2);padding:14px;border-bottom:1px solid var(--border);z-index:100; } .hamburger{ display:flex; } .features-grid,.steps-grid,.testi-grid,.blog-grid{ grid-template-columns:1fr; } .games-grid{ grid-template-columns:repeat(2,1fr); } .pay-grid{ grid-template-columns:repeat(2,1fr); } .stats-row{ grid-template-columns:repeat(2,1fr); } .footer-grid{ grid-template-columns:1fr; } .bonus-cta{ padding:32px 18px; } .seo-box{ padding:24px; } .sticky-text{ display:none; } }
