/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #d4a017;
  --gold-light: #f5c842;
  --gold-dark: #a07810;
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --black-4: #222222;
  --white: #ffffff;
  --text-muted: #aaaaaa;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

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

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(1.6rem, 5vw, 2.8rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.3rem, 4vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1rem, 3vw, 1.3rem); font-weight: 600; }

.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 { color: var(--gold-light); margin-bottom: 10px; }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.gold { color: var(--gold-light); }
section { padding: 70px 0; }
section:nth-child(even) { background: var(--black-2); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 4px 20px rgba(212,160,23,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,160,23,0.6); color: var(--black); }
.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-lg { padding: 18px 44px; font-size: 1.1rem; }

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid rgba(212,160,23,0.2);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}
.nav-logo span {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold-light);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--gold-light); background: rgba(212,160,23,0.08); }
.nav-download { flex-shrink: 0; }
.nav-download .btn { padding: 9px 20px; font-size: 0.88rem; }

/* Mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, #0a0a0a 0%, #0f0a00 50%, #0a0a0a 100%);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,160,23,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(212,160,23,0.2), rgba(212,160,23,0.05));
  border: 1px solid rgba(212,160,23,0.4);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-badge::before { content: '★'; }
.hero-content { text-align: center; max-width: 750px; margin: 0 auto; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 span { 
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(212,160,23,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(212,160,23,0.1);
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ===== APP OVERVIEW ===== */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.overview-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(212,160,23,0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.overview-text h2 { color: var(--gold-light); margin-bottom: 16px; }
.overview-text p { color: var(--text-muted); margin-bottom: 14px; }
.stats-row { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.stat-box {
  background: var(--black-3);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  flex: 1;
  min-width: 90px;
}
.stat-num { font-size: 1.4rem; font-weight: 800; color: var(--gold-light); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--black-3);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,160,23,0.45);
  box-shadow: 0 12px 40px rgba(212,160,23,0.1);
}
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { color: var(--gold-light); margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== GAMES ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.game-card {
  background: linear-gradient(145deg, var(--black-3), var(--black-4));
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 16px 22px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--gold);
}
.game-emoji { font-size: 2.4rem; margin-bottom: 12px; display: block; }
.game-card h3 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.game-card p { color: var(--text-muted); font-size: 0.8rem; }
.game-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

/* ===== SCREENSHOTS ===== */
.screenshots-section { background: var(--black); }
.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.screenshot-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(212,160,23,0.2);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.screenshot-card:hover { border-color: var(--gold); box-shadow: 0 12px 40px rgba(212,160,23,0.15); }
.screenshot-card img { width: 100%; }
.screenshot-card figcaption {
  background: var(--black-3);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== DOWNLOAD GUIDE ===== */
.download-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--black-3);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-text h3 { color: var(--white); margin-bottom: 5px; }
.step-text p { color: var(--text-muted); font-size: 0.9rem; }
.download-cta { text-align: center; }
.download-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== PAYMENT METHODS ===== */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}
.payment-card {
  background: var(--black-3);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.payment-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.payment-logo { font-size: 2.8rem; margin-bottom: 14px; }
.payment-card h3 { color: var(--gold-light); margin-bottom: 8px; }
.payment-card p { color: var(--text-muted); font-size: 0.88rem; }
.payment-badge {
  display: inline-block;
  margin-top: 12px;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 750px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--black-3);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
  user-select: none;
}
.faq-question:hover { color: var(--gold-light); }
.faq-question .icon {
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.3s;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 0 22px;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 22px 18px; }
.faq-item.open .icon { transform: rotate(45deg); }
.faq-item.open .faq-question { color: var(--gold-light); }

/* ===== DISCLAIMER ===== */
.disclaimer {
  background: var(--black-2);
  border-top: 1px solid rgba(212,160,23,0.1);
  padding: 40px 0;
}
.disclaimer-box {
  background: rgba(212,160,23,0.05);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 800px;
  margin: 0 auto;
}
.disclaimer-box h3 { color: var(--gold-light); margin-bottom: 12px; font-size: 1rem; }
.disclaimer-box p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; }

/* ===== FOOTER ===== */
footer {
  background: #060606;
  border-top: 1px solid rgba(212,160,23,0.15);
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { width: 56px; height: 56px; border-radius: 10px; margin-bottom: 12px; }
.footer-brand h3 { color: var(--gold-light); margin-bottom: 8px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; }
.footer-col h4 { color: var(--gold-light); margin-bottom: 14px; font-size: 0.95rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom .gold-line { color: var(--gold-light); }

/* ===== SCROLL REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 50px 0; }
  
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black-2);
    border-bottom: 1px solid rgba(212,160,23,0.2);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 0.95rem; }
  nav { position: relative; }
  .nav-download { display: none; }

  .overview-grid { grid-template-columns: 1fr; }
  .overview-img-wrap { max-width: 480px; margin: 0 auto; }
  
  .payment-grid { grid-template-columns: 1fr; max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }

  .hero { padding: 40px 0 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 300px; justify-content: center; }
  .stats-row { gap: 12px; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .game-card { padding: 20px 12px 16px; }
  .features-grid { grid-template-columns: 1fr; }
}
