:root {
  --bg: #070b12;
  --bg-2: #0b111b;
  --panel: #101824;
  --line: rgba(255, 255, 255, .10);
  --text: #f4f7fb;
  --muted: #93a0b3;
  --orange: #ff7a18;
  --orange-2: #ffb45e;
  --teal: #39d0ff;
  --purple: #a855f7;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Rajdhani, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--orange); color: #0b0d12; }

.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0 35%, transparent 78%);
}
.bg-glow { position: fixed; z-index: -2; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .55; }
.bg-glow--orange { width: 52vw; height: 52vw; left: -18vw; top: 10vh; background: #ff6a00; opacity: .14; }
.bg-glow--teal { width: 46vw; height: 46vw; right: -20vw; top: -12vw; background: #00b7ff; opacity: .12; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.eyebrow {
  margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; display: flex; align-items: center; gap: 10px;
}
.eyebrow span { width: 26px; height: 2px; background: var(--orange); display: inline-block; }
h1, h2, h3 { font-family: 'Bebas Neue', Rajdhani, sans-serif; font-weight: 400; letter-spacing: .02em; line-height: .92; margin: 0; }
h1 em, h2 em { font-style: normal; color: var(--orange); }
h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h3 { font-size: 1.55rem; letter-spacing: .04em; }
p { margin: 0 0 1em; color: var(--muted); }
p strong { color: var(--text); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 18, .72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-icon { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); }
.brand-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem; letter-spacing: .12em; }
.brand-text strong { color: var(--orange); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-size: .95rem; font-weight: 600; letter-spacing: .03em; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-cta { margin-left: 0; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .04em;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #120b05; box-shadow: 0 10px 34px rgba(255, 122, 24, .28); }
.btn--primary:hover { background: var(--orange-2); box-shadow: 0 14px 40px rgba(255, 122, 24, .38); }
.btn--ghost { background: rgba(255,255,255,.03); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: rgba(57, 208, 255, .5); background: rgba(57,208,255,.06); }
.btn--small { padding: 10px 16px; font-size: .85rem; border-radius: 10px; }
.btn--full { width: 100%; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; padding-top: 80px; padding-bottom: 40px; min-height: 640px; }
.hero h1 { font-size: clamp(5.2rem, 12vw, 10rem); letter-spacing: .01em; }
.hero h1 em { display: inline-block; color: transparent; -webkit-text-stroke: 2px var(--orange); text-shadow: 0 0 44px rgba(255,122,24,.25); }
.hero-lead { font-size: 1.12rem; max-width: 56ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 7px 11px; border-radius: 999px; }

.hero-art { position: relative; }
.hero-frame { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.hero-frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hero-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3,5,10,.9)); }
.hero-frame-top { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .14em; font-weight: 700; background: rgba(5,8,14,.72); border: 1px solid rgba(255,255,255,.12); padding: 7px 10px; border-radius: 999px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.server-card {
  position: absolute; right: -12px; bottom: -26px; width: min(320px, 84%);
  background: rgba(10, 15, 24, .92); border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(14px); box-shadow: var(--shadow);
}
.server-card-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 12px #fbbf24; }
.status-dot.online { background: #4ade80; box-shadow: 0 0 12px #4ade80; }
.status-dot.offline { background: #f87171; box-shadow: 0 0 12px #f87171; }
.server-ip { font-family: ui-monospace, Consolas, monospace; color: var(--teal); font-size: .95rem; margin: 8px 0 6px; word-break: break-all; }
.server-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .78rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin-top: 44px; }
.stat { text-align: center; border-right: 1px solid var(--line); padding: 8px 12px; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 2.1rem; color: var(--orange); letter-spacing: .04em; }
.stat span { font-size: .78rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { max-width: 62ch; font-size: 1.03rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .25s, transform .25s; }
.feature:hover { border-color: rgba(255,122,24,.4); transform: translateY(-3px); }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,122,24,.1); color: var(--orange); margin-bottom: 18px; }
.feature-icon svg { width: 25px; height: 25px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: .95rem; }

.version-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.version-note { margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.version-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px; overflow: hidden; }
.version-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--orange); }
.version-card--lite::before { background: var(--teal); }
.version-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .18em; color: var(--orange); border: 1px solid rgba(255,122,24,.35); background: rgba(255,122,24,.08); padding: 5px 9px; border-radius: 999px; margin-bottom: 16px; }
.version-card--lite .version-tag { color: var(--teal); border-color: rgba(57,208,255,.35); background: rgba(57,208,255,.08); }
.version-card h3 span { color: var(--muted); font-size: .9rem; font-family: Rajdhani; font-weight: 600; }
.version-card ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; }
.version-card li { color: var(--muted); font-size: .95rem; padding-left: 20px; position: relative; }
.version-card li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.version-card--lite li::before { background: var(--teal); }

.gallery { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, 1fr); gap: 14px; }
.gallery-item { margin: 0; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 190px; }
.gallery-item:first-child { grid-row: span 2; min-height: 420px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3,5,10,.88)); }
.gallery-item figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: .76rem; color: #dbe4f0; letter-spacing: .04em; }

.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.ip-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(57,208,255,.06); border: 1px solid rgba(57,208,255,.24); border-radius: 14px; padding: 14px 16px; margin: 22px 0; }
.ip-box code { font-family: ui-monospace, Consolas, monospace; font-size: 1.02rem; color: var(--teal); word-break: break-all; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 18px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.steps li > span { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--orange); line-height: 1; min-width: 34px; }
.steps strong { display: block; font-size: 1.05rem; }
.steps p { margin: 3px 0 0; font-size: .9rem; }

.discord-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.discord-photo { position: relative; min-height: 380px; }
.discord-photo img { width: 100%; height: 100%; object-fit: cover; }
.discord-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--panel)); }
.discord-photo-tag { position: absolute; left: 18px; bottom: 18px; z-index: 2; font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: .12em; color: var(--text); background: rgba(5,8,14,.62); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.discord-copy { padding: 40px; align-self: center; }
.discord-copy p:not(.eyebrow) { max-width: 50ch; }

.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-bottom: 18px; margin: 0; font-size: .95rem; }

.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 46px 0 30px; background: rgba(3,6,10,.5); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-icon { width: 36px; height: 36px; border-radius: 10px; }
.footer-brand strong { display: block; font-family: 'Bebas Neue', sans-serif; letter-spacing: .12em; font-size: 1.2rem; }
.footer-brand span { color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; gap: 20px; color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--orange); }
.footer-note { grid-column: 1 / -1; color: #6c7a8e; font-size: .78rem; margin: 12px 0 0; }
.footer-copy { grid-column: 1 / -1; color: #6c7a8e; font-size: .78rem; margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; min-height: 0; }
  .hero-art { max-width: 720px; }
  .server-card { right: 10px; bottom: -24px; }
  .feature-grid, .version-grid, .join-grid, .discord-card { grid-template-columns: 1fr; }
  .discord-photo { min-height: 300px; }
  .discord-photo::after { background: linear-gradient(180deg, transparent 55%, var(--panel)); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: auto; grid-column: span 2; min-height: 300px; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(7,11,18,.98); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 68px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); padding-top: 18px; }
  .hero h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .server-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: auto; min-height: 240px; }
  .discord-copy { padding: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}
