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

:root {
  --bg: #06070f;
  --bg-2: #0b0d1c;
  --bg-3: #11142b;
  --line: #1e2547;
  --cyan: #22e0ff;
  --magenta: #ff2e88;
  --lime: #7dff3d;
  --violet: #a45cff;
  --text: #e8edff;
  --muted: #8f9ac2;
  --grad: linear-gradient(90deg, #22e0ff 0%, #a45cff 50%, #ff2e88 100%);
  --font-head: 'Pixelify Sans', 'Courier New', monospace;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 76px;
  --radius: 4px;
}

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

html.hide #preloader { display: none; }

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

body.fixed { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .5px;
}

h1 { font-size: clamp(38px, 6vw, 76px); text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.4vw, 42px); }
h3 { font-size: 22px; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
  padding-left: 34px;
  position: relative;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 3px;
  background: var(--cyan);
  transform: translateY(-50%);
  box-shadow: 0 0 12px var(--cyan);
}

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

#preloader img { width: 64px; height: 64px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--grad);
  color: #05060d;
  box-shadow: 0 0 0 rgba(34, 224, 255, 0);
}

.btn-primary:hover {
  box-shadow: 0 10px 34px rgba(164, 92, 255, .45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border: 2px solid transparent;
  border-color: var(--cyan);
}

.btn-ghost:hover {
  background: rgba(34, 224, 255, .12);
  box-shadow: 0 0 24px rgba(34, 224, 255, .3);
}

.btn-sm { padding: 11px 20px; font-size: 15px; }

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

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

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}

#header.scrolled {
  background: rgba(6, 7, 15, .92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.nav-desk {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 4px 0;
  transition: color .2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width .25s ease;
}

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

.burger-btn {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 32px;
  padding: 0;
  position: relative;
  cursor: pointer;
  margin-left: auto;
}

.burger-btn span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 3px;
  background: var(--cyan);
  transition: transform .25s ease, opacity .2s ease;
}

.burger-btn span:nth-child(1) { top: 6px; }
.burger-btn span:nth-child(2) { top: 15px; }
.burger-btn span:nth-child(3) { top: 24px; }

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

#mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  width: 100%;
  bottom: 0;
  z-index: 1050;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 40px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

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

#mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

#mobile-menu .nav-link { font-size: 26px; color: var(--text); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.webp') center / cover no-repeat, var(--bg);
  opacity: .55;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 40%, rgba(164, 92, 255, .28), transparent 70%),
    linear-gradient(180deg, rgba(6, 7, 15, .5) 0%, rgba(6, 7, 15, .85) 65%, var(--bg) 100%);
}

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

.hero-lead {
  font-size: 20px;
  color: var(--text);
  margin-top: 26px;
  max-width: 560px;
}

.hero-text {
  font-size: 17px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.pills li {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--cyan);
  border: 1px solid rgba(34, 224, 255, .35);
  background: rgba(34, 224, 255, .06);
  border-radius: var(--radius);
  padding: 7px 16px;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero-shot {
  width: 260px;
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .65), 0 0 40px rgba(34, 224, 255, .18);
}

.hero-ship {
  position: absolute;
  left: -10px;
  bottom: 10px;
  width: 230px;
  z-index: 2;
  filter: drop-shadow(0 0 26px rgba(255, 46, 136, .5));
  animation: float 4.5s ease-in-out infinite;
}

.about {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.about-media img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}

.about-copy p {
  color: var(--muted);
  margin-top: 20px;
  font-size: 17px;
}

.worlds { padding: 110px 0; }

.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.sec-head .eyebrow { padding-left: 0; }
.sec-head .eyebrow::before { display: none; }

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.world-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 18px 26px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.world-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 224, 255, .55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 30px rgba(34, 224, 255, .12);
}

.world-img {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.world-img img { width: 100%; height: 100%; object-fit: cover; }

.world-card h3 {
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.world-card p { color: var(--muted); font-size: 16px; }

.world-card-alt {
  background: linear-gradient(160deg, rgba(164, 92, 255, .14), rgba(255, 46, 136, .08)), var(--bg-3);
  display: flex;
  flex-direction: column;
}

.world-card-alt .world-img { aspect-ratio: 4 / 3; }

.world-card-alt .world-img img { object-position: 50% 20%; }

.world-note {
  font-family: var(--font-head);
  font-size: 19px;
  line-height: 1.45;
  color: var(--text) !important;
}

.power {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 0;
}

.power-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}

.list-title {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 32px;
}

.power-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-top: 20px;
}

.power-list li,
.features-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 17px;
}

.power-list li::before,
.features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.power-note {
  color: var(--text);
  margin-top: 28px;
  font-size: 17px;
  border-left: 3px solid var(--magenta);
  padding-left: 18px;
}

.power .btn { margin-top: 34px; }

.power-media img {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(255, 46, 136, .12);
}

.features { padding: 110px 0; }

.features-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}

.features-list-wrap .list-title { margin-top: 0; }

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin-top: 22px;
}

.features-media img {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(164, 92, 255, .14);
}

#footer {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: 80px;
  overflow: hidden;
}

#footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/footer-bg.webp') center / cover no-repeat;
  opacity: .3;
}

#footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 28, .75) 0%, rgba(11, 13, 28, .95) 100%);
}

.footer-inner,
.footer-bottom { position: relative; z-index: 2; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-brand p {
  color: var(--muted);
  margin: 20px 0;
  max-width: 480px;
}

.footer-mail {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--cyan);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}

.footer-mail:hover { border-bottom-color: var(--cyan); }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  align-content: start;
}

.footer-nav a {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--muted);
  transition: color .2s ease;
}

.footer-nav a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0 30px;
}

.footer-bottom p { color: var(--muted); font-size: 15px; }

.legal-page {
  padding: calc(var(--header-h) + 70px) 0 90px;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(164, 92, 255, .18), transparent 70%),
    var(--bg);
}

.legal-page h1 { font-size: clamp(30px, 5vw, 52px); margin-bottom: 34px; }

.legal-content { max-width: 900px; }

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.legal-content ol,
.legal-content ul {
  padding-left: 26px;
  margin-bottom: 20px;
  list-style: decimal;
}

.legal-content ul { list-style: disc; }

.legal-content h2,
.legal-content h3 {
  color: var(--cyan);
  margin: 36px 0 16px;
  text-transform: uppercase;
  font-size: 22px;
}

.legal-content a {
  color: var(--cyan);
  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(--magenta); text-decoration-color: var(--magenta); }

@media (max-width: 1024px) {
  .hero { padding: calc(var(--header-h) + 60px) 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { text-align: center; }
  .hero-lead, .hero-text { margin-left: auto; margin-right: auto; }
  .hero-btns, .pills { justify-content: center; }
  .hero-ship { left: 0; width: 190px; }
  .about-inner,
  .power-inner,
  .features-inner { grid-template-columns: 1fr; gap: 44px; }
  .about-media { order: 2; }
  .power-media, .features-media { order: 2; }
  .worlds-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px;}
}

@media (max-width: 768px) {
  .nav-desk, .header-cta { display: none; }
  .burger-btn { display: block; }
  .about, .power { padding: 70px 0; }
  .worlds, .features { padding: 70px 0; }
  .sec-head { margin-bottom: 40px; }
  .hero-art { min-height: 340px; }
  .hero-shot { width: 210px; }
  .hero-ship { width: 150px; bottom: 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .worlds-grid { grid-template-columns: 1fr; }
  .power-list, .features-list { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .btn { width: 100%; font-size: 16px; padding: 14px 22px; }
  .hero-btns { flex-direction: column; }
  .logo { font-size: 18px; }
  .logo img { width: 34px; height: 34px; }
  .footer-inner { padding-bottom: 20px;}
  .footer-bottom { padding: 10px 18px;}
}
