:root {
  --bg: #0b0b12;
  --bg-soft: #121823;
  --panel: rgba(18, 24, 35, 0.9);
  --panel-strong: #171e2a;
  --card: rgba(13, 17, 24, 0.88);
  --muted: #a3b0c2;
  --text: #edf4ff;
  --heading: #f9fbff;
  --brand: #8b5cf6;
  --brand-2: #f472b6;
  --accent: #24d3a8;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 65px rgba(11, 11, 18, 0.45);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(139, 92, 246, 0.28), transparent 25%),
    radial-gradient(circle at right, rgba(36, 211, 168, 0.18), transparent 20%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button {
  font: inherit;
}

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

#ageOverlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 15, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.age-modal {
  width: min(92vw, 420px);
  padding: 32px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(19, 24, 35, 0.98), rgba(12, 16, 22, 0.95));
  box-shadow: var(--shadow);
  text-align: center;
}

.bn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.16);
  color: #d9c5ff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.age-modal h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.age-modal p {
  margin: 0;
  color: var(--muted);
}

.age-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.btn-enter,
.btn-leave,
.cta,
.lang-opt,
#btnRefresh,
.promo-modal-x {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn-enter,
.cta,
#btnRefresh {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: 0 16px 30px rgba(139, 92, 246, 0.35);
}

.btn-enter,
.btn-leave {
  padding: 12px 18px;
  min-width: 120px;
  font-weight: 700;
}

.btn-leave {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 100px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-opt {
  color: var(--muted);
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.lang-opt.active {
  background: rgba(139, 92, 246, 0.18);
  color: white;
}

.age-tag {
  color: #dfe7ff;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

.app-hero {
  position: relative;
  padding: 18px 0 8px;
}

.split-head {
  margin-bottom: 18px;
}

.app-hero-chip {
  display: inline-flex;
  margin: 0;
  padding: 8px 12px;
  color: #dfe2ff;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-screen {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0 8px;
}

.split-pane {
  position: relative;
  display: block;
  min-height: 260px;
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, rgba(24, 30, 44, 0.85), rgba(13, 16, 20, 0.96));
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), transparent 60%);
}

.split-pane > * {
  position: relative;
  z-index: 1;
}

.sp-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  font-size: 2rem;
}

.split-pane h2 {
  margin: 18px 0 8px;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
}

.sp-desc {
  margin: 0;
  color: var(--muted);
  max-width: 28ch;
}

.sp-tags {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  gap: 10px;
  flex-wrap: wrap;
}

.sp-tags li {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.75rem;
  color: #dfe9ff;
}

.sp-go {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
  color: #fff;
}

.split-badge {
  position: absolute;
  right: 22px;
  bottom: 18px;
  background: rgba(36, 211, 168, 0.15);
  color: #baf7df;
  border: 1px solid rgba(36, 211, 168, 0.25);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 16px;
  text-align: center;
}

.app-hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.app-hero-cta {
  width: min(100%, 420px);
}

.app-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.83rem;
}

.app-hero-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  border-radius: 999px;
}

.content-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.content-col {
  background: rgba(17, 23, 31, 0.8);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.col-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.15);
  color: #e0d3ff;
  border: 1px solid rgba(139, 92, 246, 0.25);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vsec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  color: #a3b4d2;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.col-head h2,
.date-hero h2,
.sec-title,
.steps h3,
.promo-zone-title {
  margin: 0;
}

#btnRefresh {
  padding: 10px 16px;
  font-weight: 700;
}

.sec-lead,
.sub,
.promo-zone-sub,
.step p,
footer,
#promoModalDesc,
#promoModalList,
.promo-modal-note {
  color: var(--muted);
}

.tv-fill,
.date-grid,
.promo-grid,
.steps,
.date-steps {
  margin-top: 20px;
}

.video-grid,
.date-grid,
.promo-grid {
  display: grid;
  gap: 14px;
}

.video-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.video-card,
.date-card,
.promo-card {
  display: block;
  min-height: 180px;
  background: linear-gradient(180deg, rgba(23, 28, 39, 0.84), rgba(11, 14, 18, 0.9));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.video-card {
  position: relative;
  overflow: hidden;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,32,38,0.18), rgba(7,9,12,0.72));
}

.video-card .meta {
  position: absolute;
  inset: auto 12px 12px 12px;
  z-index: 1;
}

.video-card .badge,
.date-card .badge,
.promo-card .badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.video-card h3,
.date-card h3,
.promo-card h3 {
  margin: 0;
  font-size: 1rem;
}

.date-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.date-card,
.promo-card {
  padding: 16px;
}

.date-card .pill,
.promo-card .pill {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(36,211,168,0.12);
  border: 1px solid rgba(36,211,168,0.18);
  color: #dffbf4;
}

.date-card p,
.promo-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.col-cta {
  width: 100%;
  margin-top: 20px;
}

.sec-title {
  margin-top: 40px;
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 23, 31, 0.78);
}

.step .n {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  font-weight: 800;
  flex-shrink: 0;
}

.step h3 {
  margin: 0 0 6px;
}

.step p {
  margin: 0;
}

footer {
  margin-top: 36px;
  padding: 18px 0 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.dock {
  position: sticky;
  bottom: 12px;
  z-index: 9;
  display: flex;
  justify-content: center;
  padding: 0 16px 14px;
}

.dock .cta {
  width: min(100%, 560px);
}

.promo-modal-wrap {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 7, 12, 0.75);
  z-index: 20;
}

.promo-modal-wrap.visible {
  display: flex;
}

.promo-modal {
  position: relative;
  width: min(520px, 90vw);
  background: #111822;
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 22px 20px 18px;
  box-shadow: var(--shadow);
}

.promo-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 1.5rem;
}

.promo-modal-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.22);
  color: #dbd0ff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-modal h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

#promoModalList {
  margin: 0 0 18px;
  padding-left: 1.2rem;
}

.promo-modal-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
}

@media (max-width: 920px) {
  .content-split,
  .steps,
  .split-screen {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .vsec-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .age-btns {
    flex-direction: column;
  }

  .btn-enter,
  .btn-leave {
    width: 100%;
  }
}
