/* =========================================================
   龙铸之境 · RSR PLUS
   Theme colors, spacing and server presentation are grouped
   here so the site remains easy to customize.
   ========================================================= */

:root {
  color-scheme: dark;
  --ink-0: #050403;
  --ink-1: #090706;
  --ink-2: #100b09;
  --ink-3: #19100d;
  --panel: rgba(20, 14, 11, 0.72);
  --panel-strong: rgba(19, 12, 9, 0.92);
  --gold-pale: #f2d797;
  --gold: #c99a46;
  --gold-deep: #765026;
  --ember: #e75c2d;
  --flame: #a92920;
  --flame-deep: #521016;
  --purple: #5f315f;
  --text: #f1e9da;
  --muted: #a89a86;
  --muted-dark: #6d6256;
  --line: rgba(202, 158, 78, 0.22);
  --line-bright: rgba(224, 177, 85, 0.58);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: Inter, "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --section-space: clamp(6.5rem, 10vw, 10rem);
  --nav-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 22px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(105, 25, 20, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 44%, rgba(83, 37, 85, 0.1), transparent 36rem),
    linear-gradient(180deg, var(--ink-0), #080605 45%, #060504);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.013) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, #000 15%, transparent 84%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  box-shadow: inset 0 0 150px rgba(0, 0, 0, .82);
}

::selection { background: rgba(207, 129, 49, .42); color: #fff8e7; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .7;
}

.page-ambience { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ember { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .14; }
.ember-a { width: 32rem; height: 32rem; left: -15rem; top: 40%; background: #8e211a; animation: ambience-drift 14s ease-in-out infinite alternate; }
.ember-b { width: 28rem; height: 28rem; right: -15rem; top: 10%; background: #713923; animation: ambience-drift 17s ease-in-out -5s infinite alternate-reverse; }
.ember-c { width: 26rem; height: 26rem; left: 42%; bottom: -20rem; background: #5d275a; animation: ambience-drift 18s ease-in-out -9s infinite alternate; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; position: relative; z-index: 2; }
.container-wide { width: min(1420px, calc(100% - 48px)); }

/* Navigation */
.site-header {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,4,3,.86), rgba(5,4,3,.34));
  backdrop-filter: blur(15px) saturate(120%);
  -webkit-backdrop-filter: blur(15px) saturate(120%);
  opacity: .72;
  transition: opacity .35s ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(197, 145, 65, .2);
  box-shadow: 0 12px 38px rgba(0,0,0,.45);
}
.site-header.scrolled::before { opacity: 1; background: rgba(7, 5, 4, .89); }

.nav-shell {
  width: min(1440px, calc(100% - 42px));
  height: var(--nav-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-sigil {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  position: relative;
  color: transparent;
  border: 1px solid var(--line-bright);
  background: radial-gradient(circle, rgba(151, 54, 25, .38), rgba(21, 13, 10, .9) 68%);
  box-shadow: inset 0 0 18px rgba(232, 107, 42, .15), 0 0 20px rgba(232, 107, 42, .09);
  font-size: 0;
  transform: rotate(45deg);
}
.brand-sigil::before {
  content: "龙";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 189, 94, .5);
}
.brand-sigil::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border: 0 solid var(--gold);
  border-width: 0 1px 1px 0;
}

.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-family: var(--serif); letter-spacing: .16em; font-size: 1.12rem; color: #f1e4c9; }
.brand-copy small { margin-top: 5px; color: var(--gold-deep); font-size: .54rem; letter-spacing: .29em; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(15px, 1.8vw, 28px); }
.nav-link {
  position: relative;
  padding: 28px 0 26px;
  color: #a99d8d;
  font-size: .79rem;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: color .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 10px var(--gold);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold-pale); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-community { display: flex; align-items: center; gap: 12px; padding-left: 22px; border-left: 1px solid var(--line); }
.nav-community > span { color: var(--muted-dark); font-size: .65rem; line-height: 1.25; white-space: nowrap; }
.nav-community > span b { display: block; color: var(--gold-pale); font-size: .72rem; letter-spacing: .08em; }

.nav-toggle { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 1px; margin: 6px 0; background: var(--gold-pale); transition: transform .25s, opacity .25s; }

/* Shared buttons and headings */
.button {
  border: 1px solid transparent;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 47px;
  padding: 0 20px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-105%) skewX(-20deg); width: 65%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); transition: transform .55s ease; }
.button:hover::before { transform: translateX(175%) skewX(-20deg); }
.button:hover { transform: translateY(-3px); }
.button-mini { min-height: 39px; padding: 0 17px; font-size: .7rem; }
.button-large { min-height: 62px; padding: 0 24px; text-align: left; }
.button-large span:not(.button-icon) { display: flex; flex-direction: column; font-size: .76rem; font-weight: 700; line-height: 1.25; }
.button-large small { margin-bottom: 5px; color: rgba(255,255,255,.62); font-size: .55rem; font-weight: 500; letter-spacing: .14em; }
.button-icon { width: 26px; text-align: center; font-size: 1.2rem; }
.button-fire {
  border-color: rgba(236, 134, 68, .46);
  color: #fff5e1;
  background: linear-gradient(135deg, #9f2e20, #5d1717 60%, #2b0e0d);
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 8px 28px rgba(135, 32, 22, .3), 0 0 0 1px rgba(255, 122, 55, .06);
}
.button-fire:hover { border-color: #ef9551; box-shadow: inset 0 1px rgba(255,255,255,.15), 0 10px 36px rgba(195, 57, 30, .42), 0 0 28px rgba(236, 100, 42, .18); }
.button-gold { border-color: rgba(206, 158, 75, .56); color: #f0d79d; background: linear-gradient(135deg, rgba(96,67,33,.67), rgba(25,17,12,.84)); box-shadow: inset 0 0 25px rgba(204, 145, 52, .06); }
.button-gold:hover { border-color: #e4b664; color: #fff3d4; box-shadow: 0 0 25px rgba(202, 151, 59, .22), inset 0 0 25px rgba(204, 145, 52, .1); }
.button-ghost { border-color: rgba(255,255,255,.12); color: #c3b9aa; background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: rgba(217, 173, 91, .36); color: var(--gold-pale); background: rgba(156,108,43,.07); }

.section { position: relative; padding: var(--section-space) 0; overflow: clip; }
.section-heading { max-width: 780px; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; position: relative; }
.section-heading.align-left { max-width: 620px; margin-inline: 0; text-align: left; }
.section-heading.compact { margin-bottom: 3.5rem; }
.section-index { display: block; margin-bottom: 16px; color: rgba(163, 121, 57, .56); font: 600 .61rem/1 var(--sans); letter-spacing: .35em; }
.eyebrow { margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.eyebrow.centered { justify-content: center; }
.eyebrow-mark { width: 20px; height: 1px; position: relative; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.eyebrow-mark::before { content: ""; position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.section-heading h2, .death-panel h2, .voice-panel h2 {
  margin: 0;
  color: #f2e8d6;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .08em;
  text-shadow: 0 8px 32px rgba(0,0,0,.45);
}
.section-heading h2 em, .death-panel h2 em, .voice-panel h2 em { color: var(--gold-pale); font-style: normal; }
.section-heading > p:last-child { max-width: 640px; margin: 19px auto 0; color: var(--muted); font-size: .94rem; letter-spacing: .035em; }
.section-heading.align-left > p:last-child { margin-left: 0; }
.heading-ornament { margin: 22px auto 0; display: flex; align-items: center; justify-content: center; width: 190px; gap: 9px; color: var(--gold); }
.heading-ornament.left { margin-left: 0; justify-content: flex-start; }
.heading-ornament i { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold)); box-shadow: 0 0 7px rgba(216,164,72,.5); }
.heading-ornament i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.heading-ornament b { font-size: .54rem; transform: rotate(45deg); }

/* Hero */
.hero {
  min-height: max(780px, 100svh);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 70px) 0 100px;
  background:
    radial-gradient(circle at 76% 52%, rgba(190, 62, 27, .19) 0, rgba(100, 25, 21, .08) 19%, transparent 42%),
    radial-gradient(ellipse at 62% 110%, rgba(108, 25, 15, .28), transparent 52%),
    radial-gradient(circle at 10% 15%, rgba(85, 37, 62, .13), transparent 34%),
    linear-gradient(100deg, rgba(4,3,2,.99) 0%, rgba(9,6,5,.92) 43%, rgba(12,6,5,.72) 72%, rgba(4,3,3,.96) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(204,153,69,.035) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 49.9%, rgba(204,153,69,.025) 50%, transparent 50.1%);
  background-size: 110px 110px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 72%, transparent);
  opacity: .75;
}
.hero::after {
  content: "";
  position: absolute;
  width: 44vw;
  height: 130%;
  right: 4vw;
  top: -12%;
  border-left: 1px solid rgba(217,155,62,.07);
  border-right: 1px solid rgba(217,155,62,.04);
  transform: skewX(-12deg);
  background: linear-gradient(90deg, transparent, rgba(122,39,24,.06), transparent);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(430px, .88fr); align-items: center; gap: 30px; }
.hero-content { position: relative; z-index: 5; max-width: 790px; }
.hero-kicker { margin: 0 0 3px; padding-left: 32px; color: #9c8770; font-family: var(--serif); font-size: .9rem; letter-spacing: .42em; }
.hero-title {
  margin: 0;
  display: flex;
  align-items: baseline;
  font-family: var(--serif);
  font-size: clamp(5rem, 9.7vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: .98;
  color: transparent;
  background: linear-gradient(180deg, #fff7e8 0%, #e8c77f 38%, #9c642e 76%, #4c2917 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 12px 25px rgba(0,0,0,.65)) drop-shadow(0 0 22px rgba(179,91,27,.12));
}
.hero-title span:first-child { letter-spacing: .02em; }
.hero-title .title-bright { color: transparent; background: linear-gradient(180deg, #ffecd0, #d9944b 48%, #8a2822); -webkit-background-clip: text; background-clip: text; }
.hero-divider { width: min(590px, 86%); height: 13px; display: flex; align-items: center; gap: 10px; margin: 17px 0; color: #b37d39; }
.hero-divider i { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(211,163,83,.72), transparent); box-shadow: 0 0 8px rgba(232,174,75,.22); }
.hero-divider i:last-child { background: linear-gradient(90deg, transparent, rgba(211,163,83,.25)); }
.hero-divider span { font-size: .65rem; }
.hero h2 { margin: 0; color: #e4d6bf; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 500; letter-spacing: .2em; }
.hero-description { max-width: 690px; margin: 18px 0 22px; color: #aa9c8c; font-size: .92rem; letter-spacing: .035em; }
.hero-description strong { color: var(--gold-pale); font-weight: 600; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; max-width: 700px; }
.tag-list span { padding: 5px 11px; color: #a8957c; border: 1px solid rgba(191,148,76,.16); background: rgba(159, 106, 47, .045); font-size: .65rem; letter-spacing: .05em; }
.tag-list span::before { content: "◆"; margin-right: 6px; color: #7f5529; font-size: .42rem; vertical-align: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-meta { display: flex; align-items: center; margin-top: 31px; color: var(--muted); }
.hero-meta > div { min-width: 155px; padding: 0 20px; border-left: 1px solid rgba(202,158,78,.16); position: relative; }
.hero-meta > div:first-child { padding-left: 13px; border-left: 0; }
.hero-meta small, .hero-meta strong { display: block; }
.hero-meta small { margin-bottom: 2px; color: #665c52; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-meta strong { color: #bbaa91; font-size: .73rem; font-weight: 500; }
.meta-dot { position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: #74a968; box-shadow: 0 0 10px #65a05b; animation: pulse-dot 2s infinite; }

.hero-art { position: relative; z-index: 3; height: 620px; display: grid; place-items: center; }
.hero-art::before {
  content: "";
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,111,44,.22) 0, rgba(152,42,27,.13) 22%, rgba(99,23,20,.05) 46%, transparent 68%);
  filter: blur(14px);
  animation: core-breathe 5s ease-in-out infinite;
}
.hero-art::after {
  content: "";
  position: absolute;
  width: 115%;
  height: 25%;
  bottom: 6%;
  background: radial-gradient(ellipse, rgba(216,72,27,.28), transparent 64%);
  filter: blur(25px);
}
.forge-core { width: 238px; aspect-ratio: 1; position: relative; z-index: 5; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(239,166,76,.62); background: radial-gradient(circle at 47% 42%, #ef9851 0, #b9492b 11%, #651a17 26%, #1a0d0b 51%, #070504 71%); box-shadow: 0 0 24px rgba(232,92,42,.48), 0 0 90px rgba(164,41,27,.33), inset 0 0 45px #000, inset 0 0 8px #f3a258; }
.forge-core::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; border: 1px dashed rgba(236,190,109,.46); animation: spin 25s linear infinite; }
.forge-core::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(218,155,72,.32); border-radius: 50%; box-shadow: inset 0 0 8px rgba(224,124,48,.24); }
.core-halo { position: absolute; inset: -38px; border-radius: 50%; border: 2px solid rgba(143,69,29,.17); box-shadow: 0 0 50px rgba(211,65,30,.18); }
.core-halo::before, .core-halo::after { content: ""; position: absolute; background: var(--gold-deep); box-shadow: 0 0 10px var(--gold); }
.core-halo::before { width: 14px; height: 3px; left: -7px; top: 50%; }
.core-halo::after { width: 3px; height: 14px; left: 50%; top: -7px; }
.dragon-mark { position: relative; z-index: 2; text-align: center; filter: drop-shadow(0 0 12px rgba(255,188,92,.42)); }
.dragon-mark b { display: block; margin-top: -8px; color: #f5d893; font-family: var(--serif); font-size: 5.8rem; font-weight: 900; line-height: 1; }
.dragon-mark small { color: #d49a4d; font-size: .48rem; letter-spacing: .25em; }
.dragon-crown { display: block; color: #e8b767; font-size: 1.8rem; line-height: 1; }

.forge-orbit { position: absolute; border: 1px solid rgba(198,142,61,.19); border-radius: 50%; }
.forge-orbit::before, .forge-orbit::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(199,142,62,.17); border-radius: inherit; }
.forge-orbit::after { inset: 26px; border-style: solid; border-color: rgba(148,72,32,.13); }
.orbit-outer { width: 530px; height: 530px; animation: spin 60s linear infinite; }
.orbit-inner { width: 390px; height: 390px; animation: spin-reverse 32s linear infinite; }
.forge-orbit i { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px; background: #9b6c30; transform: rotate(calc(var(--n) * 90deg)) translateX(calc(var(--radius, 195px))) rotate(45deg); box-shadow: 0 0 10px rgba(219,160,69,.6); }
.forge-orbit i:nth-child(1) { --n: 0; }
.forge-orbit i:nth-child(2) { --n: 1; }
.forge-orbit i:nth-child(3) { --n: 2; }
.forge-orbit i:nth-child(4) { --n: 3; }
.orbit-outer i { --radius: 264px; }
.orbit-inner i { --radius: 194px; width: 6px; height: 6px; }

.gear { position: absolute; display: grid; place-items: center; border-radius: 50%; border: 13px dotted rgba(174,112,46,.22); animation: spin 30s linear infinite; }
.gear::before { content: ""; position: absolute; inset: 10px; border: 4px double rgba(170,110,46,.26); border-radius: 50%; }
.gear::after { content: ""; width: 26%; aspect-ratio: 1; border: 5px solid rgba(173,111,45,.22); border-radius: 50%; }
.gear span { position: absolute; width: 72%; height: 72%; border: 2px dashed rgba(171,109,43,.13); border-radius: 50%; }
.gear-main { width: 190px; height: 190px; right: -22px; top: 46px; }
.gear-small { width: 112px; height: 112px; left: 5px; bottom: 72px; border-width: 9px; animation: spin-reverse 21s linear infinite; }
.gear-tiny { width: 68px; height: 68px; right: 61px; bottom: 56px; border-width: 7px; animation-duration: 17s; }
.rune { position: absolute; z-index: 3; color: rgba(225,167,83,.32); font-family: var(--serif); text-shadow: 0 0 16px rgba(219,106,39,.48); animation: rune-float 5s ease-in-out infinite; }
.rune-one { left: 7%; top: 19%; font-size: 2rem; }
.rune-two { right: 4%; top: 42%; font-size: 1.4rem; animation-delay: -2s; }
.rune-three { left: 16%; bottom: 16%; font-size: 1.15rem; animation-delay: -3.5s; }
.art-caption { position: absolute; z-index: 8; color: #6f5d49; font-size: .53rem; line-height: 1.5; letter-spacing: .2em; }
.art-caption span { display: block; color: #b77b36; font: 700 1.5rem/1 var(--serif); }
.caption-left { left: 0; top: 42%; }
.caption-right { right: -2%; bottom: 27%; text-align: right; }
.hero-bottom-line { position: absolute; left: 4%; right: 4%; bottom: 49px; height: 1px; background: linear-gradient(90deg, transparent, rgba(190,137,57,.23) 20%, rgba(190,137,57,.23) 80%, transparent); }
.scroll-cue { position: absolute; z-index: 10; left: 50%; bottom: 17px; display: flex; flex-direction: column; align-items: center; gap: 7px; color: #756656; font-size: .56rem; letter-spacing: .24em; transform: translateX(-50%); }
.scroll-cue i { width: 1px; height: 27px; background: linear-gradient(var(--gold), transparent); animation: scroll-line 1.8s ease-in-out infinite; }

/* Feature cards */
.features-section { background: linear-gradient(180deg, rgba(8,6,5,.2), rgba(20,12,9,.62) 50%, rgba(7,5,4,.25)); }
.features-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(103,46,25,.11), transparent 43%); }
.section-rune { position: absolute; right: -2vw; top: 6%; color: rgba(206,155,72,.025); font-family: var(--serif); font-size: 34rem; line-height: 1; transform: rotate(13deg); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.interactive-card { --rx: 0deg; --ry: 0deg; }
.feature-card {
  position: relative;
  min-height: 365px;
  padding: 34px 28px 30px;
  overflow: hidden;
  border: 1px solid rgba(203,156,79,.19);
  background: linear-gradient(145deg, rgba(34,24,19,.8), rgba(12,9,7,.64));
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 20px 50px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.feature-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 15%, rgba(var(--card-glow), .14), transparent 48%); opacity: .65; transition: opacity .35s ease; }
.feature-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -100px; bottom: -110px; border: 1px solid rgba(var(--card-glow), .16); border-radius: 50%; box-shadow: 0 0 50px rgba(var(--card-glow), .06), inset 0 0 30px rgba(var(--card-glow), .04); }
.feature-card:hover { transform: perspective(900px) translateY(-9px) rotateX(var(--rx)) rotateY(var(--ry)); border-color: rgba(var(--card-glow), .48); box-shadow: 0 25px 65px rgba(0,0,0,.4), 0 0 30px rgba(var(--card-glow),.1), inset 0 1px rgba(255,255,255,.045); }
.feature-card:hover::before { opacity: 1; }
.card-number { position: absolute; right: 22px; top: 18px; color: rgba(var(--card-glow), .22); font: 700 2.5rem/1 var(--serif); }
.icon-frame { width: 68px; height: 68px; margin-bottom: 31px; display: grid; place-items: center; position: relative; border: 1px solid rgba(var(--card-glow), .42); background: radial-gradient(circle, rgba(var(--card-glow),.16), transparent 72%); transform: rotate(45deg); box-shadow: 0 0 24px rgba(var(--card-glow),.08), inset 0 0 15px rgba(var(--card-glow),.08); }
.icon-frame::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(var(--card-glow),.16); }
.icon-frame span { color: rgb(var(--card-glow)); font-size: 1.8rem; transform: rotate(-45deg); filter: drop-shadow(0 0 8px rgba(var(--card-glow),.55)); }
.card-label { position: relative; margin: 0 0 9px; color: rgba(var(--card-glow), .72) !important; font-size: .55rem !important; letter-spacing: .2em !important; }
.feature-card h3 { position: relative; margin: 0 0 14px; color: #e8ddca; font-family: var(--serif); font-size: 1.25rem; letter-spacing: .06em; }
.feature-card > p:last-of-type { position: relative; margin: 0; color: #948779; font-size: .82rem; line-height: 1.9; }
.card-edge { position: absolute; left: 0; bottom: 0; width: 32%; height: 2px; background: linear-gradient(90deg, rgb(var(--card-glow)), transparent); box-shadow: 0 0 12px rgba(var(--card-glow),.5); transition: width .35s ease; }
.feature-card:hover .card-edge { width: 100%; }

/* Journey */
.journey-section { background: linear-gradient(180deg, rgba(7,5,4,.4), rgba(13,9,7,.88), rgba(7,5,4,.5)); border-block: 1px solid rgba(190,136,57,.07); }
.map-lines { position: absolute; inset: 0; opacity: .24; background-image: repeating-radial-gradient(ellipse at 20% 80%, transparent 0 28px, rgba(150,110,57,.08) 29px, transparent 30px 41px), repeating-radial-gradient(ellipse at 80% 20%, transparent 0 37px, rgba(150,110,57,.05) 38px, transparent 39px 54px); mask-image: linear-gradient(90deg, #000, transparent 45%, #000); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(8, minmax(130px, 1fr)); gap: 18px; padding: 20px 0 0; }
.timeline-track { position: absolute; z-index: 0; top: 53px; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-deep) 5%, var(--gold) 50%, var(--gold-deep) 95%, transparent); box-shadow: 0 0 10px rgba(206,153,62,.25); }
.timeline-track span { display: block; width: 0; height: 100%; background: var(--gold-pale); box-shadow: 0 0 14px var(--gold); transition: width 2s cubic-bezier(.2,.7,.2,1); }
.timeline.animated .timeline-track span { width: 100%; }
.timeline-step { position: relative; z-index: 1; text-align: center; }
.timeline-node { width: 66px; height: 66px; margin: 0 auto 24px; display: grid; place-items: center; color: #d9b66f; border: 1px solid rgba(207,159,77,.45); background: #100b08; font: 600 .72rem/1 var(--serif); transform: rotate(45deg); box-shadow: 0 0 0 7px rgba(13,9,7,.9), 0 0 25px rgba(187,111,37,.13), inset 0 0 15px rgba(180,108,35,.08); transition: color .3s, border-color .3s, box-shadow .3s; }
.timeline-node::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(210,159,77,.16); }
.timeline-step:hover .timeline-node { color: #fff0bf; border-color: var(--gold-pale); box-shadow: 0 0 0 7px rgba(13,9,7,.9), 0 0 32px rgba(225,144,48,.42), inset 0 0 20px rgba(204,120,36,.22); }
.timeline-step > div:last-child { padding: 0 4px; }
.timeline-step small { color: #715d44; font-size: .47rem; letter-spacing: .18em; }
.timeline-step h3 { margin: 4px 0 9px; color: #d8c7aa; font-family: var(--serif); font-size: .98rem; letter-spacing: .08em; }
.timeline-step p { margin: 0; color: #766c61; font-size: .7rem; line-height: 1.7; }

/* Bosses */
.bosses-section { background: radial-gradient(circle at 50% 0%, rgba(115,25,23,.17), transparent 40%), #070504; }
.boss-flare { position: absolute; width: 70vw; height: 70vw; left: 50%; top: -57vw; border-radius: 50%; transform: translateX(-50%); border: 1px solid rgba(200,93,39,.1); box-shadow: 0 0 100px rgba(132,32,25,.15), inset 0 -25px 70px rgba(189,54,29,.08); }
.split-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 80px; align-items: end; margin-bottom: 4rem; }
.split-heading .section-heading { margin-bottom: 0; }
.section-lead { margin: 0 0 12px; padding-left: 28px; color: #95887a; border-left: 1px solid var(--gold-deep); font-size: .9rem; line-height: 2; }
.boss-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.boss-card { position: relative; overflow: hidden; min-height: 440px; border: 1px solid rgba(196,142,64,.17); background: rgba(16,11,9,.72); box-shadow: 0 25px 55px rgba(0,0,0,.3); transition: transform .35s, border-color .35s, box-shadow .35s; }
.boss-card:hover { transform: translateY(-9px); border-color: rgba(219,157,69,.48); box-shadow: 0 30px 70px rgba(0,0,0,.48), 0 0 25px rgba(150,47,25,.12); }
.boss-visual { height: 210px; position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid rgba(207,151,65,.14); }
.boss-visual::before { content: ""; position: absolute; width: 150px; height: 150px; border: 1px solid currentColor; border-radius: 50%; opacity: .2; box-shadow: 0 0 30px currentColor; }
.boss-visual::after { content: ""; position: absolute; width: 115px; height: 115px; border: 1px dashed currentColor; border-radius: 50%; opacity: .35; animation: spin 19s linear infinite; }
.boss-visual i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.8%, currentColor 50%, transparent 50.2%), linear-gradient(0deg, transparent 49.8%, currentColor 50%, transparent 50.2%); opacity: .06; transform: rotate(45deg); }
.boss-glyph { position: relative; z-index: 2; font-family: var(--serif); font-size: 4rem; filter: drop-shadow(0 0 18px currentColor); }
.boss-visual-one { color: #e86a38; background: radial-gradient(circle, rgba(177,48,28,.26), transparent 62%), linear-gradient(155deg, #180d0a, #080605); }
.boss-visual-two { color: #be7644; background: radial-gradient(circle, rgba(132,73,40,.24), transparent 62%), linear-gradient(155deg, #160f0b, #080605); }
.boss-visual-three { color: #c7a65f; background: radial-gradient(circle, rgba(140,108,47,.21), transparent 62%), linear-gradient(155deg, #15110b, #080605); }
.boss-visual-four { color: #a271bd; background: radial-gradient(circle, rgba(106,52,133,.25), transparent 62%), linear-gradient(155deg, #120b16, #080508); }
.boss-info { padding: 25px 24px 28px; }
.boss-info small { color: #7f6345; font-size: .49rem; letter-spacing: .18em; }
.boss-info h3 { margin: 6px 0 10px; color: #e2d5c1; font-family: var(--serif); font-size: 1.18rem; line-height: 1.3; letter-spacing: .035em; }
.boss-info p { min-height: 48px; margin: 0 0 18px; color: #877b6e; font-size: .74rem; }
.difficulty { color: #65594d; font-size: .58rem; letter-spacing: .08em; }
.difficulty b { margin-left: 8px; color: #b86736; letter-spacing: 0; }

/* Equipment forge */
.equipment-section { background: radial-gradient(ellipse at 50% 100%, rgba(151,59,26,.15), transparent 48%); }
.equipment-forge { border: 1px solid rgba(207,157,76,.18); background: linear-gradient(135deg, rgba(30,20,15,.8), rgba(10,7,6,.85)); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.025); }
.forge-progress { display: flex; align-items: center; justify-content: center; padding: 50px 38px 44px; }
.forge-stage { flex: 1 1 0; min-width: 120px; text-align: center; }
.stage-icon { width: 74px; height: 74px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--stage, #9d8769); border: 1px solid color-mix(in srgb, var(--stage, #9d8769) 60%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--stage, #9d8769) 14%, transparent), transparent 68%); font-family: var(--serif); font-size: 1.4rem; transform: rotate(45deg); box-shadow: 0 0 22px color-mix(in srgb, var(--stage, #9d8769) 12%, transparent), inset 0 0 14px color-mix(in srgb, var(--stage, #9d8769) 10%, transparent); }
.stage-icon::before { content: ""; position: absolute; inset: 7px; border: 1px solid color-mix(in srgb, var(--stage, #9d8769) 20%, transparent); }
.forge-stage small { display: block; color: var(--stage, #9d8769); font-size: .5rem; letter-spacing: .2em; }
.forge-stage h3 { margin: 5px 0; color: #dccfb9; font-family: var(--serif); font-size: 1rem; }
.forge-stage span { color: #695f55; font-size: .64rem; }
.forge-stage.common { --stage: #867b6b; }
.forge-stage.affix { --stage: #6e9d70; }
.forge-stage.gem { --stage: #61aeb4; }
.forge-stage.epic { --stage: #9c65bf; }
.forge-stage.mythic { --stage: #eea649; }
.forge-link { flex: .45 1 60px; margin-top: -48px; display: flex; align-items: center; color: #8b622f; }
.forge-link i { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(134,91,40,.25), #99652d); }
.forge-link b { font-size: 1.3rem; font-weight: 400; }
.forge-description { border-top: 1px solid rgba(207,157,76,.14); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 24px 34px; background: rgba(0,0,0,.16); }
.anvil-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--line-bright); transform: rotate(45deg); }
.forge-description p { margin: 0; color: #978a7b; font-size: .78rem; }
.forge-description p strong { color: var(--gold-pale); }
.forge-description > span { color: #584a3b; font-size: .5rem; letter-spacing: .2em; }

/* Quest book */
.quests-section { background: linear-gradient(100deg, rgba(15,10,8,.92), rgba(28,18,12,.58), rgba(8,6,5,.95)); border-block: 1px solid rgba(202,151,70,.08); }
.quests-section::before { content: ""; position: absolute; inset: 0; opacity: .09; background-image: repeating-linear-gradient(107deg, transparent 0 28px, rgba(222,180,105,.16) 29px, transparent 30px 60px); mask-image: radial-gradient(circle at 70%, black, transparent 62%); }
.quest-seal { position: absolute; left: -7rem; bottom: -8rem; width: 27rem; height: 27rem; display: grid; place-items: center; border: 1px solid rgba(201,149,68,.05); border-radius: 50%; color: rgba(201,149,68,.045); font-size: 12rem; box-shadow: inset 0 0 0 50px rgba(201,149,68,.012), inset 0 0 0 51px rgba(201,149,68,.04); }
.quest-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: clamp(45px, 7vw, 100px); }
.quest-layout .section-heading { margin-bottom: 0; }
.quest-book { position: relative; padding: 24px 26px 24px 42px; border: 1px solid rgba(203,159,88,.28); background: linear-gradient(90deg, rgba(57,38,24,.9), rgba(28,20,14,.93) 9%, rgba(37,26,17,.92)); box-shadow: -18px 25px 60px rgba(0,0,0,.44), inset 0 0 50px rgba(9,6,4,.38); }
.quest-book::before, .quest-book::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(207,164,92,.1); pointer-events: none; }
.quest-book::after { inset: -7px 9px 7px -7px; z-index: -1; border-color: rgba(172,123,63,.13); background: #130d09; }
.book-spine { position: absolute; left: 16px; top: 18px; bottom: 18px; width: 9px; border-inline: 1px solid rgba(210,165,89,.22); box-shadow: 5px 0 16px rgba(0,0,0,.5); }
.book-spine::before, .book-spine::after { content: "◆"; position: absolute; left: -4px; color: #8f622c; font-size: .55rem; }
.book-spine::before { top: 4px; }.book-spine::after { bottom: 4px; }
.quest-list { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(212,168,94,.1); }
.quest-list article { min-height: 82px; display: grid; grid-template-columns: 26px 40px 1fr auto; align-items: center; gap: 11px; padding: 13px 16px; background: linear-gradient(100deg, rgba(38,27,18,.98), rgba(28,20,14,.97)); transition: background .25s, box-shadow .25s; }
.quest-list article:hover { background: linear-gradient(100deg, rgba(72,47,25,.96), rgba(38,26,17,.97)); box-shadow: inset 3px 0 #b87832; }
.quest-list article > span { color: #5e4a36; font: 700 .64rem/1 var(--serif); }
.quest-list article > i { width: 34px; height: 34px; display: grid; place-items: center; color: #c1904e; border: 1px solid rgba(198,148,77,.27); font-style: normal; transform: rotate(45deg); }
.quest-list article > div { line-height: 1.15; }
.quest-list article small { color: #6f5740; font-size: .43rem; letter-spacing: .15em; }
.quest-list article h3 { margin: 5px 0 0; color: #d1bea0; font-family: var(--serif); font-size: .83rem; font-weight: 500; letter-spacing: .05em; }
.quest-list article > b { color: #715231; font-weight: 400; }

/* Death and voice */
.survival-section { background: radial-gradient(circle at 80% 50%, rgba(65,41,102,.09), transparent 38%), radial-gradient(circle at 20% 50%, rgba(115,25,21,.09), transparent 38%); }
.dual-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.death-panel, .voice-panel { position: relative; min-height: 560px; padding: clamp(38px, 5vw, 63px); overflow: hidden; border: 1px solid rgba(196,147,72,.16); background: linear-gradient(145deg, rgba(27,17,13,.79), rgba(10,7,6,.81)); box-shadow: 0 30px 70px rgba(0,0,0,.32); }
.death-panel::before, .voice-panel::before { content: ""; position: absolute; width: 360px; height: 360px; right: -170px; top: -150px; border-radius: 50%; border: 1px solid rgba(204,151,72,.11); box-shadow: inset 0 0 50px rgba(169,72,31,.05); }
.death-panel h2, .voice-panel h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.death-panel > p:not(.eyebrow), .voice-panel > p:not(.eyebrow) { max-width: 470px; margin: 20px 0; color: #95887a; font-size: .83rem; }
.panel-icon { position: absolute; right: 44px; top: 39px; color: rgba(194,89,48,.18); font-family: var(--serif); font-size: 6rem; line-height: 1; }
.death-panel blockquote { margin: 30px 0; padding: 11px 0 11px 20px; color: #c3ad8d; border-left: 2px solid #8b4a2b; font-family: var(--serif); font-size: .9rem; font-style: italic; }
.penalty-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.penalty-grid > div { padding: 19px 12px; text-align: center; border: 1px solid rgba(184,91,54,.18); background: rgba(105,35,28,.08); }
.penalty-grid span { color: #ba5d42; font: 700 .78rem/1 var(--serif); }
.penalty-grid h3 { margin: 7px 0 0; color: #9d8b78; font-size: .67rem; font-weight: 500; }
.voice-panel { background: linear-gradient(145deg, rgba(21,18,27,.8), rgba(9,7,11,.84)); }
.voice-orb { position: relative; width: 104px; height: 104px; margin-bottom: 38px; display: grid; place-items: center; color: #c89c63; border: 1px solid rgba(180,126,79,.36); border-radius: 50%; background: radial-gradient(circle, rgba(108,59,106,.24), transparent 67%); box-shadow: 0 0 35px rgba(114,61,115,.18); }
.voice-orb .mic { position: relative; z-index: 3; font-size: 1.8rem; }
.voice-orb span { position: absolute; inset: calc(var(--i) * -14px); border: 1px solid rgba(191,145,88, calc(.18 / var(--i))); border-radius: 50%; animation: voice-ring 3.2s calc(var(--i) * -.7s) ease-out infinite; }
.waveform { height: 70px; display: flex; align-items: center; gap: 5px; margin: 34px 0 16px; }
.waveform i { flex: 1; max-width: 5px; height: 22%; border-radius: 3px; background: linear-gradient(180deg, #c7995a, #754b74); box-shadow: 0 0 7px rgba(177,112,100,.32); animation: waveform 1.25s ease-in-out infinite alternate; }
.waveform i:nth-child(2n) { animation-delay: -.2s; height: 40%; }.waveform i:nth-child(3n) { animation-delay: -.5s; height: 85%; }.waveform i:nth-child(4n) { animation-delay: -.8s; height: 58%; }.waveform i:nth-child(5n) { animation-delay: -1s; height: 100%; }
.voice-status { display: flex; align-items: center; gap: 8px; color: #736479; font-size: .53rem; letter-spacing: .14em; }
.voice-status i { width: 6px; height: 6px; border-radius: 50%; background: #77aa72; box-shadow: 0 0 8px #77aa72; }

/* Join */
.join-section { background: linear-gradient(180deg, rgba(15,9,7,.55), rgba(8,5,4,.96)), radial-gradient(circle at 50% 50%, rgba(153,54,27,.17), transparent 45%); }
.join-section::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(30deg, rgba(205,151,70,.025) 12%, transparent 12.5%, transparent 87%, rgba(205,151,70,.025) 87.5%), linear-gradient(150deg, rgba(205,151,70,.025) 12%, transparent 12.5%, transparent 87%, rgba(205,151,70,.025) 87.5%); background-size: 90px 156px; }
.join-rings { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%,-50%); border: 1px solid rgba(208,151,66,.035); border-radius: 50%; }
.join-rings i { position: absolute; inset: calc(var(--r, 1) * 80px); border: 1px solid rgba(208,151,66,.035); border-radius: inherit; }
.join-rings i:nth-child(1){ --r:1 }.join-rings i:nth-child(2){ --r:2 }.join-rings i:nth-child(3){ --r:3 }
.join-card { position: relative; border: 1px solid rgba(211,157,73,.29); background: linear-gradient(130deg, rgba(32,20,14,.94), rgba(13,9,7,.96)); box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.03), 0 0 60px rgba(138,42,24,.08); }
.join-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(214,161,77,.07); pointer-events: none; }
.join-main { min-height: 265px; display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 45px; padding: 38px 58px; border-bottom: 1px solid rgba(207,157,76,.17); background: radial-gradient(circle at 12% 50%, rgba(158,59,28,.13), transparent 33%); }
.server-emblem { width: 160px; height: 160px; display: grid; place-content: center; text-align: center; border: 1px solid var(--line-bright); background: radial-gradient(circle, rgba(176,66,30,.24), transparent 66%); transform: rotate(45deg); box-shadow: 0 0 40px rgba(159,52,27,.12), inset 0 0 28px rgba(190,92,35,.1); }
.server-emblem::before, .server-emblem::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(217,164,79,.18); }
.server-emblem::after { inset: 21px; border-style: dashed; }
.server-emblem span, .server-emblem small { transform: rotate(-45deg); }
.server-emblem span { color: var(--gold-pale); font: 900 4.6rem/.9 var(--serif); text-shadow: 0 0 20px rgba(226,150,58,.33); }
.server-emblem small { margin-top: 11px; color: #a56f34; font-size: .46rem; letter-spacing: .22em; }
.server-identity > small { color: #89663d; font-size: .55rem; letter-spacing: .25em; }
.server-identity h3 { margin: 4px 0 2px; color: #f0e1c7; font: 700 clamp(2.2rem, 4vw, 4rem)/1.2 var(--serif); letter-spacing: .12em; }
.server-identity > p { margin: 0 0 25px; color: #907e6b; font-size: .78rem; letter-spacing: .06em; }
.server-address { display: grid; grid-template-columns: 1fr auto; align-items: end; max-width: 620px; padding: 13px 16px 14px; border: 1px solid rgba(217,160,72,.25); background: rgba(0,0,0,.2); }
.server-address > span { grid-column: 1 / -1; color: #776044; font-size: .48rem; letter-spacing: .2em; }
.server-address > span i { display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: #74a668; box-shadow: 0 0 8px #74a668; }
.server-address strong { color: #f1ce80; font: 500 clamp(1rem,2vw,1.45rem)/1.2 var(--sans); letter-spacing: .07em; text-shadow: 0 0 14px rgba(224,158,62,.2); }
.server-address strong em { color: #9c522d; font-style: normal; }
.server-address button { border: 0; padding: 6px 11px; color: #b99257; background: rgba(164,111,48,.1); cursor: pointer; font-size: .6rem; letter-spacing: .09em; transition: background .2s, color .2s; }
.server-address button:hover { color: #ffe0a0; background: rgba(164,111,48,.2); }
.server-facts { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 10px 42px; }
.server-facts > div { padding: 19px 18px; border-right: 1px solid rgba(201,151,75,.1); border-bottom: 1px solid rgba(201,151,75,.1); }
.server-facts > div:nth-child(3n) { border-right: 0; }.server-facts > div:nth-child(n+4) { border-bottom: 0; }
.server-facts dt { color: #675b4f; font-size: .6rem; letter-spacing: .1em; }
.server-facts dd { margin: 3px 0 0; color: #c2b29d; font-size: .75rem; }
.server-facts .gold-text { color: #edc77a; font-size: .88rem; letter-spacing: .1em; }
.check { margin-right: 5px; color: #79a76e; }
.join-actions { display: flex; justify-content: center; gap: 12px; padding: 29px 32px 34px; border-top: 1px solid rgba(203,154,77,.12); background: rgba(0,0,0,.15); }
.join-actions .button { min-width: 205px; }

/* Rules + footer */
.rules-section { padding-top: clamp(5rem,8vw,7.5rem); background: #070504; }
.rules-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }
.rule-card { position: relative; min-height: 165px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; text-align: center; border: 1px solid rgba(194,143,69,.14); background: rgba(23,16,12,.56); transition: transform .3s, border-color .3s, background .3s; }
.rule-card:hover { transform: translateY(-5px); border-color: rgba(204,151,72,.36); background: rgba(38,24,16,.64); }
.rule-card > span { position: absolute; right: 10px; top: 5px; color: rgba(185,133,62,.16); font: 700 1.4rem/1 var(--serif); }
.rule-card > i { margin-bottom: 12px; color: #9b7140; font-size: 1.35rem; font-style: normal; }
.rule-card > p { margin: 0; color: #8e8172; font-size: .7rem; line-height: 1.7; }
.rule-card.positive { border-color: rgba(115,161,99,.2); background: rgba(24,40,23,.28); }
.rule-card.positive > i { color: #77a06f; }

.site-footer { position: relative; overflow: hidden; padding: 65px 0 24px; border-top: 1px solid rgba(202,151,72,.16); background: #050403; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: 45%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #c48735, transparent); box-shadow: 0 0 17px rgba(217,126,43,.58); }
.footer-flame { position: absolute; left: 50%; top: -190px; width: 550px; height: 300px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(139,40,25,.22), transparent 65%); filter: blur(20px); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 60px; padding-bottom: 45px; }
.footer-message { display: flex; flex-direction: column; padding-left: 38px; border-left: 1px solid rgba(200,149,72,.14); }
.footer-message strong { color: #bca88b; font-family: var(--serif); font-size: .86rem; letter-spacing: .1em; }
.footer-message span { margin-top: 6px; color: #5f574e; font-size: .62rem; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; color: #574c40; font-size: .5rem; letter-spacing: .13em; }
.footer-contact b { margin-left: 9px; color: #a28152; font-size: .62rem; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(200,149,72,.09); color: #47413b; font-size: .53rem; letter-spacing: .1em; }

/* Feedback and motion */
.toast { position: fixed; z-index: 500; right: 24px; bottom: 24px; min-width: 290px; display: flex; align-items: center; gap: 14px; padding: 15px 18px; opacity: 0; visibility: hidden; border: 1px solid rgba(213,161,80,.42); background: rgba(19,13,10,.94); box-shadow: 0 18px 55px rgba(0,0,0,.55), 0 0 28px rgba(190,92,34,.12); backdrop-filter: blur(16px); transform: translateY(16px); transition: opacity .25s, visibility .25s, transform .25s; }
.toast.show { opacity: 1; visibility: visible; transform: translateY(0); }
.toast-icon { width: 34px; height: 34px; display: grid; place-items: center; color: #f4d18b; border: 1px solid var(--gold); transform: rotate(45deg); }
.toast > div { display: flex; flex-direction: column; }
.toast strong { color: #ded0bb; font-size: .75rem; letter-spacing: .06em; }
.toast small { color: #8d704c; font-size: .62rem; letter-spacing: .08em; }
.back-to-top { position: fixed; z-index: 190; right: 25px; bottom: 25px; width: 43px; height: 43px; opacity: 0; visibility: hidden; border: 1px solid rgba(201,151,72,.35); color: #b78a4e; background: rgba(15,10,8,.82); cursor: pointer; box-shadow: 0 8px 25px rgba(0,0,0,.3); transform: translateY(10px); transition: opacity .25s, visibility .25s, transform .25s, border-color .25s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--gold); color: var(--gold-pale); }
.toast.show ~ .back-to-top { transform: translateY(-76px); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--delay, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--delay, 0s); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
@keyframes core-breathe { 0%,100% { opacity:.68; transform:scale(.96); } 50% { opacity:1; transform:scale(1.04); } }
@keyframes ambience-drift { to { transform: translate3d(6vw,-4vh,0) scale(1.14); } }
@keyframes pulse-dot { 50% { opacity:.45; box-shadow:0 0 4px #65a05b; } }
@keyframes rune-float { 0%,100% { transform:translateY(-7px); opacity:.18; } 50% { transform:translateY(9px); opacity:.48; } }
@keyframes scroll-line { 0% { transform:scaleY(0); transform-origin:top; opacity:0; } 45% { transform:scaleY(1); transform-origin:top; opacity:1; } 55% { transform:scaleY(1); transform-origin:bottom; opacity:1; } 100% { transform:scaleY(0); transform-origin:bottom; opacity:0; } }
@keyframes voice-ring { 0% { transform:scale(.82); opacity:0; } 35% { opacity:1; } 100% { transform:scale(1.3); opacity:0; } }
@keyframes waveform { to { height: 18%; opacity:.5; } }

/* =========================================================
   RSR PLUS · photographic world layer and live status v2
   ========================================================= */
html { background: var(--ink-0); }
body {
  background: transparent;
}

.world-backdrop {
  position: fixed;
  inset: -3vh -3vw;
  z-index: 0;
  pointer-events: none;
  background-image: url("pictures/QQ20260712-025909.png");
  background-position: center 46%;
  background-size: cover;
  filter: brightness(.58) saturate(.94) sepia(.06) contrast(1.06);
  transform: scale(1.04);
}
.world-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,3,3,.6), rgba(7,5,4,.38) 42%, rgba(8,5,5,.2) 72%, rgba(4,3,3,.5)),
    linear-gradient(180deg, rgba(4,3,3,.08), rgba(4,3,3,.48));
}
.world-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image: linear-gradient(rgba(231,196,133,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(231,196,133,.025) 1px, transparent 1px);
  background-size: 82px 82px;
}

main, .site-footer { position: relative; z-index: 2; }
#particle-canvas, .page-ambience, body::before { z-index: 1; }

.image-sigil { overflow: hidden; }
.image-sigil::before { content: none; }
.image-sigil img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transform: rotate(-45deg) scale(1.29); filter: brightness(1.12) saturate(1.13); }
.icon-mark { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; border-radius: 50%; }
.icon-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transform: scale(1.12); filter: brightness(1.13) saturate(1.15); }
.icon-mark::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 45px #050403, inset 0 0 18px rgba(235,129,52,.32); pointer-events: none; }
.icon-mark small { position: absolute; z-index: 5; left: 50%; bottom: 17px; padding: 4px 11px; color: #f3d89f; border: 1px solid rgba(239,190,107,.38); background: rgba(8,5,4,.76); backdrop-filter: blur(8px); font-size: .47rem; letter-spacing: .28em; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 0 18px rgba(209,102,44,.25); }

.hero { background:
  radial-gradient(circle at 76% 52%, rgba(190, 62, 27, .28) 0, rgba(100, 25, 21, .1) 19%, transparent 42%),
  radial-gradient(ellipse at 62% 110%, rgba(108, 25, 15, .32), transparent 52%),
  linear-gradient(100deg, rgba(4,3,2,.92) 0%, rgba(9,6,5,.73) 42%, rgba(12,6,5,.28) 72%, rgba(4,3,3,.52) 100%),
  url("pictures/QQ20260712-025909.png") center 46% / cover no-repeat; }
.features-section { background: linear-gradient(180deg, rgba(8,6,5,.56), rgba(20,12,9,.67) 50%, rgba(7,5,4,.58)); }
.journey-section { background: linear-gradient(180deg, rgba(7,5,4,.6), rgba(13,9,7,.72), rgba(7,5,4,.61)); }
.bosses-section { background: radial-gradient(circle at 50% 0%, rgba(115,25,23,.24), transparent 40%), rgba(7,5,4,.7); }
.equipment-section { background: radial-gradient(ellipse at 50% 100%, rgba(151,59,26,.18), transparent 52%), rgba(7,5,4,.62); }
.quests-section { background: linear-gradient(100deg, rgba(15,10,8,.75), rgba(28,18,12,.52), rgba(8,6,5,.76)); }
.survival-section { background: radial-gradient(circle at 80% 50%, rgba(65,41,102,.15), transparent 38%), radial-gradient(circle at 20% 50%, rgba(115,25,21,.14), transparent 38%), rgba(7,5,4,.56); }
.join-section { background: linear-gradient(180deg, rgba(15,9,7,.5), rgba(8,5,4,.72)), radial-gradient(circle at 50% 50%, rgba(153,54,27,.2), transparent 45%); }
.rules-section { background: rgba(7,5,4,.73); }

/* live MOTD + player status */
.live-server-section {
  position: relative;
  z-index: 30;
  margin-top: -30px;
  padding: 0 0 28px;
}
.live-server-shell {
  min-height: 148px;
  display: grid;
  grid-template-columns: 255px minmax(340px, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(215,161,77,.33);
  background: linear-gradient(112deg, rgba(29,19,14,.96), rgba(11,8,7,.93) 58%, rgba(24,13,12,.95));
  box-shadow: 0 30px 80px rgba(0,0,0,.52), 0 0 45px rgba(156,58,27,.1), inset 0 1px rgba(255,255,255,.03);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.live-server-shell::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(214,164,84,.07); pointer-events: none; }
.live-server-shell::after { content: ""; position: absolute; left: 0; top: 0; width: 34%; height: 2px; background: linear-gradient(90deg, #d26532, var(--gold), transparent); box-shadow: 0 0 14px rgba(232,133,52,.6); }
.live-identity { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; padding: 26px 25px; border-right: 1px solid rgba(206,157,78,.13); }
.live-icon { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; border-radius: 8px; border: 1px solid rgba(203,152,76,.4); box-shadow: 0 0 20px rgba(105,43,70,.28), inset 0 0 12px #000; }
.live-icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.live-identity > div:last-child { min-width: 0; line-height: 1.25; }
.live-label { display: flex; align-items: center; gap: 7px; color: #98846e; font-size: .54rem; letter-spacing: .12em; }
.live-label b { font-weight: 500; }
.status-light { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #c89448; box-shadow: 0 0 10px #d4913f; animation: pulse-dot 1.7s ease-in-out infinite; }
[data-state="online"] .status-light { background: #70b56a; box-shadow: 0 0 11px #70b56a; }
[data-state="offline"] .status-light, [data-state="error"] .status-light { background: #b54e45; box-shadow: 0 0 10px #b54e45; animation: none; }
.live-identity strong { display: block; margin: 7px 0 3px; color: #ebd8b6; font: 700 1.15rem/1 var(--serif); letter-spacing: .18em; }
.live-identity small { display: block; overflow: hidden; color: #7f6548; font-size: .56rem; letter-spacing: .05em; text-overflow: ellipsis; }

.motd-console { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 32px; overflow: hidden; border-right: 1px solid rgba(206,157,78,.13); background: linear-gradient(90deg, rgba(255,255,255,.014), transparent); }
.motd-console::before { content: ">"; position: absolute; right: 23px; bottom: -25px; color: rgba(199,147,68,.05); font: 700 8rem/1 monospace; }
.console-top { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; color: #6e5841; font: 600 .47rem/1 var(--sans); letter-spacing: .2em; }
.console-top span { margin-right: auto; }
.console-top i { width: 4px; height: 4px; border-radius: 50%; background: #5e4937; }
.motd-console p { position: relative; margin: 0; color: #edce8a; font-family: var(--serif); font-size: clamp(.9rem,1.25vw,1.14rem); font-weight: 600; letter-spacing: .06em; line-height: 1.55; text-shadow: 0 0 14px rgba(213,128,43,.18); white-space: pre-line; }
.motd-version { margin-top: 7px; color: #6d6256; font-size: .55rem; letter-spacing: .12em; }
.live-metrics { position: relative; z-index: 1; display: flex; align-items: stretch; min-width: 345px; }
.metric-block { min-width: 112px; display: flex; flex-direction: column; justify-content: center; padding: 23px 18px; border-right: 1px solid rgba(206,157,78,.1); }
.metric-block > span { color: #66594b; font-size: .55rem; letter-spacing: .12em; }
.metric-block > strong { display: flex; align-items: baseline; margin: 4px 0; color: #e5c37e; font: 500 1rem/1 var(--sans); }
.metric-block > strong b { font: 500 2rem/1 var(--serif); }
.metric-block > strong small { margin-left: 5px; color: #746451; font-size: .62rem; }
.metric-block > small { color: #5b5147; font-size: .48rem; white-space: nowrap; }
.capacity-line { width: 100%; height: 2px; overflow: hidden; background: rgba(255,255,255,.06); }
.capacity-line i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #7fb36a, #dfaa51); box-shadow: 0 0 8px #c78d3c; transition: width .8s ease; }
.status-refresh { width: 58px; border: 0; color: #80694d; background: rgba(255,255,255,.015); cursor: pointer; transition: color .25s, background .25s; }
.status-refresh:hover { color: #f1ce83; background: rgba(177,111,46,.08); }
.status-refresh span { display: block; font-size: 1.35rem; transition: transform .4s ease; }
.status-refresh small { display: block; margin-top: 5px; font-size: .48rem; letter-spacing: .08em; }
.status-refresh.loading span { animation: spin 1s linear infinite; }

/* world gallery */
.world-section { background: linear-gradient(180deg, rgba(7,5,4,.76), rgba(10,7,6,.91) 36%, rgba(7,5,4,.78)); border-block: 1px solid rgba(200,148,68,.08); }
.world-section-glow { position: absolute; left: 50%; top: 40%; width: 90vw; height: 50vw; border-radius: 50%; transform: translate(-50%,-50%); background: radial-gradient(ellipse, rgba(92,39,83,.14), rgba(124,44,23,.07) 37%, transparent 70%); filter: blur(30px); }
.world-gallery { display: grid; grid-template-columns: repeat(12,1fr); grid-auto-rows: 235px; gap: 14px; }
.world-shot { position: relative; grid-column: span 4; margin: 0; overflow: hidden; border: 1px solid rgba(211,159,77,.2); background: #0a0706; box-shadow: 0 20px 45px rgba(0,0,0,.38); }
.world-shot:nth-child(1) { grid-column: span 8; }
.world-shot:nth-child(2) { grid-column: span 4; grid-row: span 2; }
.world-shot:nth-child(6) { grid-column: span 8; }
.world-shot::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,4,3,.22) 57%, rgba(5,4,3,.92)); transition: opacity .45s; }
.world-shot::after { content: ""; position: absolute; z-index: 3; inset: 8px; border: 1px solid rgba(232,190,113,.11); pointer-events: none; }
.world-shot img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) saturate(.88) contrast(1.08); transform: scale(1.015); transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .55s ease; }
.world-shot:hover img { transform: scale(1.075); filter: brightness(.92) saturate(1.08) contrast(1.04); }
.world-shot figcaption { position: absolute; z-index: 4; left: 26px; right: 26px; bottom: 21px; display: flex; flex-direction: column; align-items: flex-start; text-shadow: 0 3px 15px #000; transition: transform .4s ease; }
.world-shot:hover figcaption { transform: translateY(-5px); }
.world-shot figcaption span { margin-bottom: 5px; color: #b8813e; font-size: .49rem; letter-spacing: .23em; }
.world-shot figcaption strong { color: #f0e3cf; font: 600 1.2rem/1.2 var(--serif); letter-spacing: .08em; }
.world-shot figcaption small { margin-top: 7px; color: #a99a88; font-size: .64rem; letter-spacing: .04em; }
.world-shot-tall figcaption strong { font-size: 1.5rem; }
.world-shot-day img { object-position: center 57%; }

/* actual screenshots inside adventure and equipment cards */
.boss-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: grayscale(.25) sepia(.18) saturate(.85) brightness(.55); transition: transform .75s ease, opacity .4s, filter .4s; }
.boss-card:hover .boss-visual > img { transform: scale(1.08); opacity: .55; filter: grayscale(0) sepia(.08) saturate(1.1) brightness(.65); }
.boss-visual .boss-glyph { text-shadow: 0 0 20px #050403; }
.equipment-proof { display: grid; grid-template-columns: 1fr .75fr 1fr; min-height: 275px; border-top: 1px solid rgba(207,157,76,.14); }
.equipment-proof figure { position: relative; min-width: 0; min-height: 275px; margin: 0; overflow: hidden; }
.equipment-proof figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6,4,4,.91)); }
.equipment-proof figure img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.82); transition: transform .65s, filter .4s; }
.equipment-proof figure:hover img { transform: scale(1.045); filter: brightness(.9) saturate(1.05); }
.equipment-proof figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 17px; }
.equipment-proof figcaption span { display: block; color: #9e6e38; font-size: .44rem; letter-spacing: .18em; }
.equipment-proof figcaption strong { color: #dac9ae; font: 500 .76rem/1.5 var(--serif); }
.proof-center { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 28px; text-align: center; border-inline: 1px solid rgba(207,157,76,.12); background: radial-gradient(circle, rgba(106,51,88,.12), transparent 65%), rgba(5,4,3,.33); }
.proof-center small { color: #775b3b; font-size: .45rem; letter-spacing: .22em; }
.proof-center strong { margin: 8px 0 12px; color: #e2cfaf; font: 600 1.12rem/1.55 var(--serif); }
.proof-center i { width: 50px; height: 1px; margin: 0 auto 12px; background: var(--gold-deep); box-shadow: 0 0 8px rgba(207,151,68,.35); }
.proof-center p { margin: 0; color: #786d62; font-size: .65rem; line-height: 1.8; }

.image-emblem { overflow: hidden; }
.image-emblem::before, .image-emblem::after { z-index: 3; }
.image-emblem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: rotate(-45deg) scale(1.22); filter: brightness(.94) saturate(1.1); }
.image-emblem small { position: relative; z-index: 4; margin: 0; padding: 4px 8px; color: #f0d08f; background: rgba(5,4,3,.77); border: 1px solid rgba(225,177,91,.24); font-size: .42rem; letter-spacing: .2em; transform: rotate(-45deg); }

/* Responsive */
@media (max-width: 1320px) {
  .nav-community > span { display: none; }
  .nav-shell { gap: 21px; }
  .main-nav { gap: 17px; }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 48px; }
  .timeline-track { display: none; }
  .timeline-step::before { content: ""; position: absolute; top: 32px; left: -14%; right: 64%; z-index: -1; height: 1px; background: linear-gradient(90deg, transparent, rgba(190,139,65,.45)); }
}

@media (max-width: 1120px) {
  :root { --nav-height: 70px; }
  .live-server-shell { grid-template-columns: 230px 1fr; }
  .motd-console { border-right: 0; }
  .live-metrics { grid-column: 1 / -1; min-width: 0; border-top: 1px solid rgba(206,157,78,.13); }
  .metric-block { flex: 1; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: absolute;
    left: -21px;
    right: -21px;
    top: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(8,6,5,.97);
    border-bottom: 1px solid rgba(202,153,77,.2);
    backdrop-filter: blur(18px);
    transition: max-height .35s ease, opacity .3s ease;
  }
  .main-nav.open { max-height: 440px; opacity: 1; padding: 12px 22px 18px; }
  .nav-link { padding: 13px 12px; border-bottom: 1px solid rgba(202,153,77,.07); }
  .nav-link::after { left: 12px; bottom: -1px; transform: none; }
  .nav-link:hover::after, .nav-link.active::after { width: 42px; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-community { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr .72fr; }
  .hero-art { height: 550px; transform: scale(.88); transform-origin: center; }
  .feature-grid, .boss-grid { grid-template-columns: repeat(2, 1fr); }
  .rules-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 900px) {
  .world-gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 220px; }
  .world-shot, .world-shot:nth-child(2) { grid-column: span 1; grid-row: span 1; }
  .world-shot:nth-child(1), .world-shot:nth-child(6) { grid-column: span 2; }
  .world-shot:nth-child(2) { grid-row: span 2; }
  .equipment-proof { grid-template-columns: 1fr 1fr; }
  .proof-center { grid-column: 1 / -1; grid-row: 2; min-height: 220px; border: 1px solid rgba(207,157,76,.12); }
  .hero { min-height: auto; padding-top: 145px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { max-width: 760px; }
  .hero-art { position: absolute; z-index: 1; right: -180px; top: 100px; width: 600px; opacity: .45; }
  .hero-content { text-shadow: 0 3px 14px #000; }
  .hero-title { font-size: clamp(5rem, 17vw, 8rem); }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-lead { max-width: 650px; }
  .forge-progress { display: grid; grid-template-columns: 1fr 54px 1fr 54px 1fr; row-gap: 35px; }
  .forge-stage:nth-of-type(7) { grid-column: 2 / 4; }
  .forge-stage:nth-of-type(9) { grid-column: 4 / 6; }
  .forge-link:nth-of-type(6) { display: none; }
  .forge-link { margin-top: -42px; }
  .quest-layout { grid-template-columns: 1fr; }
  .quest-layout .section-heading { margin-bottom: 15px; }
  .dual-sections { grid-template-columns: 1fr; }
  .join-main { grid-template-columns: 145px 1fr; gap: 30px; padding-inline: 38px; }
  .server-emblem { width: 128px; height: 128px; }
  .server-emblem span { font-size: 3.7rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-message { order: 3; grid-column: 1/-1; padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(200,149,72,.1); }
}

@media (max-width: 680px) {
  :root { --section-space: 5.6rem; }
  .world-backdrop { background-position: 57% center; filter: brightness(.25) saturate(.75) contrast(1.08); }
  .live-server-section { margin-top: -18px; padding-bottom: 14px; }
  .live-server-shell { display: block; }
  .live-identity { padding: 21px 20px; border-right: 0; border-bottom: 1px solid rgba(206,157,78,.13); }
  .live-icon { flex-basis: 64px; width: 64px; height: 64px; }
  .motd-console { min-height: 125px; padding: 24px 20px; border-bottom: 1px solid rgba(206,157,78,.13); }
  .motd-console p { font-size: .84rem; }
  .live-metrics { display: grid; grid-template-columns: 1fr 1fr 54px; }
  .metric-block { min-width: 0; padding: 19px 15px; }
  .metric-block > strong b { font-size: 1.65rem; }
  .status-refresh { width: auto; }
  .world-gallery { grid-template-columns: 1fr; grid-auto-rows: 215px; }
  .world-shot, .world-shot:nth-child(1), .world-shot:nth-child(2), .world-shot:nth-child(6) { grid-column: 1; grid-row: span 1; }
  .world-shot:nth-child(1) { min-height: 255px; }
  .world-shot figcaption { left: 20px; right: 20px; bottom: 18px; }
  .equipment-proof { grid-template-columns: 1fr; }
  .equipment-proof figure { min-height: 220px; }
  .proof-center { grid-column: auto; grid-row: auto; min-height: 230px; }
  .container, .container-wide { width: min(100% - 30px, 1180px); }
  .nav-shell { width: calc(100% - 28px); }
  .brand-copy strong { font-size: 1rem; }
  .nav-community { display: none; }
  .main-nav { left: -14px; right: -14px; grid-template-columns: 1fr; }
  .main-nav.open { overflow-y: auto; max-height: calc(100vh - 70px); }
  .hero { padding-top: 128px; padding-bottom: 92px; }
  .hero-art { right: -300px; top: 50px; opacity: .3; transform: scale(.72); }
  .hero-kicker { padding-left: 0; font-size: .67rem; letter-spacing: .25em; }
  .hero-title { font-size: clamp(4.5rem, 22vw, 6.8rem); }
  .hero h2 { font-size: 1.05rem; letter-spacing: .12em; }
  .hero-description { font-size: .8rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 0; }
  .hero-meta > div { min-width: 0; }
  .hero-meta > div:last-child { grid-column: 1/-1; padding-left: 13px; }
  .section-heading { margin-bottom: 3rem; }
  .section-heading h2, .death-panel h2, .voice-panel h2 { font-size: clamp(2rem, 11vw, 3.1rem); }
  .feature-grid, .boss-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 330px; }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 12px; }
  .timeline::before { content: ""; position: absolute; left: 43px; top: 30px; bottom: 35px; width: 1px; background: linear-gradient(var(--gold-deep), var(--gold), var(--gold-deep)); box-shadow: 0 0 8px rgba(211,158,70,.25); }
  .timeline-step { display: grid; grid-template-columns: 67px 1fr; align-items: start; gap: 21px; padding-bottom: 30px; text-align: left; }
  .timeline-step::before { display: none; }
  .timeline-node { width: 56px; height: 56px; margin: 0; }
  .timeline-step > div:last-child { padding: 0 0 0 4px; }
  .timeline-step h3 { font-size: 1.05rem; }
  .timeline-step p { font-size: .74rem; }
  .boss-card { min-height: 420px; }
  .forge-progress { grid-template-columns: 1fr; padding-inline: 20px; }
  .forge-stage:nth-of-type(7), .forge-stage:nth-of-type(9) { grid-column: auto; }
  .forge-link { width: 1px; height: 36px; margin: -12px auto; flex-direction: column; }
  .forge-link i { width: 1px; background: linear-gradient(rgba(134,91,40,.25), #99652d); }
  .forge-link b { transform: rotate(90deg); }
  .forge-link:nth-of-type(6) { display: flex; }
  .forge-description { grid-template-columns: auto 1fr; padding: 22px 20px; }
  .forge-description > span { grid-column: 1/-1; }
  .quest-book { padding: 20px 18px 20px 31px; }
  .quest-list { grid-template-columns: 1fr; }
  .quest-list article { min-height: 70px; }
  .death-panel, .voice-panel { min-height: 520px; padding: 35px 25px; }
  .panel-icon { right: 22px; top: 26px; font-size: 4.5rem; }
  .penalty-grid { grid-template-columns: 1fr; }
  .penalty-grid > div { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; }
  .penalty-grid h3 { margin: 0; }
  .join-main { grid-template-columns: 1fr; justify-items: center; padding: 42px 22px 28px; text-align: center; }
  .server-identity { width: 100%; }
  .server-address { text-align: left; }
  .server-address strong { font-size: .85rem; letter-spacing: .02em; }
  .server-facts { grid-template-columns: 1fr 1fr; padding: 8px 16px; }
  .server-facts > div:nth-child(3n) { border-right: 1px solid rgba(201,151,75,.1); }
  .server-facts > div:nth-child(2n) { border-right: 0; }
  .server-facts > div:nth-child(n+4) { border-bottom: 1px solid rgba(201,151,75,.1); }
  .server-facts > div:nth-child(n+5) { border-bottom: 0; }
  .join-actions { flex-direction: column; padding-inline: 20px; }
  .join-actions .button { width: 100%; }
  .rules-grid { grid-template-columns: repeat(2,1fr); }
  .rule-card { min-height: 145px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-message { order: 2; grid-column: auto; }
  .footer-contact { order: 3; align-items: center; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .toast { left: 15px; right: 15px; bottom: 15px; min-width: 0; }
  .back-to-top { right: 17px; bottom: 17px; }
}

@media (max-width: 420px) {
  .rules-grid { grid-template-columns: 1fr; }
  .rule-card { min-height: 120px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > div, .hero-meta > div:last-child { grid-column: auto; padding-left: 13px; border-left: 0; }
  .hero-meta > div::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 1px; background: rgba(202,158,78,.16); }
  .server-facts { grid-template-columns: 1fr; }
  .server-facts > div { border-right: 0 !important; border-bottom: 1px solid rgba(201,151,75,.1) !important; }
  .server-facts > div:last-child { border-bottom: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  #particle-canvas { display: none; }
  .reveal { opacity: 1; transform: none; }
}
