/* ===== Variables ===== */
:root {
  --bg: #070d1a;
  --bg-alt: #0c1529;
  --surface: #111d35;
  --surface-hover: #162544;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf7;
  --text-muted: #8b9bb8;
  --primary: #186cd9;
  --primary-hover: #2a7ee8;
  --accent: #186cd9;
  --accent-hover: #2f88ef;
  --brand-dark: #0d4a9e;
  --gold: #ffc107;
  --gradient: linear-gradient(135deg, #0d4a9e 0%, #186cd9 50%, #3d8ef0 100%);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --font: "Manrope", system-ui, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(24, 108, 217, 0.45);
}

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--surface);
}

.btn--outline {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

.link-btn {
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  margin-top: auto;
  text-align: left;
  transition: opacity var(--transition);
}

.link-btn:hover {
  opacity: 0.85;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs--hero {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 0.65rem);
  padding-bottom: 0.15rem;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumbs__list li:not(:last-child)::after {
  content: " /";
  margin-left: 0.5rem;
  color: var(--text-muted);
  opacity: 0.6;
}

.breadcrumbs__list a:hover {
  color: var(--accent);
}

/* ===== FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item summary:hover {
  background: var(--surface-hover);
}

.faq__answer {
  padding: 0 1.35rem 1.15rem;
}

.faq__answer p {
  color: var(--text-muted);
}

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo__mark {
  color: var(--accent);
}

.logo__text {
  color: #fff;
}

.nav__list {
  display: flex;
  gap: 1.75rem;
}

.nav__link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 0 0 2.5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(30, 91, 255, 0.25), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(0, 200, 83, 0.12), transparent),
    var(--bg);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
  padding-top: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(30, 91, 255, 0.2);
  color: #7eb0ff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.badge--gold {
  background: rgba(255, 193, 7, 0.15);
  color: var(--gold);
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 32rem;
  margin-bottom: 1rem;
}

.hero__bonus {
  display: inline-flex;
  flex-direction: column;
  padding: 1rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.hero__bonus-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero__bonus-value {
  font-size: 1.5rem;
  color: var(--gold);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero__trust li::before {
  content: "✓ ";
  color: var(--accent);
}

/* Card stack */
.hero__visual {
  padding-top: 0.25rem;
}

.card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.game-card {
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.game-card:hover {
  transform: translateY(-3px);
}

.game-card--main {
  grid-column: 1 / -1;
}

.game-card--accent {
  border-color: rgba(24, 108, 217, 0.45);
  background: linear-gradient(145deg, #0a1e3d, var(--surface));
}

.game-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.game-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.game-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.game-card--img {
  padding: 0;
  overflow: hidden;
}

.game-card--img > img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.game-card--main.game-card--img > img {
  height: 150px;
}

.game-card__caption {
  padding: 0.85rem 1rem 1rem;
}

.game-card__caption h3 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.game-card__caption p {
  font-size: 0.8rem;
  margin: 0;
}

/* ===== Fixed CTA ===== */
.fab-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem 0.95rem 1.1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(24, 108, 217, 0.5), 0 4px 12px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  animation: fab-enter 0.5s ease 0.3s both;
}

.fab-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 44px rgba(24, 108, 217, 0.55), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.fab-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.fab-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
}

.fab-cta__icon {
  font-size: 1.2rem;
  line-height: 1;
}

.fab-cta__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  z-index: -1;
  animation: fab-pulse 2s ease-out infinite;
}

@keyframes fab-enter {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

@keyframes fab-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

body.has-fab {
  padding-bottom: 5rem;
}

/* ===== Stats ===== */
.stats {
  padding: 1.5rem 0 2.5rem;
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section__head p {
  color: var(--text-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card,
.game-card,
.info-card,
.sport-banner {
  cursor: pointer;
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 91, 255, 0.4);
}

.feature-card__icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Live block */
.live-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.live-block h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.live-block p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.live-block__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.live-tile {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  transition: background var(--transition);
}

.live-tile:hover {
  background: var(--surface-hover);
}

/* Sport banner */
.sport-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: var(--gradient);
  border-radius: var(--radius);
  color: #fff;
}

.sport-banner h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.sport-banner p {
  opacity: 0.9;
}

.sport-banner .btn--accent {
  flex-shrink: 0;
}

/* Bonus */
.section--bonus {
  background: radial-gradient(ellipse at center, rgba(30, 91, 255, 0.15), transparent 70%);
}

.bonus {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
}

.bonus h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.75rem 0;
}

.bonus p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.promo-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.promo-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.9rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #fff;
}

.promo-form input:focus {
  outline: 2px solid var(--primary);
  border-color: transparent;
}

.bonus__timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.timer {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.timer div {
  min-width: 72px;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.timer b {
  display: block;
  font-size: 1.75rem;
  color: var(--gold);
}

/* SEO */
.seo h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.seo__grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 2.5rem;
}

.seo__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.seo__text h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
  color: #fff;
}

.seo__text ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.seo__text li {
  margin-bottom: 0.5rem;
}

.seo__aside {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: fit-content;
}

.seo__aside h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.seo__aside ul {
  margin-bottom: 1.5rem;
}

.seo__aside a {
  color: var(--text-muted);
  display: block;
  padding: 0.35rem 0;
  transition: color var(--transition);
}

.seo__aside a:hover {
  color: var(--accent);
}

.seo__tags {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA bar */
.cta-bar {
  padding: 4rem 0 5rem;
}

.cta-bar__inner {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cta-bar h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-bar p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ===== Footer ===== */
.footer {
  background: #050a14;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  max-width: 260px;
}

.footer__nav h4 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.footer__nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: block;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: #fff;
}

.footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-content: start;
}

.footer__payments span {
  padding: 0.4rem 0.75rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__badges {
  display: flex;
  gap: 0.5rem;
}

.footer__badges span {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* ===== Modal & Toast ===== */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal__box {
  position: relative;
  width: min(420px, 100%);
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition);
}

.modal__close:hover {
  background: var(--bg);
}

.modal__box h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.modal__box p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(0.75rem);
  max-width: min(90vw, 420px);
  padding: 0.9rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 300;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.toast[hidden] {
  display: none !important;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  color: #fff;
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__grid,
  .live-block,
  .bonus,
  .seo__grid {
    grid-template-columns: 1fr;
  }

  .card-stack {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero__visual {
    order: -1;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav__link {
    display: block;
    padding: 0.75rem;
  }

  .burger {
    display: flex;
  }

  .header__actions .btn--ghost {
    display: none;
  }

  .hero {
    padding-bottom: 2rem;
  }

  .fab-cta {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    justify-content: center;
    width: auto;
  }

  .fab-cta__text {
    font-size: 1rem;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .sport-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Inner pages ===== */
body.page-sub {
  background: var(--bg);
}

.inner-hero {
  position: relative;
  padding: 0 0 2rem;
  overflow: hidden;
}

.inner-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(24, 108, 217, 0.28), transparent),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(13, 74, 158, 0.35), transparent),
    var(--bg);
  pointer-events: none;
}

.inner-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding-top: 0.35rem;
  padding-bottom: 0.5rem;
}

.inner-hero__content .badge {
  margin-bottom: 0.65rem;
}

.inner-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.inner-hero__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1rem;
}

.inner-hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.page-content {
  padding: 2.5rem 0 4rem;
}

.prose {
  max-width: none;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: #fff;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: #e8edf7;
}

.prose p,
.prose li {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose .lsi-tags {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

.page-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.page-sidebar__thumb {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.page-sidebar h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.page-sidebar ul {
  margin-bottom: 1rem;
}

.page-sidebar a {
  display: block;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-sidebar a:hover,
.page-sidebar a.is-active {
  color: var(--accent);
}

.page-cta {
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--gradient);
  border-radius: var(--radius);
  text-align: center;
}

.page-cta h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.page-cta p {
  opacity: 0.9;
  margin-bottom: 1rem;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.info-card {
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.info-card strong {
  display: block;
  color: #fff;
  margin-bottom: 0.35rem;
}

.info-card span {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.page-cta h2 {
  color: #fff;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs__list li:last-child span {
  color: var(--text-muted);
}

/* Slots grid (inner + shared) */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.slot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.slot-card:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 108, 217, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.slot-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}

.slot-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 13, 26, 0.55) 100%);
  pointer-events: none;
}

.slot-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slot-card__body {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slot-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.slot-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  align-self: flex-start;
}

.slots-section {
  padding: 3rem 0;
}

.page-sub .section.page-content {
  padding: 3rem 0 4rem;
  background: var(--bg);
}

.content-with-img {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 1.5rem;
  align-items: start;
  margin: 1.5rem 0;
}

.content-with-img img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .inner-hero__grid {
    grid-template-columns: 1fr;
  }

  .inner-hero__media {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .page-grid {
    grid-template-columns: 1fr;
  }

  .page-sidebar {
    position: static;
  }

  .content-with-img {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .slots-grid {
    grid-template-columns: 1fr;
  }
}
