@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --brand-blue: #6795BE;
  --brand-magenta: #B03BB8;
  --gradient: linear-gradient(90deg, #6795BE 0%, #B03BB8 100%);
  --gradient-135: linear-gradient(135deg, #6795BE 0%, #B03BB8 100%);
  --accent: #12D9C2;
  --accent-deep: #039789;
  --piece-yellow: #F2EF05;
  --piece-green: #20FF20;
  --piece-orange: #F75F27;
  --board-beige: #E4CDA7;
  --board-olive: #749B03;
  --bg: #100C1A;
  --bg-alt: #181231;
  --surface: #211A3A;
  --surface-2: #2A2249;
  --border: rgba(103, 149, 190, .28);
  --text: #EFEAF7;
  --text-muted: #A79EC0;
  --black-chrome: #000000;
  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-h: 76px;
  --radius: 18px;
  --shadow-cta: 0 12px 34px rgba(176, 59, 184, .38);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.fixed { overflow: hidden; }

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.15;
  font-weight: 600;
}

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

.section { position: relative; padding: 110px 0; overflow: hidden; }
.section--alt { background: var(--bg-alt); }

.section-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 149, 190, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 149, 190, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: .5;
}

.glow--blue { background: var(--brand-blue); }
.glow--magenta { background: var(--brand-magenta); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 22px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 1.08rem; margin-bottom: 18px; }

.highlight-line {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(18, 217, 194, .08);
  border-left: 3px solid var(--accent);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  box-shadow: var(--shadow-cta);
  border: 0;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(176, 59, 184, .5); filter: brightness(1.06); }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn--outline {
  background: transparent;
  border: 2px solid var(--brand-blue);
  color: var(--text);
  box-shadow: none;
}

.btn--outline:hover { background: rgba(103, 149, 190, .16); box-shadow: none; }

.btn--sm { padding: 12px 22px; font-size: .93rem; border-radius: 12px; }

@keyframes levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.btn--levitate { animation: levitate 3s ease-in-out infinite; }
.btn--levitate:hover { animation-play-state: paused; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: var(--black-chrome);
  border-bottom-color: rgba(103, 149, 190, .35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .6);
}

.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

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

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(176, 59, 184, .35);
}

.logo span {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .01em;
}

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

.nav-link {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transition: width .28s ease;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.header-cta { display: inline-flex; }

.burger-btn {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.burger-btn span {
  position: absolute;
  left: 8px;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--text);
  transition: transform .3s ease, opacity .25s ease, top .3s ease;
}

.burger-btn span:nth-child(1) { top: 13px; }
.burger-btn span:nth-child(2) { top: 20px; }
.burger-btn span:nth-child(3) { top: 27px; }

.burger-btn.act span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(9, 7, 16, .97);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

#mobile-menu.opened { opacity: 1; pointer-events: auto; }

#mobile-menu .nav-link { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; }

.hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 110px;
  overflow: hidden;
}

.hero .glow--blue { width: 620px; height: 620px; top: -180px; left: -220px; opacity: .32; }
.hero .glow--magenta { width: 660px; height: 660px; bottom: -260px; right: -200px; opacity: .34; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero p { margin-bottom: 18px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(103, 149, 190, .1);
  border: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
}

.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.pill:nth-child(2) i { background: var(--piece-yellow); box-shadow: 0 0 10px var(--piece-yellow); }
.pill:nth-child(3) i { background: var(--brand-magenta); box-shadow: 0 0 10px var(--brand-magenta); }
.pill:nth-child(4) i { background: var(--piece-green); box-shadow: 0 0 10px var(--piece-green); }
.pill:nth-child(5) i { background: var(--brand-blue); box-shadow: 0 0 10px var(--brand-blue); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.phone-wrap { position: relative; display: flex; justify-content: center; }

.phone-wrap::before {
  content: '';
  position: absolute;
  width: 78%;
  height: 78%;
  top: 11%;
  left: 11%;
  background: var(--gradient-135);
  filter: blur(90px);
  opacity: .45;
  border-radius: 50%;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2A2249 0%, #0B0912 100%);
  box-shadow: 0 34px 76px rgba(0, 0, 0, .6), 0 0 0 1px rgba(103, 149, 190, .26);
}

.phone::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .16);
  z-index: 2;
}

.phone img { border-radius: 26px; }

.phone--tilt-l { transform: rotate(-3deg); transition: transform .4s ease; }
.phone--tilt-r { transform: rotate(3deg); transition: transform .4s ease; }
.phone--tilt-l:hover, .phone--tilt-r:hover { transform: rotate(0); }

.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split--reverse .split-media { order: -1; }

.split .glow--blue { width: 460px; height: 460px; top: -120px; right: -160px; opacity: .18; }
.split .glow--magenta { width: 460px; height: 460px; bottom: -160px; left: -180px; opacity: .18; }

.rules-list { margin: 26px 0; display: grid; gap: 14px; }

.rules-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .98rem;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.rules-list li:hover { background: var(--surface-2); border-color: rgba(18, 217, 194, .4); transform: translateX(5px); }

.rules-list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 6px;
  border-radius: 4px;
  background: var(--gradient-135);
  box-shadow: 0 0 12px rgba(176, 59, 184, .5);
}

.rules-outcome { display: grid; gap: 12px; margin-top: 8px; }

.rules-outcome p {
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(18, 217, 194, .07);
  border: 1px solid rgba(18, 217, 194, .28);
  color: var(--text);
  margin: 0;
}

.rules-outcome p:last-child {
  background: rgba(176, 59, 184, .08);
  border-color: rgba(176, 59, 184, .32);
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head p { font-size: 1.06rem; }

.modes-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }

.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px 44px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
}

.mode-card:hover {
  transform: translateY(-8px);
  border-color: rgba(18, 217, 194, .42);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}

.mode-card .phone { max-width: 236px; margin-bottom: 30px; }

.mode-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 217, 194, .12);
  border: 1px solid var(--accent-deep);
  margin-bottom: 18px;
}

.mode-icon svg { width: 28px; height: 28px; color: var(--accent); }

.mode-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.mode-card p { font-size: .98rem; }

.modes-outro { text-align: center; margin-top: 46px; }

.faq-layout { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; }

.faq-list { display: grid; gap: 18px; }

.faq-item {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 28px 30px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.faq-item:hover { background: var(--surface-2); border-color: rgba(18, 217, 194, .38); transform: translateY(-4px); }

.faq-num {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-item h3 { font-size: 1.14rem; font-weight: 600; margin-bottom: 10px; }
.faq-item p { font-size: .97rem; margin: 0; }

.faq-gallery { position: sticky; top: calc(var(--header-h) + 30px); display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.faq-gallery .phone { max-width: none; padding: 7px; border-radius: 24px; }
.faq-gallery .phone::after { width: 54px; height: 4px; top: 13px; }
.faq-gallery .phone img { border-radius: 18px; }

.contact-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 40px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 24px;
  padding: 18px 32px;
  border-radius: 16px;
  background: rgba(18, 217, 194, .08);
  border: 1px solid rgba(18, 217, 194, .35);
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.contact-mail:hover { background: rgba(18, 217, 194, .16); border-color: var(--accent); transform: translateY(-3px); }

.contact-mail svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }

.contact-card .btn { margin-top: 30px; }

.footer { background: var(--black-chrome); border-top: 1px solid rgba(103, 149, 190, .3); padding: 60px 0 34px; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(103, 149, 190, .2);
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; }

.footer-nav a { font-size: .94rem; color: var(--text-muted); transition: color .25s ease; }
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }

.footer-legal a {
  font-size: .9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--text-muted);
  padding-bottom: 2px;
  transition: color .25s ease, border-color .25s ease;
}

.footer-legal a:hover { color: var(--accent); border-color: var(--accent); }

.copyright { font-size: .88rem; color: #756C8C; }

.legal-page { padding: calc(var(--header-h) + 80px) 0 100px; position: relative; overflow: hidden; }

.legal-page .glow--blue { width: 520px; height: 520px; top: -220px; left: -200px; opacity: .2; }
.legal-page .glow--magenta { width: 520px; height: 520px; top: 240px; right: -240px; opacity: .16; }

.legal-page h1 {
  position: relative;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.legal-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 46px 48px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 38px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p { margin-bottom: 16px; font-size: .97rem; }

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

.legal-content ul li { position: relative; margin-bottom: 10px; padding-left: 18px; font-size: .97rem; }

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gradient-135);
}

.legal-content ol { list-style: decimal; }
.legal-content ol li { margin-bottom: 10px; font-size: .97rem; }
.legal-content ol li::marker { color: var(--accent); font-weight: 700; }

.legal-content strong { color: var(--text); font-weight: 600; }

.legal-content a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.legal-content a:hover,
.legal-content a:focus-visible { color: var(--brand-magenta); text-decoration-color: var(--brand-magenta); }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.preloader img { width: 72px; height: 72px; }

html.hide .preloader { display: none; }

@media (max-width: 1024px) {
  .section { padding: 88px 0; }
  .hero { padding: calc(var(--header-h) + 64px) 0 88px; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .split-media { order: 0; }
  .hero-content, .split-text { text-align: center; }
  .pills, .hero-actions { justify-content: center; }
  .rules-list li { text-align: left; }
  .faq-layout { grid-template-columns: 1fr; gap: 46px; }
  .faq-gallery { position: static; max-width: 620px; margin: 0 auto; }
  .nav { gap: 20px; }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .burger-btn { display: block; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--header-h) + 48px) 0 72px; }
  .modes-grid { grid-template-columns: 1fr; gap: 26px; }
  .phone--tilt-l, .phone--tilt-r { transform: none; }
  .legal-content { padding: 34px 26px; }
  .footer-top { flex-direction: column; align-items: center; }
  .footer-nav { justify-content: center; gap: 18px; width: 70%; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.85rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  /* .btn { width: 100%; } */
  .faq-item { flex-direction: column; gap: 12px; padding: 24px 22px; }
  .faq-gallery { grid-template-columns: 1fr; gap: 18px; max-width: 300px; }
  .contact-card { padding: 44px 22px; }
  .contact-mail { width: 100%; justify-content: center; padding: 16px 18px; font-size: 1rem; }
  .mode-card { padding: 32px 20px 36px; }
  .footer-bottom { flex-direction: column; align-items: center; }
}
