/* ============================================================
   World of Wonders — Homepage
   Theme: bold, theme-park, modern MC server site
   ============================================================ */

:root {
  --accent: #e63756;
  --accent-bright: #ff5577;
  --accent-rgb: 229 55 86;

  --bg-deep: #0b0719;
  --bg-base: #15102a;
  --bg-elev: #221b3d;
  --bg-elev-2: #2d2450;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f0ff;
  --text-mute: #a89cc4;
  --text-dim: #6c628a;
  --gold: #f5b942;
  --green: #4ade80;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --container: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);

  --font-display: "Newsreader", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Framed page — subtle solid outer border. A separate inner SOLID vertical
   rail (see .frame__body) sits indented by a left gutter, leaving a strip
   of breathing room on the far left like the wireframe. The vertical rail
   is "split" by a star at every horizontal divider intersection. */
.frame {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  background: var(--bg-base);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  /* Shared tokens for both rail & dividers (same color/weight so they
     read as one ruled grid). Horizontal lines are dashed, vertical is solid. */
  --rule-color: rgba(255, 255, 255, 0.30);
  --rule-dash:  10px;   /* dash length */
  --rule-gap:   8px;    /* gap between dashes */
  --rule-thick: 1px;
  --rail-x:     clamp(52px, 6.4vw, 92px); /* x of the vertical rail from frame left */
}

/* The "body" region holds everything between the hero and the footer.
   It owns the vertical rail — so the rail visually starts at the first
   <StarDivider /> star and ends at the last one. */
.frame__body {
  position: relative;
}
.frame__body::before {
  content: "";
  position: absolute;
  left: var(--rail-x);
  top: 0;
  bottom: 0;
  width: var(--rule-thick);
  background: var(--rule-color);
  pointer-events: none;
  z-index: 1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
em { font-style: italic; font-family: var(--font-display); font-weight: 500; }

/* ------------------------------------------------------------
   Re-usable pieces
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 10px 30px -10px rgb(var(--accent-rgb) / 0.6);
}
.btn--primary:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 14px 36px -10px rgb(var(--accent-rgb) / 0.75);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.22); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag--red { background: var(--accent); color: white; }
.tag--gold { background: var(--gold); color: #2a1c00; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--green {
  background: var(--green);
  box-shadow: 0 0 0 3px rgb(74 222 128 / 0.18), 0 0 12px rgb(74 222 128 / 0.6);
}

/* ------------------------------------------------------------
   Server pill — IP + version chip (SQUARE corners)
   ------------------------------------------------------------ */

.server-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: var(--accent);
  border-radius: 4px;
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 13px;
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 14px 40px -12px rgb(var(--accent-rgb) / 0.7);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.server-pill:hover { transform: translateY(-2px); }
.server-pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  margin: 0 0 0 16px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 0 10px #4ade80;
}
.server-pill__ip   { padding: 12px 16px 12px 12px; letter-spacing: -0.01em; }
.server-pill__ver  {
  padding: 12px 18px;
  border-left: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.18);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.server-pill.is-compact {
  font-size: 12px;
  box-shadow: 0 6px 20px -8px rgb(var(--accent-rgb) / 0.6);
}
.server-pill.is-compact .server-pill__dot { margin-left: 12px; }
.server-pill.is-compact .server-pill__ip  { padding: 8px 12px 8px 10px; }
.server-pill.is-compact .server-pill__ver { padding: 8px 14px; }

/* Minimal — just the red box with the IP, no dot, no version chip.
   Used both on the hero (full-size) and in the sticky nav (compact). */
.server-pill.is-minimal .server-pill__ip { padding: 12px 20px; }
.server-pill.is-minimal.is-compact .server-pill__ip { padding: 8px 14px; }

/* ------------------------------------------------------------
   Logo
   ------------------------------------------------------------ */

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo img {
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.5));
}

/* ------------------------------------------------------------
   Top nav (above hero) and sticky nav
   ------------------------------------------------------------ */

.topnav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  padding: 22px var(--pad-x);
}
.topnav__list {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
.topnav__list a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 4px;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.topnav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px !important;
}
.topnav__icon::after { display: none; }
.topnav__list a:hover { color: white; }
.topnav__list a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transition: left 0.2s ease, right 0.2s ease;
}
.topnav__list a:hover::after { left: 0; right: 0; }

.stickynav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(11, 7, 25, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.stickynav.is-visible { transform: translateY(0); }
.stickynav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
}
.stickynav__brand {
  display: flex;
  align-items: center;
  height: 44px;
  overflow: hidden;
}
.stickynav__logo {
  /* Show whole logo at small height; descriptor reads as a faint underline */
  height: 34px;
  width: auto;
  display: block;
}
.stickynav__list {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
}
.stickynav__list a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.stickynav__list a:hover { color: white; }
.stickynav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-mute);
  transition: all 0.15s ease;
}
.stickynav__icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ------------------------------------------------------------
   Horizontal divider — dashed line that meets the vertical rail
   at a star. Inside .frame__body the divider switches to absolute
   positioning so the star anchors exactly on --rail-x and the
   dashed line continues from there to the frame's right edge.
   Outside the body it falls back to a flex layout (unused now but
   kept so the component is portable).
   ------------------------------------------------------------ */

.divider {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--rule-color, var(--line-strong));
  z-index: 3;
}
.divider__line {
  flex: 1;
  height: var(--rule-thick, 1px);
  background-image: linear-gradient(
    to right,
    var(--rule-color) 0,
    var(--rule-color) var(--rule-dash),
    transparent var(--rule-dash),
    transparent calc(var(--rule-dash) + var(--rule-gap))
  );
  background-size: calc(var(--rule-dash) + var(--rule-gap)) var(--rule-thick, 1px);
  background-repeat: repeat-x;
  background-position: 0 center;
}
.divider__star {
  color: var(--rule-color, var(--text-mute));
  flex-shrink: 0;
}
.divider__star--center { display: none; }
.divider__star--edge {
  width: 16px;
  height: 16px;
  opacity: 1;
}

/* === Body context: one star at the rail, dashed line edge-to-edge === */
.frame__body .divider {
  display: block;
  height: 22px;
}
.frame__body .divider__line {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;                              /* extend full frame width */
  right: 0;
  height: var(--rule-thick);
  margin: 0;
}

/* Anchor the FIRST edge star on the rail. The dashed horizontal line
   and the solid vertical rail both pass through this point — the star
   has a solid bg punched out so the lines visibly "split" at the star.
   Hide the rest of the original component's slots. */
.frame__body .divider__star--edge:first-of-type {
  display: block;
  position: absolute;
  top: 50%;
  left: var(--rail-x);
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 3px;
  background: var(--bg-base);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 6px rgb(var(--accent-rgb) / 0.18));
  z-index: 2;
}
.frame__body .divider__star--edge:last-of-type { display: none; }

/* Likewise the rail itself crosses behind the star — give the rail
   pseudo-element a lower z-index than the star (already does, but
   document it here). */

/* === Section content lives entirely to the RIGHT of the rail, with
   breathing room so it never crosses the vertical line. Sections drop
   their own centering inside the body — they left-anchor at the rail. ==== */
.frame__body main > .section,
.frame__body main > .announce,
.frame__body main > .serverinfo {
  margin-left: var(--rail-x);
  margin-right: 0;
  max-width: none;
  width: auto;
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px var(--pad-x) 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
}
/* Video background — sits below the fallback gradient via z-index */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  /* Slight blur + saturation pop to feel painterly behind the logo */
  filter: saturate(1.05);
}
/* Placeholder Minecraft-y park panorama (used as fallback if video fails) */
.hero__sky {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, #6b7eb8 0%, #3a4575 40%, #1c1a3a 75%, var(--bg-base) 100%);
}
.hero__vignette {
  position: absolute; inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 0%, rgba(8, 10, 38, 0.55) 70%, rgba(8, 10, 38, 0.85) 100%),
    linear-gradient(180deg, rgba(8, 10, 38, 0.35) 0%, transparent 25%, transparent 70%, rgba(8, 10, 38, 0.9) 100%);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  z-index: 1;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-mute);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50%      { transform: translate(-50%, 6px); opacity: 1; }
}

/* ------------------------------------------------------------
   Section scaffolding
   ------------------------------------------------------------ */

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 88px var(--pad-x) 32px;
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.section__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.section__title em {
  color: var(--accent-bright);
  font-style: italic;
}
.section__more {
  color: var(--text-mute);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.section__more:hover { color: white; border-color: var(--line-strong); }
.section__foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ------------------------------------------------------------
   ANNOUNCEMENT
   ------------------------------------------------------------ */

.announce {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--pad-x) 64px;
  isolation: isolate;
  overflow: hidden;
}
.announce__bg {
  position: absolute; inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: var(--r-xl);
}
.announce__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
}
.announce__orb--a {
  /* crimson core, like the video */
  width: 620px; height: 620px;
  left: -120px; top: 8%;
  background: radial-gradient(circle, #d33024 0%, #e63756 30%, transparent 70%);
  opacity: 0.7;
  animation: orbA 22s ease-in-out infinite;
}
.announce__orb--b {
  /* warm amber halo */
  width: 560px; height: 560px;
  left: -40px; top: 30%;
  background: radial-gradient(circle, #f0b240 0%, #e89033 40%, transparent 75%);
  opacity: 0.55;
  animation: orbB 26s ease-in-out infinite;
}
.announce__orb--c {
  /* soft sky-white halo */
  width: 420px; height: 420px;
  left: 35%; top: -10%;
  background: radial-gradient(circle, #e0e8f5 0%, #b8c8e2 50%, transparent 75%);
  opacity: 0.4;
  animation: orbC 30s ease-in-out infinite;
}
.announce__orb--d {
  /* deep ultramarine pull on the right */
  width: 700px; height: 700px;
  right: -180px; top: 20%;
  background: radial-gradient(circle, #1a1f7a 0%, #0b0f4a 50%, transparent 75%);
  opacity: 0.75;
  mix-blend-mode: normal;
  animation: orbA 28s ease-in-out infinite reverse;
}
@keyframes orbA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 80px) scale(1.08); }
}
@keyframes orbB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, 60px) scale(0.95); }
}
@keyframes orbC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(80px, -50px) scale(1.08); }
}
.announce__grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.5;
}

.announce__card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(180deg, rgba(34, 27, 61, 0.6) 0%, rgba(21, 16, 42, 0.6) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.announce__media { position: relative; }
.announce__poster {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 70%, #1a6b5e 0%, #0f3b3a 50%, #061f1e 100%);
  border: 1px solid rgba(245, 230, 163, 0.2);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(245, 230, 163, 0.08) inset;
}
.announce__poster-frame {
  position: absolute; inset: 0;
}
.announce__poster-arch {
  position: absolute;
  left: 15%; right: 15%;
  top: 20%; bottom: 8%;
  border: 2px solid rgba(245, 230, 163, 0.25);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  background:
    linear-gradient(180deg, rgba(245, 230, 163, 0.06) 0%, transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(0, 0, 0, 0.18) 18px 19px);
}
.announce__poster-violin {
  position: absolute;
  left: 50%; top: 40%;
  width: 70px; height: 140px;
  transform: translateX(-50%) rotate(-12deg);
  background:
    radial-gradient(ellipse at 50% 30%, #f5e6a3 0%, #c4a050 60%, #6e5224 100%);
  clip-path: ellipse(35% 50% at 50% 30%);
  filter: drop-shadow(0 10px 20px rgba(245, 230, 163, 0.3));
}
.announce__poster-glow {
  position: absolute;
  left: 50%; top: 55%;
  width: 200px; height: 200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 230, 163, 0.4) 0%, transparent 60%);
  filter: blur(20px);
  animation: posterGlow 4s ease-in-out infinite;
}
@keyframes posterGlow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}
.announce__poster-label {
  position: absolute;
  left: 14px; bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
}

.announce__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 18px;
}
.announce__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.2);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0.5); }
  50%      { box-shadow: 0 0 0 8px rgb(var(--accent-rgb) / 0); }
}
.announce__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.announce__title em {
  color: var(--accent-bright);
  font-style: italic;
  text-shadow: 0 0 30px rgb(var(--accent-rgb) / 0.5);
}
.announce__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0 0 32px;
  max-width: 52ch;
  text-wrap: pretty;
}
.announce__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ------------------------------------------------------------
   SERVER INFO ROW
   ------------------------------------------------------------ */

.serverinfo {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--pad-x);
  overflow: hidden;
}
.serverinfo__bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, rgb(var(--accent-rgb) / 0.07) 0%, transparent 70%);
}
.serverinfo__sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.04) 50%, transparent 70%);
  animation: sweep 8s ease-in-out infinite;
}
@keyframes sweep {
  0%, 100% { transform: translateX(-30%); }
  50%      { transform: translateX(30%); }
}
.serverinfo__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(180deg, rgba(45, 36, 80, 0.5) 0%, rgba(34, 27, 61, 0.5) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 22px 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.serverinfo__cell {
  display: flex;
  align-items: center;
  gap: 14px;
}
.serverinfo__cell--center {
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.serverinfo__cell--right { justify-content: flex-end; }
.serverinfo__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mute);
}
.serverinfo__k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.serverinfo__v {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.serverinfo__ip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.serverinfo__mono {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.serverinfo__copy {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-mute);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  transition: all 0.15s ease;
}
.serverinfo__copy:hover { background: var(--accent); border-color: var(--accent); color: white; }
.serverinfo__ver {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}
.serverinfo__hint {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ------------------------------------------------------------
   NEWS
   ------------------------------------------------------------ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.newscard {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.newscard:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.newscard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.newscard__art {
  position: absolute; inset: 0;
}
.newscard__art--forest {
  background:
    linear-gradient(180deg, #2a4a2a 0%, #1a3320 50%, #0f1f12 100%),
    radial-gradient(circle at 50% 80%, #3a6b3a 0%, transparent 50%);
}
.newscard__art--neon {
  background:
    linear-gradient(135deg, #0a0530 0%, #1a0d4a 50%, #3a0a4a 100%);
}
.newscard__art--violet {
  background:
    linear-gradient(160deg, #2a1a4a 0%, #1a0e2d 60%, #0a0518 100%);
}
.newscard__art--ember {
  background:
    linear-gradient(180deg, #4a2010 0%, #2a1208 60%, #1a0a04 100%);
}
.newscard__art-glow {
  position: absolute; inset: 0;
  mix-blend-mode: screen;
}
.newscard__tags {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
}
.newscard__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.newscard__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.newscard__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: auto;
}
.newscard__arrow {
  transition: transform 0.2s ease;
  color: var(--accent-bright);
}
.newscard:hover .newscard__arrow { transform: translateX(4px); }

/* ------------------------------------------------------------
   RIDES
   ------------------------------------------------------------ */

.rides__panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.35fr;
  gap: 32px;
  align-items: stretch;
}
.rides__left {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.rides__icon-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rides__icon-track {
  display: flex;
  gap: 12px;
  padding: 8px;
}
.rides__icon-arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s, background 0.2s;
}
.rides__icon-arrow:hover { background: var(--accent); color: #fff; }
.rides__icon-arrow.is-hidden { opacity: 0; pointer-events: none; }
.rideicon {
  position: relative;
  width: 64px; height: 64px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.18s ease;
}
.rideicon:hover { transform: translateY(-2px); }
.rideicon__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rideicon.is-active .rideicon__ring {
  border-color: var(--accent-bright);
  box-shadow:
    0 0 0 1px rgb(var(--accent-rgb) / 0.25),
    0 10px 26px -10px rgb(var(--accent-rgb) / 0.6);
}
.rideicon__glyph {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 8px 20px -10px rgba(0, 0, 0, 0.5);
  position: relative;
  filter: saturate(1.1);
}
.rideicon__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  image-rendering: pixelated;
}
.rideicon__glyph--sm {
  width: 36px; height: 36px;
  font-size: 16px;
}
.rideicon__new {
  position: absolute;
  top: -10px; right: -12px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 6px;
  z-index: 2;
}

.rides__desc {
  flex: 1;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  animation: fadeInUp 0.4s ease both;
  min-height: 180px;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rides__crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.rides__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.rides__blurb {
  margin: 0;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.6;
}

.rides__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rides__more {
  font-family: var(--font-mono);
  text-transform: lowercase;
  letter-spacing: 0.05em;
}
.rides__progress {
  display: flex;
  gap: 6px;
}
.rides__dot {
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--line-strong);
  transition: background 0.3s ease, width 0.3s ease;
}
.rides__dot.is-active {
  background: var(--accent-bright);
  width: 32px;
}

.rides__right { min-width: 0; }
.rides__render {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  height: 100%;
  animation: fadeInScale 0.5s ease both;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}
.rides__render-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  animation: rideIn 0.5s ease both;
}
.rides__render-art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}
.rides__render-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 4px 4px;
  opacity: 0.4;
}
.rides__render-arch {
  position: absolute;
  left: 20%; right: 20%;
  top: 18%; bottom: 22%;
  border: 2px solid;
  border-radius: 50% 50% 0 0 / 28% 28% 0 0;
}
.rides__render-figure {
  position: absolute;
  left: 50%;
  bottom: 22%;
  width: 80px; height: 140px;
  transform: translateX(-50%);
  border-radius: 40px 40px 0 0;
  filter: blur(1px);
}
.rides__render-label {
  position: absolute;
  left: 18px; bottom: 16px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
}
.rides__render-tag {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(11, 7, 25, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rides__render-park {
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rides__render-name {
  font-size: 13px;
  font-weight: 600;
  margin-top: 1px;
}

/* ------------------------------------------------------------
   ABOUT
   ------------------------------------------------------------ */

.section--about { padding-top: 110px; padding-bottom: 60px; }
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.about__media { display: flex; }
.about__photo {
  position: relative;
  flex: 1;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, #6b7eb8 0%, #2a3a6b 60%, #0e1a3a 100%);
  border: 1px solid var(--line-strong);
}
.about__photo-grad {
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}
.about__photo-silhouettes {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
}
.about__photo-silhouettes span {
  position: absolute;
  bottom: 8%;
  width: 7%;
  background: linear-gradient(180deg, #1a1a2e 0%, #0a0a1a 100%);
  border-radius: 50% 50% 12% 12% / 22% 22% 12% 12%;
}
.about__photo-label {
  position: absolute;
  left: 16px; bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  z-index: 1;
}
.about__body { display: flex; flex-direction: column; gap: 18px; }
.about__title-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 28px;
}
.about__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.about__headline em {
  font-style: italic;
  color: var(--accent-bright);
}
.about__desc-card {
  flex: 1;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}
.about__lede {
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  text-wrap: pretty;
}
.about__more {
  align-self: flex-start;
  font-family: var(--font-mono);
  text-transform: lowercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  color: var(--accent-bright);
  text-decoration: none;
  border-bottom: 1px solid rgb(var(--accent-rgb) / 0.4);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.about__more:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ------------------------------------------------------------
   TEAM
   ------------------------------------------------------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.teamcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 8px;
  border-radius: var(--r-md);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.teamcard:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.teamcard__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Minecraft head — pixel-stack aesthetic */
.mchead {
  width: 64px; height: 64px;
  image-rendering: pixelated;
  position: relative;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4));
}
.mchead__face {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 4px;
  border-top: 4px solid rgba(0, 0, 0, 0.18);
  border-left: 4px solid rgba(0, 0, 0, 0.08);
  border-right: 4px solid rgba(0, 0, 0, 0.22);
  border-bottom: 4px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.mchead__hair {
  position: absolute;
  left: -4px; right: -4px; top: -4px;
  height: 30%;
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
}
.mchead__eyes {
  position: absolute;
  left: 18%; right: 18%;
  display: flex;
  justify-content: space-between;
}
.mchead__eyes span {
  width: 18%; aspect-ratio: 1;
  background: #1a1a2e;
  box-shadow: inset 0 -40% 0 #f5f0ff;
}
.mchead__mouth {
  position: absolute;
  left: 32%; right: 32%;
  top: 62%;
  height: 8%;
  background: rgba(60, 30, 30, 0.6);
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */

.footer {
  margin-top: 0;
  background: var(--bg-deep);
  border-top: none;
}
.footer__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--pad-x) 48px;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__brand .logo { width: 240px; }
.footer__slogan {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 32ch;
}
.footer__social {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.footer__social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  transition: all 0.15s ease;
}
.footer__social a:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--text-mute);
  padding: 5px 0;
  transition: color 0.15s ease;
}
.footer__cols a:hover { color: white; }
.footer__bottom {
  border-top: 1px solid var(--line);
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--text-dim);
}
.footer__legal { max-width: 60ch; text-align: right; }

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 960px) {
  .announce__card { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .announce { padding: 24px var(--pad-x); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .rides__panel { grid-template-columns: 1fr; }
  .rides__render-art, .rides__render-img { min-height: 280px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal { text-align: left; }
  .serverinfo__row { grid-template-columns: 1fr; gap: 16px; padding: 18px 22px; }
  .serverinfo__cell--right { justify-content: flex-start; }
  .topnav__list { gap: 18px; flex-wrap: wrap; }
  .stickynav__inner { grid-template-columns: auto 1fr; }
  .stickynav .server-pill { display: none; }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .stickynav__list { display: none; }
}
