:root {
  --bg: #08090e;
  --bg-card: #12141c;
  --bg-elevated: #1a1d28;
  --text: #eef0f5;
  --muted: #949eb3;
  --red: #ff2d2d;
  --red-glow: rgba(255, 45, 45, 0.35);
  --green: #22c55e;
  --green-bright: #4ade80;
  --amber: #fbbf24;
  --border: #2a3040;
  --radius: 14px;
  --radius-lg: 20px;
  --font: "Montserrat", system-ui, sans-serif;
  --max: 1140px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  --scroll-progress: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

body.demo-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

a {
  color: var(--green-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Scroll progress — airplane */
.scroll-flight {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  z-index: 250;
  pointer-events: none;
}

.scroll-flight__track {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.scroll-flight__fill {
  height: 100%;
  width: calc(var(--scroll-progress) * 100%);
  background: linear-gradient(90deg, #b81818, var(--red) 40%, #ff6b6b);
  box-shadow: 0 0 14px var(--red-glow);
  border-radius: 999px;
  transition: width 0.08s linear;
}

.scroll-flight__plane {
  position: absolute;
  top: 11px;
  left: calc(var(--scroll-progress) * 100%);
  transform: translate(-50%, -50%);
  transition: left 0.08s linear;
  filter: drop-shadow(0 0 6px rgba(255, 45, 45, 0.8));
}

.scroll-flight__svg {
  display: block;
  transform: rotate(-12deg);
}

.scroll-flight__trail {
  position: absolute;
  right: 100%;
  top: 50%;
  width: clamp(24px, 8vw, 72px);
  height: 2px;
  margin-top: -1px;
  margin-right: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 45, 0.85));
  border-radius: 2px;
  opacity: calc(0.35 + var(--scroll-progress) * 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-flight__fill,
  .scroll-flight__plane {
    transition: none;
  }
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.logo img {
  height: 46px;
  width: auto;
  border-radius: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  font-size: 0.82rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.nav-demo {
  padding: 0.4rem 0.85rem !important;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  color: #052e12 !important;
  font-weight: 700;
}

.nav-demo:hover {
  color: #000 !important;
  filter: brightness(1.05);
}

/* Hero */
.hero {
  position: relative;
  padding: 1.5rem 0 1.25rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% -10%, rgba(255, 45, 45, 0.14), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  width: min(100% - 2rem, 920px);
  margin-inline: auto;
}

.hero-copy {
  flex: 0 0 auto;
}

.hero-visual {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-grid {
    flex-direction: row;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2rem);
  }

  .hero-copy {
    flex: 0 1 380px;
    min-width: 0;
  }

  .hero-visual {
    flex: 1 1 460px;
    min-width: 0;
  }
}

.hero .hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 4.2vw, 2rem);
  line-height: 1.22;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
}

.hero-actions .btn-lg {
  padding: 0.7rem 1.25rem;
  font-size: 0.92rem;
  min-width: 0;
  flex: 0 1 auto;
}

.hero-note {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 920px);
  margin: 0.85rem auto 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: left;
}

@media (min-width: 768px) {
  .hero-note {
    text-align: center;
  }
}

.hero-visual__frame {
  position: relative;
  padding: 2px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.7), rgba(74, 222, 128, 0.35));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.hero-visual__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  background: #0a0a0a;
  border-radius: calc(var(--radius) - 2px);
}

@media (min-width: 768px) {
  .hero-visual__frame img {
    max-height: 300px;
  }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.badge--green {
  color: var(--green-bright);
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.25);
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 .accent {
  background: linear-gradient(135deg, #fff 30%, #ffb4b4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1.5rem 0;
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

.stat {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--green-bright);
}

.stat span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.3;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-row--compact {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--green-bright), #16a34a);
  color: #052e12;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.06);
  color: #000;
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  color: #fff;
  border-color: #4a5568;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual__tag {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  color: var(--amber);
}

.disclaimer-inline {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--amber);
  background: rgba(251, 191, 36, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: none;
  line-height: 1.6;
}

.disclaimer-inline--tight {
  margin-top: 1rem;
}

section .container > .section-intro + .disclaimer-inline {
  margin-top: 1rem;
}

section .container > .disclaimer-inline + .casino-grid {
  margin-top: 1.25rem;
}

/* Sections */
section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.015);
}

.section-head {
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  margin: 0 0 0.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--muted);
  max-width: none;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

section .container > h2 + .section-intro {
  margin-top: 0.35rem;
}

section .container > .section-intro + p,
section .container > .section-intro + .demo-panel,
section .container > .section-intro + .steps,
section .container > .section-intro + .grid-2,
section .container > .section-intro + .mode-split,
section .container > .section-intro + .table-wrap,
section .container > .section-intro + .warning,
section .container > .section-intro + .content-list,
section .container > .section-intro + .fn-grid,
section .container > .section-intro + .ui-map,
section .container > .section-intro + .casino-grid,
section .container > .section-intro + .money-grid,
section .container > .section-intro + .faq {
  margin-top: 1.35rem;
}

section .container > p {
  max-width: none;
  color: var(--muted);
  margin: 0;
}

section .container > p + p {
  margin-top: 1rem;
}

section .container > p + .figure,
section .container > .grid-2 + .figure,
section .container > .card + .figure,
section .container > .warning + .figure {
  margin-top: 1.5rem;
}

section .container > h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.35rem;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.step:hover {
  border-color: rgba(255, 45, 45, 0.35);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.figure {
  margin: 1.75rem 0;
}

.figure figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.6rem;
  text-align: center;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  height: 100%;
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card p + p {
  margin-top: 0.75rem;
}

.card--stack p + p {
  margin-top: 0.85rem;
}

.card--after-grid {
  margin-top: 1.25rem;
}

.card-ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card-ol li + li {
  margin-top: 0.45rem;
}

.content-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: none;
}

.content-list li + li {
  margin-top: 0.4rem;
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.card li {
  margin-bottom: 0.4rem;
}

/* Casino grid */
.casino-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

@media (min-width: 768px) {
  .casino-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.casino-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.casino-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.casino-card__name {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.casino-card__bonus {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-bright);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.casino-card__find {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1rem;
  flex-grow: 1;
}

.casino-card__body {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.15rem;
  flex-grow: 1;
}

.casino-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Demo section */
.demo-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .demo-panel {
    grid-template-columns: 1fr auto;
  }
}

.demo-panel p {
  margin: 0;
  color: var(--muted);
}

/* Demo modal */
.demo-modal[hidden] {
  display: none;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.demo-modal__dialog {
  position: relative;
  width: min(100%, 960px);
  max-height: min(92vh, 720px);
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.demo-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.demo-modal__title {
  font-weight: 700;
  font-size: 0.95rem;
}

.demo-modal__close {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.demo-modal__close:hover {
  background: var(--red);
  border-color: var(--red);
}

.demo-modal__iframe {
  flex: 1;
  width: 100%;
  min-height: 480px;
  border: 0;
  background: #000;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

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

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-elevated);
}

tr:last-child td {
  border-bottom: none;
}

.compare-table td:first-child {
  font-weight: 600;
}

/* ——— Новые секции (specs, interface, features, demo vs real) ——— */

.spec-table-wrap {
  margin-top: 1.35rem;
}

.spec-table thead tr:first-child th {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
}

.spec-table__columns th {
  font-size: 0.72rem !important;
}

.spec-table__kpi td {
  background: rgba(74, 222, 128, 0.06);
  border-bottom-color: rgba(74, 222, 128, 0.12);
}

.spec-table__kpi td:first-child {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-table__kpi .spec-val {
  color: var(--green-bright);
  font-size: 1.05rem;
}

.spec-table__sep td {
  padding: 0.35rem 0;
  background: var(--bg-elevated);
  border-bottom: 2px solid var(--border);
}

.ui-map {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .ui-map {
    grid-template-columns: 1fr 1fr;
  }
}

.ui-map__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0;
  padding: 1.15rem 1.2rem;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, transform 0.2s;
}

.ui-map__item:hover {
  border-color: rgba(255, 45, 45, 0.35);
  transform: translateY(-2px);
}

.ui-map__num {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #ff5555, var(--red));
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--red-glow);
}

.ui-map__body {
  min-width: 0;
}

.ui-map__item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.ui-map__item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

#interface .grid-2 {
  margin-top: 1.75rem;
}

#interface .grid-2 img {
  max-height: 380px;
  width: 100%;
  object-fit: contain;
  object-position: top center;
  background: #0a0a0a;
}

.fn-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .fn-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .fn-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.fn-card {
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  border-top: 3px solid rgba(255, 45, 45, 0.65);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s, transform 0.2s;
}

.fn-card:hover {
  border-color: rgba(255, 45, 45, 0.4);
  transform: translateY(-3px);
}

.fn-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

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

.mode-split {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 1.25rem;
}

@media (min-width: 768px) {
  .mode-split {
    grid-template-columns: 1fr 1fr;
  }
}

.mode-card {
  padding: 1.4rem 1.45rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.mode-card--demo {
  border-color: rgba(74, 222, 128, 0.35);
  border-left: 4px solid var(--green-bright);
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), var(--bg-card) 55%);
}

.mode-card--real {
  border-color: rgba(255, 45, 45, 0.35);
  border-left: 4px solid var(--red);
  background: linear-gradient(135deg, rgba(255, 45, 45, 0.1), var(--bg-card) 55%);
}

.mode-card__tag {
  display: inline-block;
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
}

.mode-card--demo .mode-card__tag {
  color: var(--green-bright);
  background: rgba(74, 222, 128, 0.15);
}

.mode-card--real .mode-card__tag {
  color: #ff8a8a;
  background: rgba(255, 45, 45, 0.15);
}

.mode-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.mode-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.mode-card li {
  position: relative;
  padding-left: 1.15rem;
}

.mode-card li + li {
  margin-top: 0.45rem;
}

.mode-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
}

.mode-card--real li::before {
  background: var(--red);
}

.mode-table td:nth-child(2) {
  color: var(--green-bright);
  font-weight: 600;
}

.mode-table td:nth-child(3) {
  color: #ffb4b4;
  font-weight: 600;
}

.warning {
  background: rgba(255, 45, 45, 0.08);
  border: 1px solid rgba(255, 45, 45, 0.3);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.warning strong {
  color: #ff8080;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  padding: 0.9rem 1.1rem;
  transition: border-color 0.15s;
}

.faq details[open] {
  border-color: rgba(74, 222, 128, 0.3);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq details[open] summary {
  margin-bottom: 0.65rem;
  color: var(--green-bright);
}

.faq p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
  background: #06070b;
}

.site-footer p {
  margin: 0.5rem 0;
  max-width: 72ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
}

.toc__summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
  user-select: none;
}

.toc__summary::-webkit-details-marker {
  display: none;
}

.toc__summary::after {
  content: " ▾";
  font-size: 0.85em;
  color: var(--muted);
}

.toc[open] .toc__summary::after {
  content: " ▴";
}

.toc[open] .toc__summary {
  margin-bottom: 0.75rem;
  color: var(--green-bright);
}

.toc__nav ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 2;
  column-gap: 2rem;
}

.toc a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.toc a:hover {
  color: var(--green-bright);
}

#toc-block {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: none;
  background: transparent;
}

@media (max-width: 640px) {
  .toc__nav ol {
    columns: 1;
  }

  .nav a:not(.nav-demo) {
    display: none;
  }
}

.spec-table td:first-child {
  width: 38%;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .spec-table td:first-child {
    white-space: normal;
    width: 42%;
  }
}

/* Spribe block */
.spribe-copy__logo {
  display: block;
  width: auto;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.spribe-copy .section-intro {
  max-width: none;
}

.spribe-copy > p:not(.section-intro):not(.btn-row) {
  max-width: none;
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.spribe-copy > p + p {
  margin-top: 1rem;
}

.money-grid {
  margin-top: 1.35rem;
}

#predictor .content-list {
  margin-top: 1.15rem;
}

#fair .section-intro strong {
  color: var(--text);
}

#fair .section-intro em {
  font-style: normal;
  color: var(--green-bright);
}
