:root {
  --bg: #090102;
  --surface: #160305;
  --text: #FFF1F2;
  --muted: #FDA4AF;
  --primary: #DC2626;
  --secondary: #F97316;
  --accent: #FACC15;
  --border: rgba(255,241,242,0.14);
  --max-w: 1200px;
  --nav-h: 64px;
  --offer-bg: #1a1a1a;
  --offer-border: #2a2a2a;
  --offer-bonus: #ffd700;
  --offer-cta-bg: #22c55e;
  --offer-cta-text: #ffffff;
  --skeuomorphism: "skeuomorphism";
  --realistic: "realistic";
  --tactile: "tactile";
  --depth: "depth";
  --material-feel: "material feel";
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow-raised: 0 10px 28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 241, 242, 0.12);
  --shadow-pressed: inset 0 3px 10px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 241, 242, 0.06);
  --surface-grad: linear-gradient(165deg, rgba(255, 241, 242, 0.08) 0%, transparent 42%, rgba(0, 0, 0, 0.35) 100%);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(165deg, #120204 0%, var(--bg) 38%, #1a0508 72%, var(--bg) 100%),
    radial-gradient(ellipse 70% 45% at 12% 0%, rgba(220, 38, 38, 0.22) 0%, transparent 55%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 26px,
      rgba(255, 241, 242, 0.03) 26px,
      rgba(255, 241, 242, 0.03) 27px
    ),
    radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.06), transparent 40%);
}

body.nav-open {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.disclosure-banner {
  background: #050001;
  width: 100%;
  position: relative;
  z-index: 200;
}

.disclosure-banner .disclosure-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 16px 8px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.disclosure-banner .disclosure-icon {
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1;
  color: var(--accent);
}

.disclosure-banner p {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 241, 242, 0.78);
  text-align: left;
  margin: 0;
}

.site-header {
  position: static;
  background: #0c0103;
  border-bottom: 3px solid var(--accent);
  z-index: 150;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 241, 242, 0.08);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-lockup:hover {
  color: var(--text);
}

.brand-lockup img {
  width: 40px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 4px;
  justify-content: flex-end;
}

.nav-links a {
  display: block;
  padding: 8px 10px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 241, 242, 0.08);
  color: var(--text);
}

.burger-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: linear-gradient(180deg, rgba(255, 241, 242, 0.1), rgba(0, 0, 0, 0.35));
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: var(--shadow-raised);
}

.burger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.burger-btn span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 160;
}

.nav-overlay.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  position: fixed;
  top: 0;
  left: 0;
  width: min(300px, 86vw);
  height: 100vh;
  background: var(--surface);
  background-image: var(--surface-grad);
  padding: 80px 0 24px;
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  z-index: 170;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 14px 20px;
  color: var(--text);
  border-left: 3px solid transparent;
  font-weight: 600;
}

.mobile-nav a:hover {
  border-left-color: var(--accent);
  background: rgba(220, 38, 38, 0.12);
  color: var(--text);
}

.hero-diagonal {
  position: relative;
  min-height: 420px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  position: relative;
}

.hero-panel-text {
  background: var(--primary);
  background-image:
    linear-gradient(145deg, rgba(255, 241, 242, 0.18), transparent 50%),
    linear-gradient(180deg, #ef4444, var(--primary) 55%, #991b1b);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
  display: flex;
  align-items: center;
  padding: 48px 40px 56px 8%;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 2px 0 rgba(255, 241, 242, 0.2), 8px 0 30px rgba(0, 0, 0, 0.35);
}

.hero-panel-text h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), 0 12px 28px rgba(0, 0, 0, 0.35);
  max-width: 14ch;
}

.hero-panel-media {
  background-color: var(--surface);
  background-image:
    linear-gradient(120deg, rgba(9, 1, 2, 0.35), rgba(9, 1, 2, 0.55)),
    url("/images/decorative/decor_1.webp");
  background-size: cover;
  background-position: center;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -18%;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
}

.hero-substrip {
  background: var(--surface);
  background-image: var(--surface-grad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 241, 242, 0.08);
}

.hero-substrip p {
  max-width: var(--max-w);
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.offers-section {
  padding: 64px 24px;
  background-image:
    linear-gradient(180deg, rgba(9, 1, 2, 0.88), rgba(22, 3, 5, 0.92)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  border-top: 3px solid var(--secondary);
  border-bottom: 3px solid var(--accent);
}

.offers-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.offers-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.offers-intro p {
  color: var(--muted);
  font-size: 0.92rem;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.offer-card {
  background: var(--offer-bg);
  border: 3px solid var(--offer-border);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-raised);
  border-radius: 10px;
  animation: rise-in 0.7s ease-out both;
}

.offer-card:nth-child(2) {
  border-width: 5px;
  border-color: #3a3a3a;
}

.offer-logo {
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  background: #0d0d0d;
  border-radius: 8px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.08);
}

.offer-card .offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-width: none;
  max-height: none;
}

.offer-name {
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  min-width: 0;
}

.offer-bonus {
  color: var(--offer-bonus);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.offer-terms {
  color: #94a3b8;
  font-size: 0.72rem;
}

.offer-desc {
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 12px 16px;
  background: var(--offer-cta-bg);
  color: var(--offer-cta-text);
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 0 #15803d, 0 8px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

a.offer-cta:hover {
  color: var(--offer-cta-text);
  filter: brightness(1.08);
}

.offer-cta:hover {
  filter: brightness(1.08);
}

.offer-cta:active {
  transform: translateY(3px);
  box-shadow: var(--shadow-pressed), 0 1px 0 #15803d;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes press-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(250, 204, 21, 0);
  }
  50% {
    box-shadow: 0 0 24px rgba(250, 204, 21, 0.18);
  }
}

@keyframes soft-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.info-section {
  padding: 56px 24px;
  position: relative;
}

.info-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 90% 10%, rgba(249, 115, 22, 0.08), transparent 60%);
  opacity: 0.9;
}

.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.info-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 700;
}

.info-section h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  margin-bottom: 14px;
  line-height: 1.25;
}

.info-section p {
  color: rgba(255, 241, 242, 0.9);
  margin-bottom: 12px;
}

.info-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 12px 18px;
  background: linear-gradient(180deg, var(--secondary), #c2410c);
  color: var(--text);
  font-weight: 700;
  border-radius: 8px;
  box-shadow: var(--shadow-raised), 0 4px 0 #7c2d12;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  animation: press-glow 3.5s ease-in-out infinite;
}

.info-cta:hover {
  color: var(--text);
  filter: brightness(1.06);
}

.info-cta:active {
  transform: translateY(3px);
  box-shadow: var(--shadow-pressed);
}

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-raised);
}

.decor-clip {
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-raised);
  animation: soft-float 6s ease-in-out infinite;
}

.site-footer {
  background: #050001;
  background-image: linear-gradient(180deg, rgba(220, 38, 38, 0.08), transparent 40%);
  border-top: 3px solid var(--primary);
  padding: 48px 24px 32px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-content: flex-start;
}

.footer-nav a {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

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

.footer-compliance {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.footer-badges img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.footer-requisites,
.footer-updated,
.footer-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.footer-se-disclosure {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: rgba(253, 164, 175, 0.85);
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-line;
}

.footer-licence a {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #ef4444, var(--primary));
  color: var(--text);
  box-shadow: var(--shadow-raised), 0 4px 0 #7f1d1d;
}

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

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: var(--shadow-pressed);
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(255, 241, 242, 0.12), rgba(0, 0, 0, 0.35));
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-raised);
}

.btn-secondary:hover {
  filter: brightness(1.08);
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--surface);
  background-image: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-raised);
}

.modal-box h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.modal-box p {
  color: var(--muted);
  margin-bottom: 18px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#age-blocked {
  display: none;
  color: var(--muted);
}

#age-blocked.visible {
  display: block;
}

#age-blocked a {
  color: var(--accent);
}

#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 280;
  background: var(--surface);
  background-image: var(--surface-grad);
  border-top: 2px solid var(--accent);
  padding: 16px 20px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
}

#cookie-banner.active {
  display: block;
}

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  flex: 1 1 280px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-page {
  padding: 48px 24px 64px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  background-image: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: var(--shadow-raised);
}

.legal-content h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 16px;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 24px 0 10px;
  color: var(--accent);
}

.legal-content p,
.legal-content li {
  color: rgba(255, 241, 242, 0.9);
  margin-bottom: 10px;
}

.legal-content ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  color: var(--secondary);
  font-size: 0.85rem;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.form-success.visible {
  display: block;
}

.go-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  gap: 14px;
}

.go-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid rgba(255, 241, 242, 0.15);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  box-shadow: var(--shadow-raised);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.go-notes {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 480px;
}

#AD {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.page-404 {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  gap: 16px;
}

.page-404 h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.topic-hero {
  padding: 48px 24px 28px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.35), rgba(22, 3, 5, 0.9));
  border-bottom: 3px solid var(--accent);
  box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.25);
}

.topic-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.topic-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 10px;
}

.topic-hero p {
  color: var(--muted);
  max-width: 60ch;
}

.topic-body {
  padding: 40px 24px 64px;
}

.topic-body-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.topic-body h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--accent);
}

.topic-body h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
}

.topic-body p {
  margin-bottom: 14px;
  color: rgba(255, 241, 242, 0.92);
}

.topic-body ul {
  padding-left: 18px;
  margin-bottom: 16px;
}

.topic-body li {
  margin-bottom: 8px;
  color: rgba(255, 241, 242, 0.9);
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-panel-text,
  .hero-panel-media {
    clip-path: none;
    margin-left: 0;
  }

  .hero-panel-text {
    padding: 40px 24px 28px;
  }

  .hero-panel-media {
    min-height: 220px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding: 14px 16px;
  }

  .offers-section,
  .info-section,
  .legal-page,
  .topic-body,
  .topic-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .offer-logo {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .offer-card .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .decor-clip {
    max-width: 100%;
    overflow: hidden;
  }

  .decor-img {
    max-width: 100%;
    max-height: 200px;
    width: 100%;
    height: auto;
  }

  .hero-diagonal,
  .hero-split,
  .hero-panel-media,
  .variety-visual {
    max-width: 100%;
    overflow: hidden;
  }

  .disclosure-banner p {
    font-size: 10px;
  }

  .legal-content {
    padding: 24px 18px;
  }
}

.topic-live .topic-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}

.topic-live .side-rail {
  position: sticky;
  top: 24px;
  padding: 18px;
  border-radius: 12px;
  background: var(--surface);
  background-image: var(--surface-grad);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-raised);
}

.topic-live .side-rail h2 {
  font-size: 0.95rem;
  margin: 0 0 10px;
  color: var(--accent);
}

.topic-live .side-rail ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topic-live .side-rail li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.topic-live .media-stack {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.topic-live .media-stack .decor-clip:nth-child(2) {
  justify-self: end;
  max-width: 420px;
}

.topic-live .pull-quote {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--secondary);
  background: rgba(220, 38, 38, 0.12);
  border-radius: 0 12px 12px 0;
  font-size: 1.05rem;
  box-shadow: var(--shadow-raised);
}

.topic-choose .split-hero-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  margin-bottom: 32px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-raised);
}

.topic-choose .split-hero-band .copy {
  padding: 28px;
  background: var(--surface);
  background-image: var(--surface-grad);
}

.topic-choose .split-hero-band .visual {
  min-height: 240px;
  background-image:
    linear-gradient(140deg, rgba(9, 1, 2, 0.45), rgba(220, 38, 38, 0.35)),
    url("/images/decorative/decor_7.webp");
  background-size: cover;
  background-position: center;
}

.topic-choose .stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.topic-choose .stat-band div {
  padding: 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-raised);
}

.topic-choose .stat-band strong {
  display: block;
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.topic-choose .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 0.9rem;
}

.topic-choose .compare-table th,
.topic-choose .compare-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.topic-choose .compare-table th {
  background: rgba(220, 38, 38, 0.2);
  color: var(--accent);
}

.topic-licence .licence-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.topic-licence .hero-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 14px;
  align-items: stretch;
}

.topic-licence .hero-mosaic .lead {
  padding: 28px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.4), rgba(22, 3, 5, 0.95));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-raised);
}

.topic-licence .hero-mosaic .visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-image:
    linear-gradient(180deg, rgba(9, 1, 2, 0.2), rgba(9, 1, 2, 0.55)),
    url("/images/decorative/decor_8.jpg");
  background-size: cover;
  background-position: center;
  min-height: 200px;
  box-shadow: var(--shadow-raised);
}

.topic-licence .checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.topic-licence .checklist article {
  padding: 16px;
  border-radius: 10px;
  background: var(--surface);
  background-image: var(--surface-grad);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-raised);
}

.topic-licence .checklist h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .topic-live .topic-layout,
  .topic-choose .split-hero-band,
  .topic-licence .hero-mosaic,
  .topic-choose .stat-band,
  .topic-licence .checklist {
    grid-template-columns: 1fr;
  }

  .topic-live .side-rail {
    position: static;
  }
}

@media (max-width: 640px) {
  .topic-live .media-stack .decor-clip:nth-child(2) {
    justify-self: stretch;
    max-width: 100%;
  }

  .topic-choose .split-hero-band .visual,
  .topic-licence .hero-mosaic .visual {
    max-width: 100%;
    min-height: 180px;
    overflow: hidden;
  }

  .topic-live .media-stack {
    max-width: 100%;
    overflow: hidden;
  }
}
