/* ===== CSS Variables & Reset ===== */
:root {
  --primary: #d4af37;
  --primary-dark: #b8941e;
  --accent: #e63946;
  --bg-dark: #0a0a1a;
  --bg-darker: #050510;
  --bg-card: #111128;
  --bg-card-hover: #1a1a3e;
  --text: #f0f0f0;
  --text-muted: #a0a0b8;
  --gradient-gold: linear-gradient(135deg, #d4af37, #f7e98e, #d4af37);
  --gradient-red: linear-gradient(135deg, #e63946, #ff6b6b);
  --gradient-dark: linear-gradient(180deg, #0a0a1a 0%, #1a0a2e 100%);
  --shadow-gold: 0 0 30px rgba(212,175,55,0.3);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-gold { color: var(--primary); }
.text-red { color: var(--accent); }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 50px; font-weight: 700;
  font-size: 1.05rem; cursor: pointer; border: none;
  transition: var(--transition); text-transform: uppercase;
  letter-spacing: 1px; position: relative; overflow: hidden;
}

.btn-primary {
  background: var(--gradient-gold); color: #0a0a1a;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-3px); box-shadow: 0 0 50px rgba(212,175,55,0.5);
  color: #0a0a1a;
}

.btn-secondary {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary); color: #0a0a1a;
  transform: translateY(-3px);
}

.btn-danger {
  background: var(--gradient-red); color: #fff;
  box-shadow: 0 0 20px rgba(230,57,70,0.3);
}
.btn-danger:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(230,57,70,0.5); }

.btn .btn-icon { width: 20px; height: 20px; }

/* Pulse animation on CTA */
.btn-pulse { animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: var(--shadow-gold); }
  50% { box-shadow: 0 0 60px rgba(212,175,55,0.6); }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,26,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  padding: 7px 0; transition: var(--transition);
}

.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}

.navbar-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.1rem; font-weight: 800; color: var(--primary);
}

.navbar-brand img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }

.navbar-brand span { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 2px; background: var(--primary); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { padding: 10px 24px; font-size: 0.9rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { width: 26px; height: 2.5px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; position: relative;
  background: var(--gradient-dark);
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(230,57,70,0.05) 0%, transparent 50%);
}

.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero-content h1 {
  font-size: 3.2rem; font-weight: 900; line-height: 1.15; margin-bottom: 20px;
}

.hero-content h1 .highlight {
  background: var(--gradient-gold); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-content .subtitle {
  font-size: 1.2rem; color: var(--text-muted); margin-bottom: 12px; font-weight: 500;
}

.hero-content .hero-desc {
  font-size: 1.05rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-stats {
  display: flex; gap: 40px;
}

.hero-stat { text-align: center; }
.hero-stat .stat-number {
  font-size: 1.8rem; font-weight: 800; color: var(--primary);
  display: block;
}
.hero-stat .stat-label { font-size: 0.85rem; color: var(--text-muted); }

.hero-image { position: relative; display: flex; justify-content: center; align-items: center; }

.hero-image .phone-mockup {
  width: 320px; height: auto; border-radius: 30px;
  box-shadow: 0 20px 80px rgba(212,175,55,0.2);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-badge {
  position: absolute; background: var(--bg-card); border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius-sm); padding: 12px 18px; display: flex; align-items: center;
  gap: 10px; font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-card);
  animation: fadeSlideIn 1s ease forwards;
}

.hero-badge.top-right { top: 10%; right: -10%; }
.hero-badge.bottom-left { bottom: 10%; left: -10%; }
.hero-badge .badge-icon { font-size: 1.5rem; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Flash Banner ===== */
.flash-banner {
  background: var(--gradient-red); color: #fff;
  padding: 4px 0; font-weight: 600; font-size: 0.7rem;
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1001; overflow: hidden; white-space: nowrap;
}

.flash-banner .ticker-wrap {
  display: flex; width: max-content;
  animation: ticker 20s linear infinite;
}

.flash-banner .ticker-item {
  padding: 0 60px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.flash-banner + .navbar { top: 26px; }
.flash-banner ~ .hero { padding-top: 146px; }

/* ===== Section Base ===== */
.section {
  padding: 80px 0; position: relative;
}

.section-alt { background: var(--bg-darker); }

.section-header {
  text-align: center; margin-bottom: 60px;
}

.section-header .tag {
  display: inline-block; background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3); border-radius: 50px;
  padding: 6px 20px; font-size: 0.85rem; font-weight: 600;
  color: var(--primary); margin-bottom: 16px; text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-header h2 {
  font-size: 2.4rem; font-weight: 800; margin-bottom: 16px;
}

.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== Features Grid ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px); border-color: rgba(212,175,55,0.3);
  box-shadow: 0 12px 40px rgba(212,175,55,0.1);
}

.feature-card .feature-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: rgba(212,175,55,0.1); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}

.feature-card .feature-icon svg { width: 32px; height: 32px; fill: var(--primary); }

.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Games Section ===== */
.games-tabs {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap;
}

.games-tab {
  padding: 10px 24px; border-radius: 50px; font-weight: 600;
  font-size: 0.9rem; cursor: pointer; border: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-card); color: var(--text-muted);
  transition: var(--transition);
}

.games-tab:hover, .games-tab.active {
  background: var(--primary); color: #0a0a1a; border-color: var(--primary);
}

.games-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.game-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition); cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.4);
}

.game-card .game-img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  background: linear-gradient(135deg, #1a1a3e, #2a1a4e);
}

.game-card .game-info { padding: 14px; }
.game-card .game-name { font-weight: 700; font-size: 0.95rem; }
.game-card .game-provider { font-size: 0.8rem; color: var(--text-muted); }

.game-card .game-badge {
  position: absolute; top: 10px; left: 10px; background: var(--accent);
  color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 10px;
  border-radius: 50px; text-transform: uppercase;
}

/* ===== Bonus/CTA Section ===== */
.bonus-section {
  background: linear-gradient(135deg, #1a0a2e, #0a0a1a);
  border: 1px solid rgba(212,175,55,0.2); border-radius: var(--radius);
  padding: 60px 40px; text-align: center; position: relative;
  overflow: hidden; margin: 0 20px;
}

.bonus-section::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 50%);
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bonus-section h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 16px; position: relative; z-index: 1; }
.bonus-section p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.1rem; position: relative; z-index: 1; }

.countdown {
  display: flex; justify-content: center; gap: 20px; margin-bottom: 32px;
  position: relative; z-index: 1;
}

.countdown-item {
  background: var(--bg-card); border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius-sm); padding: 16px 20px; min-width: 80px;
}

.countdown-item .count-number {
  font-size: 2rem; font-weight: 900; color: var(--primary); display: block;
}
.countdown-item .count-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ===== How to Download ===== */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px; counter-reset: step;
}

.step-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  position: relative; transition: var(--transition);
}

.step-card:hover { border-color: rgba(212,175,55,0.3); transform: translateY(-5px); }

.step-card::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; background: var(--gradient-gold);
  color: #0a0a1a; font-weight: 900; font-size: 1.3rem;
  border-radius: 50%; margin: 0 auto 20px;
}

.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 32px; transition: var(--transition);
}

.testimonial-card:hover { border-color: rgba(212,175,55,0.2); }

.testimonial-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.testimonial-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gradient-gold); display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 1.2rem; color: #0a0a1a;
}

.testimonial-name { font-weight: 700; }
.testimonial-meta { font-size: 0.85rem; color: var(--text-muted); }
.testimonial-stars { color: var(--primary); font-size: 0.9rem; margin-bottom: 12px; }
.testimonial-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; font-style: italic; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden;
}

.faq-question {
  width: 100%; padding: 20px 24px; background: none; border: none;
  color: var(--text); font-size: 1rem; font-weight: 600; text-align: left;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-question .faq-icon {
  width: 24px; height: 24px; transition: var(--transition);
  flex-shrink: 0; fill: var(--primary);
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer p { padding: 0 24px 20px; color: var(--text-muted); line-height: 1.7; }

/* ===== Payment Methods ===== */
.payment-grid {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
}

.payment-item {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm); padding: 20px 30px;
  display: flex; align-items: center; gap: 12px; font-weight: 600;
  transition: var(--transition);
}

.payment-item:hover { border-color: rgba(212,175,55,0.3); }
.payment-item svg { width: 28px; height: 28px; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-darker); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand span { font-size: 1.2rem; font-weight: 800; color: var(--primary); }

.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.footer h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--primary); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-muted); font-size: 0.9rem; }
.footer ul a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  text-align: center;
}

.footer-disclaimer {
  color: var(--text-muted); font-size: 0.8rem; line-height: 1.7;
  max-width: 900px; margin: 0 auto 16px;
}

.footer-copy { color: var(--text-muted); font-size: 0.85rem; }

/* ===== Sticky Download Bar ===== */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: rgba(10,10,26,0.95); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212,175,55,0.2);
  padding: 12px 20px; display: flex; align-items: center;
  justify-content: center; gap: 20px;
  transform: translateY(100%); transition: var(--transition);
}

.sticky-bar.visible { transform: translateY(0); }
.sticky-bar .sticky-text { font-weight: 600; font-size: 0.95rem; }
.sticky-bar .btn { padding: 10px 28px; font-size: 0.85rem; }

/* ===== Floating Particles (decorative) ===== */
.particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}

.particle {
  position: absolute; width: 4px; height: 4px; background: var(--primary);
  border-radius: 50%; opacity: 0.3; animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { margin-top: 40px; }
  .hero-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(10,10,26,0.98);
    padding: 20px; gap: 16px; border-bottom: 1px solid rgba(212,175,55,0.15);
  }
  .hero-content h1 { font-size: 2rem; }
  .hero-image .phone-mockup { width: 260px; }
  .bonus-section { padding: 40px 20px; margin: 0 10px; }
  .bonus-section h2 { font-size: 1.6rem; }
  .countdown { gap: 10px; }
  .countdown-item { padding: 12px 14px; min-width: 65px; }
  .countdown-item .count-number { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
  .hero-stats { gap: 20px; }
  .sticky-bar .sticky-text { display: none; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.7rem; }
  .btn { padding: 14px 28px; font-size: 0.95rem; }
  .section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Rating Stars SVG ===== */
.stars { display: flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: var(--primary); }

/* ===== Marquee ===== */
.marquee-wrap {
  overflow: hidden; padding: 16px 0; background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.marquee {
  display: flex; gap: 60px; animation: scroll 30s linear infinite;
  width: max-content;
}

.marquee img { height: 32px; opacity: 0.5; filter: grayscale(1); transition: var(--transition); }
.marquee img:hover { opacity: 1; filter: none; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Exit Intent Popup ===== */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  z-index: 2000; display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}

.popup-overlay.active { display: flex; }

.popup {
  background: var(--bg-card); border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius); padding: 48px; max-width: 500px; width: 90%;
  text-align: center; position: relative;
}

.popup-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1;
}

.popup h2 { font-size: 1.6rem; margin-bottom: 12px; }
.popup p { color: var(--text-muted); margin-bottom: 24px; }
