:root {
  --bg-dark: #0a0c16;
  --bg-card: #121526;
  --bg-card-hover: #181c33;
  --border-neon: rgba(0, 245, 255, 0.25);
  --border-subtle: #1e243d;

  --neon-cyan: #00f5ff;
  --neon-pink: #ff2a85;
  --neon-purple: #9d4edd;
  --neon-yellow: #ffea00;
  --neon-green: #00ff88;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.35);
  --glow-pink: 0 0 20px rgba(255, 42, 133, 0.35);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% 0%, rgba(157, 78, 221, 0.15) 0%, transparent 60%),
                    radial-gradient(circle at 10% 30%, rgba(0, 245, 255, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 90% 70%, rgba(255, 42, 133, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #80faff;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.6);
}

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

/* Header & Navigation */
header {
  background: rgba(10, 12, 22, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--glow-pink);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-cyan);
}

.btn-neon {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 42, 133, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 42, 133, 0.6);
  text-shadow: none;
}

/* Hero Section */
.hero {
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  color: var(--neon-cyan);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 30%, var(--neon-cyan) 80%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 30px;
}

.package-tag {
  display: inline-block;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  padding: 5px 14px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--neon-yellow);
  margin-bottom: 30px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #171b2f;
  color: #fff !important;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  border: 1px solid #2b3356;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  text-align: left;
}

.store-badge:hover {
  background: #202642;
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
  text-shadow: none;
}

.store-badge svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.store-badge .sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-badge .name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

/* Hero Showcase Mockup */
.hero-showcase {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(180deg, #161b33 0%, var(--bg-card) 100%);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--glow-cyan);
}

.arcade-screen {
  background: #0d0f1b;
  border: 2px solid #232a48;
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
}

.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.stat-item {
  background: #15192e;
  border: 1px solid #252c4e;
  padding: 16px 10px;
  border-radius: var(--radius-sm);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--neon-cyan);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* AdMob Verification Banner */
.admob-verify-card {
  background: linear-gradient(90deg, rgba(0, 245, 255, 0.08) 0%, rgba(157, 78, 221, 0.08) 100%);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.admob-verify-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admob-icon {
  font-size: 2rem;
}

.admob-verify-title {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}

.admob-verify-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.btn-outline-neon {
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan) !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: monospace;
  background: rgba(0, 245, 255, 0.05);
}

.btn-outline-neon:hover {
  background: var(--neon-cyan);
  color: #000 !important;
  box-shadow: var(--glow-cyan);
}

/* Section Common */
.section {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 45px;
}

.section-tag {
  color: var(--neon-pink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* 4 Categories & 24 Games Grid */
.category-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1f253d;
}

.cat-icon {
  font-size: 1.6rem;
}

.cat-header h3 {
  font-size: 1.15rem;
  color: #fff;
}

.cat-count {
  font-size: 0.75rem;
  color: var(--neon-cyan);
  font-weight: 700;
}

.game-list {
  list-style: none;
}

.game-list li {
  padding: 7px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-list li::before {
  content: "▸";
  color: var(--neon-pink);
  font-weight: bold;
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all 0.2s ease;
}

.feature-box:hover {
  border-color: var(--neon-purple);
  transform: translateY(-3px);
}

.feat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #181d36;
  border: 1px solid #283058;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--neon-yellow);
}

.feature-box h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Architecture & Tech Spec */
.spec-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-top: 30px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.spec-card {
  background: #15192e;
  padding: 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--neon-cyan);
}

.spec-card h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.spec-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Legal & Policy Pages (Content View) */
.legal-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 45px;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.legal-wrapper h1 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--neon-cyan);
  font-size: 0.88rem;
  margin-bottom: 28px;
  display: block;
}

.legal-alert {
  background: rgba(0, 245, 255, 0.05);
  border-left: 4px solid var(--neon-cyan);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-main);
  font-size: 0.95rem;
}

.legal-wrapper h2 {
  font-size: 1.35rem;
  color: #fff;
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1f253d;
}

.legal-wrapper h3 {
  font-size: 1.1rem;
  color: var(--neon-yellow);
  margin: 20px 0 10px;
}

.legal-wrapper p, .legal-wrapper ul, .legal-wrapper ol {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-wrapper ul, .legal-wrapper ol {
  padding-left: 24px;
}

.legal-wrapper li {
  margin-bottom: 8px;
}

/* Contact / Support Card */
.contact-container {
  background: linear-gradient(180deg, #161b33 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 45px 30px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.contact-container h3 {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 10px;
}

.contact-container p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.contact-info-list {
  background: #0f1222;
  border: 1px solid #202747;
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 24px;
  text-align: left;
}

.contact-info-list div {
  padding: 6px 0;
  font-size: 0.92rem;
  color: #cbd5e1;
}

/* Footer */
footer {
  background: #060810;
  border-top: 1px solid #161a2e;
  padding: 45px 0 30px;
  margin-top: 70px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid #161a2e;
  margin-bottom: 24px;
}

.footer-brand h4 {
  color: #fff;
  font-size: 1.1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  gap: 22px;
  list-style: none;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .nav-bar {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 12px;
  }
  .quick-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-wrapper {
    padding: 24px 18px;
  }
  .admob-verify-card {
    flex-direction: column;
    text-align: center;
  }
  .admob-verify-left {
    flex-direction: column;
  }
}
