/* Valhalla MMORPG — visual system */
:root {
  --bg: #090e11;
  --bg-soft: #0d1418;
  --panel: #111a1f;
  --panel-light: #162229;
  --line: rgba(202, 220, 220, .12);
  --line-strong: rgba(218, 183, 112, .28);
  --text: #eef1ec;
  --muted: #9aa8a8;
  --gold: #d8b570;
  --gold-bright: #efd49b;
  --gold-dark: #987341;
  --ice: #8bc6c5;
  --green: #88ba9b;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --shell: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
::selection { color: #101517; background: var(--gold); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 124px 0; position: relative; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--bg);
  background: var(--gold-bright);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(8, 14, 17, .92);
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 88px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: 3px; }
.brand-text small { margin-top: 6px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: 3.15px; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.main-nav a { position: relative; color: #c3cecc; font-size: 12px; font-weight: 600; letter-spacing: .35px; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transition: right .25s ease;
}
.main-nav a:hover { color: var(--gold-bright); }
.main-nav a:hover::after { right: 0; }
.nav-action { margin-left: 6px; }
.menu-toggle { display: none; }

/* Buttons */
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .55px;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.button svg { width: 20px; height: 20px; flex-shrink: 0; }
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #172022;
  background: linear-gradient(120deg, #c89d59, #efd39a 55%, #c9a361);
  box-shadow: 0 8px 30px rgba(203, 165, 98, .16), inset 0 1px rgba(255, 255, 255, .35);
}
.button-primary:hover { box-shadow: 0 13px 36px rgba(203, 165, 98, .28), inset 0 1px rgba(255, 255, 255, .35); }
.button-ghost { color: #e4e9e5; border-color: rgba(238, 241, 236, .22); background: rgba(7, 13, 16, .25); }
.button-ghost:hover { border-color: var(--gold); background: rgba(7, 13, 16, .5); }
.button-small { min-height: 40px; padding: 0 18px; font-size: 11px; color: #141c1e; background: var(--gold); }
.button-small svg { width: 17px; height: 17px; }
.button-full { width: 100%; }

/* Hero */
.hero { position: relative; min-height: 790px; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -2; background-image: url("./valheim-hero.jpg"); background-size: cover; background-position: 58% center; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 12, 15, .98) 0%, rgba(6, 12, 15, .9) 28%, rgba(6, 12, 15, .48) 51%, rgba(6, 12, 15, .06) 77%),
    linear-gradient(0deg, #090e11 0%, rgba(9, 14, 17, .74) 13%, transparent 48%, rgba(4, 10, 12, .2) 100%);
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, transparent 0, rgba(4, 9, 12, .1) 48%, rgba(4, 9, 12, .4) 100%);
}
.hero-content { flex: 1; display: flex; align-items: center; padding-top: 130px; padding-bottom: 60px; }
.hero-copy { width: min(650px, 58%); }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.6px;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero-eyebrow { margin-bottom: 24px; }
.rune-dot { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 14px rgba(216, 181, 112, .6); }
.eyebrow-divider { width: 26px; height: 1px; background: rgba(216, 181, 112, .45); }
.hero h1 { margin-bottom: 25px; font-size: clamp(64px, 6.4vw, 94px); line-height: .88; letter-spacing: -2.4px; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero h1 span { color: var(--gold-bright); font-weight: 500; }
.hero-lead { max-width: 580px; margin-bottom: 32px; color: #b7c3c1; font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 21px; margin-top: 24px; color: #94a4a3; font-size: 10px; font-weight: 600; }
.hero-notes span { display: flex; align-items: center; gap: 5px; }
.hero-notes svg { width: 14px; height: 14px; color: var(--gold); }
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 27px 0 33px;
  border-top: 1px solid rgba(218, 231, 226, .14);
}
.hero-stats > div { display: flex; align-items: center; gap: 15px; padding-left: 28px; border-left: 1px solid var(--line); }
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { color: #f0e9da; font-family: var(--display); font-size: 42px; font-weight: 600; line-height: 1; }
.hero-stats strong > span:not(.stat-star) { margin-left: 2px; font-size: 24px; }
.hero-stats .stat-star { margin-left: 2px; color: var(--gold); font-family: var(--body); font-size: 17px; vertical-align: top; }
.hero-stats div > span { max-width: 100px; color: #8e9d9b; font-size: 9px; font-weight: 600; letter-spacing: .3px; line-height: 1.55; text-transform: uppercase; }

/* Connection */
.connection-section { position: relative; z-index: 2; background: var(--bg); }
.connection-card {
  display: grid;
  grid-template-columns: 1.25fr 1.35fr .9fr 1fr;
  align-items: center;
  gap: 0;
  margin-top: 34px;
  padding: 27px 32px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(110deg, rgba(24, 34, 37, .98), rgba(14, 23, 27, .98));
  box-shadow: var(--shadow);
}
.connection-heading { padding-right: 25px; }
.connection-heading .section-kicker { margin-bottom: 4px; font-size: 8px; letter-spacing: 1.8px; }
.connection-heading h2 { margin: 0; font-size: 28px; line-height: 1.1; }
.connection-item { min-width: 0; padding: 3px 24px; border-left: 1px solid var(--line); }
.connection-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
.connection-value-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.connection-item code { color: #f0e9da; font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .15px; white-space: nowrap; }
.connection-world strong { font-size: 13px; }
.copy-button { width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; padding: 0; color: var(--muted); border: 0; border-radius: 3px; background: transparent; cursor: pointer; transition: color .2s, background .2s; }
.copy-button:hover, .copy-button.copied { color: var(--gold-bright); background: rgba(216, 181, 112, .09); }
.copy-button svg { width: 18px; height: 18px; }

/* Shared section styles */
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 70px; margin-bottom: 52px; }
.section-kicker { margin-bottom: 13px; }
.section-heading h2, .world-copy h2, .start-copy h2, .faq-heading h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(43px, 4.3vw, 60px);
  line-height: .98;
  letter-spacing: -1.2px;
}
.section-heading > p { max-width: 420px; margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.85; }

/* Features */
.features-section { background: radial-gradient(circle at 100% 0%, rgba(64, 100, 101, .09), transparent 35%), var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { position: relative; min-height: 345px; padding: 34px 32px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(15, 23, 27, .52); overflow: hidden; transition: background .25s ease, transform .25s ease; }
.feature-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .35s ease; }
.feature-card:hover { background: rgba(23, 34, 39, .85); }
.feature-card:hover::after { width: 100%; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 29px; color: var(--gold); border: 1px solid rgba(216, 181, 112, .25); background: rgba(216, 181, 112, .04); transform: rotate(45deg); }
.feature-icon svg { width: 27px; height: 27px; transform: rotate(-45deg); }
.feature-number { position: absolute; top: 30px; right: 30px; color: rgba(216, 181, 112, .25); font-family: var(--display); font-size: 25px; }
.feature-card h3 { margin-bottom: 12px; font-family: var(--display); font-size: 27px; font-weight: 600; line-height: 1.1; }
.feature-card p { margin-bottom: 23px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.feature-tag { color: #b4c2bf; font-size: 9px; font-weight: 700; letter-spacing: .55px; }
.attribute-list, .rarity-list { display: flex; flex-wrap: wrap; gap: 6px; }
.attribute-list span { padding: 3px 8px; color: #b8c6c3; border: 1px solid var(--line); font-size: 8px; text-transform: uppercase; }
.rarity-list { gap: 9px; font-size: 9px; font-weight: 700; }
.rarity-magic { color: #78aee3; }
.rarity-rare { color: #e4d36d; }
.rarity-epic { color: #b68ade; }
.rarity-legendary { color: #e99b59; }
.star-row { color: var(--gold); font-size: 14px; letter-spacing: 6px; }

/* World */
.world-section { background: linear-gradient(120deg, #10191d, #0b1215); border-block: 1px solid var(--line); }
.world-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 105px; }
.world-copy { position: sticky; top: 125px; align-self: start; }
.world-copy h2 { margin-bottom: 26px; }
.world-copy > p { max-width: 390px; margin-bottom: 25px; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-bottom: 5px; color: var(--gold-bright); border-bottom: 1px solid rgba(216, 181, 112, .4); font-size: 11px; font-weight: 700; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(2px, -2px); }
.world-list { border-top: 1px solid var(--line); }
.world-item { display: grid; grid-template-columns: 45px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.world-item-number { padding-top: 3px; color: var(--gold-dark); font-family: var(--display); font-size: 18px; }
.world-item h3 { margin-bottom: 8px; font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.2; }
.world-item p { max-width: 510px; margin: 0; color: var(--muted); font-size: 12px; }

/* Installation */
.start-section { background: radial-gradient(circle at 85% 38%, rgba(75, 120, 119, .13), transparent 30%), var(--bg); }
.start-panel { display: grid; grid-template-columns: 1fr .85fr; gap: 80px; align-items: center; }
.start-copy h2 { margin-bottom: 21px; }
.start-copy > p { max-width: 490px; margin-bottom: 30px; color: var(--muted); font-size: 13px; }
.install-steps { margin: 0; padding: 0; list-style: none; }
.install-steps li { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding-bottom: 24px; }
.install-steps li:not(:last-child)::after { content: ""; position: absolute; top: 36px; bottom: 2px; left: 17px; width: 1px; background: var(--line-strong); }
.install-steps li > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--display); font-size: 18px; background: var(--bg); }
.install-steps strong { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; }
.install-steps p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.launcher-showcase { position: relative; padding: 20px; }
.launcher-glow { position: absolute; inset: 20% 5%; z-index: -1; background: rgba(143, 185, 170, .15); filter: blur(70px); }
.launcher-window { position: relative; border: 1px solid rgba(205, 221, 216, .18); border-radius: 9px; background: linear-gradient(145deg, rgba(25, 37, 41, .98), rgba(11, 18, 22, .99)); box-shadow: 0 38px 90px rgba(0, 0, 0, .48); overflow: hidden; transform: rotate(1.2deg); transition: transform .35s ease; }
.launcher-window:hover { transform: rotate(0); }
.launcher-topbar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 15px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .16); }
.launcher-topbar > span { width: 6px; height: 6px; border-radius: 50%; background: #54625f; }
.launcher-topbar > span:first-child { background: var(--gold-dark); }
.launcher-topbar small { margin-left: auto; color: #71817e; font-size: 7px; font-weight: 700; letter-spacing: 1.8px; }
.launcher-body { padding: 32px 38px 28px; text-align: center; }
.launcher-emblem { width: 53px; height: 53px; margin: 0 auto 17px; color: var(--gold); }
.launcher-status { color: var(--green); font-size: 7px; font-weight: 800; letter-spacing: 2px; }
.launcher-body h3 { margin: 7px 0 0; font-family: var(--display); font-size: 31px; font-weight: 600; }
.launcher-body > p { margin: 0 0 24px; color: var(--muted); font-size: 9px; }
.launcher-checks { margin: 0 0 25px; padding: 18px 0; border-block: 1px solid var(--line); list-style: none; text-align: left; }
.launcher-checks li { display: flex; gap: 9px; padding: 4px 0; color: #b6c2bf; font-size: 10px; }
.launcher-checks li span { color: var(--green); }
.launcher-file { display: block; margin-top: 12px; color: #748480; font-size: 8px; }
.start-footer { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 50px; margin-top: 70px; padding-top: 25px; border-top: 1px solid var(--line); }
.requirement span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.requirement strong { font-size: 11px; font-weight: 600; }
.manual-install { border-bottom: 1px solid var(--line); }
.manual-install summary { display: flex; justify-content: space-between; padding: 0 0 12px; color: #bdc8c5; font-size: 11px; font-weight: 600; cursor: pointer; list-style: none; }
.manual-install summary::-webkit-details-marker { display: none; }
.manual-install summary span { color: var(--gold); font-size: 18px; line-height: 1; transition: transform .2s; }
.manual-install[open] summary span { transform: rotate(45deg); }
.manual-content { padding: 6px 0 17px; color: var(--muted); font-size: 10px; }
.manual-content p { margin-bottom: 10px; }
.manual-content code { color: #c4d0cc; overflow-wrap: anywhere; }
.manual-content div { display: flex; flex-wrap: wrap; gap: 20px; }
.manual-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq-section { padding-top: 30px; }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq-heading p { margin-top: 20px; color: var(--muted); font-size: 12px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-size: 23px; font-weight: 600; line-height: 1.25; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; top: 8px; left: 2px; width: 14px; height: 1px; background: var(--gold); transition: transform .2s; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 630px; margin: -5px 35px 23px 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.faq-list details code { color: #d1d9d4; }

/* Closing */
.final-cta { position: relative; padding: 100px 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 120%, rgba(108, 142, 126, .18), transparent 60%), #0d1518; overflow: hidden; }
.final-cta::before, .final-cta::after { content: ""; position: absolute; top: 50%; width: 23%; height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 181, 112, .25)); }
.final-cta::before { left: 0; }
.final-cta::after { right: 0; transform: rotate(180deg); }
.final-cta-inner { position: relative; }
.final-cta-inner::before { content: "ᛟ"; position: absolute; top: 50%; left: 50%; z-index: -1; color: rgba(216, 181, 112, .025); font-family: serif; font-size: 360px; line-height: 1; transform: translate(-50%, -50%); }
.final-cta h2 { margin-bottom: 18px; font-size: clamp(49px, 5vw, 68px); }
.final-cta p { margin-bottom: 26px; color: var(--muted); font-size: 12px; }

/* Footer */
.site-footer { background: #070c0e; }
.footer-main { display: flex; align-items: center; gap: 60px; padding-block: 42px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-brand .brand-text strong { font-size: 20px; }
.footer-connect { display: flex; flex-direction: column; }
.footer-connect > span { color: #6f807e; font-size: 7px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-connect button { padding: 0; color: #c3ceca; border: 0; background: none; font-size: 11px; cursor: pointer; }
.footer-connect button span { margin-left: 9px; color: var(--gold); font-size: 8px; text-transform: uppercase; }
.footer-nav { display: flex; gap: 25px; margin-left: auto; color: var(--muted); font-size: 10px; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 18px; color: #5d6d6b; border-top: 1px solid rgba(202, 220, 220, .07); font-size: 8px; }

/* UI feedback and motion */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 30; padding: 11px 18px; color: #14201d; border: 1px solid #b5d0ba; border-radius: 3px; background: #d6e6d7; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); font-size: 11px; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.feature-grid .reveal:nth-child(2), .world-list .reveal:nth-child(2) { transition-delay: .06s; }
.feature-grid .reveal:nth-child(3), .world-list .reveal:nth-child(3) { transition-delay: .12s; }
.feature-grid .reveal:nth-child(5), .world-list .reveal:nth-child(4) { transition-delay: .06s; }
.feature-grid .reveal:nth-child(6) { transition-delay: .12s; }

:root { --shadow: 0 18px 44px rgba(0, 0, 0, .22); }
body { font-size: 16px; font-kerning: normal; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-synthesis: none; }
.site-header.is-scrolled, .site-header.menu-open { box-shadow: 0 8px 26px rgba(0, 0, 0, .12); }
.main-nav a { font-size: 12.5px; letter-spacing: .1px; }
.button { font-size: 13px; font-weight: 700; letter-spacing: .15px; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease; }
.button:hover { transform: none; }
.button-primary { background: #dbba7d; box-shadow: 0 5px 18px rgba(203, 165, 98, .1); }
.button-primary:hover { background: #e4c88f; box-shadow: 0 7px 20px rgba(203, 165, 98, .14); }
.eyebrow, .section-kicker { font-size: 9px; font-weight: 700; letter-spacing: 1.9px; }
.rune-dot { box-shadow: none; }
.hero h1 { font-size: clamp(64px, 6.1vw, 88px); line-height: .93; letter-spacing: -1.5px; text-shadow: none; }
.hero-lead { max-width: 570px; font-size: 16px; line-height: 1.75; }
.hero-notes { font-size: 11px; }
.hero-stats div > span { font-size: 9.5px; letter-spacing: .15px; }
.connection-card { background: #10191d; }
.connection-label { font-size: 9.5px; letter-spacing: .9px; }
.connection-world strong { font-size: 14px; }
.section-heading h2, .world-copy h2, .start-copy h2, .faq-heading h2, .final-cta h2 { font-size: clamp(43px, 4vw, 56px); line-height: 1.03; letter-spacing: -.65px; }
.section-heading > p { font-size: 14px; line-height: 1.8; }
.feature-card { min-height: 360px; transition: background-color .2s ease; }
.feature-card::after { display: none; }
.feature-icon { width: 44px; height: 44px; border-radius: 2px; transform: none; transition: border-color .2s ease; }
.feature-icon svg { transform: none; }
.feature-card:hover .feature-icon { border-color: rgba(216, 181, 112, .5); }
.feature-card h3 { font-size: 26px; line-height: 1.15; }
.feature-card p { font-size: 13.5px; line-height: 1.75; }
.feature-tag { font-size: 9.5px; letter-spacing: .2px; }
.attribute-list span, .rarity-list { font-size: 9px; }
.world-copy > p { font-size: 14px; line-height: 1.8; }
.world-item h3 { font-size: 25px; }
.world-item p { font-size: 13.5px; line-height: 1.75; }
.text-link { font-size: 12px; }
.start-copy > p { font-size: 14px; line-height: 1.8; }
.install-steps strong { font-size: 13px; }
.install-steps p { font-size: 12.5px; }
.launcher-window { border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); transform: none; transition: border-color .2s ease; }
.launcher-window:hover { border-color: rgba(205, 221, 216, .28); transform: none; }
.launcher-glow { display: none; }
.launcher-topbar small { font-size: 8px; letter-spacing: 1.4px; }
.launcher-status { font-size: 8px; letter-spacing: 1.5px; }
.launcher-body > p { font-size: 10px; }
.launcher-checks li { font-size: 11px; }
.launcher-file { font-size: 9px; }
.requirement span { font-size: 9px; letter-spacing: 1px; }
.requirement strong { font-size: 12px; }
.manual-install summary { font-size: 12px; }
.manual-content { font-size: 11.5px; }
.faq-heading p { font-size: 13px; }
.faq-list summary { font-size: 23px; line-height: 1.3; }
.faq-list details p { font-size: 13.5px; line-height: 1.8; }
.final-cta h2 { font-size: clamp(48px, 4.6vw, 62px); }
.final-cta p { font-size: 13px; }
.footer-connect > span { font-size: 8px; letter-spacing: 1.1px; }
.footer-connect button { font-size: 12px; }
.footer-connect button span { font-size: 9px; }
.footer-nav { font-size: 11px; }
.footer-bottom { font-size: 9px; }
.toast { box-shadow: 0 10px 28px rgba(0, 0, 0, .25); transform: translate(-50%, 8px); }
.js .reveal { transform: translateY(10px); transition: opacity .42s cubic-bezier(.2, .65, .3, 1), transform .42s cubic-bezier(.2, .65, .3, 1); }
.feature-grid .reveal, .world-list .reveal { transition-delay: 0s; }

.hero-art { inset: -2%; }
.hero-video { position: absolute; inset: -2%; z-index: -2; width: 104%; height: 104%; object-fit: cover; object-position: 58% center; opacity: .92; animation: hero-breathe 28s ease-in-out infinite alternate; will-change: transform; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(6, 12, 15, .98) 0%, rgba(6, 12, 15, .9) 28%, rgba(6, 12, 15, .48) 51%, rgba(6, 12, 15, .06) 77%), linear-gradient(0deg, #090e11 0%, rgba(9, 14, 17, .74) 13%, transparent 48%, rgba(4, 10, 12, .2) 100%); }
.hero-content { position: relative; z-index: 1; }
.hero-mist, .hero-particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-mist { opacity: .32; background: radial-gradient(ellipse at 20% 65%, rgba(115, 166, 164, .18), transparent 52%), radial-gradient(ellipse at 80% 35%, rgba(173, 199, 186, .09), transparent 45%); animation: mist-drift 22s ease-in-out infinite alternate; }
.hero-particles { opacity: .65; }
@keyframes hero-breathe { from { transform: scale(1.01) translate3d(0, 0, 0); } to { transform: scale(1.045) translate3d(-.35%, -.3%, 0); } }
@keyframes mist-drift { from { transform: translate3d(-2%, 1%, 0) scale(1); opacity: .22; } to { transform: translate3d(2%, -1%, 0) scale(1.08); opacity: .38; } }

@media (min-width: 1600px) {
  :root { --shell: 1400px; }
  .nav-wrap { height: 96px; }
  .brand-text strong { font-size: 27px; }
  .brand-text small { font-size: 9px; }
  .main-nav a { font-size: 13.5px; }
  .button { min-height: 58px; padding-inline: 28px; font-size: 14px; }
  .button-small { min-height: 42px; font-size: 12px; }
  .hero { min-height: 900px; }
  .hero-art { background-image: url("./valheim-hero-2x.jpg"); }
  .hero-copy { width: min(700px, 59%); }
  .hero h1 { font-size: clamp(88px, 5.8vw, 104px); }
  .hero-lead { max-width: 640px; font-size: 18px; }
  .hero-notes { font-size: 12px; }
  .eyebrow, .section-kicker { font-size: 10px; }
  .hero-stats strong { font-size: 50px; }
  .hero-stats div > span { max-width: 120px; font-size: 10.5px; }
  .connection-card { padding: 32px 36px; }
  .connection-heading h2 { font-size: 32px; }
  .connection-label { font-size: 10.5px; }
  .connection-item code { font-size: 16px; }
  .connection-world strong { font-size: 15px; }
  .section { padding-block: 145px; }
  .section-heading h2, .world-copy h2, .start-copy h2, .faq-heading h2, .final-cta h2 { font-size: clamp(56px, 4vw, 64px); }
  .section-heading > p, .world-copy > p, .start-copy > p { font-size: 15.5px; }
  .feature-card { min-height: 400px; padding: 40px 36px 34px; }
  .feature-card h3 { font-size: 30px; }
  .feature-card p { font-size: 14.5px; }
  .feature-tag, .attribute-list span, .rarity-list { font-size: 10.5px; }
  .world-item h3 { font-size: 29px; }
  .world-item p { font-size: 14.5px; }
  .install-steps strong { font-size: 14px; }
  .install-steps p { font-size: 13.5px; }
  .launcher-checks li { font-size: 12px; }
  .faq-list summary { font-size: 26px; }
  .faq-list details p { font-size: 14.5px; }
  .final-cta p { font-size: 14px; }
  .footer-bottom { font-size: 10px; }
}

@media (min-width: 2200px) {
  :root { --shell: 1560px; }
  .hero { min-height: 1000px; }
  .hero-copy { width: 750px; }
  .hero h1 { font-size: 116px; }
  .hero-lead { max-width: 680px; font-size: 19px; }
  .hero-stats strong { font-size: 56px; }
  .section-heading h2, .world-copy h2, .start-copy h2, .faq-heading h2 { font-size: 70px; }
  .feature-card { min-height: 425px; padding: 44px 40px 38px; }
  .feature-card p, .world-item p, .faq-list details p { font-size: 15.5px; }
}

@media (min-width: 721px) and (max-height: 800px) {
  .hero { min-height: 720px; }
  .hero-content { padding-top: 110px; padding-bottom: 35px; }
  .hero h1 { font-size: clamp(62px, 6vw, 78px); }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero-lead { margin-bottom: 24px; font-size: 15px; }
  .hero-stats { padding-block: 22px; }
}

@media (max-width: 1080px) {
  .nav-wrap { gap: 26px; }
  .main-nav { gap: 24px; }
  .hero-copy { width: 63%; }
  .connection-card { grid-template-columns: 1fr 1.2fr .9fr; }
  .connection-heading { display: none; }
  .connection-item:first-of-type { border-left: 0; }
  .feature-card { padding-inline: 26px; }
  .world-layout { gap: 65px; }
  .start-panel { gap: 45px; }
}

@media (max-width: 900px) {
  .section { padding: 95px 0; }
  .nav-wrap { height: 76px; }
  .nav-action { margin-left: auto; }
  .menu-toggle { width: 38px; height: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 0; border: 1px solid var(--line); border-radius: 3px; background: rgba(8, 14, 17, .4); cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--gold-bright); transition: transform .2s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; margin: 0; padding: 15px 24px 25px; border-bottom: 1px solid var(--line); background: rgba(8, 14, 17, .97); }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero { min-height: 760px; }
  .hero-copy { width: 70%; }
  .hero-art { background-position: 62% center; }
  .hero-stats strong { font-size: 35px; }
  .hero-stats > div { gap: 10px; padding-left: 18px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { gap: 45px; }
  .world-layout { grid-template-columns: 1fr; gap: 45px; }
  .world-copy { position: static; }
  .world-copy > p { max-width: 550px; }
  .start-panel { grid-template-columns: 1fr 1fr; gap: 25px; }
  .launcher-body { padding-inline: 25px; }
  .start-footer { grid-template-columns: 1fr; gap: 25px; }
  .faq-layout { gap: 50px; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .section { padding: 78px 0; }
  .nav-action { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero { min-height: 770px; }
  .hero-content { align-items: flex-end; padding-top: 130px; padding-bottom: 65px; }
  .hero-copy { width: 100%; }
  .hero-art { background-position: 66% top; }
  .hero-video { object-position: 58% center; }
  .hero-art::before, .hero-shade { background: linear-gradient(0deg, #090e11 0%, rgba(9, 14, 17, .94) 37%, rgba(9, 14, 17, .3) 70%, rgba(9, 14, 17, .25) 100%), linear-gradient(90deg, rgba(6, 12, 15, .6), transparent); }
  .hero h1 { font-size: clamp(59px, 13vw, 78px); }
  .hero-lead { max-width: 540px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .connection-card { grid-template-columns: 1fr 1fr; gap: 20px 0; padding: 23px; }
  .connection-world { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); border-left: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 38px; }
  .section-heading > p { max-width: 540px; }
  .feature-card { min-height: 330px; }
  .start-panel { grid-template-columns: 1fr; gap: 40px; }
  .start-copy > p { max-width: 580px; }
  .launcher-showcase { width: min(100%, 440px); margin-inline: auto; }
  .faq-section { padding-top: 10px; }
  .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .faq-heading h2 br { display: none; }
  .footer-main { flex-wrap: wrap; gap: 30px; }
  .footer-nav { width: 100%; margin-left: 0; }
}

@media (max-width: 520px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text strong { font-size: 21px; }
  .brand-text small { font-size: 7px; letter-spacing: 2.75px; }
  .hero { min-height: max(760px, 100svh); }
  .hero-content { padding-bottom: 40px; }
  .hero-eyebrow { margin-bottom: 18px; font-size: 9px; letter-spacing: 1.4px; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(44px, 12.5vw, 52px); letter-spacing: -.65px; }
  .hero-lead { font-size: 14.5px; line-height: 1.7; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-notes { gap: 12px 16px; font-size: 9.5px; }
  .hero-stats { padding-block: 23px; }
  .hero-stats > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .hero-stats strong { font-size: 34px; }
  .hero-stats div > span { max-width: none; font-size: 10px; }
  .connection-card { grid-template-columns: 1fr; margin-top: 20px; }
  .connection-item { padding: 15px 0; border-top: 1px solid var(--line); border-left: 0; }
  .connection-item:nth-child(2) { padding-top: 0; border-top: 0; }
  .connection-world { grid-column: auto; }
  .connection-item code { font-size: 15px; }
  .connection-label { font-size: 10px; }
  .section-heading h2, .world-copy h2, .start-copy h2, .faq-heading h2 { font-size: clamp(34px, 10vw, 40px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 28px 24px; }
  .feature-card p { font-size: 14px; }
  .world-item { grid-template-columns: 32px 1fr; gap: 12px; }
  .world-item h3 { font-size: 23px; }
  .launcher-showcase { padding: 4px; }
  .launcher-window { transform: none; }
  .launcher-body { padding: 28px 23px 24px; }
  .start-footer { margin-top: 45px; }
  .faq-list summary { font-size: 20px; }
  .final-cta { padding: 80px 0; }
  .final-cta h2 { font-size: 38px; }
  .final-cta p { font-size: 13px; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; line-height: 1.6; }
  .toast { bottom: 18px; width: calc(100% - 32px); text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-art, .hero-mist { animation: none; transform: none; will-change: auto; }
  .hero-video, .hero-particles { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
