:root {
  --bg-main: #0a0d17;
  --bg-card: rgba(17, 24, 43, 0.88);
  --bg-card-hover: rgba(25, 35, 62, 0.95);
  --border-color: rgba(139, 92, 246, 0.22);
  --border-glow: rgba(245, 158, 11, 0.4);
  --primary-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-orange: #ff5722;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --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);
  background-image:
    radial-gradient(ellipse 70% 45% at 20% 5%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 15%, rgba(245, 158, 11, 0.15), transparent 55%),
    radial-gradient(ellipse 65% 50% at 50% 95%, rgba(6, 182, 212, 0.12), transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

.logo-badge {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 13px;
  background: linear-gradient(135deg, #f59e0b, #ff5722);
  color: #000;
  border-radius: 8px;
  padding: 4px 9px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
  letter-spacing: 0.5px;
}

.brand-title {
  font-weight: 900;
  font-size: 1.22rem;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff, #fed7aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-amber);
  text-transform: uppercase;
  display: block;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(245, 158, 11, 0.15));
  transform: translateY(-1px);
}

.nav-link.active {
  color: #fff !important;
  border-color: var(--accent-amber) !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(255, 87, 34, 0.25)) !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.nav-play-btn {
  background: linear-gradient(135deg, #f59e0b, #ff5722);
  color: #000 !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-play-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 1.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .mobile-menu-btn {
    display: block;
  }
  .top-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 1rem;
    gap: 0.5rem;
  }
  .top-nav.open {
    display: flex;
  }
  .top-nav .nav-link {
    text-align: center;
    padding: 0.6rem;
  }
}

/* Main Container */
.main-content {
  flex: 1;
  max-width: 1050px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--accent-amber);
}

.breadcrumbs span.current {
  color: var(--accent-amber);
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.18), rgba(17, 24, 43, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(245, 158, 11, 0.12);
  position: relative;
  overflow: hidden;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(255, 87, 34, 0.2));
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

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

.hero-title span {
  background: linear-gradient(135deg, #f59e0b, #ff5722, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

/* Visual Banner Container */
.visual-banner {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 158, 11, 0.15);
  margin-top: 1.8rem;
  background: #000;
}

.visual-banner img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

/* Quick Facts Grid */
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
}

.fact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 15px rgba(245, 158, 11, 0.15);
}

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

.fact-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}
.text-amber { color: var(--accent-amber); }
.text-green { color: var(--accent-green); }
.text-purple { color: #a78bfa; }
.text-cyan { color: var(--accent-cyan); }

/* Content Blocks */
.content-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

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

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

/* Codes Interactive Cards Grid */
.codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.code-card {
  background: rgba(10, 15, 28, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.code-card:hover {
  border-color: var(--accent-amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 18px rgba(245, 158, 11, 0.15);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-string {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.status-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.status-expired {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.code-reward {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.code-reward strong {
  color: var(--accent-amber);
}

.code-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.85rem;
  margin-top: 0.5rem;
}

.code-expiry-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.copy-btn {
  background: linear-gradient(135deg, #f59e0b, #ff5722);
  color: #000;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.copy-btn:hover {
  filter: brightness(1.15);
  transform: scale(1.04);
}

.copy-btn.copied {
  background: #10b981;
  color: #fff;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: rgba(10, 15, 28, 0.7);
  margin: 1.5rem 0;
}

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

.data-table th {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-amber);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.data-table tbody tr:hover {
  background: rgba(245, 158, 11, 0.03);
}

.data-table code {
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
}

/* AI / GEO Direct Answer Box */
.geo-direct-answer {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.geo-direct-answer h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

/* Scam Warning Alert Box */
.scam-warning-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.scam-warning-box h4 {
  color: #f87171;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scam-warning-box p {
  color: #fca5a5;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Tier List Cards */
.tier-row {
  margin-bottom: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  overflow: hidden;
}

.tier-header {
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tier-ss { background: linear-gradient(90deg, #ff3366, #ff5722); color: #fff; }
.tier-s { background: linear-gradient(90deg, #f59e0b, #fbbf24); color: #000; }
.tier-a { background: linear-gradient(90deg, #8b5cf6, #a855f7); color: #fff; }
.tier-b { background: linear-gradient(90deg, #06b6d4, #38bdf8); color: #000; }

.tier-characters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: 1.25rem;
}

.char-card {
  background: rgba(10, 15, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.2s ease;
}

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

.char-name {
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.char-type {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-amber);
  margin-bottom: 0.5rem;
}

.char-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Steps List */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.step-card {
  background: rgba(10, 15, 28, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ff5722);
  color: #000;
  font-weight: 900;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

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

.faq-item {
  background: rgba(10, 15, 28, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 800;
  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(--accent-amber);
  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;
  line-height: 1.6;
}

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

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.85rem;
  letter-spacing: 0.05em;
}

.footer-col p {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.6;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}
