:root {
  --bg: #05080d;
  --bg-2: #09121d;
  --panel: rgba(10, 21, 33, .82);
  --panel-2: rgba(14, 29, 45, .88);
  --line: rgba(133, 210, 255, .18);
  --ice: #85d2ff;
  --ice-2: #3aa8e8;
  --text: #eef7ff;
  --muted: #94aabd;
  --gold: #d6b86e;
  --shadow: 0 22px 70px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, #17324c 0%, transparent 34%),
    linear-gradient(180deg, #07111a 0%, var(--bg) 35%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: 78px;
  padding: 0 max(24px, calc((100vw - 1220px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(4,8,13,.92), rgba(4,8,13,.55), transparent);
  z-index: 20;
  backdrop-filter: blur(8px);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 43px; height: 43px; border: 1px solid rgba(133,210,255,.4);
  display: grid; place-items: center; transform: rotate(45deg);
  color: var(--ice); font: 700 24px Cinzel, serif;
  box-shadow: inset 0 0 22px rgba(58,168,232,.18), 0 0 24px rgba(58,168,232,.12);
}
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand strong { display:block; font: 700 18px Cinzel, serif; letter-spacing: 2px; }
.brand small { color: #6f899e; font-size: 9px; letter-spacing: 1.4px; }

.nav { display: flex; align-items:center; gap: 28px; color: #bed0df; font-size: 14px; }
.nav a:hover { color: var(--ice); }
.nav-cta {
  padding: 10px 17px; border: 1px solid rgba(133,210,255,.45);
  background: rgba(55,158,216,.12);
}
.nav-toggle { display:none; background:none; border:0; color:white; font-size:26px; }

.hero {
  min-height: 790px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, transparent 0 65%, #05080d 100%),
    radial-gradient(circle at 50% 25%, rgba(73,155,208,.16), transparent 34%),
    linear-gradient(135deg, #0c1a28, #07111b 45%, #101f2d);
}
.hero::before, .hero::after {
  content:"";
  position:absolute;
  width: 520px; height: 520px;
  border: 1px solid rgba(105,194,245,.06);
  transform: rotate(45deg);
}
.hero::before { left:-250px; top:140px; }
.hero::after { right:-280px; top:80px; }

.aurora {
  position:absolute; width: 80%; height: 45%; top: 8%; left: 10%;
  background: radial-gradient(ellipse, rgba(58,168,232,.18), transparent 65%);
  filter: blur(35px);
}
.hero-overlay {
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(90deg, transparent 0 89px, rgba(255,255,255,.012) 90px),
    linear-gradient(90deg, rgba(0,0,0,.3), transparent 28%, transparent 72%, rgba(0,0,0,.3));
}
.hero-content {
  width: min(1120px, calc(100% - 40px));
  text-align:center;
  position:relative;
  z-index:2;
  padding-top: 90px;
}
.eyebrow {
  color: var(--ice);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3.2px;
}
h1,h2,h3 { font-family: Cinzel, serif; margin-top:0; }
h1 {
  font-size: clamp(50px, 7vw, 96px);
  line-height:.98;
  letter-spacing: 1px;
  margin: 18px auto 25px;
  text-shadow: 0 8px 34px #000, 0 0 35px rgba(87,189,247,.1);
}
h1 span { color: #ccecff; }
.hero-copy {
  max-width: 720px; margin: 0 auto; color:#a8bbca; font-size:18px; line-height:1.75;
}
.hero-actions { display:flex; justify-content:center; gap:14px; margin-top:32px; }
.btn {
  display:inline-flex; justify-content:center; align-items:center;
  min-height:48px; padding: 0 23px; border:1px solid transparent;
  text-transform: uppercase; letter-spacing:1.4px; font-size:12px; font-weight:800;
  transition:.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, #57bbef, #247fb7);
  color:#03101a; box-shadow: 0 10px 34px rgba(58,168,232,.22);
}
.btn-secondary { border-color:rgba(255,255,255,.18); background:rgba(5,10,16,.5); }
.btn-discord { background:#5865f2; }
.full { width:100%; margin-top: 24px; opacity:.72; cursor:not-allowed; }

.status-strip {
  margin: 70px auto 0;
  max-width: 980px;
  border:1px solid var(--line);
  background: rgba(4,11,17,.7);
  backdrop-filter: blur(16px);
  display:grid;
  grid-template-columns: repeat(4,1fr);
  box-shadow: var(--shadow);
}
.status-item { min-height:86px; padding:18px 22px; text-align:left; border-right:1px solid var(--line); display:flex; flex-direction:column; justify-content:center; }
.status-item:last-child { border-right:0; }
.status-item small { color:#6d8599; font-size:9px; letter-spacing:1.6px; margin-bottom:7px; }
.status-item strong { font-size:13px; letter-spacing:.5px; }
.status-item:first-child { flex-direction:row; align-items:center; justify-content:flex-start; gap:12px; }
.status-dot { width:9px; height:9px; border-radius:50%; background:#59dd88; box-shadow:0 0 16px #59dd88; }

.section { width:min(1120px, calc(100% - 40px)); margin:0 auto; padding:110px 0; }
.section-heading { max-width:720px; margin-bottom:42px; }
.section-heading h2, .connect-layout h2, .community h2 { font-size:clamp(34px,5vw,54px); margin-bottom:14px; }
.section-heading > p:last-child, .muted { color:var(--muted); line-height:1.75; }

.feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.card {
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(14,29,45,.76), rgba(6,13,21,.86));
  box-shadow: var(--shadow);
}
.feature-card { padding:30px 25px; min-height:250px; }
.feature-card .icon { font-size:28px; color:var(--ice); margin-bottom:26px; }
.feature-card h3 { font-size:20px; margin-bottom:12px; }
.feature-card p, .news-card p { color:var(--muted); line-height:1.65; font-size:14px; }

.dark-panel {
  width:100%;
  max-width:none;
  padding:100px max(20px, calc((100vw - 1120px)/2));
  background:
    linear-gradient(90deg, rgba(7,17,27,.97), rgba(10,25,39,.91)),
    radial-gradient(circle at 80% 30%, rgba(58,168,232,.16), transparent 40%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.connect-layout { display:grid; grid-template-columns:1.1fr .9fr; gap:80px; align-items:center; }
.steps { margin-top:32px; display:grid; gap:12px; }
.step { display:flex; gap:18px; align-items:center; border-top:1px solid var(--line); padding:18px 0 6px; }
.step > span { color:var(--ice); font:700 12px Cinzel; letter-spacing:2px; }
.step strong { font-family:Cinzel,serif; }
.step p { margin:5px 0 0; color:var(--muted); font-size:13px; }

.connect-card { padding:30px; }
.code-line { display:flex; gap:10px; }
.code-line code { flex:1; overflow:auto; padding:14px; background:#03080d; border:1px solid var(--line); color:#b9e7ff; }
.code-line button { border:1px solid var(--line); background:#132537; color:white; padding:0 14px; cursor:pointer; }
.server-specs { margin-top:20px; }
.server-specs div { display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid rgba(133,210,255,.1); font-size:13px; }
.server-specs span { color:var(--muted); }

.row-heading { display:flex; max-width:none; justify-content:space-between; align-items:end; }
.text-link { color:var(--ice); font-size:13px; }
.news-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:16px; }
.news-card { overflow:hidden; }
.news-body { padding:24px; }
.news-card h3 { margin:12px 0; font-size:20px; }
.news-card time { color:#62778a; font-size:11px; }
.tag { color:var(--ice); text-transform:uppercase; letter-spacing:1.4px; font-size:10px; font-weight:800; }
.news-art {
  height:210px; display:grid; place-items:center;
  background:
    radial-gradient(circle, rgba(115,207,255,.2), transparent 37%),
    linear-gradient(135deg,#13293c,#07111a);
  border-bottom:1px solid var(--line);
  color:#a9def8; font:700 28px Cinzel; letter-spacing:5px;
}

.community {
  padding:110px 20px;
  text-align:center;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background: radial-gradient(circle at center, rgba(58,168,232,.14), transparent 48%);
}
.community-inner { max-width:720px; margin:auto; }
.community p:not(.eyebrow) { color:var(--muted); margin:0 auto 28px; }

footer {
  width:min(1120px, calc(100% - 40px)); margin:auto;
  padding:42px 0; display:flex; justify-content:space-between; gap:40px;
  color:#6d8191; font-size:12px;
}
footer strong { color:#d7ecfa; font-family:Cinzel; letter-spacing:2px; }
footer p { margin:6px 0; }
.legal { max-width:560px; text-align:right; line-height:1.5; }

.snow {
  pointer-events:none; position:fixed; inset:0; z-index:99; opacity:.22;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 30%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 40% 80%, #fff 0 1px, transparent 1.5px);
  background-size: 170px 190px, 230px 270px, 310px 330px;
  animation:snowfall 18s linear infinite;
}
@keyframes snowfall { to { background-position:0 650px, 0 850px, 0 1050px; } }

@media (max-width: 900px) {
  .nav-toggle { display:block; }
  .nav {
    position:absolute; top:72px; left:20px; right:20px; padding:18px;
    display:none; flex-direction:column; align-items:stretch;
    background:#09131f; border:1px solid var(--line);
  }
  .nav.open { display:flex; }
  .feature-grid { grid-template-columns:repeat(2,1fr); }
  .connect-layout { grid-template-columns:1fr; gap:38px; }
  .news-grid { grid-template-columns:1fr 1fr; }
  .featured-news { grid-column:1/-1; }
  .status-strip { grid-template-columns:1fr 1fr; }
  .status-item:nth-child(2) { border-right:0; }
  .status-item { border-bottom:1px solid var(--line); }
}

@media (max-width: 560px) {
  .brand small { display:none; }
  h1 { font-size:46px; }
  .hero { min-height:820px; }
  .hero-actions { flex-direction:column; }
  .status-strip, .feature-grid, .news-grid { grid-template-columns:1fr; }
  .status-item { border-right:0; }
  .row-heading { display:block; }
  footer { flex-direction:column; }
  .legal { text-align:left; }
}
