﻿:root {
  --bg: #070316;
  --panel: rgba(20, 14, 35, 0.68);
  --panel-2: rgba(23, 16, 40, 0.78);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: #f5eefb;
  --muted: #afa3bf;
  --pink: #ff5bb8;
  --pink-2: #ff7ecb;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Lexend", sans-serif;
  color: var(--text);
  background: transparent;
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
}

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #050112;
  display: grid;
  place-items: center;
  gap: 10px;
  transition: opacity 0.35s ease;
}

.loader.hide {
  opacity: 0;
  pointer-events: none;
}

.loader img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
}

.loader p {
  margin: 0;
  color: #cabfda;
}

.bg-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48) saturate(1.12);
  pointer-events: none;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(680px 360px at 50% 8%, rgba(255, 86, 182, 0.26), transparent 64%),
    linear-gradient(180deg, rgba(8, 2, 20, 0.48), rgba(8, 2, 20, 0.72));
}

.bg-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px) center/120px 120px,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px) center/120px 120px;
  opacity: 0.16;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 2px 2px;
  opacity: 0.15;
}

.topbar,
main,
.footer,
.modal {
  position: relative;
  z-index: 3;
}

.topbar {
  position: sticky;
  top: 0;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(6, 2, 18, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.logo-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand strong {
  display: block;
  line-height: 1.05;
  color: #f8b6de;
}

.brand small {
  display: block;
  letter-spacing: 0.16em;
  font-size: 0.58rem;
  color: #b8a7cb;
}

nav {
  display: flex;
  gap: 34px;
}

nav a {
  color: #d0c2df;
  font-size: 0.92rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.online-pill,
.discord-pill {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(24, 16, 43, 0.8);
  padding: 8px 14px;
  font-size: 0.84rem;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a8ffd8;
}

.online-pill i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #00e38d;
  box-shadow: 0 0 12px #00e38d;
}

.hero-wrap {
  max-width: 1180px;
  margin: 82px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.live-pill {
  margin: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 148, 211, 0.45);
  background: rgba(41, 9, 53, 0.5);
  color: #ffb2e1;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 8px 18px;
}

.live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #4df8ad;
}

.hero-left h1 {
  margin: 18px 0 10px;
  font-size: clamp(2.2rem, 4.8vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 600px;
}

.hero-left h1 span {
  color: #ff89d4;
}

.lead {
  margin: 0;
  max-width: 670px;
  color: #b9aec9;
  font-size: 1.14rem;
  line-height: 1.6;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px 22px;
  color: var(--text);
  font-weight: 600;
  background: rgba(23, 16, 40, 0.8);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(120deg, var(--pink), var(--pink-2));
  border-color: rgba(255, 190, 225, 0.9);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 83, 178, 0.4);
}

.server-row {
  margin-top: 16px;
  width: min(100%, 640px);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--panel);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.server-row span {
  color: #988ead;
}

.server-row strong {
  color: #ffc0e5;
}

.server-row button {
  margin-left: auto;
  border: 1px solid rgba(255, 178, 220, 0.44);
  border-radius: 8px;
  background: rgba(255, 87, 177, 0.16);
  color: #ffd6ed;
  padding: 6px 13px;
  cursor: pointer;
}

.stats {
  margin-top: 12px;
  width: min(100%, 640px);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.stats article {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--panel);
  padding: 12px;
}

.stats h3 {
  margin: 0;
  color: #ffd6ed;
  font-size: 2rem;
}

.stats p {
  margin: 4px 0 0;
  color: #b6a8c8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.hero-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 8, 22, 0.78);
  box-shadow: 0 26px 70px rgba(7, 2, 18, 0.8);
}

.card-head {
  height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-head small {
  color: #b8adc7;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dots i:nth-child(1) { background: #ff5f56; }
.dots i:nth-child(2) { background: #ffbd2e; }
.dots i:nth-child(3) { background: #27c93f; }

.card-image {
  position: relative;
  height: 290px;
}

.card-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 6, 20, 0.1), rgba(9, 6, 20, 0.38));
}

.tag {
  margin: 10px 14px 8px;
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(23, 16, 40, 0.82);
  color: #daccf0;
  font-size: 0.75rem;
  padding: 6px 11px;
}

.feature-grid {
  padding: 0 12px 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.feature-grid article {
  border: 1px solid var(--stroke);
  border-radius: 13px;
  background: rgba(24, 18, 42, 0.8);
  padding: 10px;
}

.feature-grid h4 {
  margin: 0 0 5px;
  color: #ffd5eb;
}

.feature-grid p {
  margin: 0;
  color: #b5a8c8;
  font-size: 0.78rem;
}

.block {
  max-width: 1180px;
  margin: 84px auto 0;
  padding: 0 20px;
}

.kicker {
  margin: 0;
  color: #c8bbda;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.block h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.section-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cards {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.cards-4 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards article {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: var(--panel-2);
  padding: 16px;
}

.cards h3 {
  margin: 0 0 8px;
}

.cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.gallery article {
  padding: 0;
  overflow: hidden;
}

.gallery-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery h3,
.gallery p {
  padding: 0 14px;
}

.gallery h3 {
  margin-top: 12px;
}

.gallery p {
  margin-bottom: 14px;
}

.faq-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--panel-2);
  padding: 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.download {
  text-align: center;
  padding-bottom: 20px;
}

.download .section-lead {
  margin: 0 auto;
}

.big {
  margin-top: 20px;
  display: inline-block;
  min-width: 260px;
}

.foot-note {
  margin-top: 10px;
  color: #a799bc;
  font-size: 0.9rem;
}

.footer {
  max-width: 1180px;
  margin: 42px auto 26px;
  padding: 0 20px;
  color: #a294b7;
  font-size: 0.9rem;
}

.footer p {
  margin: 6px 0;
}

.socials {
  margin-top: 10px;
  display: flex;
  gap: 16px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 2, 12, 0.74);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.show {
  display: flex;
}

.modal-card {
  width: min(92vw, 620px);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(11, 7, 22, 0.95);
  padding: 16px;
  position: relative;
}

.modal-card h3 {
  margin: 0;
}

.modal-card p {
  color: var(--muted);
}

.modal-media {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  display: block;
}

.modal-card ul {
  margin: 12px 0 16px;
  padding-left: 18px;
}

.modal-card li {
  margin: 8px 0;
  color: #d5cae8;
}

.close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 760px;
  }

  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .topbar {
    height: auto;
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .top-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-wrap {
    margin-top: 44px;
  }

  .lead {
    font-size: 1rem;
  }

  .stats,
  .feature-grid,
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr;
  }
}
