:root {
  --bg: #0b1120;
  --surface: #111827;
  --surface-2: #1e293b;
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #10b981;
  --primary-dark: #059669;
  --accent: #facc15;
  --border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.3px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a:hover, .nav-links a.active { color: #ffffff; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta {
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: transform 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); }
.mobile-menu-btn {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

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

/* Hero */
.hero {
  padding: 56px 0 48px;
  background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.16), transparent 45%),
              radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.14), transparent 45%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}
.hero h1 span {
  background: linear-gradient(90deg, #34d399, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: #cbd5e1;
  font-size: 16.5px;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.btn-play {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transition: transform 0.15s;
}
.btn-play:hover { transform: translateY(-2px); }
.btn-android {
  background: var(--surface-2);
  color: #ffffff;
  border: 1px solid var(--border);
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}
.btn-android:hover { background: #293548; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.hero-stats span strong { color: #ffffff; }

.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-mini-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 156px 1fr;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.hero-mini-card:hover {
  transform: translateX(4px);
  border-color: var(--accent, rgba(16, 185, 129, 0.6));
}
.hero-mini-card > img {
  width: 156px;
  height: 86px;
  object-fit: cover;
  display: block;
}
.hero-mini-meta {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero-mini-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}
.hero-mini-title .name {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
}
.hero-mini-title .genre {
  font-size: 11.5px;
  color: var(--muted);
}
.mini-play-pill {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Section Headers */
.section { padding: 64px 0; }
.section-alt { background: rgba(255, 255, 255, 0.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.4px;
}
.section-head p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}
.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Game Cards with Hover Banner & Info Overlay */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}
.game-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  border-color: rgba(16, 185, 129, 0.5);
}
.game-thumb {
  position: relative;
  height: 205px;
  overflow: hidden;
  background: #1e293b;
}
.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.game-card:hover .game-thumb img { transform: scale(1.06); }
.age-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #facc15;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(250, 204, 21, 0.4);
  z-index: 2;
}
.status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #10b981;
  color: #ffffff;
  font-weight: 800;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 99px;
  z-index: 2;
}
.status-badge.soon { background: #64748b; }

.game-body {
  padding: 18px;
}
.game-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.game-title-row h3 { font-size: 19px; font-weight: 800; }
.game-genre { font-size: 12px; color: #34d399; font-weight: 700; }
.game-short { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }

.game-actions {
  display: flex;
  gap: 8px;
}
.btn-sm-play {
  flex: 1;
  text-align: center;
  background: var(--primary);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 13.5px;
}
.btn-sm-play.disabled {
  background: #334155;
  color: #94a3b8;
  pointer-events: none;
}
.btn-sm-android {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 13px;
}

/* Hover Overlay (Banner + Intro + Age Rating) */
.game-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.94) 0%, rgba(15, 23, 42, 0.98) 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 5;
}
.game-card:hover .game-hover-overlay,
.game-card:focus-within .game-hover-overlay {
  opacity: 1;
  pointer-events: auto;
}
.hover-banner {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.hover-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.hover-chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}
.hover-chip.age { background: rgba(250, 204, 21, 0.16); color: #facc15; }
.hover-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 12px;
}

/* Screenshots */
.shots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.shot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.shot-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.shot-card p {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}

/* Guide Grid */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}
.guide-icon { font-size: 30px; margin-bottom: 10px; }
.guide-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.guide-card p, .guide-card li { color: var(--muted); font-size: 14px; }
.guide-card ul { padding-left: 18px; margin-top: 6px; }

/* Feedback & Footer */
.feedback-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.feedback-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.feedback-card p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.form-group { margin-bottom: 12px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: #ffffff;
  border-radius: 12px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
}
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.portal-fb-msg { margin-top: 10px; font-size: 13.5px; color: #34d399; font-weight: 700; }

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: #ffffff; }

/* Privacy Policy page */
.prose-wrap {
  max-width: 820px;
  margin: 40px auto 72px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
}
.prose-wrap h1 { font-size: 30px; font-weight: 900; margin-bottom: 8px; }
.prose-wrap .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.prose-wrap h2 { font-size: 19px; font-weight: 800; margin: 22px 0 8px; color: #34d399; }
.prose-wrap p, .prose-wrap li { color: #cbd5e1; font-size: 15px; margin-bottom: 10px; }
.prose-wrap ul { padding-left: 20px; }

/* Play Picker Modal */
.picker-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}
.picker-modal.hidden { display: none; }
.picker-modal-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.picker-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.picker-modal-head h3 { font-size: 18px; font-weight: 900; }
.picker-close {
  border: none;
  background: var(--surface-2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  cursor: pointer;
}
.picker-modal-sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.picker-game-list { display: flex; flex-direction: column; gap: 10px; }
.picker-game-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.15s, transform 0.15s;
}
.picker-game-row:hover {
  border-color: var(--primary);
  transform: translateX(3px);
}
.picker-icon { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.picker-info { flex: 1; min-width: 0; }
.picker-title { font-weight: 800; font-size: 15px; }
.picker-sub { font-size: 12px; color: var(--muted); }
.picker-age { color: #facc15; font-weight: 700; }
.picker-go {
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 99px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 63px;
    left: 0;
    right: 0;
    background: rgba(11, 17, 32, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 20px;
    gap: 14px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 480px) {
  .hero-mini-card { grid-template-columns: 112px 1fr; }
  .hero-mini-card > img { width: 112px; height: 78px; }
}
