:root {
  --sea-1: #1f80d2;
  --sea-2: #1269b4;
  --sea-3: #0a4585;
  --text: #ffffff;
  --muted: #dcecff;
  --sun: #ffb21f;
  --sun-2: #ff7a00;
  --yellow: #ffd23a;
  --leaf: #5fe08a;
  --teal: #27d6c6;
  --brick: #ff7a5a;
  --glass: linear-gradient(160deg, #0c4a8ccc, #0a3f7a99);
  --glass-line: #ffffff4d;
  --radius: 24px;
  --display: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 600 17px/1.6 var(--body); overflow-x: hidden;
  background: radial-gradient(900px 500px at 15% -5%, #66d0ff55, transparent 62%), radial-gradient(800px 500px at 100% 20%, #27d6c633, transparent 60%), linear-gradient(180deg, var(--sea-1) 0, var(--sea-2) 38%, var(--sea-3) 100%);
  background-attachment: fixed;
}
img, video { max-width: 100%; display: block; }
a { color: #bfe6ff; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; font-weight: 900; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 12px; }

/* фон: облака и искры */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; width: 360px; height: 100px; border-radius: 999px; background: #ffffff26; filter: blur(16px); animation: drift 70s linear infinite; }
.c1 { top: 12%; left: -400px; }
.c2 { top: 40%; left: -400px; width: 480px; animation-duration: 100s; animation-delay: -35s; }
.c3 { top: 66%; left: -400px; animation-duration: 85s; animation-delay: -60s; }
.c4 { top: 88%; left: -400px; width: 420px; animation-duration: 95s; animation-delay: -20s; }
@keyframes drift { to { transform: translateX(calc(100vw + 820px)); } }
.spark { position: absolute; width: 10px; height: 10px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: twinkle 5s ease-in-out infinite; }
.s1 { top: 18%; left: 8%; } .s2 { top: 30%; left: 52%; animation-delay: -1.5s; } .s3 { top: 55%; right: 9%; animation-delay: -3s; width: 14px; height: 14px; }
.s4 { top: 72%; left: 14%; animation-delay: -2s; } .s5 { top: 84%; right: 30%; animation-delay: -4s; }
@keyframes twinkle { 0%, 100% { opacity: 0; scale: .5; } 50% { opacity: .9; scale: 1.2; } }

main, .top, .foot { position: relative; z-index: 1; }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; background: linear-gradient(#0e5aa4e6, #0e5aa4b3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1.5px solid #ffffff33; }
.top-in { display: flex; align-items: center; gap: 18px; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 19px/1 var(--display); color: var(--yellow); letter-spacing: .01em; -webkit-text-stroke: 3px #7a3105; paint-order: stroke fill; text-shadow: 0 2px 0 #5c2100; white-space: nowrap; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--yellow), 0 0 0 5px #8a3405, 0 6px 14px #0006; transition: transform .25s; }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.nav { display: flex; gap: 2px; margin-left: auto; padding: 5px; background: #ffffff1f; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #ffffff40; }
.nav a { color: #fff; text-decoration: none; padding: 9px 16px; border-radius: 999px; font-weight: 800; font-size: 15px; transition: background .2s, color .2s; }
.nav a:hover { background: #ffffff2e; }
.nav a.on { background: #fff; color: #0d4f92; }
.top-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; background: #ffffff24; border-radius: 12px; padding: 3px; }
.lang button { font: 800 13px/1 var(--body); color: #fff; background: none; border: 0; padding: 9px 11px; border-radius: 9px; cursor: pointer; min-height: 36px; }
.lang button[aria-pressed="true"] { background: #fff; color: #0d4f92; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: #ffffff26; color: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px #ffffff55; transition: background .2s, transform .2s; text-decoration: none; }
.round:hover { background: #ffffff44; transform: scale(1.06); }
.round svg, .btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.round.acc { width: 44px; height: 44px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 900 18px/1 var(--display); text-decoration: none; border-radius: 999px; padding: 15px 28px; min-height: 52px; border: 0; cursor: pointer; transition: transform .18s, box-shadow .18s, filter .18s; text-transform: none; }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-sun { color: #fff; background: linear-gradient(#ffb43a, var(--sun-2) 70%, #ff6200); box-shadow: inset 0 0 0 3px #ffd57a, 0 6px 0 #b34700, 0 16px 34px #ff7a0066; text-shadow: 0 2px 0 #b34700; }
.btn-sun svg { fill: currentColor; stroke: none; filter: drop-shadow(0 2px 0 #b34700); }
.btn-sun:hover { filter: brightness(1.07); box-shadow: inset 0 0 0 3px #ffe39a, 0 8px 0 #b34700, 0 22px 40px #ff7a0088; }
.btn-ghost { color: #fff; background: #ffffff24; box-shadow: inset 0 0 0 2px #ffffff66; }
.btn-ghost:hover { background: #ffffff3c; }
.btn-tg { color: #fff; background: linear-gradient(#35aeea, #1d8fd0); box-shadow: 0 6px 0 #14689a; }
.btn-sm { font-size: 16px; padding: 11px 20px; min-height: 46px; box-shadow: inset 0 0 0 2px #ffd57a, 0 4px 0 #b34700, 0 10px 22px #ff7a0055; }
.btn-sm svg { width: 22px; height: 22px; }
.btn-lg { font-size: 20px; padding: 18px 34px; min-height: 60px; }
.btn-xl { font-size: clamp(22px, 2.6vw, 30px); padding: 22px 48px; min-height: 76px; letter-spacing: .02em; text-transform: uppercase; animation: glow 2.6s ease-in-out infinite; position: relative; overflow: hidden; }
.btn-xl svg { width: 30px; height: 30px; }
.btn-xl::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, #fff8 50%, transparent 62%); transform: translateX(-130%); animation: shine 4s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: inset 0 0 0 3px #ffd57a, 0 7px 0 #b34700, 0 16px 34px #ff7a0066; } 50% { box-shadow: inset 0 0 0 3px #ffe39a, 0 7px 0 #b34700, 0 18px 56px #ffa21fcc; } }
@keyframes shine { 0%, 55% { transform: translateX(-130%); } 85%, 100% { transform: translateX(130%); } }

/* главный экран */
.hero { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.25fr); align-items: center; gap: 24px; padding: 48px 0 24px; }
.hero-copy { position: relative; z-index: 2; display: grid; justify-items: start; min-width: 0; }
.hero-copy > * { max-width: 100%; }
.logo-title { font-size: clamp(44px, 6.6vw, 86px); line-height: .92; color: var(--yellow); -webkit-text-stroke: .11em #8a3405; paint-order: stroke fill; text-shadow: 0 .07em 0 #5c2100, 0 .16em .32em #0008; letter-spacing: .005em; animation: pop 1s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(20px); } to { opacity: 1; transform: none; } }
.ribbon { display: inline-block; margin: 26px 0 20px; padding: .8em 1.7em; border: 3px solid #8a3405; border-radius: 999px; font: 900 clamp(15px, 1.5vw, 20px)/1.2 var(--display); white-space: nowrap; text-align: center; color: #fff; background: linear-gradient(#ffa13a, #e2650d); box-shadow: inset 0 0 0 2px #ffc98a, 0 8px 18px #0004; text-shadow: none; transform: none; }
.lead { margin: 0 0 30px; font-size: clamp(17px, 1.7vw, 21px); font-weight: 700; max-width: 520px; text-shadow: 0 2px 10px #0a3a7a99; }
.micro { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--muted); }
.micro li { display: flex; align-items: center; gap: 7px; }
.micro svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-art { position: relative; margin: 0 -16px 0 -60px; animation: float 8s ease-in-out infinite; will-change: transform; -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 90%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 16%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 90%, transparent); mask-composite: intersect; }
.hero-art img { width: 100%; height: auto; filter: saturate(1.05) drop-shadow(0 30px 40px #0a2c5a88); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.beam { position: absolute; left: 61%; top: 16%; width: 13%; height: 24%; background: radial-gradient(closest-side, #b8ffd8cc, transparent); mix-blend-mode: screen; opacity: 0; animation: beam 3.2s ease-in-out infinite; }
@keyframes beam { 0%, 100% { opacity: 0; } 50% { opacity: .8; } }
.flash { position: absolute; right: 2%; top: 0; width: 24%; height: 34%; background: radial-gradient(closest-side, #fff, #d9c6ff00); mix-blend-mode: screen; opacity: 0; animation: flash 7s linear infinite; }
@keyframes flash { 0%, 90%, 100% { opacity: 0; } 91% { opacity: .85; } 92% { opacity: .1; } 93.500% { opacity: .7; } 96% { opacity: 0; } }

/* полоса возможностей */
.strip { padding: 8px 0 24px; }
.tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; text-align: center; padding: 14px 6px 14px; border-radius: 20px; background: linear-gradient(170deg, #0f6aa8cc, #0a4e86cc); box-shadow: inset 0 0 0 2px #ffffff55, inset 0 2px 0 #ffffff77, 0 12px 26px #06284f66; font: 800 14px/1.2 var(--display); transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 2px #ffe08a, inset 0 2px 0 #fff9, 0 18px 34px #06284f88; }
.tile img { width: 76px; height: auto; filter: drop-shadow(0 4px 6px #0006); transition: transform .3s; }
.tile:hover img { transform: scale(1.12) rotate(-4deg); }

/* секции */
.band { padding: 84px 0; }
.sec-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.eyebrow { display: inline-block; font: 900 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; padding: 7px 14px; border-radius: 999px; background: #0a3a7ae6; box-shadow: inset 0 0 0 1.5px #ffffff40; }
.sec-head h2, .how h2, .final h2 { font-size: clamp(32px, 4.4vw, 54px); text-wrap: balance; text-shadow: 0 4px 0 #0a3a7a99; }
.sec-lead { margin-top: 14px; color: var(--muted); font-size: 19px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--glass); border-radius: var(--radius); padding: 28px; box-shadow: inset 0 0 0 1.5px var(--glass-line), 0 14px 30px #06284f55; backdrop-filter: blur(6px); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-7px); box-shadow: inset 0 0 0 2px #ffe08a, 0 20px 40px #06284f77; }
.card svg { width: 54px; height: 54px; fill: none; stroke: var(--yellow); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; filter: drop-shadow(0 3px 0 #0a3a7a99); }
.card h3 { font-size: 23px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; font-weight: 600; }
.card-alert { background: linear-gradient(160deg, #a8402acc, #0a3f7a99); box-shadow: inset 0 0 0 1.5px #ffb09f88, 0 14px 30px #06284f55; }
.card-alert svg { stroke: #ffb59f; }

.shots { padding: 40px 0; overflow: hidden; }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(20px, calc((100vw - 1220px) / 2)) 28px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 min(780px, 82vw); scroll-snap-align: center; position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 4px #ffffff66, 0 22px 50px #06284faa; transition: transform .3s, box-shadow .3s; text-align: left; }
.shot:hover { transform: scale(1.02); box-shadow: 0 0 0 4px #ffe08a, 0 26px 56px #06284fcc; }
.shot img { width: 100%; height: auto; aspect-ratio: 1400 / 819; object-fit: cover; }
.shot span { position: absolute; left: 16px; bottom: 16px; font: 900 17px/1 var(--display); padding: 10px 16px; border-radius: 999px; background: linear-gradient(#ff9a2a, #d9560a); color: #fff; box-shadow: inset 0 0 0 2px #ffc27a, 0 3px 0 #8a3405; text-shadow: 0 2px 0 #8a3405; }
.rail-tools { display: flex; justify-content: center; gap: 12px; padding-top: 4px; }

.live-frame { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 4px #ffffff66, 0 26px 60px #06284faa; background: #0a2b55; }
.live-frame video { width: 100%; height: auto; aspect-ratio: 1280 / 750; object-fit: cover; }
.live-frame figcaption { padding: 14px 20px; font-size: 15px; font-weight: 700; color: var(--muted); background: #0a3a7ae6; }
.duo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.how h2 { margin-bottom: 26px; }
.steps { counter-reset: s; display: grid; gap: 16px; margin-bottom: 30px; }
.steps li { counter-increment: s; position: relative; padding-left: 64px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; font: 900 23px/1 var(--display); color: #fff; background: linear-gradient(#ffb43a, var(--sun-2)); box-shadow: inset 0 0 0 2px #ffd57a, 0 3px 0 #b34700; text-shadow: 0 2px 0 #b34700; }
.steps b { display: block; font: 900 20px/1.3 var(--display); }
.steps span { display: block; color: var(--muted); font-size: 16px; margin-top: 2px; }
.note { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 560px; }
.note.center { margin-inline: auto; max-width: 680px; }

.levels { padding: 56px 0 40px; }
.lv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 30px; }
.lv { border-radius: var(--radius); padding: 30px 28px; background: var(--glass); box-shadow: inset 0 0 0 1.5px var(--glass-line), 0 14px 30px #06284f55; border-top: 8px solid var(--leaf); transition: transform .25s; }
.lv:hover { transform: translateY(-7px); }
.lv-mid { border-top-color: var(--yellow); }
.lv-hard { border-top-color: var(--brick); }
.lv h3 { font-size: 30px; }
.lv-key { margin: 6px 0 12px; font: 900 15px/1.3 var(--body); color: #ffe98a; }
.lv p:last-child { color: var(--muted); font-size: 16px; }

.community-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.community h2 { font-size: clamp(28px, 3.6vw, 42px); }
.community .sec-lead { max-width: 520px; }
.tg-actions { display: flex; gap: 14px; flex-wrap: wrap; }
[hidden] { display: none !important; }

.faq { padding: 60px 0 30px; }
details { background: var(--glass); border-radius: 20px; margin-bottom: 12px; box-shadow: inset 0 0 0 1.5px var(--glass-line); overflow: hidden; }
summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font: 900 19px/1.3 var(--display); position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font: 900 30px/1 var(--display); color: var(--yellow); transition: rotate .25s; }
details[open] summary::after { rotate: 45deg; }
details p { padding: 0 24px 22px; color: var(--muted); }

.final { text-align: center; padding: 64px 0 96px; display: grid; gap: 30px; justify-items: center; }
.foot { border-top: 1.5px solid #ffffff33; padding: 26px 0; color: var(--muted); font-size: 14px; background: #0a3a7a66; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* лайтбокс */
dialog { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
dialog::backdrop { background: #03162fe6; backdrop-filter: blur(6px); }
dialog img { max-width: 96vw; max-height: 90vh; width: auto; height: auto; border-radius: 18px; box-shadow: 0 30px 80px #000; }
.lb-close { position: absolute; right: 8px; top: 8px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: #0a3a7af0; color: #fff; display: grid; place-items: center; }
.lb-close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.tile:hover, .reveal.card:hover, .reveal.lv:hover { transition: transform .25s, box-shadow .25s; }
.tiles .reveal:nth-child(2) { transition-delay: .05s; } .tiles .reveal:nth-child(3) { transition-delay: .1s; } .tiles .reveal:nth-child(4) { transition-delay: .15s; }
.tiles .reveal:nth-child(5) { transition-delay: .2s; } .tiles .reveal:nth-child(6) { transition-delay: .25s; } .tiles .reveal:nth-child(7) { transition-delay: .3s; } .tiles .reveal:nth-child(8) { transition-delay: .35s; }
.cards .reveal:nth-child(3n+2) { transition-delay: .08s; }
.cards .reveal:nth-child(3n+3) { transition-delay: .16s; }
.lv-grid .reveal:nth-child(2) { transition-delay: .08s; }
.lv-grid .reveal:nth-child(3) { transition-delay: .16s; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .top-tools { margin-left: auto; }
}
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .top-tools { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; gap: 8px; }
  .hero-art { order: -1; margin: 0 -12px; }
  .hero-copy { z-index: auto; }
  .hero-copy { text-align: center; justify-items: center; }
  .logo-title { font-size: clamp(52px, 13vw, 92px); }
  .lead { margin-inline: auto; }
  .micro { justify-content: center; }
  .cards, .lv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .lv-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .btn-xl { width: 100%; padding-inline: 20px; }
  .btn-lg { width: 100%; }
  .band, .shots, .levels { padding-top: 56px; padding-bottom: 36px; }
}
@media (max-width: 640px) {
  .ribbon { white-space: normal; padding: .75em 1.3em; border-radius: 26px; }
}
@media (max-width: 460px) {
  .brand span { display: none; }
  .top-in { height: 64px; gap: 8px; }
  .btn-sm span { display: none; }
  .btn-sm { padding: 11px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
