:root {
  --bg: #0b0d16;
  --bg-2: #121527;
  --surface: #171b30;
  --surface-2: #1e2340;
  --line: #2b3157;
  --text: #e8eaf5;
  --muted: #9aa2c4;
  --gold: #f5c451;
  --gold-2: #e0a422;
  --accent: #7b5cff;
  --header-h: 74px;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #1a1405;
  box-shadow: 0 6px 20px rgba(245, 196, 81, .25);
}
.btn--primary:hover {
  color: #1a1405;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 196, 81, .4);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 15px 42px;
  font-size: 18px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 22, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

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

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 18, .88) 0%, rgba(8, 10, 18, .72) 50%, rgba(8, 10, 18, .6) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 900px;
}

.hero__kicker {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1.16;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero__text {
  font-size: 18px;
  color: #cfd4ec;
  max-width: 640px;
  margin-bottom: 30px;
}

/* Section */
.section {
  padding: 64px 0 80px;
}

/* Slots */
.slots__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 26px;
  position: relative;
  padding-left: 16px;
}
.slots__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 78%;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
}

.slots__grid {
  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%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .55s ease, filter .35s ease;
}

.slot__hover {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 18, .72);
  opacity: 0;
  transition: opacity .35s ease;
}

.slot__hover .btn {
  transform: translateY(14px) scale(.9);
  transition: transform .35s ease, box-shadow .2s ease;
}

.slot__name {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  transition: color .3s ease;
}

.slot:hover,
.slot:focus-within {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}

.slot:hover .slot__img,
.slot:focus-within .slot__img {
  transform: scale(1.12);
  filter: saturate(1.15);
}

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

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

.slot:hover .slot__name,
.slot:focus-within .slot__name {
  color: var(--gold);
}

/* Page content dropdown */
.toc {
  margin: 60px 0 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.toc__summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-2);
  transition: color .25s ease;
}
.toc__summary::-webkit-details-marker { display: none; }
.toc__summary:hover { color: var(--gold); }

.toc__summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .3s ease;
  flex: none;
  margin-right: 4px;
}
.toc[open] .toc__summary::after {
  transform: rotate(-135deg);
}

.toc__list {
  columns: 2;
  column-gap: 32px;
  padding: 20px 24px 26px 44px;
}

.toc__list li {
  break-inside: avoid;
  margin-bottom: 8px;
  color: var(--muted);
}

.toc__list a {
  color: var(--text);
  transition: color .2s ease, padding-left .2s ease;
}
.toc__list a:hover {
  color: var(--gold);
  padding-left: 4px;
}

/* Content */
.content h2,
.content h3 {
  scroll-margin-top: calc(var(--header-h) + 20px);
  font-weight: 800;
  line-height: 1.25;
}

.content h2 {
  font-size: clamp(24px, 3vw, 33px);
  margin: 44px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.content h3 {
  font-size: clamp(19px, 2.2vw, 23px);
  margin: 32px 0 14px;
  color: var(--gold);
}

.content p {
  margin-bottom: 18px;
  color: #d5daf0;
}

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

.content ol,
.content ul {
  margin: 0 0 22px 22px;
}

.content li {
  margin-bottom: 10px;
  color: #d5daf0;
}

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

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

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

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

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

tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(43, 49, 87, .6);
  color: #d5daf0;
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(123, 92, 255, .07); }

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

/* FAQ accordion */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease;
}

.faq__item[open] {
  border-color: var(--gold);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-size: 17px;
  font-weight: 700;
  position: relative;
  transition: color .25s ease, background .25s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold); }

.faq__q::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .3s ease;
}
.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.faq__a {
  padding: 0 22px 20px;
  border-top: 1px solid var(--line);
}
.faq__a p {
  margin: 16px 0 0;
  color: #c9cfe8;
}

/* Footer */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer__brand img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p,
.footer__info p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 10px;
}

.footer__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer__nav ul { list-style: none; }
.footer__nav li { margin-bottom: 10px; }
.footer__nav a {
  color: var(--muted);
  font-size: 15px;
  transition: color .2s ease, padding-left .2s ease;
}
.footer__nav a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

/* Responsive */
@media (max-width: 980px) {
  .slots__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header__logo img { height: 34px; }
  .btn { padding: 9px 18px; font-size: 14px; }
  .header__actions { gap: 8px; }
  .hero { min-height: 440px; }
  .slots__grid { grid-template-columns: repeat(2, 1fr); }
  .toc__list { columns: 1; padding-left: 38px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .slot__hover { opacity: 1; background: linear-gradient(180deg, rgba(8, 10, 18, 0) 40%, rgba(8, 10, 18, .8) 100%); align-items: flex-end; padding-bottom: 14px; }
  .slot__hover .btn { transform: none; }
}

@media (max-width: 420px) {
  .slots__grid { grid-template-columns: 1fr; }
}
