:root {
  --bg: #050510;
  --bg-elevated: #0b0b1c;
  --bg-card: rgba(16, 16, 36, 0.72);
  --stroke: rgba(155, 92, 255, 0.28);
  --purple: #9b5cff;
  --violet: #7c3aed;
  --magenta: #c026d3;
  --orange: #ff6b2b;
  --ember: #ff3b3b;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --text: #f4f6fb;
  --muted: #9aa3b8;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --nav-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Exo 2", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(124, 58, 237, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(255, 107, 43, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(34, 211, 238, 0.1), transparent 50%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(rgba(155, 92, 255, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
  opacity: 0.45;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 16, 0.72);
  border-bottom: 1px solid rgba(155, 92, 255, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Orbitron, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(155, 92, 255, 0.55));
}

.brand span {
  background: linear-gradient(90deg, #fff 0%, #c4b5fd 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(155, 92, 255, 0.12);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #0b0614;
  background: linear-gradient(120deg, #ff8a3d, #ff3b5c 45%, #c026d3);
  box-shadow: 0 8px 24px rgba(255, 59, 92, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 59, 92, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--stroke);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}

/* HERO */
.hero {
  padding: 56px 0 40px;
  text-align: center;
}

.logo-wrap {
  width: min(360px, 72vw);
  margin: 0 auto 28px;
  position: relative;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 92, 255, 0.45), transparent 70%);
  filter: blur(24px);
  animation: pulse 3.4s ease-in-out infinite;
}

.logo-wrap img {
  position: relative;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.06); }
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(155, 92, 255, 0.08);
  color: #c4b5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: Orbitron, sans-serif;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.hero h1 .grad {
  background: linear-gradient(90deg, #ffffff, #a78bfa 40%, #22d3ee 70%, #ff6b2b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  transition: 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* SECTIONS */
section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  max-width: 560px;
  margin-inline: auto;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.4);
}

.icon-orb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.3), rgba(255, 107, 43, 0.2));
  border: 1px solid var(--stroke);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.stat {
  text-align: center;
  padding: 22px 10px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(12, 12, 28, 0.7);
}

.stat b {
  display: block;
  font-family: Orbitron, sans-serif;
  font-size: 1.6rem;
  background: linear-gradient(90deg, #fff, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* FEATURE STRIP */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.panel {
  border-radius: 28px;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(180deg, rgba(155, 92, 255, 0.12), rgba(5, 5, 16, 0.4)),
    var(--bg-elevated);
  padding: 28px;
  min-height: 280px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--stroke);
  color: #ddd6fe;
}

/* ABOUT */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.member {
  text-align: center;
  padding: 28px 18px;
}

.avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Orbitron, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  background: conic-gradient(from 180deg, #7c3aed, #22d3ee, #ff6b2b, #7c3aed);
  box-shadow: 0 0 24px rgba(155, 92, 255, 0.35);
}

.avatar span {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #0b0b1c;
  display: grid;
  place-items: center;
}

.member h3 {
  margin-bottom: 4px;
}

.role {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  background: rgba(8, 8, 20, 0.8);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.socials {
  display: grid;
  gap: 12px;
}

.social {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: var(--bg-card);
}

.social b {
  display: block;
  font-family: Orbitron, sans-serif;
  font-size: 0.85rem;
}

.social span {
  color: var(--muted);
  font-size: 0.88rem;
}

.note {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #a5f3fc;
  font-weight: 600;
}

.note.show {
  display: block;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(155, 92, 255, 0.18);
  padding: 28px 0 40px;
  margin-top: 20px;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: Orbitron, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.foot-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* PAGE HERO SMALL */
.page-hero {
  padding: 48px 0 10px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .grid-3,
  .stats,
  .team,
  .feature,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 16px 20px 20px;
    background: rgba(8, 8, 20, 0.96);
    border-bottom: 1px solid var(--stroke);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .cta {
    justify-content: center;
  }
}

/* GAME EMBED */
.game-shell {
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: #070712;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.game-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(12, 12, 28, 0.9);
}

.game-toolbar strong {
  font-family: Orbitron, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.game-frame {
  width: 100%;
  height: min(78vh, 820px);
  border: 0;
  display: block;
  background: #000;
}

.game-fallback {
  padding: 28px;
  color: var(--muted);
}

.play-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}
