:root {
  --gold: #FFE200;
  --gold-mid: #F2D000;
  --gold-dark: #A89600;
  --bg: #07070a;
  --bg-soft: #0e0e13;
  --bg-card: #131318;
  --line: rgba(255, 226, 0, 0.12);
  --text: #f3f3f0;
  --text-dim: #a3a3ab;
  --radius: 14px;
  --container: 1240px;
  --shadow-gold: 0 10px 30px rgba(255, 226, 0, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  user-select: none;
}

img { -webkit-user-drag: none; user-select: none; pointer-events: none; }

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 16px 30px; font-size: 15px; }
.btn--block { width: 100%; justify-content: center; }
.btn svg { fill: none; stroke: currentColor; }

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-mid) 100%);
  color: #181400;
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 226, 0, 0.3); }

.btn--accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #181400;
}
.btn--accent:hover { transform: translateY(-1px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 226, 0, 0.3);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 226, 0, 0.08); }

.btn--white { background: #fff; color: #1c1c1c; }
.btn--white:hover { transform: translateY(-2px); }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: .01em;
  text-align: center;
  margin-bottom: 48px;
  text-transform: uppercase;
}

/* header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 7, 10, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}

.header__row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 38px; height: 38px; border-radius: 8px; }
.brand__text { font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.brand__text em { font-style: normal; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 28px; margin-left: 12px; flex: 1; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

.header__cab { margin-left: auto; }

.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.burger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

/* hero */
.hero { position: relative; padding: 170px 0 110px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 226, 0, 0.10), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(168, 150, 0, 0.16), transparent 50%),
    linear-gradient(180deg, #0a0a0d 0%, #07070a 100%);
  z-index: -1;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(120deg, transparent 0 80px, rgba(255,226,0,0.025) 80px 81px);
}

.hero__inner { max-width: 760px; }

.hero__counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 226, 0, 0.05);
  font-size: 13px;
  margin-bottom: 28px;
}
.hero__counter span { color: var(--gold); font-weight: 800; }
.hero__counter small { color: var(--text-dim); }

.hero__title {
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 22px;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 38px;
}

.hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.icon--play { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* advantages */
.advantages { padding: 100px 0; background: var(--bg-soft); }

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 50px;
}

.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease;
}
.adv-card:hover { transform: translateY(-4px); border-color: rgba(255,226,0,0.35); }

.adv-card__icon {
  width: 38px; height: 38px;
  fill: none; stroke: var(--gold); stroke-width: 1.6;
  margin-bottom: 18px;
}

.adv-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.adv-card p { font-size: 14px; line-height: 1.6; color: var(--text-dim); }

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(255,226,0,0.10), rgba(168,150,0,0.06));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.promo-banner h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; }
.promo-banner p { color: var(--text-dim); max-width: 640px; line-height: 1.6; font-size: 14px; }

/* video */
.promo-video { padding: 100px 0; }

.player {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16/9;
}
.player video { width: 100%; height: 100%; object-fit: cover; display: block; }

.player__play {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.35);
  border: none;
  cursor: pointer;
}
.player__play svg {
  width: 84px; height: 84px;
  fill: var(--gold);
  filter: drop-shadow(0 0 20px rgba(255,226,0,0.5));
  transition: transform .2s ease;
}
.player__play:hover svg { transform: scale(1.08); }
.player__play.is-hidden { display: none; }

/* gallery */
.gallery { padding: 0 0 100px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery__item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  background: var(--bg-card);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.06); }

/* start */
.start { padding: 100px 0; background: var(--bg-soft); }

.start__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 60px;
}

.start__preview {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.start__preview img { width: 100%; display: block; }

.start__info h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.start__info p { color: var(--text-dim); line-height: 1.7; margin-bottom: 26px; font-size: 15px; }
.start__info b { color: var(--gold); }
.start__hint { font-size: 13px; color: var(--text-dim); margin-top: 12px; }

.start__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  border-top: 2px solid var(--gold);
  padding-top: 16px;
}
.step__num { display: block; font-size: 13px; font-weight: 800; color: var(--gold-dark); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.step a { color: var(--gold); font-weight: 600; }

/* requirements */
.requirements { padding: 60px 0; }
.requirements__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
}
.requirements__toggle svg { fill: none; stroke: var(--gold); stroke-width: 2; transition: transform .25s ease; }
.requirements__toggle.is-open svg { transform: rotate(45deg); }

.requirements__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.requirements__body.is-open { max-height: 500px; padding-top: 30px; }

.requirements__col h4 { font-size: 15px; color: var(--gold); margin-bottom: 14px; text-transform: uppercase; }
.requirements__col li { font-size: 14px; color: var(--text-dim); padding: 8px 0; border-bottom: 1px dashed var(--line); }

/* discord */
.discord { background: linear-gradient(120deg, #5865F2, #3a45c4); padding: 50px 0; }
.discord__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.discord__left { display: flex; align-items: center; gap: 18px; }
.discord__icon { width: 46px; height: 46px; fill: #fff; }
.discord__inner h3 { font-size: 24px; font-weight: 800; color: #fff; }

/* footer */
.footer { background: #050507; padding: 70px 0 30px; border-top: 1px solid var(--line); }
.footer__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer__about p { color: var(--text-dim); font-size: 14px; line-height: 1.7; margin: 18px 0 14px; max-width: 360px; }
.footer__copy { font-size: 13px; color: var(--text-dim); }

.footer__col h4 { font-size: 14px; color: var(--gold); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .04em; }
.footer__col a { display: block; font-size: 14px; color: var(--text-dim); padding: 7px 0; transition: color .2s ease; }
.footer__col a:hover { color: var(--text); }

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .2s ease, transform .2s ease;
}
.footer__social a:hover { border-color: var(--gold); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; fill: var(--text-dim); }
.footer__social a:hover svg { fill: var(--gold); }

.footer__legal {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer__legal a { font-size: 12px; color: var(--text-dim); }
.footer__legal a:hover { color: var(--text); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(4, 4, 6, 0.78); backdrop-filter: blur(6px); }

.modal__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98);} to { opacity: 1; transform: none; } }

.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px;
  border: none; background: rgba(255,255,255,0.05);
  border-radius: 8px;
  color: var(--text-dim);
  cursor: pointer;
}
.modal__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.modal__close:hover { color: var(--text); }

.modal__title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.modal__subtitle { font-size: 13px; color: var(--text-dim); margin-bottom: 26px; }

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-dim); }
.field input {
  background: #0c0c10;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease;
}
.field input:focus { border-color: var(--gold); }

.form__error { font-size: 13px; color: #ff5c5c; min-height: 16px; }

/* dashboard */
.dash__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.dash__avatar {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
}
.dash__avatar svg { width: 28px; height: 28px; fill: #181400; }
.dash__head h2 { font-size: 19px; font-weight: 800; }
.dash__fio { font-size: 13px; color: var(--text-dim); }

.dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.dash__card {
  background: #0c0c10;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.dash__card span { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 8px; }
.dash__card strong { font-size: 18px; font-weight: 800; color: var(--gold); }

/* watermark for anti-copy noise */
.watermark {
  position: fixed;
  bottom: -40px; right: -40px;
  font-size: 160px;
  font-weight: 800;
  color: rgba(255,255,255,0.012);
  pointer-events: none;
  z-index: -1;
  user-select: none;
  white-space: nowrap;
}

/* responsive */
@media (max-width: 1024px) {
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .start__grid { grid-template-columns: 1fr; }
  .start__steps { grid-template-columns: 1fr; }
  .requirements__body.is-open { max-height: 900px; }
  .requirements__body { grid-template-columns: 1fr; }
  .footer__row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .burger { display: flex; align-items: center; justify-content: center; }
  .header__cab span { display: none; }
  .header__cab { padding: 12px; }
  .advantages__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .promo-banner { flex-direction: column; align-items: flex-start; }
  .footer__row { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 70px; }
}
