/* SurviveX — site styles
   Dark canvas, ember accent, big condensed display headings, hero photo/video backdrop. */

:root {
  /* Ascended — abyss black, Genesis violet, element-cyan beam. Two colours, no rainbow. */
  --bg: #05060d;
  --bg-raise: #0a0b15;
  --bg-card: #0f101c;
  --line: #212336;
  --text: #eceaf4;
  --text-dim: #9a9db4;
  --accent: #a259ff;      /* genesis violet */
  --accent-soft: #c49aff;
  --accent-ink: #ffffff;
  --cyan: #35e0ff;        /* element beam — used sparingly */
  --jungle: #35e0ff;      /* alias for secondary hover accents */
  --tri: linear-gradient(90deg, var(--accent) 0%, var(--cyan) 100%);  /* violet → cyan beam */
  --good: #4ade80;
  --bad: #f87171;
  --radius: 12px;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; text-transform: none; }
h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--tri); opacity: 0.55;
}
.nav-inner { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand, .brand-footer { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--text); letter-spacing: -0.01em; }
.brand .brand-name, .brand-footer { color: var(--text); }
.brand .brand-name span, .brand-footer span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.brand { line-height: 1; display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 40px; height: 40px; border-radius: 9px; flex: none; }
.brand .brand-text { display: block; }
.brand .brand-name { display: block; }
.brand .brand-sub {
  display: block;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--text-dim); margin-top: 4px; white-space: nowrap;
}
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  position: relative;
  color: var(--text-dim); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.02em; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--tri); border-radius: 2px;
  transition: width 0.22s ease;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

/* sub-page header band */
.page-head {
  padding: 70px 0 50px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 400px at 70% -20%, rgba(162,89,255,0.11), transparent 60%),
    var(--bg-raise);
}
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head p { color: var(--text-dim); margin-top: 10px; max-width: 44em; }

/* rules */
.rule-block { margin-bottom: 36px; }
.rule-block h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--accent-soft); }
.rule-block p, .rule-block li { color: var(--text-dim); font-size: 0.98rem; }
.rule-block ul { margin: 8px 0 0 20px; }
.rule-block li { margin-bottom: 8px; }
.rule-block strong { color: var(--text); }

/* mods */
.mod-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }

/* full-width flagship mod card (ZUZ) */
.mod-feature {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin-bottom: 18px;
}
.mod-feature .mod-head img { width: 72px; height: 72px; }
.mod-feature h3 { font-size: 1.25rem; margin-bottom: 2px; }
.mod-feature h3 a { color: var(--text); }
.mod-feature h3 a:hover { color: var(--accent-soft); text-decoration: none; }
.mod-feature > p { color: var(--text-dim); max-width: 62em; }
.mod-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.mod-feature-grid > div { border-top: 2px solid var(--accent); padding-top: 12px; }
.mod-feature-grid h4 {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 1.05rem; color: var(--accent); margin-bottom: 6px;
}
.mod-feature-grid p { color: var(--text-dim); font-size: 0.92rem; }
@media (max-width: 720px) { .mod-feature-grid { grid-template-columns: 1fr 1fr; } }
.mod-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .15s ease; }
.mod-card:hover { border-color: #38434f; }
.mod-card h3 { font-size: 1.02rem; margin-bottom: 2px; }
.mod-card h3 a { color: var(--text); }
.mod-card h3 a:hover { color: var(--accent-soft); text-decoration: none; }
.mod-card .map-tag { display: block; }
.mod-card p { color: var(--text-dim); font-size: 0.93rem; }
.mod-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.mod-head img {
  width: 56px; height: 56px; border-radius: 10px; flex: none;
  object-fit: cover; border: 1px solid var(--line); background: var(--bg-raise);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(100deg, #a259ff, #7f6bff); color: #fff; box-shadow: 0 0 24px rgba(162,89,255,0.35); }
.btn-primary:hover { background: linear-gradient(100deg, #b374ff, #9183ff); }
.btn-ghost { color: var(--text); border: 1px solid rgba(232,230,225,0.35); background: rgba(11,13,16,0.35); }
.btn-ghost:hover { border-color: var(--text); }
.btn-discord { background: #5865F2; color: #fff; padding: 8px 18px; font-size: 0.9rem; border-radius: 999px; }
.btn-discord:hover { background: #6b76ff; }
.btn-nav { padding: 10px 26px; font-size: 0.86rem; border-radius: 999px; }


/* ---------- hero ---------- */
.hero {
  position: relative;
  margin-top: -73px;            /* hero art runs up behind the translucent nav bar */
  padding: 132px 0 120px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: #05060d;
  background-image:
    url("../img/hero.jpg"),
    radial-gradient(1100px 550px at 75% -10%, rgba(162,89,255,0.11), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(53,224,255,0.08), transparent 60%);
  background-size: cover, auto, auto;
  background-position: center 30%, center, center;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(4,4,11,0.94) 0%, rgba(4,4,11,0.74) 45%, rgba(4,4,11,0.36) 100%),
              linear-gradient(0deg, rgba(4,4,11,0.88) 0%, transparent 30%);
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(74,222,128,0.35); border-radius: 999px;
  background: rgba(11,13,16,0.55); backdrop-filter: blur(4px);
  padding: 7px 16px; margin-bottom: 26px;
  color: var(--text); font-size: 0.9rem; letter-spacing: 0.04em;
}
.hero-badge strong { color: var(--good); font-variant-numeric: tabular-nums; }
.hero h1 { font-size: clamp(3rem, 8vw, 5.4rem); margin-bottom: 20px; text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.hero h1 .accent { color: var(--accent); }
.hero-sub { color: #c6c9ce; font-size: 1.15rem; max-width: 33em; margin-bottom: 22px; text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-find { margin-top: 30px; color: var(--text-dim); font-size: 0.92rem; }
.hero-find strong { color: var(--text); }

/* ruleset chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  border: 1px solid rgba(232,230,225,0.25); border-radius: 999px;
  background: rgba(11,13,16,0.5); backdrop-filter: blur(4px);
  padding: 5px 14px; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: #c6c9ce;
}

.pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--good); flex: none;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.5); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.45); }
  70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ---------- stats strip ---------- */
.stats-strip { background: var(--bg-raise); border-bottom: 1px solid var(--line); }
.stats-inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px; padding: 30px 24px;
}
.stat { text-align: center; }
.stat strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: 2.3rem; color: var(--accent-soft); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat span { color: var(--text-dim); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- rates ---------- */
.rates-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.levels-grid { grid-template-columns: repeat(6, 1fr); margin-top: 0; }
.rates-grid + .grid-label { margin-top: 34px; }
@media (max-width: 720px) {
  .rates-grid { grid-template-columns: repeat(2, 1fr); }
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
}
.rate {
  border-top: 2px solid var(--line);
  padding: 16px 4px 0; text-align: left; transition: border-color .2s ease;
}
.rate:hover { border-image: var(--tri) 1; }
.rate strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: 2.6rem; color: var(--accent-soft); line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.rate span { color: var(--text-dim); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-head h2::after {
  content: ""; display: block; width: 68px; height: 4px; border-radius: 2px;
  background: var(--tri); margin-top: 14px;
}
.section-sub { color: var(--text-dim); margin-top: 10px; max-width: 44em; }

/* ---------- live status ---------- */
.status-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.status-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  transition: border-color .15s ease;
}
.status-card:hover { border-color: #38434f; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.status-dot.up { background: var(--good); }
.status-dot.down { background: var(--bad); }
.status-name { font-weight: 600; font-size: 0.95rem; }
.status-meta { margin-left: auto; color: var(--text-dim); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.status-meta strong { color: var(--text); font-weight: 700; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.feature {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: border-color .15s ease;
}
.feature:hover { border-color: #38434f; }
.feature h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- maps ---------- */
.grid-label {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-dim); margin: 34px 0 14px;
}
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.map-grid + .grid-label { margin-top: 44px; }
.map-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 16px;
  background: linear-gradient(160deg, var(--bg-card), var(--bg-raise));
  transition: border-color .15s ease;
  overflow: hidden;
}
.map-img {
  margin: -20px -18px 14px;             /* full-bleed banner across the card top */
  aspect-ratio: 16 / 9; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raise);
}
.map-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-card:hover { border-color: #38434f; text-decoration: none; }
a.map-card { display: block; color: inherit; }
a.map-card:hover h3 { color: var(--accent-soft); }
.map-card h3 { font-size: 1.02rem; margin-bottom: 2px; }
.map-tag { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.map-card.mod .map-tag { color: var(--accent-soft); }
.map-desc { color: var(--text-dim); font-size: 0.88rem; margin-top: 8px; }
.map-live { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.85rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.map-live strong { color: var(--text); }

/* ---------- vote ---------- */
.vote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.vote-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
}
.vote-card:hover {
  text-decoration: none; border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 24px rgba(162,89,255,0.16);
}
.vote-card span { color: var(--text-dim); font-size: 0.88rem; }
.vote-card.vote-soon { opacity: 0.45; cursor: default; }
.vote-card.vote-soon:hover { border-color: var(--line); box-shadow: none; }

/* ---------- join ---------- */
.join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.join-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.join-card h3 { font-size: 1.02rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.join-card p { color: var(--text-dim); font-size: 0.95rem; }
.step {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; flex: none;
}

/* ---------- final cta / footer ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 26px; }
.cta-final .hero-cta { justify-content: center; }

.footer { border-top: 1px solid var(--line); padding: 52px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 8px;
}
.footer h4 {
  font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-dim); margin-bottom: 14px;
}
.footer p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.7; margin-bottom: 10px; }
.footer p strong { color: var(--text); }
.footer p a { color: var(--accent-soft); }
.footer p a:hover { text-decoration: underline; }
.brand-footer { margin-bottom: 12px; }
.footer-tag { max-width: 24em; }
@media (max-width: 720px) { .footer-grid { gap: 26px; } }
/* bottom legal bar — centred, separated from the link columns by a hairline */
.footer-grid + .wrap { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 26px; }
.footer-fine, .footer-legal { text-align: center; }
.footer-fine { font-size: 0.78rem; color: var(--text-dim); opacity: 0.75; margin-bottom: 6px; }
.footer-legal { font-size: 0.84rem; margin: 2px 0 10px; }
.footer-legal a { color: var(--text-dim); margin: 0 6px; }
.footer-legal a:hover { color: var(--accent-soft); text-decoration: none; }

/* ---------- mobile menu ---------- */
.nav-toggle {
  display: none; flex: none; margin-left: 4px;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px;
  background: var(--text); transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-inner { gap: 14px; }
  .brand .brand-sub { display: none; }
  .btn-nav { margin-left: auto; padding: 9px 18px; }
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0; margin-left: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 14px;
  }
  .nav.open .nav-links a {
    padding: 14px 0; font-size: 1.05rem; color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links a:last-child { border-bottom: none; }
  .nav.open .nav-links a::after { display: none; }
  .nav.open .nav-links a.active { color: var(--accent-soft); }
  .hero { padding: 80px 0 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- hero: full-bleed rotating in-game backdrop ---------- */
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.4s ease;
}
.hero-slide.on { opacity: 1; animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom {
  0% { transform: scale(1.01); }
  100% { transform: scale(1.06); }
}
.hero-content { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
/* sub-page hero (servers) — same treatment, shorter */
.hero-page { padding: 150px 0 80px; }
.hero-page h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); margin-bottom: 14px; }

/* servers hero: imagery runs behind the live server list, cards go liquid glass */
.hero-servers { padding: 160px 0 90px; }
.hero-servers .hero-slide { filter: saturate(1.12) contrast(1.06); }
.hero-servers .hero-shade {
  /* firmer even dim so hazy/bright slides don't white out, deeper pocket behind the headline */
  background: linear-gradient(rgba(5,5,10,0.44), rgba(5,5,10,0.44)),
              radial-gradient(1000px 520px at 18% 10%, rgba(5,5,10,0.55), transparent 62%),
              linear-gradient(0deg, rgba(5,6,13,0.5) 0%, transparent 14%);
}
.hero-status { position: relative; z-index: 2; margin-top: 70px; }
.hero-status .section-head { margin-bottom: 28px; }
.hero-status .section-sub { color: var(--text); opacity: 0.8; text-shadow: 0 1px 10px rgba(0,0,0,0.8); }
.hero-servers .status-card {
  /* peepee-button glass: see-through, soft blur, thin bright edge — no milky fill */
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.hero-servers .status-card:hover { border-color: rgba(255, 255, 255, 0.7); }
.hero-servers .status-name { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.hero-servers .status-meta { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.hero-servers .status-meta strong { color: #fff; }
.hero-copy { max-width: 620px; }
.hero-caption {
  display: block; max-width: 460px; text-align: right; text-decoration: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-caption.show { opacity: 1; transform: none; }
.hero-caption:hover { text-decoration: none; }
.hero-caption-kicker {
  display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); margin-bottom: 8px;
}
.hero-caption-tag {
  display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 2.5rem; line-height: 1.02; color: var(--accent);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.85); margin-bottom: 8px;
  transition: opacity 0.35s ease;
}
.hero-caption-text {
  display: block; color: var(--text); font-size: 1.08rem; line-height: 1.5;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.9);
  transition: opacity 0.35s ease;
}
.hero-caption.swap .hero-caption-tag,
.hero-caption.swap .hero-caption-text { opacity: 0; }

/* ---------- full-bleed mosaic wall ---------- */
.section-flush { padding-bottom: 0; }
.mosaic {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 5px; margin-top: 10px;
}
.mosaic-tile {
  position: relative; display: block; overflow: hidden;
  grid-column: span 2; min-height: 300px;
  background-size: cover; background-position: center;
  color: inherit; text-decoration: none;
  transition: filter 0.3s ease;
}
.mosaic-tile.tile-wide { grid-column: span 3; min-height: 420px; }
.mosaic-tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 10, 0.05) 30%, rgba(6, 8, 10, 0.9) 100%);
  transition: background 0.3s ease;
}
.mosaic-tile:hover { filter: brightness(1.12); text-decoration: none; }

/* expedition-marker map badge — glowing beacon dot, colour-coded per map */
.mosaic-loc {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(5, 6, 13, 0.55); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px; padding: 5px 13px 5px 11px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: #fff; white-space: nowrap;
}
.mosaic-loc::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
}
.loc-island::before   { background: #5dd97a; box-shadow: 0 0 9px #5dd97a; }
.loc-center::before   { background: #35e0ff; box-shadow: 0 0 9px #35e0ff; }
.loc-scorched::before { background: #ffb547; box-shadow: 0 0 9px #ffb547; }
.mosaic-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px;
  transform: translateY(6px); transition: transform 0.3s ease;
}
.mosaic-tile:hover .mosaic-cap { transform: translateY(0); }
.mosaic-cap h3 {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 1.6rem; line-height: 1.05; color: #fff; margin-bottom: 4px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}
.mosaic-cap p { color: rgba(255, 255, 255, 0.82); font-size: 0.93rem; margin: 0; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9); }

/* ---------- cinematic video strip ---------- */
.video-strip {
  position: relative; display: block; margin-top: 5px; min-height: 340px;
  background-size: cover; background-position: center 30%;
  color: inherit; text-decoration: none; overflow: hidden;
}
.video-strip:hover { text-decoration: none; }
.video-strip-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 8, 10, 0.92) 0%, rgba(6, 8, 10, 0.45) 55%, rgba(6, 8, 10, 0.2) 100%);
}
.video-strip-inner {
  position: relative; display: flex; align-items: center; gap: 26px;
  min-height: 340px;
}
.video-play {
  width: 84px; height: 84px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(6, 8, 10, 0.45); position: relative;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.video-play::after {
  content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%);
  border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent;
}
.video-strip:hover .video-play { transform: scale(1.1); background: var(--accent); border-color: var(--accent); }
.video-strip-kicker {
  display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent); margin-bottom: 4px;
}
.video-strip h3 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; color: #fff; margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

@media (max-width: 980px) {
  .hero-content { flex-direction: column; align-items: flex-start; }
  .hero-caption { text-align: left; }
  .mosaic-tile, .mosaic-tile.tile-wide { grid-column: span 6; min-height: 260px; }
}

/* ---------- hero logo & kicker ---------- */
.hero-kicker-row { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.hero-kicker-row .hero-kicker { margin-bottom: 0; font-size: 1.5rem; letter-spacing: 0.1em; }
.hero-logo {
  width: 110px; height: 110px; flex: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(162, 89, 255, 0.35));
}
@media (max-width: 720px) {
  .hero-logo { width: 76px; height: 76px; }
  .hero-kicker-row .hero-kicker { font-size: 1.1rem; }
}

.hero-kicker {
  font-family: var(--display); font-weight: 700;
  letter-spacing: 0.14em; font-size: 1.05rem; color: var(--accent);
  margin-bottom: 10px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}
.hero h1 { text-transform: none; }
.hero h1 .accent {
  background: var(--tri);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--accent);
}

/* ---------- PvP / raid protection facts ---------- */
.pvp-truths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 46px; }
.truth {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px;
}
.truth::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--tri);
}
.truth h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.truth p { color: var(--text-dim); font-size: 1rem; margin: 0; }
@media (max-width: 900px) { .pvp-truths { grid-template-columns: 1fr; } }

.orp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.orp-fact { border-top: 2px solid var(--line); padding-top: 18px; transition: border-color 0.2s ease; }
.orp-fact:hover { border-image: var(--tri) 1; }
.orp-fact strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: 3.4rem; line-height: 1; color: var(--accent-soft); margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.orp-fact h3 { font-size: 1rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--display); color: var(--text); }
.orp-fact p { color: var(--text-dim); font-size: 0.93rem; }
.orp-grid-6 { grid-template-columns: repeat(3, 1fr); }
.orp-note { margin-top: 34px; color: var(--text-dim); font-size: 0.95rem; max-width: 60em; }
.orp-detail { margin-top: 44px; }
.orp-detail ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 44px;
}
.orp-detail li { position: relative; padding-left: 18px; color: var(--text-dim); font-size: 0.95rem; }
.orp-detail li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.orp-detail strong { color: var(--text); }
.orp-detail code, .feature code {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 6px;
  padding: 1px 7px; font-size: 0.85em; color: var(--accent-soft);
}
@media (max-width: 900px) { .orp-detail ul { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .orp-grid, .orp-grid-6 { grid-template-columns: 1fr 1fr; } }

/* ---------- plugin stack ---------- */
.plugin-band {
  background: var(--bg-raise);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 84px 0;
}
.plugin-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.plugin-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0;
  color: inherit; text-decoration: none;
  transition: transform 0.22s ease;
}
.plugin-item:hover { transform: translateY(-6px); text-decoration: none; }
.plugin-item img, .plugin-mono {
  width: 84px; height: 84px; border-radius: 20px; flex: none; margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.22s ease;
}
.plugin-item:hover img, .plugin-item:hover .plugin-mono {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 26px rgba(162, 89, 255, 0.4);
}
.plugin-mono {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--accent);
}
.plugin-item strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--text); line-height: 1.25; margin-bottom: 4px; }
.plugin-item span:not(.plugin-mono) { display: block; font-size: 0.9rem; color: var(--text-dim); max-width: 20em; }
@media (max-width: 900px) { .plugin-row { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; } }

/* ---------- community ---------- */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.community-item { border-top: 2px solid var(--line); padding-top: 18px; transition: border-color 0.2s ease; }
.community-item:hover { border-top-color: var(--jungle); }
.community-item h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.15rem; margin-bottom: 8px; }
.community-item p { color: var(--text-dim); font-size: 0.95rem; }
.community-cta { margin-top: 36px; }
@media (max-width: 900px) { .community-grid { grid-template-columns: 1fr; } }

/* scroll-in reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.08s; }
.reveal:nth-child(5) { transition-delay: 0.16s; }
.reveal:nth-child(6) { transition-delay: 0.24s; }

/* respect users who turn off motion — pause decorative video */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .pulse { animation: none; }
  .hero-slide, .hero-caption, .mosaic-tile, .mosaic-cap, .video-play { transition: none; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
