/* API Volleyball — design: sala de sport (bleumarin), mingea (galben + albastru), liniile terenului (alb). */

:root {
  --navy-950: #061226;
  --navy-900: #0A1A33;
  --navy-800: #10284D;
  --navy-700: #183766;
  --navy-600: #24497F;
  --yellow: #FFC72C;
  --yellow-600: #E8AE10;
  --blue: #1F6FEB;
  --blue-400: #5B9BFF;
  --sand: #F6EBD3;
  --white: #FFFFFF;
  --ink: #0F1B2D;
  --ink-soft: #4A5A72;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.5);
  --success: #2FBF71;
  --danger: #FF5A5F;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: var(--yellow); }
a:hover { color: var(--white); text-decoration: none; }

::selection { background: var(--yellow); color: var(--navy-900); }

code, pre, .mono { font-family: var(--font-mono); }
code { color: #FFD866; background: rgba(255,255,255,0.06); padding: 1px 5px; border-radius: 4px; font-size: 0.88em; }
pre code { background: none; padding: 0; }
.apikey-box code, .try-url { background: none; padding: 0; }

.text-yellow { color: var(--yellow) !important; }
.text-blue { color: var(--blue-400) !important; }
.text-soft { color: var(--text-soft) !important; }
.text-faint { color: var(--text-faint) !important; }

/* Fundal "teren": liniile terenului de volei, discrete, peste bleumarin */
.court-bg {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,0.05) calc(50% - 1px), rgba(255,255,255,0.05) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(90deg, transparent calc(33.3% - 1px), rgba(255,255,255,0.035) calc(33.3% - 1px), rgba(255,255,255,0.035) calc(33.3% + 1px), transparent calc(33.3% + 1px)),
    linear-gradient(90deg, transparent calc(66.6% - 1px), rgba(255,255,255,0.035) calc(66.6% - 1px), rgba(255,255,255,0.035) calc(66.6% + 1px), transparent calc(66.6% + 1px)),
    radial-gradient(1200px 600px at 85% -10%, rgba(31,111,235,0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255,199,44,0.12), transparent 60%);
  background-attachment: fixed;
}

/* Fileu: grila plasei folosita ca separator */
.net-divider {
  height: 26px;
  background-image:
    linear-gradient(var(--line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-strong) 1px, transparent 1px);
  background-size: 13px 13px;
  border-top: 4px solid var(--white);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  opacity: 0.55;
}

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}

.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-lead { color: var(--text-soft); font-size: 18px; max-width: 680px; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn-vb, .btn-vb-outline, .btn-vb-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 26px;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-vb { background: var(--yellow); color: var(--navy-900); }
.btn-vb:hover, .btn-vb:focus { background: var(--white); color: var(--navy-900); transform: translateY(-1px); }
.btn-vb-outline { border-color: var(--line-strong); color: var(--white); background: transparent; }
.btn-vb-outline:hover, .btn-vb-outline:focus { border-color: var(--yellow); color: var(--yellow); }
.btn-vb-ghost { color: var(--white); padding: 8px 14px; }
.btn-vb-ghost:hover { color: var(--yellow); }
.btn-vb[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn-vb-sm { padding: 8px 16px; font-size: 13px; }
.btn-vb-block { width: 100%; }

/* ---------- Navigation ---------- */

.vb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  padding: 16px 0;
  transition: background .2s ease, padding .2s ease, box-shadow .2s ease;
}
.vb-nav.scrolled, .vb-nav.solid, .vb-nav.open {
  background: rgba(6, 18, 38, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.vb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.vb-brand:hover { color: var(--white); }
.vb-brand img { width: 36px; height: 36px; transition: transform .6s ease; }
.vb-brand:hover img { transform: rotate(200deg); }
.vb-brand span { color: var(--yellow); }

.vb-nav .navbar-toggler { color: var(--white); font-size: 24px; padding: 4px 8px; border: 0; }
.vb-nav .navbar-toggler:focus { outline: none; }

.vb-nav .nav-link {
  color: var(--text-soft) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px !important;
  border-radius: 999px;
}
.vb-nav .nav-link:hover, .vb-nav .nav-link.active { color: var(--white) !important; }
.vb-nav .nav-link.active { background: rgba(255,255,255,0.08); }
.vb-nav .nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }

@media (max-width: 991px) {
  .vb-nav .navbar-collapse { padding: 14px 0 6px; }
  .vb-nav .nav-actions { margin: 10px 0 0; flex-wrap: wrap; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 900; margin-bottom: 20px; }
.hero h1 .hl { color: var(--yellow); }
.hero .lead { font-size: 19px; color: var(--text-soft); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-faint); }
.hero-note i { color: var(--success); margin-right: 6px; }

.hero-ball {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -170px;
  top: 40px;
  opacity: 0.08;
  animation: spin 60s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-ball { animation: none; } }

/* Tabela de scor live (hero) */
.scoreboard {
  position: relative;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow), 0 0 0 6px rgba(255,255,255,0.03);
  overflow: hidden;
}
.scoreboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-soft);
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 90, 95, 0.15);
  color: #FF8C90;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
}
.live-pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.25; } }

.sb-table { width: 100%; border-collapse: collapse; }
.sb-table th {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 6px 4px;
  text-align: center;
}
.sb-table th:first-child { text-align: left; padding-left: 20px; }
.sb-table td {
  padding: 10px 6px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-soft);
}
.sb-table td.team {
  text-align: left;
  padding-left: 20px;
  color: var(--white);
  font-size: 16px;
  white-space: nowrap;
}
.sb-table td.sets { color: var(--yellow); font-size: 22px; font-weight: 900; }
.sb-table td.won { color: var(--white); }
.sb-table td.current {
  color: var(--navy-900);
  background: var(--yellow);
  border-radius: 8px;
}
.serve-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-left: 8px;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255,199,44,0.2);
  vertical-align: middle;
}
.sb-pbp {
  border-top: 1px solid var(--line);
  padding: 14px 20px 18px;
}
.sb-pbp-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.pbp-dots { display: flex; gap: 5px; flex-wrap: wrap; }
.pbp-dots span {
  width: 18px; height: 18px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.pbp-dots .h { background: var(--yellow); color: var(--navy-900); }
.pbp-dots .a { background: var(--blue); color: var(--white); }
.sb-event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-soft);
}
.sb-event i { color: var(--yellow); }
.live-pill.final { background: rgba(255,255,255,0.1); color: var(--white); }
.live-pill.final::before { background: var(--success); animation: none; }
.live-pill.example { background: rgba(255,199,44,0.15); color: var(--yellow); }
.live-pill.example::before { background: var(--yellow); animation: none; }
.sb-foot {
  padding: 9px 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  text-align: right;
}

/* ---------- Stats strip ---------- */

.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.stat {
  padding: 30px 10px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 34px;
  color: var(--white);
}
.stat .num span { color: var(--yellow); }
.stat .lbl { font-size: 13px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Feature cards ---------- */

.feature {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(255,199,44,0.45);
  background: rgba(255,255,255,0.055);
}
.feature .ico {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,199,44,0.14);
  color: var(--yellow);
  font-size: 21px;
  margin-bottom: 18px;
}
.feature.blue .ico { background: rgba(31,111,235,0.18); color: var(--blue-400); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--text-soft); font-size: 15px; margin-bottom: 0; }
.feature .method {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-400);
  background: rgba(31,111,235,0.12);
  padding: 3px 9px;
  border-radius: 6px;
}

/* ---------- Code window ---------- */

.code-window {
  background: var(--navy-950);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.code-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.code-tabs .dots { display: flex; gap: 6px; margin-right: 12px; }
.code-tabs .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.code-tabs button {
  background: transparent;
  border: 0;
  color: var(--text-faint);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
}
.code-tabs button.active, .code-tabs button:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.code-tabs button:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.code-window pre {
  margin: 0;
  padding: 20px 22px;
  color: #DCE6F5;
  font-size: 13px;
  line-height: 1.65;
  max-height: 460px;
  overflow: auto;
}
.code-window .k { color: var(--blue-400); }
.code-window .s { color: #FFD866; }
.code-window .n { color: #7EE2B8; }
.code-window .c { color: rgba(255,255,255,0.4); }
.code-pane { display: none; }
.code-pane.active { display: block; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 7px 0 7px 30px; position: relative; color: var(--text-soft); }
.check-list li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0; top: 7px;
  color: var(--yellow);
}
.check-list li strong { color: var(--white); }

/* ---------- Steps ---------- */

.step { text-align: center; padding: 0 12px; }
.step .num {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  color: var(--navy-900);
  background: var(--yellow);
  box-shadow: 0 0 0 8px rgba(255,199,44,0.12);
}
.step h3 { font-size: 20px; }
.step p { color: var(--text-soft); }

/* ---------- Plans ---------- */

.period-switch {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  margin-bottom: 44px;
}
.period-switch input { position: absolute; opacity: 0; pointer-events: none; }
.period-switch label {
  margin: 0;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.period-switch label small { color: var(--yellow); font-weight: 700; margin-left: 4px; }
.period-switch input:checked + label { background: var(--yellow); color: var(--navy-900); }
.period-switch input:checked + label small { color: var(--navy-900); }
.period-switch input:focus-visible + label { outline: 2px solid var(--white); }

.plan {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}
.plan.featured {
  background: linear-gradient(170deg, rgba(31,111,235,0.28), rgba(255,255,255,0.04) 55%);
  border-color: rgba(91,155,255,0.6);
}
.plan .badge-top {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan .price { font-family: var(--font-head); font-weight: 900; font-size: 42px; line-height: 1; margin: 14px 0 4px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--text-faint); }
.plan .price-old { font-size: 13px; color: var(--text-faint); text-decoration: line-through; min-height: 20px; }
.plan .calls { font-weight: 700; color: var(--yellow); margin: 10px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 6px 0; font-size: 15px; color: var(--text-soft); }
.plan li i { width: 20px; color: var(--success); }
.plan li.off { color: var(--text-faint); text-decoration: line-through; }
.plan li.off i { color: var(--text-faint); }
.plan li.plus { color: var(--white); font-weight: 600; }

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  padding: 20px 40px 20px 0;
  position: relative;
  cursor: pointer;
}
.faq-item button:focus { outline: none; color: var(--yellow); }
.faq-item button::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--yellow);
  transition: transform .2s ease;
}
.faq-item button[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-body { color: var(--text-soft); padding: 0 0 20px; }

/* ---------- Forms ---------- */

.vb-input, .vb-select, .vb-textarea,
.form-control.vb-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 12px 14px;
  font-size: 15px;
  height: auto;
  transition: border-color .15s ease, background .15s ease;
}
.vb-input::placeholder, .vb-textarea::placeholder { color: var(--text-faint); }
.vb-input:focus, .vb-select:focus, .vb-textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255,255,255,0.09);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(255,199,44,0.18);
}
.vb-select option { color: var(--ink); }
.vb-select:disabled { opacity: 0.5; }
.vb-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-soft); margin-bottom: 6px; }
.input-icon { position: relative; }
.input-icon .fa {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
}
.input-icon .vb-input { padding-left: 40px; }
.error-input { border-color: var(--danger) !important; }
p.error, label.error { color: #FF9A9E !important; font-size: 13px; margin: 0 0 6px; }

/* ---------- Auth pages ---------- */

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
}
.auth-card {
  background: rgba(10, 26, 51, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 40px;
}
.auth-card h1 { font-size: 30px; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-soft); margin-bottom: 28px; }
.auth-card .form-row-gap > * + * { margin-top: 14px; }
.auth-card .alt { margin-top: 24px; text-align: center; color: var(--text-soft); font-size: 15px; }
.auth-side h2 { font-size: 34px; margin-bottom: 16px; }
.auth-side .check-list li { font-size: 16px; }
@media (max-width: 575px) { .auth-card { padding: 26px 20px; } }

/* ---------- Dashboard / account ---------- */

.page-head { padding: 130px 0 30px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); }

.dash-card {
  background: rgba(10, 26, 51, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
}
.dash-card h2 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.dash-card h2 i { color: var(--yellow); }

.apikey-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-950);
  border: 1px dashed rgba(255,199,44,0.5);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.url-box {
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.url-box code {
  display: block;
  background: none;
  padding: 0;
  color: #DCE6F5;
  font-size: 13px;
  line-height: 1.6;
  white-space: normal;
  word-break: break-all;
}

.apikey-box code {
  flex: 1;
  color: var(--yellow);
  font-size: 14px;
  word-break: break-all;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.status-pill.ok { background: rgba(47,191,113,0.15); color: #6FE3A5; }
.status-pill.trial { background: rgba(255,199,44,0.15); color: var(--yellow); }
.status-pill.off { background: rgba(255,90,95,0.15); color: #FF9A9E; }

.kv { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--text-soft); }
.kv span:last-child { font-weight: 600; text-align: right; }

.notice {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 14px;
}
.notice.warn { background: rgba(255,199,44,0.12); border: 1px solid rgba(255,199,44,0.35); color: #FFE08A; }
.notice.bad { background: rgba(255,90,95,0.12); border: 1px solid rgba(255,90,95,0.35); color: #FFB3B5; }
.notice.good { background: rgba(47,191,113,0.12); border: 1px solid rgba(47,191,113,0.35); color: #9DF0C4; }
.notice.info { background: rgba(31,111,235,0.14); border: 1px solid rgba(91,155,255,0.35); color: #BBD4FF; }

/* Pay page */
.payment-method-option {
  display: block;
  height: 100%;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.payment-method-option:hover { background: rgba(255,255,255,0.07); }
.payment-method-option.selected { border-color: var(--yellow); background: rgba(255,199,44,0.08); box-shadow: 0 0 0 1px var(--yellow); }
.payment-method-option .pm-title { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; }
.payment-method-option .pm-title i { font-size: 22px; }
.payment-method-option .pm-meta { font-size: 14px; color: var(--text-soft); }
.payment-method-option .pm-meta strong { color: var(--white); }

/* Usage */
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.stat-card .value { font-family: var(--font-head); font-size: 28px; font-weight: 800; }
.stat-card .label { font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-card .over { color: var(--danger); }

/* ---------- Documentation ---------- */

.docs-layout { padding-top: 110px; }
.docs-nav {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(10,26,51,0.82);
  border: 1px solid var(--line);
}
.docs-nav h6 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin: 8px 0 8px; }
.docs-nav a {
  display: block;
  color: var(--text-soft);
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 7px;
}
.docs-nav a:hover, .docs-nav a.active { color: var(--white); background: rgba(255,255,255,0.07); }
.docs-nav a.active { box-shadow: inset 3px 0 0 var(--yellow); }

.doc-section { padding: 30px 0 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.doc-section h2 { font-size: 28px; margin-bottom: 10px; }
.doc-section h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--yellow); margin: 26px 0 12px; }
.doc-section p { color: var(--text-soft); }

.endpoint {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  word-break: break-all;
}
.endpoint .verb {
  background: var(--yellow);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 5px;
}
.plan-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(31,111,235,0.2);
  color: var(--blue-400);
  vertical-align: middle;
  margin-left: 8px;
}

.doc-table { width: 100%; font-size: 14px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.doc-table th { background: rgba(255,255,255,0.06); color: var(--text-soft); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; padding: 10px 14px; }
.doc-table td { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--text-soft); vertical-align: top; }
.doc-table td:first-child { font-family: var(--font-mono); color: var(--white); white-space: nowrap; }
.doc-table .req { color: var(--yellow); font-size: 11px; font-weight: 700; margin-left: 6px; }
@media (max-width: 767px) { .doc-table td:first-child { white-space: normal; word-break: break-word; } }

.doc-pre {
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: #DCE6F5;
  font-size: 13px;
  padding: 16px 18px;
  max-height: 420px;
  overflow: auto;
}

.try-box {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(31,111,235,0.12);
  border: 1px solid rgba(91,155,255,0.35);
}
.try-result { margin-top: 12px; }
.try-result .doc-pre { max-height: 360px; }
.try-meta { font-size: 12px; color: var(--text-faint); margin-top: 6px; }

/* ---------- Contact & footer ---------- */

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
}
@media (max-width: 575px) { .contact-card { padding: 24px 18px; } }

.vb-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  color: var(--text-soft);
  font-size: 15px;
}
.vb-footer h6 { color: var(--white); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.vb-footer ul { list-style: none; padding: 0; margin: 0; }
.vb-footer li { padding: 4px 0; }
.vb-footer a { color: var(--text-soft); }
.vb-footer a:hover { color: var(--yellow); }
.vb-footer .newsletter { display: flex; gap: 8px; }
.vb-footer .newsletter .vb-input { border-radius: 999px; }
.vb-footer .bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: 13px; color: var(--text-faint); }
@media (max-width: 575px) { .vb-footer .newsletter { flex-direction: column; } }

/* ---------- Misc ---------- */

.loading {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6,18,38,0.7);
  display: grid;
  place-items: center;
  color: transparent;
}
.loading::after {
  content: "";
  width: 54px; height: 54px;
  border-radius: 50%;
  background: url("../images/favicon.svg") center / contain no-repeat;
  animation: spin 0.9s linear infinite;
}

.scroll-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 1000;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--navy-900);
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow);
  border: 0;
}

.coverage-leagues { list-style: none; padding: 0; margin: 0; }
.coverage-leagues li { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-soft); }
.coverage-leagues li:last-child { border-bottom: 0; }
.coverage-leagues li span { font-size: 12px; }

.legal h2 { font-size: 20px; margin-top: 30px; }
.legal p { color: var(--text-soft); }

.status-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.status-page img { width: 72px; margin-bottom: 20px; }

@media (max-width: 767px) {
  .section { padding: 70px 0; }
  .hero { padding: 120px 0 60px; }
  .hero-ball { width: 340px; height: 340px; right: -140px; }
  .sb-table td { font-size: 15px; padding: 9px 4px; }
  .sb-table td.team { font-size: 14px; padding-left: 14px; }
}
