:root {
  --bg: #0e0a18;
  --bg-alt: #161029;
  --surface: #1d1533;
  --surface-2: #251a41;
  --line: #35275c;
  --text: #ece7f7;
  --muted: #a89dc4;
  --green: #8fe61a;
  --green-dark: #6cc000;
  --orange: #ff8a1e;
  --gold: #ffc531;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "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(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 10, 24, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.logo { display: inline-flex; align-items: center; transition: transform .25s ease; }
.logo:hover { transform: scale(1.06); }
.logo img { height: 38px; width: auto; }

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn:hover { text-decoration: none; }

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}
.btn:hover::after { left: 130%; }

.btn--ghost {
  color: var(--text);
  border: 2px solid var(--line);
  background: transparent;
}
.btn--ghost:hover {
  color: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(143, 230, 26, .18);
}

.btn--solid {
  color: #10190a;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(143, 230, 26, .25);
}
.btn--solid:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(143, 230, 26, .42);
}

.btn--play {
  color: #2a1300;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border: 2px solid transparent;
  padding: 15px 44px;
  font-size: 16px;
  box-shadow: 0 10px 26px rgba(255, 138, 30, .35);
  animation: pulse 2.4s ease-in-out infinite;
}
.btn--play:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 38px rgba(255, 138, 30, .55);
  animation-play-state: paused;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(255, 138, 30, .35); }
  50% { box-shadow: 0 10px 34px rgba(255, 138, 30, .62); }
}

.banner { padding: 28px 0 8px; }

.banner__box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.banner__box img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.banner__overlay {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 40px 48px;
  background: linear-gradient(90deg, rgba(10, 6, 20, .88) 0%, rgba(10, 6, 20, .72) 42%, rgba(10, 6, 20, .05) 78%);
  max-width: 100%;
}

.banner__overlay > * { flex: 0 0 auto; }

.banner__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(143, 230, 26, .14);
  border: 1px solid rgba(143, 230, 26, .45);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.banner__title {
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 620px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .6);
}
.banner__title span { color: var(--gold); }

.banner__text {
  font-size: clamp(15px, 1.6vw, 19px);
  color: #e2dcf2;
  max-width: 540px;
}

.banner__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 2px;
}
.banner__perk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #d8d1ee;
}
.banner__perk::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.banner__cta { margin-top: 10px; align-self: flex-start; }

.section { padding: 44px 0 8px; }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.section__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
}
.section__title em {
  font-style: normal;
  color: var(--green);
}

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

.slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.slot img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .55s ease, filter .35s ease;
}

.slot:hover {
  transform: translateY(-8px);
  border-color: var(--green);
  box-shadow: 0 20px 38px rgba(0, 0, 0, .55), 0 0 0 1px rgba(143, 230, 26, .35);
}
.slot:hover img { transform: scale(1.09); filter: brightness(.5) saturate(1.1); }

.slot__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.slot:hover .slot__hover { opacity: 1; }

.slot__play {
  transform: translateY(14px) scale(.9);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
  padding: 12px 34px;
}
.slot:hover .slot__play { transform: translateY(0) scale(1); }

.slot__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(to top, rgba(9, 6, 16, .95), transparent);
  transition: opacity .3s ease;
}
.slot:hover .slot__name { opacity: 0; }

.toc {
  margin: 46px 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.toc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 18px 22px;
  background: var(--surface-2);
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background-color .25s ease;
}
.toc__head:hover { background: #2c2050; }

.toc__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  position: relative;
  border-radius: 50%;
  background: rgba(143, 230, 26, .16);
  transition: transform .35s ease;
}
.toc__icon::before,
.toc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: transform .35s ease;
}
.toc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.toc__head[aria-expanded="true"] .toc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.toc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.toc__body > div { overflow: hidden; }
.toc.is-open .toc__body { grid-template-rows: 1fr; }

.toc__list {
  list-style: none;
  margin: 0;
  padding: 16px 22px 22px;
  columns: 2;
  column-gap: 30px;
}
.toc__list li { break-inside: avoid; margin: 0 0 8px; }
.toc__list li.is-sub { padding-left: 18px; }

.toc__link {
  color: var(--text);
  font-size: 15px;
  transition: color .2s ease, padding-left .2s ease;
}
.toc__link:hover { color: var(--green); padding-left: 5px; text-decoration: none; }
.toc__list li.is-sub .toc__link { color: var(--muted); font-size: 14px; }

.article {
  margin: 34px 0 10px;
  padding: 34px 38px 40px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.article h1 {
  font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1.24;
  font-weight: 800;
  margin: 0 0 22px;
}

.article h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 800;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

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

.article p { margin: 0 0 16px; }
.article strong { color: #fff; font-weight: 700; }

.article ol, .article ul { margin: 0 0 18px; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article ol li::marker { color: var(--green); font-weight: 700; }

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

.table-scroll {
  overflow-x: auto;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

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

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--surface-2);
  color: var(--green);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, .022); }
tbody tr:hover { background: rgba(143, 230, 26, .06); }

td:first-child { color: #fff; font-weight: 600; }

.faq { margin: 20px 0 0; display: grid; gap: 12px; }

.faq__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq__item.is-open { border-color: rgba(143, 230, 26, .55); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color .22s ease, background-color .22s ease;
}
.faq__q:hover { color: var(--green); background: rgba(255, 255, 255, .03); }

.faq__chevron {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .3s ease;
}
.faq__item.is-open .faq__chevron { transform: rotate(-135deg) translate(-2px, -2px); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { margin: 0; padding: 0 20px 18px; color: #ddd6f0; }

.footer {
  margin-top: 54px;
  padding: 40px 0 30px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.footer__brand { max-width: 380px; display: grid; gap: 12px; }
.footer__brand img { height: 34px; width: auto; }
.footer__about { color: var(--muted); font-size: 14px; }

.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}
.footer__link { color: var(--muted); font-size: 14px; transition: color .2s ease; }
.footer__link:hover { color: var(--text); text-decoration: none; }

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

.footer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ff5c5c;
  color: #ff5c5c;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
}

.footer__warn { display: flex; align-items: center; gap: 12px; max-width: 620px; }

@media (max-width: 1000px) {
  .slots { grid-template-columns: repeat(3, 1fr); }
  .banner__overlay { background: linear-gradient(90deg, rgba(10, 6, 20, .92) 0%, rgba(10, 6, 20, .78) 60%, rgba(10, 6, 20, .35) 100%); }
}

@media (max-width: 720px) {
  .slots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .toc__list { columns: 1; }
  .article { padding: 24px 18px 30px; }
  .banner__overlay { padding: 26px 22px; }
  .banner__box img { min-height: 420px; }
  .header__inner { min-height: 64px; }
  .btn { padding: 9px 16px; font-size: 13px; }
  .btn--play { padding: 17px 48px; font-size: 17px; letter-spacing: .05em; }
  .slot__play { padding: 12px 30px; font-size: 14px; }
  .logo img { height: 30px; }
}

@media (max-width: 480px) {
  .slots { gap: 12px; }
  .btn--play { padding: 16px 40px; font-size: 16px; }
  .slot__name { font-size: 13px; padding: 22px 10px 10px; }
}
