:root {
  --bg: #0c0917;
  --bg-alt: #120e22;
  --surface: #1a1430;
  --surface-2: #221a3d;
  --line: #2f2650;
  --text: #ece9f8;
  --muted: #a79fc9;
  --gold: #ffc63c;
  --gold-deep: #ff9a24;
  --violet: #7b3fe4;
  --violet-soft: #a06bff;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 74px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, .45);
  --shadow-hard: 0 28px 70px rgba(0, 0, 0, .65);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 12% -10%, rgba(123, 63, 228, .28), transparent 60%),
    radial-gradient(900px 520px at 92% 4%, rgba(255, 154, 36, .16), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--solid { fill: currentColor; stroke: none; }

.sprite { display: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(12, 9, 23, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  transition: transform .35s var(--ease);
}

.brand:hover { transform: scale(1.04); }

.brand img {
  height: 42px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}

.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -140%;
  width: 60%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .65s var(--ease);
  pointer-events: none;
}

.btn:hover::after { left: 140%; }

.btn .icon { width: 18px; height: 18px; }

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

.btn--ghost:hover {
  color: #120e22;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 198, 60, .3);
}

.btn--primary {
  color: #1a1002;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: 0 10px 24px rgba(255, 154, 36, .32);
  animation: pulse-glow 2.6s ease-in-out infinite;
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 34px rgba(255, 154, 36, .5);
  animation-play-state: paused;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 10px 24px rgba(255, 154, 36, .3); }
  50% { box-shadow: 0 10px 30px rgba(255, 154, 36, .6); }
}

.btn--play {
  margin-top: 4px;
  padding: 15px 34px;
  font-size: 17px;
  color: #1a1002;
  background: linear-gradient(135deg, #ffd85e 0%, var(--gold-deep) 100%);
  box-shadow: 0 14px 34px rgba(255, 154, 36, .4);
  animation: play-blink 1.6s ease-in-out infinite;
}

.btn--play:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 46px rgba(255, 154, 36, .6);
  animation-play-state: paused;
}

@keyframes play-blink {
  0%, 100% {
    filter: brightness(1);
    box-shadow: 0 14px 34px rgba(255, 154, 36, .4);
  }
  50% {
    filter: brightness(1.22);
    box-shadow: 0 14px 34px rgba(255, 154, 36, .4), 0 0 26px 6px rgba(255, 198, 60, .55);
  }
}

/* ---------- hero ---------- */

.hero { padding: 34px 0 8px; }

.hero__frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-hard);
  isolation: isolate;
}

.hero__frame img {
  width: 100%;
  height: auto;
  filter: brightness(.62) saturate(1.05);
  transform: scale(1.01);
  transition: transform 1.2s var(--ease);
}

.hero__frame:hover img { transform: scale(1.05); }

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 5, 18, .85) 0%, rgba(8, 5, 18, .55) 45%, rgba(8, 5, 18, .15) 100%);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: min(560px, 62%);
  padding: 0 clamp(20px, 4vw, 54px);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 198, 60, .4);
  background: rgba(255, 198, 60, .1);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(26px, 4.2vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.5px;
  text-shadow: 0 6px 28px rgba(0, 0, 0, .7);
}

.hero__title span {
  background: linear-gradient(120deg, var(--gold) 0%, #fff2c4 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__note {
  margin: 14px 0 24px;
  color: #d8d2ee;
  font-size: clamp(14px, 1.4vw, 16px);
  max-width: 420px;
}

/* ---------- slots ---------- */

.slots { padding: 54px 0 10px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 26px;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.3px;
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}

.section-sub {
  color: var(--muted);
  font-size: 14px;
}

.slots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 18px;
}

.slot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
}

.slot:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 198, 60, .55);
  box-shadow: 0 24px 44px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 198, 60, .18);
}

.slot__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.slot__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease), filter .38s var(--ease);
}

.slot:hover .slot__media img {
  transform: scale(1.09);
  filter: brightness(.45);
}

.slot__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(12, 9, 23, .35);
  transition: opacity .35s var(--ease);
}

.slot:hover .slot__overlay,
.slot:focus-within .slot__overlay { opacity: 1; }

.slot__play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #1a1002;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
  transform: translateY(14px) scale(.9);
  transition: transform .38s var(--ease);
}

.slot__play:hover { text-decoration: none; }
.slot__play .icon { width: 15px; height: 15px; }

.slot:hover .slot__play,
.slot:focus-within .slot__play { transform: translateY(0) scale(1); }

.slot__body {
  padding: 12px 14px 14px;
}

.slot__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.slot__provider {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- page content toggle ---------- */

.toc-wrap { padding: 54px 0 0; }

.toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-alt) 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.toc > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .2px;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

.toc > summary::-webkit-details-marker { display: none; }
.toc > summary:hover { background: rgba(255, 198, 60, .07); color: var(--gold); }

.toc__chevron {
  margin-left: auto;
  transition: transform .35s var(--ease);
}

.toc[open] > summary .toc__chevron { transform: rotate(180deg); }

.toc__panel {
  padding: 4px 22px 22px;
  border-top: 1px solid var(--line);
  animation: reveal .35s var(--ease);
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 26px;
}

.toc__list > li {
  break-inside: avoid;
  margin: 12px 0 0;
}

.toc__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  transition: color .25s var(--ease), transform .25s var(--ease);
}

.toc__link::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.toc__link:hover {
  color: var(--gold);
  text-decoration: none;
  transform: translateX(4px);
}

.toc__sub {
  margin: 4px 0 0;
  padding: 0 0 0 28px;
  list-style: none;
}

.toc__sub a {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .25s var(--ease), transform .25s var(--ease);
}

.toc__sub a:hover {
  color: var(--gold);
  text-decoration: none;
  transform: translateX(4px);
}

/* ---------- article ---------- */

.article {
  padding: 34px 0 60px;
}

.article__inner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 14, 34, .55);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 52px);
}

.article h1,
.article h2,
.article h3 {
  line-height: 1.22;
  letter-spacing: -.4px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.article h1 {
  margin: 0 0 26px;
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 800;
}

.article h2 {
  margin: 44px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.article h3 {
  margin: 30px 0 12px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--gold);
}

.article p { margin: 0 0 18px; }

.article strong { color: #fff; font-weight: 700; }

.article ul,
.article ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article li { margin-bottom: 9px; }

.article li::marker { color: var(--gold); font-weight: 700; }

.article hr {
  height: 1px;
  margin: 40px 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

.table-wrap {
  margin: 0 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 15px;
}

thead th {
  padding: 13px 16px;
  text-align: left;
  background: var(--surface-2);
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(47, 38, 80, .6);
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
tbody tr:hover { background: rgba(123, 63, 228, .12); }
tbody td:first-child { color: #fff; font-weight: 600; }

/* ---------- faq ---------- */

.faq { margin-top: 8px; }

.faq__item {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.faq__item[open] {
  border-color: rgba(255, 198, 60, .45);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  transition: color .28s var(--ease), background-color .28s var(--ease);
}

.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold); background: rgba(255, 198, 60, .06); }
.faq__item[open] .faq__q { color: var(--gold); }

.faq__q .icon {
  margin-left: auto;
  transition: transform .32s var(--ease);
}

.faq__item[open] .faq__q .icon { transform: rotate(180deg); }

.faq__a {
  padding: 0 20px 18px;
  animation: reveal .32s var(--ease);
}

.faq__a p { margin: 0; color: #ddd7f2; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 14, 34, .6) 0%, #080611 100%);
  padding: 46px 0 26px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer__logo img { height: 40px; width: auto; }

.footer__about {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 420px;
}

.footer__col-title {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__list li { margin-bottom: 10px; }

.footer__list a,
.footer__list span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  transition: color .25s var(--ease), transform .25s var(--ease);
}

.footer__list a:hover {
  color: var(--gold);
  text-decoration: none;
  transform: translateX(3px);
}

.footer__list .icon { width: 17px; height: 17px; color: var(--violet-soft); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 2px solid #ff5d5d;
  color: #ff8a8a;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -.3px;
}

.footer__copy { margin-left: auto; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__logo-col { grid-column: 1 / -1; }
  .hero__content { width: 72%; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }

  .brand img { height: 34px; }
  .btn { padding: 9px 16px; font-size: 14px; }
  .header-actions { gap: 8px; }

  .hero__frame { border-radius: 16px; }
  .hero__frame img { min-height: 340px; object-fit: cover; }
  .hero__content { width: 100%; }
  .hero__note { display: none; }
  .btn--play { margin-top: 18px; padding: 13px 26px; font-size: 15px; }

  .slots__grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; }
  .toc__list { columns: 1; }
  .slot__overlay { opacity: 1; background: rgba(12, 9, 23, .3); }
  .slot__play { transform: none; }
}

@media (max-width: 520px) {
  .btn__label--long { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition-duration: .01ms !important; }
}
