
:root {
  --bg: #07040f;
  --bg-2: #0d0718;
  --panel: rgba(19, 10, 34, .72);
  --line: rgba(255,255,255,.10);
  --text: #f7f3ff;
  --muted: #bdb3cc;
  --violet: #9c4dff;
  --pink: #ff3fb4;
  --blue: #3ab7ff;
  --orange: #ff7a35;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(104,29,186,.16), transparent 30%),
    radial-gradient(circle at 100% 20%, rgba(255,52,163,.12), transparent 25%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.shell { width: min(var(--max), calc(100% - 42px)); margin-inline: auto; }

.space-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: -2; opacity: .65;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.7) 0 1px, transparent 1.3px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.4) 0 1px, transparent 1.3px),
    radial-gradient(circle at 90% 20%, rgba(82,157,255,.75) 0 1px, transparent 1.5px);
  background-size: 93px 93px, 137px 137px, 181px 181px;
}
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(131,61,255,.11), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity .2s;
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6,3,12,.96) 0%, rgba(7,4,15,.80) 47%, rgba(7,4,15,.25) 100%),
    linear-gradient(180deg, transparent 65%, var(--bg) 100%),
    url("assets/cover.webp") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 74% 50%, rgba(145,45,255,.14), transparent 31%);
}
.nav {
  height: 90px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .12em; }
.brand img, .footer-brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 24px rgba(131,66,255,.45); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .9rem; color: #d7cfe2; }
.nav-links a { transition: .25s; }
.nav-links a:hover { color: white; }
.nav-cta { border: 1px solid rgba(255,255,255,.2); padding: 12px 18px; border-radius: 999px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: #fff; margin: 6px; }

.hero-grid {
  min-height: calc(100svh - 90px);
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px;
  position: relative; z-index: 2; padding-block: 54px 105px;
}
.eyebrow, .mini, .section-label {
  font-size: .76rem; letter-spacing: .22em; font-weight: 800; color: #c9b5e5; text-transform: uppercase;
}
.eyebrow { display: flex; gap: 10px; align-items: center; }
.eyebrow span { width: 28px; height: 2px; background: linear-gradient(90deg, var(--pink), var(--blue)); }
.hero h1 {
  margin: 26px 0 25px; font-size: clamp(3.7rem, 7vw, 7.5rem); line-height: .89; letter-spacing: -.075em;
  max-width: 940px;
}
.hero h1 em {
  font-style: normal; color: transparent;
  background: linear-gradient(90deg, #fff 5%, #c982ff 48%, #ff57b7 95%);
  -webkit-background-clip: text; background-clip: text;
}
.hero-copy > p { color: var(--muted); max-width: 690px; font-size: 1.15rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 16px 25px; border-radius: 11px;
  font-weight: 800; border: 1px solid transparent; transition: .25s; min-height: 54px;
}
.btn-primary {
  background: linear-gradient(135deg, #7a35ff, #df35ae);
  box-shadow: 0 12px 38px rgba(157,53,255,.26);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 45px rgba(157,53,255,.42); }
.btn-ghost { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.045); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: #bfb5c9; font-size: .88rem; }

.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.planet-glow {
  position: absolute; width: 530px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(119,47,255,.30), rgba(255,53,179,.09) 45%, transparent 68%);
  filter: blur(8px); animation: pulse 5s ease-in-out infinite;
}
.logo-card {
  width: min(520px, 90%); position: relative; z-index: 2; border-radius: 50%;
  filter: drop-shadow(0 0 42px rgba(122,53,255,.52));
  animation: float 5.5s ease-in-out infinite;
}
.logo-card img { border-radius: 50%; }
.logo-card::after {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 1px solid rgba(189,127,255,.36); box-shadow: 0 0 50px rgba(98,48,255,.18);
}
.floating-card {
  position: absolute; z-index: 3; min-width: 112px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,6,21,.70); backdrop-filter: blur(18px); border-radius: 17px;
  font-size: 1.75rem; font-weight: 900; line-height: 1;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}
.floating-card small { color: #b8a8c8; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card-a { left: 0; top: 21%; }
.card-b { right: 0; bottom: 18%; }
.scroll-indicator {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 10px; color: #9e91ac; font-size: .67rem; letter-spacing: .22em;
}
.scroll-indicator span { width: 1px; height: 32px; background: linear-gradient(var(--pink), transparent); }

.section { padding-block: 125px; }
.section-label { color: var(--pink); margin-bottom: 28px; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
h2 { font-size: clamp(2.7rem, 5.3vw, 5.6rem); line-height: .98; letter-spacing: -.055em; margin: 0; }
h2 span { color: #a89bb8; }
.intro-copy p { color: var(--muted); font-size: 1.08rem; line-height: 1.8; margin: 0 0 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 72px; }
.feature {
  position: relative; padding: 34px; min-height: 285px; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  overflow: hidden; transition: .3s;
}
.feature:hover { transform: translateY(-8px); border-color: rgba(179,103,255,.38); box-shadow: 0 22px 60px rgba(0,0,0,.24); }
.feature::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -90px; bottom: -90px;
  background: radial-gradient(circle, rgba(126,46,255,.24), transparent 68%);
}
.feature-number { position: absolute; right: 25px; top: 25px; color: rgba(255,255,255,.16); font-weight: 900; font-size: 2rem; }
.feature-icon { font-size: 2rem; margin-bottom: 45px; }
.feature h3 { font-size: 1.35rem; margin: 0 0 13px; }
.feature p { margin: 0; color: var(--muted); line-height: 1.65; }

.showcase {
  width: min(1480px, calc(100% - 28px)); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr .85fr; min-height: 720px;
  border: 1px solid var(--line); border-radius: 30px; overflow: hidden;
  background: #0e0819;
}
.showcase-image { min-height: 560px; overflow: hidden; }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.showcase:hover .showcase-image img { transform: scale(1.035); }
.showcase-copy { padding: clamp(45px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; }
.showcase-copy h2 { font-size: clamp(2.5rem, 4.2vw, 4.7rem); margin: 24px 0 28px; }
.showcase-copy p { color: var(--muted); line-height: 1.8; font-size: 1.04rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 30px; }
.stat-row strong { display: block; font-size: 2rem; }
.stat-row span { color: #9d91aa; font-size: .75rem; }

.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 50px; }
.section-head .mini { color: var(--pink); display: block; margin-bottom: 18px; }
.section-head p { color: var(--muted); line-height: 1.75; margin: 0; }
.section-head.center { display: block; text-align: center; max-width: 760px; margin-inline: auto; }
.section-head.center p { margin-top: 20px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 330px; gap: 18px; }
.gallery-item {
  position: relative; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: #12091f; cursor: zoom-in;
}
.gallery-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, filter .4s; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 48%, rgba(4,2,9,.85)); }
.gallery-item span { position: absolute; left: 23px; bottom: 21px; z-index: 2; font-weight: 800; letter-spacing: .03em; }
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.12); }

.how-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.how-photo { position: relative; }
.how-photo img { border-radius: 25px; min-height: 620px; object-fit: cover; box-shadow: 0 30px 90px rgba(0,0,0,.36); }
.photo-badge {
  position: absolute; right: -30px; bottom: 45px; background: linear-gradient(135deg, #9a42ff, #ff3fa6);
  padding: 24px 28px; border-radius: 18px; font-size: 1.05rem; line-height: 1.2; font-weight: 900;
  transform: rotate(-3deg); box-shadow: 0 18px 44px rgba(181,51,225,.35);
}
.how-copy h2 { margin: 24px 0 42px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li > span { font-size: .8rem; color: var(--pink); font-weight: 900; }
.steps h3 { margin: 0 0 8px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); line-height: 1.6; }

.chaos-banner {
  min-height: 620px; position: relative; display: grid; place-items: center; text-align: center;
  background: url("assets/rozgrywka-1.webp") center 55%/cover fixed;
}
.chaos-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(5,2,10,.50), rgba(5,2,10,.91)), radial-gradient(circle, transparent, #08040e 100%); }
.chaos-content { position: relative; z-index: 2; }
.chaos-content h2 { margin: 24px auto 36px; max-width: 980px; text-shadow: 0 4px 35px #000; }

.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 50px; }
.social-card {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 20px; align-items: center;
  padding: 25px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.028);
  transition: .28s;
}
.social-card:hover { transform: translateY(-5px); border-color: rgba(186,102,255,.45); background: rgba(255,255,255,.055); }
.social-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.45rem; font-weight: 900;
  background: linear-gradient(145deg, rgba(144,62,255,.25), rgba(255,51,172,.12)); border: 1px solid rgba(255,255,255,.10);
}
.social-card strong, .social-card span { display: block; }
.social-card span { color: var(--muted); margin-top: 5px; font-size: .9rem; }
.social-card b { color: #bda6d2; font-size: 1.25rem; }
.contact-card {
  margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px;
  border-radius: 20px; background: linear-gradient(110deg, rgba(117,41,255,.18), rgba(255,54,171,.11)); border: 1px solid rgba(191,103,255,.23);
}
.contact-card h3 { margin: 8px 0 0; font-size: 1.55rem; }
.contact-card a { font-weight: 800; }

.footer { border-top: 1px solid var(--line); padding: 60px 0 35px; background: #050209; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.footer-inner > p { color: #9f93aa; }
.footer-meta { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 25px; display: flex; justify-content: space-between; color: #807487; font-size: .85rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 30px;
  background: rgba(3,1,7,.93); opacity: 0; visibility: hidden; transition: .25s; backdrop-filter: blur(12px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 95vw); max-height: 90vh; border-radius: 18px; box-shadow: 0 30px 100px #000; }
.lightbox-close { position: absolute; top: 22px; right: 28px; border: 0; background: none; font-size: 3rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes pulse { 0%,100% { transform: scale(.96); opacity:.75; } 50% { transform: scale(1.05); opacity:1; } }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 70px; }
  .hero-copy > p { margin-inline: auto; }
  .eyebrow, .hero-actions, .hero-tags { justify-content: center; }
  .hero-visual { min-height: 500px; }
  .intro-grid, .showcase, .how-layout { grid-template-columns: 1fr; }
  .showcase-copy { padding: 60px 35px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .how-photo { max-width: 760px; margin-inline: auto; }
  .photo-badge { right: 20px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .nav { height: 72px; }
  .brand span { font-size: .82rem; }
  .brand img { width: 39px; height: 39px; }
  .menu-toggle { display: block; position: relative; z-index: 22; }
  .nav-links {
    position: fixed; inset: 0; z-index: 21; background: rgba(5,2,10,.97); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; font-size: 1.35rem; transform: translateX(100%); transition: .35s;
  }
  .nav-links.open { transform: translateX(0); }
  .hero-grid { min-height: calc(100svh - 72px); gap: 18px; padding-block: 55px 80px; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 5rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-visual { min-height: 390px; }
  .logo-card { width: min(360px, 82vw); }
  .planet-glow { width: 390px; }
  .floating-card { min-width: 92px; font-size: 1.35rem; padding: 14px; }
  .card-a { left: 0; } .card-b { right: 0; }
  .hero-tags { font-size: .76rem; gap: 12px; }
  .section { padding-block: 85px; }
  .feature-grid, .social-grid { grid-template-columns: 1fr; }
  .feature { min-height: 240px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 310px; }
  .gallery-wide { grid-column: span 1; }
  .showcase { width: calc(100% - 16px); border-radius: 22px; }
  .showcase-image { min-height: 430px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .how-layout { gap: 45px; }
  .how-photo img { min-height: 430px; }
  .photo-badge { right: 10px; bottom: 20px; font-size: .8rem; padding: 18px; }
  .chaos-banner { min-height: 520px; background-attachment: scroll; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { flex-direction: column; gap: 12px; }
  .cursor-glow { display: none; }
}
