:root {
  --f-bg: #05080b;
  --f-bg2: #080d12;
  --f-panel: #0b1118;
  --f-steel: #25313a;
  --f-steel-strong: #36434c;
  --f-text: #f0efeb;
  --f-copy: #aaa9a4;
  --f-muted: #747a7d;
  --f-amber: #f4a33b;
  --f-amber-strong: #d97c20;
  --f-amber-hover: #ffc06d;
  --f-green: #5ad99a;
  --f-red: #e56565;
  --f-ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--f-bg); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; }
body.fend-body {
  background: radial-gradient(circle at 75% 0%, rgba(244,163,59,.025), transparent 28rem), linear-gradient(180deg,var(--f-bg2),var(--f-bg));
  color: var(--f-text);
  font-family: Inter,system-ui,sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}
body.fend-body::before {
  background-image: linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  opacity: .75;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}
.site-shell { margin: 0 auto; max-width: 1440px; padding-inline: clamp(32px,4.2vw,64px); }
.site-header {
  background: linear-gradient(180deg,rgba(5,8,11,.96),rgba(5,8,11,.74));
  border-bottom: 1px solid var(--f-steel);
  box-shadow: 0 8px 30px rgba(0,0,0,.16);
  height: 72px;
  position: absolute;
  width: 100%;
  z-index: 40;
}
.header-inner { align-items: center; display: flex; height: 100%; justify-content: space-between; max-width: none; padding-inline: clamp(32px,3vw,52px); }
.brand { display: inline-flex; }
.brand img { height: 30px; max-width: 158px; width: auto; }
.desktop-nav { align-items: stretch; display: flex; gap: clamp(24px,2.3vw,40px); height: 100%; }
.desktop-nav a {
  align-items: center;
  color: var(--f-copy);
  display: flex;
  font: 700 .8125rem "Barlow Condensed",sans-serif;
  letter-spacing: .12em;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms var(--f-ease);
}
.desktop-nav a::after {
  background: var(--f-amber);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transition: transform 180ms var(--f-ease);
  width: 100%;
}
.desktop-nav a:hover,.desktop-nav a.is-active { color: var(--f-text); }
.desktop-nav a.is-active::after { transform: scaleX(1); }
.button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--f-steel-strong);
  border-radius: 3px;
  color: var(--f-text);
  display: inline-flex;
  font: 700 .8125rem "Barlow Condensed",sans-serif;
  justify-content: center;
  letter-spacing: .13em;
  min-height: 46px;
  padding-inline: 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms var(--f-ease),border-color 180ms var(--f-ease),color 180ms var(--f-ease),transform 120ms var(--f-ease);
}
.button:hover { background: rgba(244,163,59,.06); border-color: var(--f-amber); color: var(--f-amber-hover); }
.button:active { transform: translateY(1px); }
.button--portal { background: rgba(5,8,11,.48); border-color: var(--f-amber-strong); color: var(--f-amber); min-height: 40px; }
.button--primary {
  background: linear-gradient(180deg,var(--f-amber),var(--f-amber-strong));
  border-color: var(--f-amber);
  box-shadow: 0 10px 30px rgba(217,124,32,.14),inset 0 1px rgba(255,255,255,.22);
  color: #110c07;
}
.button--primary:hover { background: var(--f-amber-hover); border-color: var(--f-amber-hover); color: #110c07; }
a:focus-visible,button:focus-visible { outline: 2px solid var(--f-amber-hover); outline-offset: 3px; }
.visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.landing { background: var(--f-bg); min-height: 100svh; position: relative; }
.public-hero {
  background: linear-gradient(90deg,rgba(5,8,11,.98) 0%,rgba(5,8,11,.78) 31%,rgba(5,8,11,.16) 61%,rgba(5,8,11,.48) 100%), linear-gradient(0deg,rgba(5,8,11,.78),transparent 34%), url("/assets/design/20260718/hero-environment-desktop.png") 56% center/cover no-repeat;
  border-bottom: 1px solid var(--f-steel);
  height: 64svh;
  min-height: 550px;
  padding-top: 72px;
}
.hero-inner { align-items: center; display: block; max-width: none; min-height: calc(100% - 72px); padding-inline: clamp(52px,4.2vw,72px); }
.hero-copy { max-width: 565px; padding: clamp(64px,9vh,96px) 0 30px; }
.kicker { color: var(--f-amber); font: 700 .8125rem "Barlow Condensed",sans-serif; letter-spacing: .18em; margin: 0 0 14px; text-transform: uppercase; }
.hero-copy h1 {
  color: var(--f-text);
  font: 700 clamp(4.4rem,5.7vw,6rem)/.88 "Barlow Condensed",sans-serif;
  letter-spacing: -.025em;
  margin: 0;
  text-transform: uppercase;
}
.hero-copy h1 em { color: var(--f-amber); font-style: normal; }
.lead { color: var(--f-copy); font-size: 1rem; line-height: 1.62; margin: 22px 0 20px; max-width: 500px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-copy .button { min-height: 40px; padding-inline: 23px; }
.hero-copy .button--primary { font-size: .875rem; min-height: 48px; padding-inline: 30px; }
.hero-copy small { color: var(--f-muted); display: block; font-size: .75rem; line-height: 1.5; margin-top: 17px; }

.player-rail {
  background: rgba(5,8,11,.56);
  border-left: 1px solid rgba(112,125,132,.42);
  padding: 4px 0 0 24px;
  position: absolute;
  right: clamp(42px,4.2vw,72px);
  top: clamp(118px,14vh,156px);
  width: 240px;
  z-index: 4;
}
.player-rail > p { color: var(--f-copy); font: 700 .75rem/1.35 "Barlow Condensed",sans-serif; letter-spacing: .16em; margin: 0 0 14px; }
.player-rail > a {
  align-items: center;
  border-top: 1px solid rgba(86,97,106,.42);
  color: inherit;
  display: grid;
  grid-template-columns: 24px 1fr 12px;
  min-height: 72px;
  text-decoration: none;
}
.player-rail b { color: var(--f-amber); font: 700 .75rem "Barlow Condensed",sans-serif; }
.player-rail strong { color: var(--f-text); display: block; font: 700 .8125rem "Barlow Condensed",sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.player-rail small { color: var(--f-copy); display: block; font-size: .75rem; line-height: 1.35; margin-top: 5px; }
.player-rail i { color: var(--f-muted); font-style: normal; }

.featured-server-band {
  background: #070b0f;
  border-bottom: 1px solid var(--f-steel);
  display: grid;
  grid-template-columns: minmax(0,68%) minmax(280px,32%);
  min-height: 28svh;
}
.featured-carousel { min-width: 0; position: relative; }
.featured-carousel__viewport,.featured-carousel__track { height: 100%; }
.featured-server {
  animation: featured-server-enter 420ms var(--f-ease) both;
  background: #070b0f;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,1fr);
  min-height: 28svh;
}
.featured-server[hidden] { display: none !important; }
.featured-server__art { min-height: 280px; }
.featured-server__art--conan-legacy { background: linear-gradient(90deg,transparent 66%,#070b0f 100%),url("/assets/design/20260718/conan-legacy-raid-art.png") 48% center/cover no-repeat; }
.featured-server__body { align-self: center; padding: 24px 30px 24px 20px; }
.featured-server__body .kicker { margin-bottom: 8px; }
.featured-server__body h3 { font: 600 clamp(1.65rem,2.1vw,2.25rem)/1 "Barlow Condensed",sans-serif; letter-spacing: .015em; margin: 0; }
.featured-server__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 9px 0 14px; }
.featured-server__facts div { display: flex; gap: 6px; }
.featured-server__facts dt { color: var(--f-muted); font: 700 .75rem "Barlow Condensed",sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.featured-server__facts dd { color: var(--f-copy); font-size: .75rem; margin: 0; }
.server-status { display: flex; flex-direction: column; margin-bottom: 14px; }
.server-status span { color: var(--f-copy); font: 700 .75rem "Barlow Condensed",sans-serif; letter-spacing: .13em; }
.server-status strong { color: var(--f-copy); font: 700 .75rem "Barlow Condensed",sans-serif; letter-spacing: .11em; margin-top: 3px; }
.server-status small { color: var(--f-muted); font-size: .75rem; margin-top: 2px; }
.server-status--online strong,.server-status--online small { color: var(--f-green); }
.server-status--offline strong,.server-status--offline small { color: var(--f-red); }
.featured-server__body .button { min-height: 38px; }
.featured-carousel__controls {
  align-items: center;
  background: rgba(5,8,11,.88);
  border: 1px solid var(--f-steel);
  border-radius: 3px;
  display: flex;
  gap: 9px;
  padding: 6px;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
}
.featured-carousel__arrow,.featured-carousel__dot { appearance: none; background: transparent; border: 0; color: var(--f-copy); cursor: pointer; }
.featured-carousel__arrow { align-items: center; display: inline-flex; font-size: 1rem; height: 30px; justify-content: center; padding: 0; width: 30px; }
.featured-carousel__arrow:hover { color: var(--f-amber-hover); }
.featured-carousel__dots { align-items: center; display: flex; gap: 7px; }
.featured-carousel__dot { border: 1px solid var(--f-muted); border-radius: 50%; height: 8px; padding: 0; width: 8px; }
.featured-carousel__dot[aria-current="true"] { background: var(--f-amber); border-color: var(--f-amber); }
@keyframes featured-server-enter { from { opacity: 0; } to { opacity: 1; } }
.text-link {
  align-items: center;
  color: var(--f-text);
  display: inline-flex;
  font: 700 .75rem "Barlow Condensed",sans-serif;
  letter-spacing: .13em;
  padding-inline: 10px;
  text-decoration: none;
  text-transform: uppercase;
}
.text-link:hover { color: var(--f-amber-hover); }
.platform-links { align-self: stretch; border-left: 1px solid var(--f-steel); display: flex; flex-direction: column; justify-content: center; padding: 24px clamp(30px,4vw,68px); }
.platform-links .kicker { margin-bottom: 8px; }
.platform-links > a {
  border-bottom: 1px solid rgba(86,97,106,.36);
  color: var(--f-copy);
  display: flex;
  font-size: .8125rem;
  justify-content: space-between;
  padding: 11px 0;
  text-decoration: none;
}
.platform-links > a:hover { color: var(--f-text); }
.platform-links > a span { color: var(--f-amber); }
.platform-links > a.platform-links__support { color: var(--f-text); font-weight: 700; }
.platform-links > small { color: var(--f-muted); font-size: .75rem; line-height: 1.45; margin-top: 11px; }

.landing-footer { align-items: center; background: #05080b; display: flex; height: 8svh; justify-content: space-between; min-height: 0; padding: 24px clamp(32px,3vw,52px); }
.footer-brand { align-items: center; display: flex; gap: 18px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand span { color: var(--f-muted); font: 700 .75rem "Barlow Condensed",sans-serif; letter-spacing: .16em; }
.landing-footer nav { display: flex; gap: 26px; }
.landing-footer nav a,.footer-status { color: var(--f-muted); font: 700 .75rem "Barlow Condensed",sans-serif; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.landing-footer nav a:hover { color: var(--f-text); }
.footer-status { cursor: default; }

.server-detail-page { background: linear-gradient(180deg,#070b0f,var(--f-bg)); min-height: 100svh; }
.server-detail-hero {
  border-bottom: 1px solid var(--f-steel);
  min-height: 700px;
  overflow: hidden;
  padding-top: 72px;
  position: relative;
}
.server-detail-hero::after {
  background: linear-gradient(180deg,rgba(5,8,11,.04),var(--f-bg));
  bottom: 0;
  content: "";
  height: 130px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}
.server-detail-hero__art {
  background: linear-gradient(90deg,rgba(5,8,11,.98) 0%,rgba(5,8,11,.84) 37%,rgba(5,8,11,.32) 72%,rgba(5,8,11,.8) 100%),url("/assets/design/20260718/conan-legacy-raid-art.png") 72% center/cover no-repeat;
  inset: 0;
  position: absolute;
}
.server-detail-hero__inner {
  align-items: center;
  display: grid;
  gap: clamp(42px,6vw,96px);
  grid-template-columns: minmax(0,1.15fr) minmax(350px,.85fr);
  min-height: 628px;
  padding-block: 64px 76px;
  position: relative;
  z-index: 1;
}
.server-detail-identity { max-width: 720px; }
.detail-back-link {
  color: var(--f-copy);
  display: inline-flex;
  font: 700 .8125rem "Barlow Condensed",sans-serif;
  gap: 9px;
  letter-spacing: .13em;
  margin-bottom: 46px;
  text-decoration: none;
  text-transform: uppercase;
}
.detail-back-link:hover { color: var(--f-amber-hover); }
.server-detail-identity h1 {
  color: var(--f-text);
  font: 700 clamp(3.75rem,6vw,6.25rem)/.86 "Barlow Condensed",sans-serif;
  letter-spacing: -.025em;
  margin: 0;
  text-transform: uppercase;
}
.server-detail-identity h1 em { color: var(--f-amber); font-style: normal; }
.server-detail-identity .lead { max-width: 630px; }
.server-detail-facts {
  border-bottom: 1px solid rgba(86,97,106,.55);
  border-top: 1px solid rgba(86,97,106,.55);
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin: 30px 0 0;
}
.server-detail-facts div { padding: 17px 16px 17px 0; }
.server-detail-facts div:nth-child(even) { border-left: 1px solid rgba(86,97,106,.42); padding-left: 22px; }
.server-detail-facts dt { color: var(--f-muted); font: 700 .75rem "Barlow Condensed",sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.server-detail-facts dd { color: var(--f-text); font: 700 1rem "Barlow Condensed",sans-serif; letter-spacing: .04em; margin: 5px 0 0; text-transform: uppercase; }
.server-detail-status-panel {
  background: linear-gradient(145deg,rgba(11,17,24,.96),rgba(6,10,14,.92));
  border: 1px solid var(--f-steel-strong);
  border-left: 3px solid var(--f-amber);
  box-shadow: 0 30px 70px rgba(0,0,0,.38);
  padding: clamp(28px,3vw,42px);
}
.detail-status {
  align-items: flex-start;
  border-bottom: 1px solid var(--f-steel);
  border-top: 1px solid var(--f-steel);
  display: grid;
  gap: 17px;
  grid-template-columns: 14px minmax(0,1fr);
  padding: 24px 0;
}
.detail-status__signal { background: var(--f-muted); border-radius: 50%; box-shadow: 0 0 0 6px rgba(116,122,125,.1); height: 10px; margin-top: 5px; width: 10px; }
.detail-status h2 { color: var(--f-copy); font: 700 1.25rem "Barlow Condensed",sans-serif; letter-spacing: .1em; margin: 0; text-transform: uppercase; }
.detail-status p { color: var(--f-muted); font-size: .875rem; line-height: 1.55; margin: 7px 0 0; }
.detail-status--online .detail-status__signal,.detail-status--zero-activity .detail-status__signal { background: var(--f-green); box-shadow: 0 0 0 6px rgba(90,217,154,.1); }
.detail-status--online h2,.detail-status--online p,.detail-status--zero-activity h2 { color: var(--f-green); }
.detail-status--zero-activity p { color: var(--f-copy); }
.detail-status--offline .detail-status__signal { background: var(--f-red); box-shadow: 0 0 0 6px rgba(229,101,101,.1); }
.detail-status--offline h2,.detail-status--offline p { color: var(--f-red); }
.detail-status-note { color: var(--f-muted); font-size: .75rem; line-height: 1.55; margin: 15px 0 0; }
.server-detail-actions { align-items: center; margin-top: 27px; }
.server-detail-status-panel > small { color: var(--f-muted); display: block; font-size: .75rem; line-height: 1.5; margin-top: 15px; }
.server-detail-context { display: grid; gap: 22px; grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: 78px 24px; }
.detail-context-card {
  background: linear-gradient(145deg,var(--f-panel),#070b0f);
  border: 1px solid var(--f-steel);
  min-height: 310px;
  padding: clamp(28px,3.5vw,48px);
}
.detail-context-card--rules { border-left: 3px solid var(--f-amber); }
.detail-context-state {
  border: 1px solid rgba(244,163,59,.35);
  color: var(--f-amber);
  display: inline-block;
  font: 700 .75rem "Barlow Condensed",sans-serif;
  letter-spacing: .14em;
  padding: 7px 9px;
  text-transform: uppercase;
}
.detail-context-state--available { border-color: rgba(170,169,164,.3); color: var(--f-copy); }
.detail-context-card h2,.status-meaning h2 { font: 700 clamp(2rem,3vw,3rem)/.95 "Barlow Condensed",sans-serif; letter-spacing: .01em; margin: 24px 0 15px; text-transform: uppercase; }
.detail-context-card > p:not(.kicker) { color: var(--f-copy); font-size: 1rem; line-height: 1.65; max-width: 590px; }
.detail-context-card .button { margin-top: 16px; }
.status-meaning { padding-block: 58px 86px; }
.status-meaning > header { border-bottom: 1px solid var(--f-steel); padding-bottom: 24px; }
.status-meaning h2 { margin: 0; }
.status-meaning dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; }
.status-meaning dl div { border-right: 1px solid var(--f-steel); padding: 25px 24px 4px 0; }
.status-meaning dl div + div { padding-left: 24px; }
.status-meaning dl div:last-child { border-right: 0; }
.status-meaning dt { color: var(--f-text); font: 700 .875rem "Barlow Condensed",sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.status-meaning dd { color: var(--f-muted); font-size: .8125rem; line-height: 1.6; margin: 9px 0 0; }
.server-detail-footer { border-top: 1px solid var(--f-steel); min-height: 88px; }

@media (max-width: 760px) {
  .site-header { height: 62px; }
  .header-inner { padding-inline: 16px; }
  .brand img { height: 26px; max-width: 138px; }
  .desktop-nav { display: none; }
  .button--portal { font-size: .75rem; min-height: 38px; padding-inline: 12px; }
  .public-hero {
    background: linear-gradient(0deg,rgba(5,8,11,.9),rgba(5,8,11,.12) 72%),url("/assets/design/20260718/hero-environment-mobile.png") center top/cover no-repeat;
    height: 448px;
    min-height: 448px;
    padding-top: 62px;
  }
  .hero-inner { min-height: 386px; padding: 0 24px; }
  .hero-copy { max-width: 340px; padding-top: 34px; }
  .hero-copy h1 { font-size: 3.4rem; }
  .hero-copy .lead { font-size: .875rem; line-height: 1.5; margin: 17px 0; max-width: 300px; }
  .hero-copy .actions { display: grid; grid-template-columns: 1fr; max-width: 300px; }
  .hero-copy .button { width: 100%; }
  .hero-copy .actions .button:last-child { border: 0; justify-content: flex-start; min-height: 32px; padding: 0; }
  .hero-copy small { display: none; }
  .player-rail { background: #060a0e; border-left: 0; border-top: 1px solid var(--f-steel); padding: 13px 24px 0; position: static; width: auto; }
  .player-rail > p { margin-bottom: 5px; max-width: none; }
  .player-rail > a { grid-template-columns: 0 1fr 12px; min-height: 62px; overflow: hidden; }
  .player-rail b { opacity: 0; width: 0; }
  .player-rail span { align-items: baseline; display: grid; gap: 14px; grid-template-columns: 145px 1fr; }
  .player-rail small { margin: 0; }
  .featured-server-band { display: grid; grid-template-columns: 1fr; min-height: 0; }
  .featured-server { grid-template-columns: 1fr; min-height: 340px; }
  .featured-server__art,.featured-server__body { grid-area: 1/1; min-height: 340px; }
  .featured-server__art--conan-legacy { background: linear-gradient(90deg,rgba(5,8,11,.82),rgba(5,8,11,.06)),linear-gradient(0deg,rgba(5,8,11,.66),transparent),url("/assets/design/20260718/conan-legacy-raid-art.png") 52% center/cover no-repeat; }
  .featured-server__body { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 30px 24px; position: relative; z-index: 1; }
  .featured-server__body h3 { font-size: 2rem; max-width: 310px; }
  .featured-server__body .actions { align-items: center; }
  .featured-server__facts { max-width: 310px; }
  .featured-carousel__controls { right: 14px; top: 14px; }
  .platform-links { border-left: 0; border-top: 1px solid var(--f-steel); min-height: 250px; padding: 24px; }
  .landing-footer { align-items: flex-start; flex-direction: column; gap: 18px; height: auto; min-height: 108px; padding: 20px 24px; }
  .footer-brand img { height: 24px; }
  .landing-footer nav { gap: 22px; }
  .server-detail-hero { min-height: 0; padding-top: 62px; }
  .server-detail-hero__art { background: linear-gradient(0deg,rgba(5,8,11,.98) 23%,rgba(5,8,11,.28) 80%),url("/assets/design/20260718/conan-legacy-raid-art.png") 54% top/auto 390px no-repeat; }
  .server-detail-hero__inner { display: block; min-height: 0; padding: 42px 24px 58px; }
  .detail-back-link { margin-bottom: 190px; }
  .server-detail-identity h1 { font-size: 3.35rem; }
  .server-detail-identity .lead { font-size: .9375rem; }
  .server-detail-facts { grid-template-columns: 1fr; }
  .server-detail-facts div:nth-child(even) { border-left: 0; padding-left: 0; }
  .server-detail-facts div + div { border-top: 1px solid rgba(86,97,106,.32); }
  .server-detail-status-panel { margin-top: 30px; padding: 26px 22px; }
  .server-detail-actions { align-items: stretch; display: grid; grid-template-columns: 1fr; }
  .server-detail-actions .text-link { min-height: 40px; padding: 0; }
  .server-detail-context { grid-template-columns: 1fr; padding-block: 48px 12px; }
  .detail-context-card { min-height: 0; padding: 28px 23px; }
  .status-meaning { padding-block: 46px 62px; }
  .status-meaning dl { grid-template-columns: 1fr; }
  .status-meaning dl div,.status-meaning dl div + div { border-bottom: 1px solid var(--f-steel); border-right: 0; padding: 18px 0; }
  .status-meaning dl div:last-child { border-bottom: 0; }
  .server-detail-footer { min-height: 128px; }
}
@media (max-width: 390px) { .hero-copy h1 { font-size: 3.2rem; } }
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .featured-server { animation: none; }
}
