/* Extrabet — Modern SEO & Performance-First Design System */
:root {
  --bg-main: #060911;
  --bg-surface: #0c1220;
  --bg-card: rgba(17, 25, 43, 0.72);
  --bg-card-hover: rgba(23, 34, 58, 0.9);
  --border: rgba(148, 163, 184, 0.14);
  --border-accent: rgba(0, 230, 118, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --emerald: #00e676;
  --emerald-dark: #00b85c;
  --emerald-glow: rgba(0, 230, 118, 0.18);
  --gold: #f5c542;
  --gold-glow: rgba(245, 197, 66, 0.16);
  --cyan: #38bdf8;
  --danger: #fb7185;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max-width: 1200px;
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(0, 230, 118, 0.08), transparent 36%),
    radial-gradient(circle at 88% 18%, rgba(245, 197, 66, 0.06), transparent 34%),
    radial-gradient(circle at 50% 95%, rgba(56, 189, 248, 0.05), transparent 40%);
  background-attachment: fixed;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--emerald);
  color: #05110a;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { top: 16px; }

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  z-index: 2000;
  transition: width 0.08s linear;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 9, 17, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #111b30, #070d19);
  border: 1px solid var(--border-accent);
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px var(--emerald-glow);
}
.brand span {
  background: linear-gradient(90deg, #ffffff 30%, var(--emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.main-nav a.active {
  color: var(--emerald);
  box-shadow: inset 0 0 0 1px rgba(0, 230, 118, 0.22);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald) 0%, #00c865 100%);
  color: #04130b;
  box-shadow: 0 10px 28px rgba(0, 230, 118, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 230, 118, 0.38);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #e0a81e 100%);
  color: #161002;
  box-shadow: 0 10px 28px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(245, 197, 66, 0.3);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--emerald);
  background: rgba(0, 230, 118, 0.08);
  transform: translateY(-2px);
}
.btn-lg { padding: 15px 28px; font-size: 1rem; border-radius: 12px; }

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Status Ticker Bar */
.status-bar {
  background: rgba(0, 230, 118, 0.07);
  border-bottom: 1px solid rgba(0, 230, 118, 0.16);
  padding: 9px 0;
  font-size: 0.86rem;
}
.status-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #d1fae5;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Hero Section */
.hero {
  padding: 72px 0 64px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.28);
  color: var(--emerald);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.text-gradient {
  background: linear-gradient(90deg, var(--emerald) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 60ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.access-card {
  background: linear-gradient(160deg, rgba(19, 29, 51, 0.92), rgba(9, 14, 26, 0.95));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 230, 118, 0.08);
  position: relative;
  overflow: hidden;
}
.access-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--gold), var(--cyan));
}
.access-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.badge-live {
  background: rgba(0, 230, 118, 0.14);
  color: var(--emerald);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.domain-box {
  background: rgba(6, 9, 17, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.domain-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--emerald);
  word-break: break-all;
}
.copy-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.copy-btn:hover { border-color: var(--emerald); color: var(--emerald); }

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 22px;
}
.meta-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.meta-label { font-size: 0.76rem; color: var(--text-muted); display: block; margin-bottom: 3px; }
.meta-value { font-size: 0.94rem; font-weight: 700; color: var(--text-primary); }

/* Sections */
.section { padding: 72px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.55), rgba(6, 9, 17, 0.2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
h3 { font-size: 1.2rem; margin: 0 0 10px; font-weight: 700; }
.section-desc { color: var(--text-secondary); margin: 0; font-size: 1.02rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 118, 0.32);
  background: var(--bg-card-hover);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.22);
  color: var(--emerald);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card-icon.gold {
  background: rgba(245, 197, 66, 0.12);
  border-color: rgba(245, 197, 66, 0.25);
  color: var(--gold);
}
.card p { color: var(--text-secondary); margin: 0 0 14px; font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.9rem;
}
.card-link:hover { gap: 10px; }

.sitelinks-hub {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.sitelink-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition);
}
.sitelink-tile:hover {
  border-color: var(--emerald);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}
.sitelink-tile strong { font-size: 1rem; margin-bottom: 6px; display: block; color: var(--text-primary); }
.sitelink-tile span { font-size: 0.84rem; color: var(--text-secondary); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-box {
  background: rgba(12, 18, 32, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald);
  display: block;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.88rem; color: var(--text-secondary); }

.breadcrumb {
  padding: 20px 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb a:hover { color: var(--emerald); }
.breadcrumb li[aria-current="page"] { color: var(--text-secondary); font-weight: 600; }

.page-hero {
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--border);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
th, td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}
tr:last-child td { border-bottom: none; }
.check { color: var(--emerald); font-weight: 800; }
.cross { color: var(--text-muted); }

.promo-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(245, 197, 66, 0.14);
  color: var(--gold);
  margin-bottom: 14px;
}
.promo-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 6px 0 12px;
}
.calculator-box {
  background: linear-gradient(145deg, rgba(16, 26, 46, 0.92), rgba(8, 13, 24, 0.95));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.form-control {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  background: rgba(6, 9, 17, 0.85);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.14);
}
.calc-result {
  background: rgba(0, 230, 118, 0.06);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.calc-row:last-child { border-bottom: none; padding-top: 14px; font-size: 1.15rem; font-weight: 800; color: var(--emerald); }

.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 20px 24px;
  text-align: left;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-question:hover { color: var(--emerald); }
.faq-icon {
  font-size: 1.3rem;
  color: var(--emerald);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 230, 118, 0.14);
  border-color: var(--emerald);
  color: var(--emerald);
}
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.blog-cat {
  color: var(--emerald);
  font-weight: 700;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
}
.article-body h2 { font-size: 1.55rem; margin-top: 32px; color: var(--text-primary); }
.article-body h3 { font-size: 1.2rem; margin-top: 24px; color: var(--emerald); }
.article-body p, .article-body li { color: #cbd5e1; font-size: 1.02rem; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 16px 0; }
.callout {
  background: rgba(0, 230, 118, 0.07);
  border-left: 4px solid var(--emerald);
  padding: 18px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}
.toc-list { list-style: none; padding: 0; margin: 12px 0 0; }
.toc-list li { margin-bottom: 10px; }
.toc-list a { color: var(--text-secondary); font-size: 0.9rem; }
.toc-list a:hover { color: var(--emerald); }

.site-footer {
  background: #04070d;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin: 0 0 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-links a { color: var(--text-secondary); font-size: 0.92rem; }
.footer-links a:hover { color: var(--emerald); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(251, 113, 133, 0.5);
  color: var(--danger);
  font-weight: 800;
  font-size: 0.8rem;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f1c2e;
  border: 1px solid var(--emerald);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3000;
  font-size: 0.92rem;
  font-weight: 600;
}
.toast.show { transform: translateY(0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero-grid, .article-layout, .calc-grid { grid-template-columns: 1fr; }
  .sitelinks-hub { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(6, 9, 17, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 18px 24px 24px;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-outline { display: none; }
  .grid-2, .grid-3, .sitelinks-hub, .footer-grid { grid-template-columns: 1fr; }
  .article-body { padding: 24px; }
  .hero { padding: 48px 0 44px; }
}
