:root {
  --bg-main: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #172033;
  --border-color: rgba(34, 197, 94, 0.2);
  --border-glow: rgba(34, 197, 94, 0.4);
  --primary-accent: #22c55e;
  --primary-hover: #16a34a;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.ball-icon {
  font-size: 1.8rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary-accent);
}

.top-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  border-color: var(--border-color);
  background: var(--bg-card);
}

/* Main Container */
.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem 1.5rem;
  width: 100%;
}

/* Breadcrumbs */
.breadcrumbs-nav {
  padding: 0.5rem 0 1.25rem 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumbs-nav a {
  color: var(--primary-accent);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs-nav a:hover {
  text-decoration: underline;
}

.breadcrumbs-nav .sep {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.breadcrumbs-nav .current {
  color: var(--text-muted);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 2.5rem 1rem 3rem 1rem;
  background: radial-gradient(circle at 50% 20%, rgba(34, 197, 94, 0.12) 0%, rgba(10, 14, 23, 0) 70%);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
}

.badge-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--primary-accent);
  color: var(--primary-accent);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 20px;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  color: #fff;
}

.hero-sub {
  max-width: 760px;
  margin: 0 auto 2rem auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Quick Facts Grid */
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  text-align: center;
}

.fact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.fact-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.text-accent { color: var(--primary-accent); }
.text-cyan { color: var(--accent-cyan); }
.text-gold { color: var(--accent-gold); }
.text-red { color: var(--accent-red); }

/* GEO Direct Answer Box */
.geo-direct-answer {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.geo-direct-answer h3 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-accent);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.geo-direct-answer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.geo-direct-answer li strong {
  color: #fff;
}

/* Content Blocks */
.content-block {
  margin-bottom: 3.5rem;
}

.section-badge {
  color: var(--primary-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.content-block h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.content-block p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* Guide Callout Box */
.guide-callout-box {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.guide-callout-box h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.step-list {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-muted);
}

.step-list strong {
  color: #fff;
}

/* Keybinds Table & Grid */
.keybind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.keybind-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.key-badge {
  background: #1f2937;
  border: 1px solid #374151;
  color: var(--primary-accent);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.key-action {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 600;
}

/* Data Table */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th, .data-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.data-table th {
  background: var(--bg-card);
  color: var(--primary-accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.data-table tr:hover {
  background: rgba(34, 197, 94, 0.04);
}

/* Interactive Curve Simulator */
.interactive-card {
  background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.1) 0%, var(--bg-card) 70%);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 2rem;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 650px;
  margin: 1.5rem auto 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.form-group input, .form-group select {
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.calc-btn {
  background: var(--primary-accent);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.5rem;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.calc-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.calc-output {
  background: rgba(10, 14, 23, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Tier Badges */
.tier-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}
.tier-s { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid #ef4444; }
.tier-a { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid #f59e0b; }
.tier-b { background: rgba(6, 182, 212, 0.2); color: #38bdf8; border: 1px solid #06b6d4; }
.tier-c { background: rgba(107, 114, 128, 0.2); color: #9ca3af; border: 1px solid #6b7280; }
.tier-d { background: rgba(75, 85, 99, 0.2); color: #6b7280; border: 1px solid #4b5563; }

/* Hub Navigation Grid */
.hub-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.hub-card {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-card:hover {
  border-color: var(--primary-accent);
  transform: translateY(-2px);
}

.hub-card h4 {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
}

.hub-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hub-card .hub-link-text {
  font-size: 0.82rem;
  color: var(--primary-accent);
  font-weight: 700;
  margin-top: auto;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--primary-accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: #060910;
  padding: 2.5rem 1.5rem;
  margin-top: auto;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.disclaimer-text {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.copyright-sub {
  font-size: 0.72rem;
  color: var(--primary-accent);
  letter-spacing: 1px;
}

/* Play Now CTA & Platform Cards */
.cta-banner-box {
  background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.2) 0%, var(--bg-card) 80%);
  border: 1px solid var(--primary-accent);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.cta-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary-accent);
  color: #000;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.2rem;
  padding: 1rem 2.2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
  transition: all 0.2s ease;
  margin: 1rem 0;
}

.cta-play-btn:hover {
  background: #4ade80;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platform-card h4 {
  font-size: 1.1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Alternatives Cards */
.alt-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.alt-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.alt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.alt-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.alt-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.alt-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.alt-play-link {
  display: inline-block;
  color: var(--primary-accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
}

.alt-play-link:hover {
  text-decoration: underline;
}

/* Canvas Mini Shootout Game */
.mini-game-container {
  background: #09121d;
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

#shootoutCanvas {
  background: #14532d;
  border: 2px solid #22c55e;
  border-radius: 8px;
  max-width: 100%;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
  cursor: crosshair;
}

.game-controls-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

/* Embedded Game Iframe Container */
.game-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 ratio */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  margin: 1.5rem 0 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.game-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Game Detail Spec Badges */
.game-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.meta-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-pill strong {
  color: #fff;
}


