:root {
  color-scheme: dark;
  --bg: #111216;
  --bg-soft: #17191f;
  --panel: #1a1c23;
  --panel-light: #22252e;
  --text: #f1eee7;
  --muted: #aaa9aa;
  --gold: #dfb96e;
  --gold-light: #f4d997;
  --teal: #6bc8b5;
  --red: #b96067;
  --line: rgba(223, 185, 110, .2);
  --serif: 'Marcellus', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: -1; inset: 0; content: ''; pointer-events: none; opacity: .14; background-image: radial-gradient(rgba(255,255,255,.18) .55px, transparent .7px); background-size: 5px 5px; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
img { display: block; max-width: 100%; }
em { color: var(--gold-light); font-style: normal; }
.section-wrap { width: min(var(--content), calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: var(--gold); color: #17130c; border-radius: 5px; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 50; top: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(28px, calc((100vw - var(--content)) / 2)); background: rgba(17,18,22,.93); border-bottom: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(16px); }
.brand { width: 148px; flex: 0 0 auto; }
.brand img { width: 100%; height: 48px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 39px); }
.main-nav a { position: relative; padding: 9px 0; color: #d2d0ce; font-size: .82rem; transition: color .2s ease; }
.main-nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; content: ''; transform: scaleX(0); transform-origin: left; background: var(--gold); transition: transform .24s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.hero { position: relative; width: 100%; max-width: 1920px; height: min(700px, 36.45834vw); min-height: 550px; margin-inline: auto; overflow: hidden; isolation: isolate; background: #18191d; }
.hero-art, .hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.hero-art { object-fit: cover; object-position: center 54%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(10,11,14,.68), rgba(10,11,14,.2) 34%, rgba(10,11,14,.23) 66%, rgba(10,11,14,.57)), linear-gradient(0deg, rgba(12,13,16,.88), transparent 33%, rgba(12,13,16,.16)); }
.hero-content { position: absolute; top: 50%; left: 50%; width: min(700px, calc(100% - 32px)); text-align: center; transform: translate(-50%, -48%); }
.hero-brand-heading { margin: 0 auto 2px !important; }
.hero-logo { display: block; width: min(560px, 82vw); height: auto; margin-inline: auto; filter: drop-shadow(0 5px 20px rgba(0,0,0,.6)); }
.hero-content > .hero-subtitle { margin: 0 auto 24px; color: var(--gold-light); font-size: clamp(.58rem, .9vw, .74rem); font-weight: 700; letter-spacing: .24em; line-height: 1.5; text-shadow: 0 2px 10px #000; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold); font-size: .69rem; font-weight: 700; letter-spacing: .17em; line-height: 1.5; }
.eyebrow i, .patch-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 13px rgba(107,200,181,.8); }
.hero h1 { margin: 20px 0 15px; font: 400 clamp(2.8rem, 6vw, 5.7rem)/1.02 var(--serif); letter-spacing: -.035em; text-shadow: 0 3px 24px rgba(0,0,0,.52); }
.hero h1 em { color: var(--gold-light); }
.hero-content > p { margin: 0 auto 27px; color: #e4e0d9; font-size: clamp(.95rem, 1.4vw, 1.08rem); line-height: 1.7; text-shadow: 0 2px 12px #000; }
.platform-availability { display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 0 auto 20px; padding: 12px 21px 9px; color: var(--gold-light); background: rgba(14,15,18,.8); border: 1px solid rgba(223,185,110,.7); box-shadow: 0 0 28px rgba(223,185,110,.18), inset 0 0 18px rgba(223,185,110,.06); }
.platform-availability > span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .69rem; font-weight: 700; letter-spacing: .13em; white-space: nowrap; }
.platform-availability > span + span { padding-left: 18px; border-left: 1px solid rgba(223,185,110,.38); }
.platform-availability svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.platform-availability small { grid-column: 1 / -1; color: #d1c9b7; font-size: .63rem; letter-spacing: .06em; }
.download-button { min-width: 184px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 0 24px; color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d35d4); border: 1px solid rgba(218,193,255,.7); border-radius: 4px; font-weight: 700; box-shadow: 0 7px 24px rgba(73,35,142,.42); cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, box-shadow .2s; }
.download-button:hover { background: linear-gradient(135deg, #9b70ff, #7c45e6); border-color: rgba(235,219,255,.95); box-shadow: 0 8px 28px rgba(103,56,189,.58); }
.download-button span { font-size: 1.1rem; }
.coming-soon { display: block; margin-top: 10px; color: rgba(255,255,255,.68); font-size: .65rem; font-weight: 600; letter-spacing: .21em; }
.signup-note { max-width: 500px; margin: 12px auto 0 !important; color: #eee8dc !important; font-size: .84rem !important; line-height: 1.55 !important; text-shadow: 0 2px 12px #000; }
.hero-scroll, .hero-coordinate { position: absolute; bottom: 25px; color: rgba(255,255,255,.68); font-size: .6rem; letter-spacing: .14em; }
.hero-scroll { left: 38px; display: flex; align-items: center; gap: 10px; }
.hero-scroll span { width: 28px; height: 1px; background: var(--gold); }
.hero-coordinate { right: 38px; }

.updates { padding-block: 98px 115px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }
.section-heading h2, .about h2, .contact h2, .community h2 { margin: 11px 0 0; font: 400 clamp(2.25rem, 4.5vw, 3.65rem)/1.08 var(--serif); letter-spacing: -.025em; }
.patch-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 7px; padding: 10px 12px; color: #b9b7b2; border: 1px solid rgba(255,255,255,.1); border-radius: 3px; font-size: .61rem; letter-spacing: .11em; white-space: nowrap; }
.patch-tag i { width: 6px; height: 6px; }
.update-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 14px; }
.update-card { position: relative; min-height: 294px; overflow: hidden; background: linear-gradient(145deg, #202229, #17191f); border: 1px solid rgba(255,255,255,.07); }
.update-featured { display: grid; grid-template-columns: .9fr 1.1fr; }
.update-art { position: relative; min-height: 100%; background: linear-gradient(0deg, rgba(9,10,12,.4), transparent), url('assets/world/lumen-combat-pixel.png') center/cover; }
.update-art span { position: absolute; bottom: 17px; left: 17px; padding: 7px 9px; background: rgba(18,19,23,.8); color: var(--gold-light); font-size: .58rem; font-weight: 700; letter-spacing: .12em; }
.update-copy { align-self: center; padding: 27px; }
.update-meta { color: var(--teal); font-size: .58rem; font-weight: 700; letter-spacing: .13em; }
.update-copy h3 { margin: 12px 0 10px; font: 400 1.35rem/1.22 var(--serif); }
.update-copy p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.update-copy a { display: inline-block; margin-top: 17px; color: var(--gold-light); font-size: .75rem; }
.update-copy a span { margin-left: 5px; }
.update-number { position: absolute; top: 16px; right: 18px; color: rgba(223,185,110,.38); font: 1.4rem var(--serif); }
.update-ornament { position: absolute; right: 18px; bottom: 10px; color: rgba(223,185,110,.25); font-size: 2.2rem; }
.update-card:not(.update-featured) .update-copy { padding-top: 48px; }

.about { display: grid; grid-template-columns: .94fr 1fr; align-items: center; gap: clamp(42px, 8vw, 108px); padding-block: 35px 140px; }
.about-image { position: relative; min-height: 430px; }
.about-image > img { width: 100%; height: 430px; object-fit: cover; filter: saturate(.83) brightness(.8); }
.about-image.creator-portrait { display: flex; height: min(620px, 52vw); min-height: 480px; max-height: 620px; align-items: flex-end; justify-content: center; isolation: isolate; }
.about-image.creator-portrait::before { position: absolute; z-index: -1; right: 6%; bottom: 8%; left: 6%; height: 56%; content: ''; background: radial-gradient(ellipse, rgba(223,185,110,.16), transparent 70%); filter: blur(18px); }
.about-image.creator-portrait > img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; min-height: 0; max-height: 620px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 12px 24px rgba(0,0,0,.42)); image-rendering: pixelated; }
.about-image.creator-portrait .image-caption { z-index: 2; }
.about-image.creator-portrait .image-frame { z-index: 0; inset: 14px -14px 0 14px; }
.image-frame { position: absolute; inset: 14px -14px -14px 14px; pointer-events: none; border: 1px solid rgba(223,185,110,.38); }
.image-caption { position: absolute; right: 0; bottom: 0; padding: 14px 18px; background: rgba(17,18,22,.88); color: #efebe4; font-size: .61rem; letter-spacing: .11em; }
.image-caption i { padding-inline: 7px; color: var(--gold); font-style: normal; }
.about-copy h2 { margin-top: 16px; }
.about-copy > p { max-width: 540px; margin: 19px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.85; }
.about-copy > p.about-lead { margin-top: 25px; padding-left: 15px; color: #e8e3da; border-left: 2px solid var(--gold); font-size: 1.04rem; line-height: 1.7; }
.world-facts { display: flex; gap: clamp(28px, 5vw, 57px); margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.world-facts div { display: grid; gap: 4px; }
.world-facts strong { color: var(--gold-light); font: 1.7rem var(--serif); }
.world-facts span { color: #929195; font-size: .58rem; letter-spacing: .15em; }

.classes-section { position: relative; padding-block: 100px 115px; overflow: hidden; background: linear-gradient(115deg, #17191f, #121317 65%, #19171a); border-block: 1px solid rgba(255,255,255,.045); }
.classes-section::before { position: absolute; top: -220px; right: -180px; width: 600px; height: 600px; content: ''; border-radius: 50%; background: rgba(158,105,76,.07); filter: blur(65px); pointer-events: none; }
.classes-heading { margin-bottom: 43px; }
.classes-heading > p, .modes-heading > p { max-width: 265px; margin: 0 0 7px; color: var(--muted); font-size: .87rem; line-height: 1.7; }
.class-carousel { position: relative; }
.class-card { display: grid; grid-template-columns: minmax(300px, .9fr) 1fr; align-items: start; min-height: 460px; overflow: hidden; background: #1e2027; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 24px 65px rgba(0,0,0,.2); }
.class-portrait { position: relative; display: flex; width: 100%; height: min(70vh, 680px); min-height: 460px; align-items: end; justify-content: center; overflow: hidden; background: radial-gradient(ellipse at 50% 52%, rgba(100,85,75,.28), transparent 60%), linear-gradient(135deg, #24242a, #17181e); }
.class-portrait::after { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; height: 43%; content: ''; background: linear-gradient(0deg, rgba(19,20,25,.88), transparent); pointer-events: none; }
.class-portrait img { position: relative; z-index: 0; width: 100%; height: 100%; max-height: 540px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 5px 20px rgba(0,0,0,.28)); transition: opacity .18s ease, transform .45s ease; }
.class-portrait img.changing { opacity: .2; transform: translateY(8px); }
.portrait-glow { position: absolute; z-index: 0; right: 12%; bottom: 5%; left: 12%; height: 12px; border-radius: 50%; background: rgba(223,185,110,.28); filter: blur(17px); }
.class-count { position: absolute; z-index: 2; top: 22px; left: 23px; color: rgba(255,255,255,.65); font-size: .7rem; letter-spacing: .08em; }
.class-count b { color: var(--gold-light); font-size: .95rem; }
.class-mark { position: absolute; z-index: 2; right: 22px; bottom: 18px; color: rgba(223,185,110,.65); font-size: 1.3rem; }
.class-information { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 5vw, 68px); }
.class-information h3 { margin: 11px 0 13px; font: 400 clamp(2.3rem, 5vw, 4rem)/1.05 var(--serif); }
.class-race { margin: -8px 0 12px; color: var(--gold-light); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.class-information > p { max-width: 425px; margin: 0; color: #b4b2b1; font-size: .95rem; line-height: 1.8; }
.race-class-availability { margin-top: 34px; padding: clamp(20px, 3vw, 34px); background: #191b21; border: 1px solid rgba(255,255,255,.08); }
.availability-heading h3 { margin: 8px 0 5px; font: 400 clamp(1.45rem, 3vw, 2rem)/1.2 var(--serif); }
.availability-heading p { margin: 0; color: var(--muted); font-size: .84rem; }
.race-class-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.race-class-grid article { padding: 16px; background: #202229; border: 1px solid rgba(223,185,110,.17); }
.race-class-grid h4 { margin: 0 0 8px; color: var(--gold-light); font: 400 1.15rem var(--serif); }
.race-class-grid p { margin: 0; color: #c4c1c0; font-size: .77rem; line-height: 1.7; }
.specializations { display: grid; gap: 8px; margin-top: 29px; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.specializations > span { color: #88878a; font-size: .6rem; letter-spacing: .14em; }
.specializations strong { font-size: .83rem; font-weight: 500; }
.specializations i { padding-inline: 7px; color: var(--gold); font-style: normal; }
.class-skills-open { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; padding: 12px 15px; color: var(--gold-light); background: rgba(223,185,110,.08); border: 1px solid rgba(223,185,110,.35); font: 600 .77rem var(--sans); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.class-skills-open:hover { transform: translateY(-1px); background: rgba(223,185,110,.15); border-color: var(--gold); }
.class-skills-open span { font-size: 1rem; }
.class-skills-dialog { width: min(940px, calc(100% - 32px)); max-width: none; max-height: min(86vh, 900px); overflow: hidden; padding: 0; color: var(--text); background: #17191f; border: 1px solid rgba(223,185,110,.35); box-shadow: 0 28px 90px rgba(0,0,0,.6); }
.class-skills-dialog[open] { animation: class-skills-enter .2s ease-out both; }
.class-skills-dialog::backdrop { background: rgba(5,6,9,.78); backdrop-filter: blur(5px); }
.class-skills-dialog-content { max-height: calc(min(86vh, 900px) - 2px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: clamp(19px, 4vw, 36px); }
.class-skills-dialog-content > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.09); }
.class-skills-dialog-content > header h2 { margin: 7px 0 0; font: 400 clamp(1.65rem, 4vw, 2.4rem)/1.15 var(--serif); }
.class-skills-close { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; color: var(--gold-light); background: #22252e; border: 1px solid rgba(223,185,110,.35); border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.class-skills { width: 100%; margin-top: 20px; }
@keyframes class-skills-enter { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.class-skills-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.1); }
.class-skills-heading > span { color: var(--gold); font-size: .59rem; font-weight: 700; letter-spacing: .13em; }
.class-skills-heading > strong { color: var(--muted); font-size: .62rem; font-weight: 500; text-align: right; }
.skill-specialization { min-width: 0; }
.skill-specialization h5 { margin: 0 0 8px; color: var(--gold-light); font-size: .77rem; letter-spacing: .04em; }
.skill-list { display: grid; gap: 7px; }
.skill-specializations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 15px; }
.skill-card { display: grid; grid-template-columns: 43px minmax(0, 1fr); align-items: start; gap: 9px; min-width: 0; padding: 9px; background: rgba(10,11,14,.4); border: 1px solid rgba(255,255,255,.065); }
.skill-card > img { width: 43px; height: 43px; object-fit: cover; border: 1px solid rgba(223,185,110,.28); border-radius: 3px; }
.skill-card strong { display: block; color: var(--text); font-size: .69rem; line-height: 1.35; }
.skill-level { display: block; margin-top: 2px; color: var(--teal); font-size: .57rem; }
.skill-facts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.skill-facts > span { padding: 3px 6px; color: #c9c3cf; background: #ffffff08; border: 1px solid #ffffff12; border-radius: 3px; font-size: .57rem; line-height: 1.4; }
.skill-facts strong { display: inline; color: var(--gold-light); font-size: inherit; }
.skill-facts i { font-style: normal; font-weight: 700; }
.skill-facts [data-skill-category="Dano"] { color: #f1a194; }
.skill-facts [data-skill-category="Buff"] { color: #c6a7ff; }
.skill-facts [data-skill-category="Cura"] { color: #8fe2b6; }
.skill-card .skill-description { margin: 6px 0 0; color: #b4b2b1; font-size: .63rem; line-height: 1.5; }
.skill-description strong { display: inline; color: #dfd9e4; font-size: inherit; }
.class-controls { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 32px; }
.gender-switch { display: flex; gap: 4px; padding: 4px; background: #14151a; border: 1px solid rgba(255,255,255,.08); border-radius: 3px; }
.gender-switch button { padding: 8px 11px; color: #a5a3a2; background: none; border: 0; border-radius: 2px; font-size: .7rem; cursor: pointer; transition: background .2s, color .2s; }
.gender-switch button.selected { color: #16140f; background: var(--gold); font-weight: 700; }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button { width: 39px; height: 39px; color: var(--gold-light); background: transparent; border: 1px solid rgba(223,185,110,.4); border-radius: 50%; font-size: 1rem; cursor: pointer; transition: background .2s, transform .2s; }
.carousel-arrows button:hover { transform: translateY(-2px); background: rgba(223,185,110,.12); }
.class-dots { display: flex; gap: 7px; margin-top: 24px; }
.class-dots button { width: 20px; height: 3px; padding: 0; background: #535258; border: 0; cursor: pointer; transition: width .2s, background .2s; }
.class-dots button[aria-current="true"] { width: 35px; background: var(--gold); }

.modes { padding-block: 115px 130px; }
.modes-heading { margin-bottom: 36px; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.mode-card { position: relative; display: flex; min-height: 280px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 22px; isolation: isolate; background: #1a1b20; border: 1px solid rgba(255,255,255,.07); }
.mode-card::before { position: absolute; z-index: -2; inset: 0; content: ''; background: var(--mode-art) center/cover; opacity: .54; transition: transform .5s ease, opacity .35s; }
.mode-card::after { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(0deg, rgba(13,14,17,.98), rgba(13,14,17,.42) 68%, rgba(13,14,17,.25)); }
.mode-card:hover::before { opacity: .74; transform: scale(1.045); }
.mode-wide { grid-column: span 2; }
.mode-icon { display: grid; width: 36px; height: 36px; place-items: center; color: var(--gold-light); background: rgba(15,16,19,.62); border: 1px solid rgba(223,185,110,.42); font-size: 1rem; }
.mode-index { color: var(--gold); font-size: .59rem; font-weight: 700; letter-spacing: .13em; }
.mode-card h3 { margin: 8px 0; font: 400 1.45rem var(--serif); }
.mode-card p { max-width: 400px; margin: 0; color: #b8b6b5; font-size: .81rem; line-height: 1.65; }
.mode-boss::before { object-position: center 42%; }

.pve { padding-block: 0 120px; }
.pve-heading { margin-bottom: 32px; }
.pve-exploration, .pve-card, .pve-tower { overflow: hidden; background: #17191f; border: 1px solid rgba(223,185,110,.2); }
.pve-exploration { display: grid; grid-template-columns: 1.08fr 1fr; min-height: 285px; margin-bottom: 15px; }
.pve-exploration > img { width: 100%; height: 100%; min-height: 285px; object-fit: cover; image-rendering: pixelated; }
.pve-exploration > div, .pve-copy, .pve-tower-copy { align-self: center; padding: clamp(23px, 4vw, 42px); }
.pve h3 { margin: 9px 0 11px; font: 400 clamp(1.45rem, 2.5vw, 2rem)/1.2 var(--serif); }
.pve-exploration p, .pve-card p, .pve-tower p { margin: 0; color: #b8b6b5; font-size: .84rem; line-height: 1.7; }
.pve-dungeon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.pve-scene { display: block; width: 100%; height: 205px; object-fit: cover; image-rendering: pixelated; }
.pve-copy { padding: 23px; }
.pve-boss { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.09); }
.pve-boss > img { display: block; width: min(304px, 100%); height: auto; aspect-ratio: 1 / 1; flex: 0 0 auto; object-fit: cover; image-rendering: pixelated; border: 1px solid rgba(223,185,110,.35); }
.pve-boss small, .pve-boss strong { display: block; }
.pve-boss small { margin-bottom: 4px; color: var(--gold); font-size: .57rem; font-weight: 700; letter-spacing: .12em; }
.pve-boss strong { color: var(--text); font-size: .77rem; line-height: 1.45; }
.pve-tower { display: grid; grid-template-columns: 1.08fr 1fr; margin-top: 15px; }
.pve-tower-scene { width: 100%; height: 100%; min-height: 310px; object-fit: cover; image-rendering: pixelated; }
.pve-tower-copy { padding: clamp(23px, 4vw, 42px); }
.pve-world-boss > .pve-tower-scene { height: auto; min-height: 0; aspect-ratio: 1; object-fit: contain; align-self: center; }
.pve-world-boss-stats { padding-left: 20px; color: #cfc4df; font-size: .84rem; line-height: 1.75; }
.pve-world-boss-stats li + li { margin-top: 8px; }

.community { padding-block: 0 120px; }
.community-panel { position: relative; display: flex; min-height: 290px; align-items: center; gap: 35px; overflow: hidden; padding: 45px clamp(25px, 7vw, 85px); background: linear-gradient(100deg, rgba(19,21,26,.97), rgba(19,21,26,.82)), url('assets/world/mercenary-pvp-pixel.png') center 45%/cover; border: 1px solid rgba(223,185,110,.24); }
.community-symbol { display: grid; width: 76px; height: 76px; flex: 0 0 auto; place-items: center; color: var(--gold-light); border: 1px solid rgba(223,185,110,.55); border-radius: 50%; font-size: 1.7rem; box-shadow: 0 0 35px rgba(223,185,110,.1), inset 0 0 22px rgba(223,185,110,.08); }
.community-copy { position: relative; z-index: 1; }
.community h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.community-copy > p { max-width: 420px; margin: 14px 0 0; color: var(--muted); font-size: .87rem; line-height: 1.7; }
.discord-button { position: relative; z-index: 1; display: inline-flex; min-width: 143px; align-items: center; justify-content: center; gap: 22px; margin-left: auto; padding: 14px 17px; color: #17140f; background: var(--gold); border: 1px solid var(--gold-light); font-weight: 700; transition: background .2s, transform .2s; }
.discord-button:hover { transform: translateY(-2px); background: var(--gold-light); }
.community-flourish { position: absolute; right: -11px; bottom: -112px; color: rgba(223,185,110,.045); font: 23rem var(--serif); }

.contact { padding-block: 5px 105px; text-align: center; }
.contact h2 { margin-top: 12px; }
.contact > p { margin: 15px 0 29px; color: var(--muted); font-size: .88rem; }
.contact-links { display: flex; justify-content: center; gap: 11px; }
.contact-links a, .contact-links > div { display: flex; align-items: center; gap: 11px; padding: 13px 15px; color: var(--text); background: var(--panel); border: 1px solid rgba(255,255,255,.08); font-size: .75rem; }
.contact-links a > span, .contact-links > div > span { color: var(--gold); }
.contact-links a b { color: #8f8e92; font-size: .65rem; font-weight: 500; }
.site-footer { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px max(28px, calc((100vw - var(--content)) / 2)); background: #0d0e11; border-top: 1px solid rgba(255,255,255,.07); }
.footer-brand { width: 115px; }
.footer-brand img { width: 100%; height: 42px; object-fit: contain; object-position: left center; }
.site-footer p { margin: 0; color: #b7b4b0; font-size: .75rem; line-height: 1.8; text-align: center; }
.site-footer p span { padding-inline: 5px; color: var(--gold); }
.site-footer small { color: #77767a; font-size: .67rem; }
.privacy-policy-link { color: var(--gold-light); font-size: .68rem; text-underline-offset: 3px; }
.back-top { display: grid; width: 36px; height: 36px; place-items: center; color: var(--gold-light); border: 1px solid rgba(223,185,110,.33); border-radius: 50%; }

@media (max-width: 850px) {
  .site-header { height: 68px; padding-inline: 23px; }
  .brand { width: 130px; }
  .menu-toggle { width: 42px; height: 42px; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 0; background: transparent; border: 1px solid rgba(223,185,110,.3); border-radius: 2px; }
  .menu-toggle span { width: 17px; height: 1px; background: var(--gold-light); transition: transform .2s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 23px 15px; background: rgba(17,18,22,.98); border-bottom: 1px solid var(--line); box-shadow: 0 18px 25px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.055); }
  .hero { height: 620px; min-height: unset; }
  .hero-art { object-position: 55% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,11,14,.61), rgba(10,11,14,.16) 50%, rgba(10,11,14,.48)), linear-gradient(0deg, rgba(12,13,16,.88), transparent 50%, rgba(12,13,16,.12)); }
  .hero-scroll { left: 23px; }
  .hero-coordinate { right: 23px; }
  .update-grid { grid-template-columns: 1fr 1fr; }
  .update-featured { grid-column: span 2; }
  .about { gap: 43px; }
  .about-image, .about-image > img { min-height: 370px; height: 370px; }
  .about-image.creator-portrait { min-height: 460px; height: 460px; max-height: 460px; }
  .about-image.creator-portrait > img { min-height: 0; height: 100%; }
  .class-card { grid-template-columns: .86fr 1fr; }
  .class-portrait { height: min(70vh, 620px); min-height: 430px; }
  .class-information { padding: 30px; }
  .mode-grid { grid-template-columns: repeat(2, 1fr); }
  .pve-exploration, .pve-tower { grid-template-columns: 1fr; }
  .pve-exploration > img { height: 260px; min-height: 0; }
  .pve-tower-scene { height: 260px; min-height: 0; }
  .community-panel { flex-wrap: wrap; gap: 23px; }
  .community-copy { flex: 1 1 calc(100% - 110px); }
  .discord-button { margin-left: 99px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 70px; }
  .section-wrap { width: calc(100% - 36px); }
  .site-header { padding-inline: 18px; }
  .brand { width: 118px; }
  .brand img { height: 43px; }
  .hero { height: min(680px, calc(100svh - 68px)); min-height: 545px; }
  .hero-art { object-position: 54% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,11,14,.48), rgba(10,11,14,.23)), linear-gradient(0deg, rgba(12,13,16,.91), rgba(12,13,16,.06) 72%); }
  .hero-content { top: 48%; width: calc(100% - 35px); }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.1rem); }
  .hero-content > p { font-size: .91rem; }
  .platform-availability { gap: 7px 12px; margin-bottom: 17px; padding: 10px 14px 8px; }
  .platform-availability > span { gap: 6px; font-size: .61rem; letter-spacing: .09em; }
  .platform-availability > span + span { padding-left: 11px; }
  .platform-availability svg { width: 20px; height: 20px; }
  .platform-availability small { font-size: .59rem; }
  .download-button { min-width: 170px; min-height: 48px; }
  .signup-note { max-width: 340px; margin-top: 9px !important; font-size: .75rem !important; }
  .hero-scroll { bottom: 18px; left: 18px; font-size: .53rem; }
  .hero-coordinate { right: 18px; bottom: 18px; max-width: 125px; font-size: .48rem; text-align: right; }
  .updates { padding-block: 73px 83px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 25px; }
  .section-heading h2, .about h2, .contact h2 { font-size: 2.35rem; }
  .patch-tag { margin: 0; }
  .update-grid { grid-template-columns: 1fr; gap: 11px; }
  .update-featured { grid-column: auto; grid-template-columns: 1fr; }
  .update-art { min-height: 170px; }
  .update-copy { padding: 21px; }
  .update-card { min-height: unset; }
  .update-card:not(.update-featured) .update-copy { padding: 28px 21px 24px; }
  .about { grid-template-columns: 1fr; gap: 47px; padding-block: 15px 95px; }
  .about-image, .about-image > img { min-height: 310px; height: 310px; }
  .about-image.creator-portrait { min-height: 350px; height: 350px; max-height: 350px; }
  .about-image.creator-portrait > img { min-height: 0; height: 100%; }
  .image-frame { inset: 9px -8px -9px 9px; }
  .about-copy > p { font-size: .88rem; }
  .classes-section { padding-block: 76px 82px; }
  .classes-heading > p, .modes-heading > p { max-width: 100%; margin: 0; }
  .class-card { grid-template-columns: 1fr; }
  .race-class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .class-portrait { position: relative; top: auto; min-height: unset; height: min(112vw, 430px); }
  .class-information { min-height: 340px; padding: 27px 24px 25px; }
  .race-class-grid { grid-template-columns: 1fr; }
  .class-skills-dialog { width: calc(100% - 20px); max-height: 90vh; }
  .class-skills-dialog-content { max-height: calc(90vh - 2px); padding: 20px 15px; }
  .skill-specializations { grid-template-columns: 1fr; gap: 14px; }
  .skill-card { grid-template-columns: 43px minmax(0, 1fr); }
  .class-skills-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .class-skills-heading > strong { text-align: left; }
  .class-information h3 { font-size: 2.8rem; }
  .class-information > p { font-size: .87rem; }
  .class-controls { margin-top: 24px; }
  .gender-switch button { padding-inline: 8px; font-size: .64rem; }
  .carousel-arrows button { width: 35px; height: 35px; }
  .class-dots { margin-top: 20px; }
  .modes { padding-block: 79px 87px; }
  .mode-grid { grid-template-columns: 1fr; gap: 11px; }
  .mode-wide { grid-column: auto; }
  .mode-card { min-height: 245px; padding: 19px; }
  .pve { padding-bottom: 87px; }
  .pve-dungeon-grid { grid-template-columns: 1fr; gap: 11px; }
  .pve-exploration { margin-bottom: 11px; }
  .pve-exploration > img, .pve-scene, .pve-tower-scene { height: 205px; }
  .pve-exploration > div, .pve-copy, .pve-tower-copy { padding: 21px; }
  .pve-boss { margin-top: 15px; }
  .community { padding-bottom: 84px; }
  .community-panel { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 27px 20px; }
  .community-symbol { width: 48px; height: 48px; font-size: 1.1rem; }
  .community-copy { grid-column: 2; }
  .community .eyebrow { font-size: .55rem; letter-spacing: .1em; }
  .community h2 { font-size: 2.15rem; }
  .community-copy > p { font-size: .81rem; }
  .discord-button { grid-column: 2; min-width: 125px; justify-self: start; margin: 0; padding: 12px 14px; font-size: .81rem; }
  .contact { padding-bottom: 77px; }
  .contact > p { max-width: 300px; margin-inline: auto; line-height: 1.7; }
  .contact-links { align-items: stretch; flex-direction: column; width: min(330px, 100%); margin-inline: auto; }
  .contact-links a, .contact-links > div { justify-content: flex-start; }
  .site-footer { min-height: 125px; padding: 21px 18px; }
  .footer-brand { width: 76px; }
  .footer-brand img { height: 34px; }
  .site-footer p { font-size: .66rem; }
  .site-footer small { font-size: .59rem; }
  .back-top { width: 32px; height: 32px; flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
