:root {
  --ink: #040608;
  --ink-2: #070b0e;
  --panel: #0b0f14;
  --panel-raised: #0e141a;
  --cream: #d1deeb;
  --muted: #899aaa;
  --gold: #437eb9;
  --gold-2: #92b9e0;
  --teal: #437eb9;
  --teal-dark: #203f5d;
  --bronze: #1f4468;
  --ember: #377cc1;
  --blood: #1c4064;
  --line: rgba(76,137,197, .28);
  --line-bright: rgba(138,180,222, .58);
  --display: Constantia, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --serif: var(--display);
  --sans: "Segoe UI", Arial, sans-serif;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 88px;
  --content: 1220px;
  --cut: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

* { box-sizing: border-box; }
html { background: var(--ink); scrollbar-color: #2c5176 #05080a; }
body {
  overflow-x: clip;
  background: var(--ink) !important;
  color: var(--cream) !important;
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}
body::selection { background: var(--blood); color: #e9eff5; }
a { text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--gold-2) !important; outline-offset: 4px !important; }
h1, h2, h3, .section-title { font-family: var(--display); text-wrap: balance; }
h1, h2, .section-title { color: var(--gold-2) !important; }
p { text-wrap: pretty; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  border: 1px solid var(--gold-2);
  background: #06090b;
  color: #dce6ef;
  font: 800 12px/1 var(--sans);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Shared navigation */
.topbar {
  z-index: 50;
  border-block: 1px solid #273f57 !important;
  background:
    linear-gradient(90deg, rgba(69,127,184,.055), transparent 16% 84%, rgba(69,127,184,.055)),
    #090d10 !important;
  box-shadow: inset 0 2px #030405, inset 0 -2px #030405, 0 10px 30px rgba(0,0,0,.65) !important;
  backdrop-filter: blur(12px) saturate(.8);
}
.topbar::before { display: none !important; content: none !important; }
.topbar::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2e5276 9%, #4981b8 50%, #2e5276 91%, transparent);
  content: "";
  opacity: .8;
}
.brand img {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px #000000) saturate(.88) contrast(1.08);
}
.nav a, .topnav a, .back-link {
  position: relative;
  color: #b7c8d9 !important;
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
  transition: color .16s ease;
}
.nav a::after, .topnav a::after, .back-link::after {
  position: absolute;
  right: 50%;
  bottom: 13px;
  left: 50%;
  height: 1px;
  background: var(--gold);
  content: "";
  transition: right .16s ease, left .16s ease;
}
.nav a:hover, .topnav a:hover, .back-link:hover { color: var(--gold-2) !important; }
.nav a:hover::after, .topnav a:hover::after, .back-link:hover::after { right: 0; left: 0; }
.page-language select, .language-switcher select, .language-control select {
  min-height: 44px;
  width: 100%;
  padding: 0 38px 0 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  appearance: none;
  background: url("assets/generated/button-secondary-normal-v4.png") center/100% 100% no-repeat !important;
  color: #bfd1e2 !important;
  box-shadow: none !important;
  font: 700 11px/1 var(--sans);
  letter-spacing: .055em;
  cursor: pointer;
}
.page-language, .language-switcher, .language-control {
  position: relative;
  display: inline-flex;
  width: 156px;
}
.page-language::after, .language-switcher::after, .language-control::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #4f8cc8;
  border-bottom: 2px solid #4f8cc8;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}
.page-language select option, .language-switcher select option, .language-control select option {
  background: #0a0e12;
  color: #bfd1e2;
}
.language-enhanced::after { display: none !important; }
.language-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.language-trigger {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) 10px;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 0;
  background: none;
  color: #bfd1e2;
  font: 700 11px/1 var(--sans);
  letter-spacing: .04em;
  text-align: left;
  cursor: pointer;
}
.language-trigger-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: drop-shadow(0 5px 7px rgba(0,0,0,.5));
  pointer-events: none;
}
.language-flag, .language-option img {
  display: block;
  width: 24px;
  height: 18px;
  border: 1px solid rgba(113,164,215,.28);
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0,0,0,.45);
}
.language-trigger-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.language-chevron {
  width: 7px;
  height: 7px;
  justify-self: end;
  border-right: 2px solid #4f8cc8;
  border-bottom: 2px solid #4f8cc8;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .16s ease;
}
.language-enhanced.is-open .language-chevron { transform: translateY(2px) rotate(225deg); }
.language-menu {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 8px);
  right: 0;
  width: 218px;
  max-height: min(420px, calc(100vh - 92px));
  display: grid;
  gap: 4px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid #2d4d6c;
  background: rgba(6,8,10,.985);
  box-shadow: 0 20px 45px rgba(0,0,0,.7);
}
.language-menu[hidden] { display: none !important; }
.language-option {
  position: relative;
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 11px;
  padding: 7px 13px;
  border: 0;
  background: url("assets/generated/button-secondary-normal-v4.png") center/100% 100% no-repeat;
  color: #afc4d8;
  font: 700 11px/1 var(--sans);
  letter-spacing: .035em;
  text-align: left;
  cursor: pointer;
}
.language-option:hover, .language-option:focus-visible {
  color: #c2d3e4;
  filter: brightness(1.12);
}
.language-option[aria-selected="true"] {
  background-image: url("assets/generated/button-primary-normal-v4.png");
  color: #c6d6e6;
}

/* One physical ImageGen button system */
.button, .link-button, .menu-button, .hub-more, .hub-actions > a {
  position: relative !important;
  isolation: isolate;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
  padding: 10px 28px;
  border: 0 !important;
  clip-path: none !important;
  background: none !important;
  box-shadow: none !important;
  color: #c4d5e5 !important;
  font: 700 12px/1 var(--sans);
  letter-spacing: .055em;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 2px #000000;
  text-transform: uppercase;
}
.button-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: drop-shadow(0 7px 8px rgba(0,0,0,.55));
  pointer-events: none;
  user-select: none;
  transition: filter .16s ease, transform .16s ease;
}
.button-label, .hub-actions > a > span { position: relative; z-index: 1; }
.button:hover .button-art, .link-button:hover .button-art, .menu-button:hover .button-art,
.hub-more:hover .button-art, .hub-actions > a:hover .button-art {
  filter: brightness(1.13) contrast(1.04) drop-shadow(0 9px 10px rgba(0,0,0,.65));
  transform: translateY(-1px);
}
.button:focus-visible, .link-button:focus-visible, .menu-button:focus-visible,
.hub-more:focus-visible, .hub-actions > a:focus-visible {
  outline: 2px solid var(--gold-2) !important;
  outline-offset: 3px !important;
}
.button { min-width: 210px; }
.link-button { min-height: 44px; padding-inline: 19px; font-size: 10px; }
.menu-button { display: none; min-width: 88px; min-height: 44px; padding-inline: 16px; }

/* Home: a cinematic landing page with one restrained portal module */
body:not([data-page]) {
  border-inline: 1px solid #1b2a38;
  background: #050708 !important;
}
body:not([data-page]) .topbar {
  position: fixed;
  min-height: 72px;
  height: 72px;
  grid-template-columns: 164px minmax(0, 1fr) auto;
  gap: 24px;
  padding-inline: max(20px, calc((100vw - 1440px) / 2));
}
body:not([data-page]) .brand { width: 154px; height: 66px; }
body:not([data-page]) .brand img { width: 148px; height: 62px; }
body:not([data-page]) .nav {
  width: 100%;
  max-width: 720px;
  justify-content: center;
  gap: clamp(20px, 1.8vw, 31px);
}
body:not([data-page]) .nav a {
  padding-block: 28px 26px;
  color: #bdcede !important;
  font-size: 11px;
  letter-spacing: .065em;
  white-space: nowrap;
}
/* Ranking and Partners remain available inside the page and mobile menu. */
body:not([data-page]) .nav:not(.open) a:nth-child(4),
body:not([data-page]) .nav:not(.open) a:nth-child(6) { display: none; }
body:not([data-page]) .nav-cta { gap: 9px; }
body:not([data-page]) .language-control { width: 156px; }
body:not([data-page]) .nav-cta .link-button:not(.gold) { display: none; }
body:not([data-page]) .nav-cta .link-button.gold { min-width: 154px; }

body:not([data-page]) .hero {
  min-height: 900px;
  height: 900px;
  padding-top: 92px;
  border-bottom: 1px solid #1d2d3d;
  background-color: #05080a !important;
}
body:not([data-page]) .hero::before {
  animation: none !important;
  transform: none !important;
  background-image:
    linear-gradient(90deg, rgba(3,4,5,.2), rgba(3,4,5,.02) 55%, rgba(3,4,5,.08)),
    linear-gradient(180deg, rgba(3,4,5,.03) 62%, #050708 100%) !important;
  background-position: center !important;
  background-size: cover !important;
}
body:not([data-page]) .hero::after {
  background: linear-gradient(180deg, transparent 55%, #050708 100%) !important;
}
body:not([data-page]) .hero-grain { opacity: .05 !important; }
body:not([data-page]) .hero-content {
  width: min(1136px, calc(100% - 48px));
  align-self: center;
  margin: 4px auto 0;
  padding-right: min(51vw, 610px);
  text-align: left;
}
body:not([data-page]) .hero-logo {
  width: min(390px, 38vw) !important;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  margin: 0 0 2px !important;
  filter: drop-shadow(0 18px 30px #000000) saturate(.9) contrast(1.08) !important;
}
body:not([data-page]) .season-kicker {
  width: fit-content;
  margin-top: 2px;
  padding: 9px 18px;
  border: 1px solid rgba(71,137,202,.52);
  border-radius: 999px;
  background: rgba(6,10,14,.64);
  color: var(--ember) !important;
  font-size: 12px;
  letter-spacing: .18em;
}
body:not([data-page]) .hero h1 {
  max-width: 650px;
  margin: 22px 0 0;
  color: #bbcee1 !important;
  font: 700 clamp(46px, 4.25vw, 66px)/.98 var(--display);
  letter-spacing: -.025em;
  text-shadow: 0 3px 20px #000000;
}
body:not([data-page]) .countdown { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }
.hero-lede {
  max-width: 590px;
  margin: 22px 0 0;
  color: #aec0d2;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  text-shadow: 0 2px 7px #000000;
}
body:not([data-page]) .hero-date {
  margin-top: 16px;
  color: #b8ccdf;
  font: 400 20px/1.2 var(--display);
  letter-spacing: .045em;
}
body:not([data-page]) .hero-actions {
  width: min(468px, 100%);
  justify-content: flex-start;
  gap: 10px;
  margin: 24px 0 0;
}
body:not([data-page]) .hero-actions .button { width: 224px; min-height: 58px; font-size: 13px; }
body:not([data-page]) .hero-actions .button:nth-child(3),
body:not([data-page]) .hero-server-seal,
body:not([data-page]) .scroll-note { display: none; }

/* Player center */
.realm-hub {
  position: relative;
  z-index: 5;
  width: min(1136px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 34px;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}
.realm-hub::before, .realm-hub::after, .hub-crown { display: none; content: none; }
.hub-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.hub-panel { min-width: 0; overflow: hidden; border: 1px solid #23374b; border-radius: 14px; background: linear-gradient(160deg, rgba(13,20,26,.96), rgba(6,8,10,.98)); box-shadow: 0 22px 60px rgba(0,0,0,.34); }
.hub-news { grid-column: span 7; border-right: 1px solid #23374b; }
.hub-calendar { grid-column: span 5; }
.hub-panel-title {
  position: relative;
  isolation: isolate;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 14px 24px;
  border-bottom: 1px solid #213549;
  color: #94bbe1;
  font: 600 17px/1 var(--display);
  letter-spacing: .075em;
  text-align: left;
  text-transform: uppercase;
  text-shadow: 0 2px 3px #000000;
}
.hub-news .panel-title-art, .hub-calendar .panel-title-art { display: none; }
.panel-title-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.5));
  pointer-events: none;
}
.hub-story, .hub-event {
  display: grid;
  margin-inline: 14px;
  border-bottom: 1px solid #1a2733;
  color: inherit;
  text-decoration: none;
  transition: background .16s ease;
}
.hub-story:hover, .hub-event:hover { background: #091118; }
.hub-story { grid-template-columns: 136px 1fr; min-height: 100px; }
.hub-story img { width: 120px; height: 76px; margin: 12px 0; border: 1px solid #2d4862; object-fit: cover; }
.hub-story-copy { position: relative; min-width: 0; padding: 16px 12px 20px 0; }
.hub-story-copy b, .hub-event b { display: block; color: #b8ccdf; font: 600 18px/1.2 var(--display); }
.hub-story-copy small { display: block; margin-top: 6px; color: #9cadbd; font-size: 12px; line-height: 1.4; }
.hub-story-copy time { position: absolute; right: 8px; bottom: 8px; color: #596876; font-size: 10px; }
.hub-event { grid-template-columns: 94px 1fr 52px; min-height: 88px; align-items: center; }
.hub-event img { width: 80px; height: 54px; border: 1px solid #2d465e; object-fit: cover; }
.hub-event span { min-width: 0; }
.hub-event b { font-size: 16px; }
.hub-event small { display: block; margin-top: 5px; color: #6193c4; font-size: 12px; font-weight: 700; }
.hub-event time { color: #81afdc; font: 600 18px/1 var(--display); text-align: right; }
.hub-more { min-height: 50px; margin: 12px 14px 14px; padding-inline: 24px; font-size: 11px; }

.hub-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  gap: 12px;
  padding: 20px 18px 16px;
  border-top: 1px solid #23374b;
  background: linear-gradient(180deg, rgba(10,14,18,.94), rgba(5,7,9,.98));
}
.hub-actions .panel-title-art { display: none; }
.hub-actions .hub-panel-title {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0 2px 14px;
  border: 0;
  border-bottom: 1px solid rgba(67,126,185,.26);
  color: #699fd4;
  font: 700 13px/1 var(--sans);
  letter-spacing: .18em;
}
.hub-actions > a {
  width: 100%;
  min-height: 76px;
  padding: 12px 20px;
}
.hub-actions > a > span { display: grid; gap: 6px; justify-items: center; }
.hub-actions b { color: #b9ccdf; font: 700 15px/1.05 var(--sans); letter-spacing: .055em; text-transform: uppercase; }
.hub-actions small { color: #8f9daa; font-size: 10px; line-height: 1.2; letter-spacing: .035em; }
.hub-server {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 12px;
  padding: 9px 16px;
  border-top: 1px solid rgba(67,126,185,.24);
  border-bottom: 0;
  background: transparent;
}
.hub-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #3e83c8; box-shadow: 0 0 8px rgba(62,131,200,.55); }
.hub-server > span:last-child { display: flex; align-items: baseline; gap: 10px; }
.hub-server small { color: #72818f; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.hub-server b { color: #71a3d5; font: 600 13px/1.2 var(--display); }
.hub-media { display: none; }

/* Shared section rhythm */
body:not([data-page]) .world-strip {
  width: min(1136px, calc(100% - 48px));
  margin: 0 auto;
  border: 1px solid #213549 !important;
  background: #070b0e !important;
}
body:not([data-page]) .world-strip-inner { width: 100%; }
body:not([data-page]) .world-stat { border-color: #1b2a39 !important; background: #080b0e !important; box-shadow: none !important; }
body:not([data-page]) .world-stat small {
  color: #4788c9 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.72);
}
body:not([data-page]) .world-stat strong { color: #cad9e7; }
body:not([data-page]) .world-stat + .world-stat::before { background: rgba(67,126,185,.24) !important; }
body:not([data-page]) .portal-links { display: none; }
body:not([data-page]) section.content, body:not([data-page]) .partners-section,
body:not([data-page]) .schedule { padding-block: 76px; }
body:not([data-page]) .section-label {
  color: var(--ember) !important;
  font-size: 12px;
  letter-spacing: .16em;
}
body:not([data-page]) .section-label::before { background: #376fa6 !important; }
body:not([data-page]) .section-title { font-size: clamp(44px, 5vw, 68px); line-height: .95; }
body:not([data-page]) .section-copy { color: #afc0d0; font-size: 17px; line-height: 1.75; }

.mobile-section {
  background:
    radial-gradient(circle at 78% 42%, rgba(35,81,126,.19), transparent 40%),
    #06090b !important;
}
.device-item { border-color: #1e2e3e !important; }
.device-item .index { color: var(--ember) !important; }
.video-stage {
  aspect-ratio: 1920 / 887;
  border: 1px solid #2d4c6b !important;
  background: #050708 !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.52) !important;
}
.video-stage > img,
.video-stage > video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.video-stage > video { background: #030405; accent-color: #3875b1; }

/* Partner logos are preserved; only their presentation is normalized. */
.partners-section {
  background: linear-gradient(rgba(6,8,10,.9), rgba(5,7,8,.94)) !important;
}
.partner-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 14px !important; }
.partner-card {
  min-height: 198px;
  display: grid !important;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  padding: 22px 12px 14px;
  border: 1px solid #20303f !important;
  clip-path: none !important;
  background: linear-gradient(180deg, #0e1419, #070b0e) !important;
  transition: border-color .18s ease, transform .18s ease;
}
.partner-card::before { display: none !important; content: none !important; }
.partner-card::after { position: absolute; inset: 7px; border: 1px solid rgba(97,154,210,.08); content: ""; pointer-events: none; }
.partner-card:hover { z-index: 2; border-color: #3c648b !important; transform: translateY(-3px); }
.partner-card img {
  position: relative;
  z-index: 1;
  width: 124px !important;
  height: 124px !important;
  max-width: 80%;
  padding: 7px;
  border: 1px solid #24394d;
  border-radius: 0 !important;
  background: #05080a;
  object-fit: contain !important;
  filter: saturate(.72) contrast(1.06) !important;
  transition: filter .18s ease;
}
.partner-card:hover img { filter: saturate(.9) contrast(1.08) !important; transform: none !important; }
.partner-card span {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 12px 6px 2px !important;
  color: #a5bdd5;
  font: 600 13px/1.2 var(--sans);
  letter-spacing: .035em;
  text-align: center;
}

/* Events use a single color grade and calmer information rows. */
.schedule {
  background-image: none !important;
  background-position: center !important;
}
.schedule::before {
  background:
    linear-gradient(90deg, rgba(4,6,8,.97), rgba(4,6,8,.84) 56%, rgba(4,6,8,.48)),
    linear-gradient(180deg, transparent, #040608) !important;
}
.schedule-grid { grid-template-columns: minmax(300px, .72fr) minmax(650px, 1.48fr); gap: 72px; }
.event-list { width: 100%; padding: 8px 32px; border: 1px solid #28415a !important; background: rgba(6,9,12,.88) !important; }
.event-row { min-height: 114px; border-color: #1f3143 !important; transition: background .16s ease; }
.event-row:hover { background: rgba(27,62,96,.12); }
.event-art { width: 126px; height: 80px; overflow: hidden; border: 1px solid #2d4b68; background: #05080a; }
.event-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) contrast(1.12) brightness(.86) sepia(0); }
img[src*="nebula-metin"] { filter: saturate(.72) contrast(1.08) brightness(.86) !important; }
img[src*="bellandir-metin"] { filter: saturate(.76) contrast(1.08) brightness(.88) !important; }
img[src*="empire-war-metin"] { filter: saturate(.82) contrast(1.08) brightness(.9) !important; }
.event-row time { color: var(--gold-2) !important; }
.event-row time { font-size: 23px; }
.event-row strong { color: #bfd1e2; font-size: 22px; }
.event-row span { font-size: 13px; }
.event-row .event-reward { font-size: 12px; }
.event-row em { border-color: #2b537a !important; background: rgba(24,56,87,.14); color: #659dd4 !important; }
.schedule-timezone { color: #778695 !important; }

.reward-section {
  min-height: 640px !important;
  padding-block: 78px !important;
  background-image: none !important;
  background-position: center !important;
}
.reward-section::before {
  background:
    linear-gradient(90deg, rgba(4,6,8,.97), rgba(4,6,8,.84) 50%, rgba(4,6,8,.38)),
    linear-gradient(180deg, transparent, #040608) !important;
}
.rewards { width: min(850px, 74%); margin-top: 44px; gap: 18px; }
.reward {
  min-height: 254px;
  padding: 36px 22px;
  border: 1px solid #223649 !important;
  clip-path: none !important;
  background: rgba(7,10,13,.88) !important;
  box-shadow: none !important;
}
.reward.first { min-height: 304px; border-color: #426e9a !important; background: rgba(11,20,29,.94) !important; }
.reward .place { font-size: 60px; }
.reward .amount { font-size: 42px; }
.reward p { color: #8fa0b0; font-size: 13px; }
.reward .amount { color: var(--gold-2) !important; }
.final-cta { min-height: 420px; background-image: none !important; }
.final-cta::before { background: linear-gradient(90deg, rgba(4,5,6,.96), rgba(13,31,49,.68), rgba(4,5,6,.96)) !important; }
.final-cta h2 { font-size: clamp(52px, 6vw, 76px); }
.final-cta p { color: #b7c8d8; font-size: 15px; }
.final-cta .button { min-width: 224px; min-height: 58px; font-size: 13px; }
body:not([data-page]) footer { border-top-color: #20303f !important; background: #050708 !important; }
body:not([data-page]) footer { padding-block: 30px; font-size: 12px; }
body:not([data-page]) footer, body:not([data-page]) footer a { color: #9aaaba !important; }

/* Secondary campaign and archive pages share the same material language. */
body[data-page] {
  background:
    radial-gradient(circle at 50% -10%, rgba(33,74,115,.14), transparent 36%),
    #050708 !important;
}
body[data-page]:not([data-page="marketing"]) .topbar { position: relative; z-index: 5; }
body[data-page] .topbar { border-color: #24394d !important; }
body[data-page] .brand img { width: 122px; height: 58px; }
body[data-page] .topnav { gap: 18px; }
body[data-page] .topnav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 11px; }
body[data-page] .button { min-width: 210px; }
body[data-page] .eyebrow, body[data-page] .label, body[data-page] .feature-number,
body[data-page] .step-number { color: var(--ember) !important; }
body[data-page] .lede { color: #afc0d0 !important; }
body[data-page] .updated { color: #758595 !important; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

body[data-page="marketing"] .hero {
  background-image: linear-gradient(90deg, rgba(4,6,7,.97), rgba(4,6,7,.62) 56%, rgba(4,6,7,.22)) !important;
  background-position: center !important;
  background-size: cover !important;
}
body[data-page="marketing"] .feature,
body[data-page="support"] .card,
body[data-page="testflight"] .step,
body[data-page] .notice, body[data-page] .toc, body[data-page] .callout {
  border: 1px solid #223649 !important;
  clip-path: none !important;
  background: rgba(9,13,18,.94) !important;
  box-shadow: none !important;
}
body[data-page="marketing"] .feature { min-height: 240px; border-top-color: #284f75 !important; }
body[data-page="marketing"] .media { border: 1px solid #2a4662 !important; background: #050708 !important; box-shadow: 0 24px 70px rgba(0,0,0,.5) !important; }
body[data-page="marketing"] .cta { background: linear-gradient(135deg, #0a1016, #06080a) !important; }
body[data-page="support"], body[data-page="testflight"], body[data-page="privacy"],
body[data-page="terms"], body[data-page="account"], body[data-page="not-found"] {
  background-image: linear-gradient(rgba(4,6,7,.94), rgba(4,6,7,.98)) !important;
  background-position: center top !important;
  background-size: cover !important;
}
body[data-page="support"] main::before, body[data-page="testflight"] main::before { display: none; }
body[data-page="privacy"] main, body[data-page="terms"] main, body[data-page="account"] main { position: relative; }
body[data-page="privacy"] main section, body[data-page="terms"] main section,
body[data-page="account"] main section { border-top-color: rgba(74,135,195,.18) !important; }
.toc { border-left: 2px solid #295580 !important; }
.callout { border-left: 2px solid #2f6193 !important; }

@media (max-width: 1180px) {
  body:not([data-page]) .topbar { grid-template-columns: 150px 1fr auto; }
  body:not([data-page]) .nav { display: none; }
  body:not([data-page]) .nav.open {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 10px 18px 18px;
    border-bottom: 1px solid #29435c;
    background: rgba(7,10,12,.99) !important;
    box-shadow: 0 22px 46px rgba(0,0,0,.55);
  }
  body:not([data-page]) .nav.open a { display: block; padding: 14px 12px; border-bottom: 1px solid #19242f; }
  body:not([data-page]) .menu-button { display: inline-flex; }
  body:not([data-page]) .nav-cta .link-button:not(.gold) { display: none; }
  .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (max-width: 980px) {
  body:not([data-page]) .hero-content { padding-right: 40vw; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-news, .hub-calendar, .hub-actions { grid-column: 1; }
  .hub-news { border-right: 0; border-bottom: 1px solid #213549; }
  .hub-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .schedule-grid { grid-template-columns: 1fr; gap: 48px; }
  .rewards { width: min(760px, 100%); }
}

@media (max-width: 820px) {
  body[data-page="marketing"] .nav { display: none; }
  body[data-page="marketing"] .topbar { padding-inline: 16px; }
  body[data-page] .topnav { gap: 10px; }
  body[data-page] .topnav a { padding-inline: 8px; }
  body:not([data-page]) section.content, body:not([data-page]) .partners-section,
  body:not([data-page]) .schedule { padding-block: var(--space-5); }
  .reward-section { min-height: 0 !important; padding-block: var(--space-5) !important; }
  .event-row { min-height: 98px; }
  .event-art { width: 96px; height: 66px; }
}

@media (max-width: 680px) {
  body:not([data-page]) .topbar {
    min-height: 62px;
    height: 62px;
    grid-template-columns: 96px 1fr auto;
    gap: 6px;
    padding-inline: 9px;
  }
  body:not([data-page]) .brand { width: 94px; height: 58px; }
  body:not([data-page]) .brand img { width: 92px !important; height: 54px !important; }
  body:not([data-page]) .nav.open { top: 62px; grid-template-columns: 1fr; }
  body:not([data-page]) .language-control { width: 126px; }
  body:not([data-page]) .language-control select { padding-inline: 14px 34px !important; font-size: 10px; }
  body:not([data-page]) .language-control::after { right: 16px; }
  body:not([data-page]) .nav-cta .link-button.gold { display: none; }
  body:not([data-page]) .menu-button { min-width: 80px; }

  body:not([data-page]) .hero { min-height: 700px; height: 700px; padding-top: 76px; }
  body:not([data-page]) .hero::before {
    background-image: linear-gradient(180deg, rgba(3,4,5,.02) 34%, rgba(3,4,5,.88) 72%, #050708 100%) !important;
    background-position: 68% center !important;
  }
  body:not([data-page]) .hero-content {
    width: calc(100% - 28px);
    align-self: end;
    margin-bottom: 42px;
    padding-right: 0;
  }
  body:not([data-page]) .hero-logo { width: 300px !important; max-width: 90%; }
  body:not([data-page]) .hero h1 { margin-top: 16px; font-size: clamp(34px, 10vw, 46px); }
  .hero-lede { margin-top: 14px; font-size: 15px; line-height: 1.5; }
  body:not([data-page]) .hero-date { font-size: 16px; }
  body:not([data-page]) .hero-actions { display: grid; grid-template-columns: 1fr; width: min(330px, 100%); }
  body:not([data-page]) .hero-actions .button { width: 100%; }

  .realm-hub { width: calc(100% - 22px); margin-top: -28px; }
  .hub-story { grid-template-columns: 106px 1fr; }
  .hub-story img { width: 94px; height: 66px; }
  .hub-event { grid-template-columns: 82px 1fr 44px; margin-inline: 9px; }
  .hub-event img { width: 70px; height: 48px; }
  .hub-actions { grid-template-columns: 1fr; gap: 10px; padding: 14px 10px 16px; }
  .hub-actions .hub-panel-title { width: 100%; }
  .hub-actions > a { min-height: 82px; }
  .hub-server > span:last-child { display: grid; gap: 3px; }

  body:not([data-page]) .world-strip { width: calc(100% - 22px); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .partner-card { min-height: 165px; padding-inline: 8px; }
  .partner-card img { width: 96px !important; height: 96px !important; }
  .event-art { width: 82px; height: 58px; }
  .event-row time { font-size: 19px; }
  .event-row strong { font-size: 18px; }
  .rewards { width: 100%; }
  .reward, .reward.first { min-height: 0; }

  body[data-page] .topnav a, body[data-page] .topbar > a:not(.brand),
  [data-language], [data-page-language], body[data-page] .language-switcher select { min-height: 44px !important; }
  body[data-page="not-found"] .topbar {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding-block: 8px;
  }
  body[data-page="not-found"] .topnav { justify-content: flex-end; }
  body[data-page] .brand img { width: 94px !important; height: 54px !important; }
  body[data-page] .button { min-width: 0; width: 100%; }
}

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

/* 2026 visual refinement: real gameplay, quieter surfaces, clearer hierarchy. */
:root {
  --site-shell: 1136px;
  --utility-shell: 920px;
  --legal-copy: 780px;
  --surface-0: #050708;
  --surface-1: #070b0e;
  --surface-2: #0b1015;
  --line-soft: #20303f;
  --line-strong: #2d4c6b;
  --text-main: #d4e0eb;
  --text-muted: #9baab9;
}

html { scroll-padding-top: 78px; }
body { text-rendering: optimizeLegibility; }
h1, h2, h3, p, a, span, small { overflow-wrap: anywhere; }

/* State artwork is kept in the DOM so every control preloads its complete set. */
.button-art { display: block !important; }
.button, .link-button, .menu-button, .hub-more, .hub-actions > a {
  min-height: 48px;
  overflow: hidden !important;
  padding: 11px 22px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 3px;
  background: linear-gradient(180deg, #0f1821, #090e12) !important;
  box-shadow: none !important;
  color: #c0d1e2 !important;
  font-size: 12px;
  letter-spacing: .06em;
  text-shadow: none;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.button:hover, .link-button:hover, .hub-more:hover {
  border-color: #4375a7 !important;
  color: #e2eaf2 !important;
  transform: none !important;
}
.menu-button:hover, .hub-actions > a:hover {
  border-color: #4375a7 !important;
  background: #101b26 !important;
  color: #e2eaf2 !important;
  transform: none !important;
}
.button.gold, .button.primary, .link-button.gold {
  border-color: #4d82b6 !important;
  background: linear-gradient(180deg, #2e5e8d, #193857) !important;
  color: #e5edf4 !important;
}
.language-option[aria-selected="true"] {
  background: #101e2b !important;
  color: #c6d6e6;
}
.language-option { min-height: 44px; }

/* Home header */
body:not([data-page]) .topbar {
  min-height: 68px;
  height: 68px;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 18px;
  background: rgba(5,7,8, .96) !important;
  backdrop-filter: blur(14px);
}
body:not([data-page]) .brand { width: 136px; height: 60px; }
body:not([data-page]) .brand img { width: 132px; height: 58px; }
body:not([data-page]) .nav { max-width: 680px; }
body:not([data-page]) .nav a { min-height: 44px; padding-block: 20px; }
body:not([data-page]) .language-control { width: 142px; }
body:not([data-page]) .nav-cta .link-button.gold { min-width: 142px; }

/* Home hero: copy plus one bounded, authentic gameplay frame. */
body:not([data-page]) .hero {
  min-height: 720px;
  height: auto;
  display: grid;
  align-items: center;
  padding: 108px 0 72px;
  background: var(--surface-0) !important;
}
body:not([data-page]) .hero::before {
  background:
    radial-gradient(circle at 76% 48%, rgba(33,75,117, .22), transparent 34%),
    radial-gradient(circle at 18% 15%, rgba(54,122,189, .08), transparent 28%),
    linear-gradient(135deg, #080c0f, #040607 68%) !important;
}
body:not([data-page]) .hero::after {
  background: linear-gradient(180deg, transparent 68%, var(--surface-0) 100%) !important;
}
body:not([data-page]) .hero-grain { opacity: .025 !important; }
body:not([data-page]) .hero-content {
  width: min(var(--site-shell), calc(100% - 48px));
  margin: 0 auto;
  padding-inline-end: min(51vw, 590px);
  text-align: start;
}
body:not([data-page]) .hero-logo {
  width: min(310px, 30vw) !important;
  height: auto !important;
  aspect-ratio: auto !important;
  margin: 0 0 8px !important;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.48)) !important;
}
body:not([data-page]) .season-kicker {
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: .13em;
}
body:not([data-page]) .hero h1 {
  max-width: 560px;
  margin-top: 18px;
  font-size: clamp(42px, 4vw, 60px);
  line-height: .98;
}
.hero-lede { margin-top: 18px; color: var(--text-muted); font-size: 16px; line-height: 1.62; }
body:not([data-page]) .hero-date { margin-top: 14px; font-size: 18px; }
body:not([data-page]) .hero-actions { width: min(468px, 100%); margin-top: 20px; }
body:not([data-page]) .hero-actions .button { width: 218px; min-height: 52px; }
.hero-gameplay-card {
  position: absolute;
  top: 50%;
  inset-inline-end: max(24px, calc((100vw - var(--site-shell)) / 2));
  width: min(48vw, 548px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #030405;
  box-shadow: 0 24px 55px rgba(0,0,0, .38);
  transform: translateY(-50%);
}
.hero-gameplay-card img { display: block; width: 100%; height: auto; }
.hero-gameplay-card figcaption,
.marketing-hero-gameplay figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 11px 14px;
  border-top: 1px solid #192735;
  color: #a7c0d8;
  font: 600 14px/1.3 var(--sans);
}
.hero-gameplay-card figcaption span { color: #8295a8; font-size: 12px; letter-spacing: .06em; }

/* The summary strip now follows the hero. */
body:not([data-page]) .world-strip {
  width: 100%;
  margin: 0;
  border-width: 1px 0 !important;
  border-radius: 0;
}
body:not([data-page]) .world-strip-inner { width: min(var(--site-shell), calc(100% - 48px)); }
body:not([data-page]) .world-stat { min-height: 92px; }
body:not([data-page]) .world-stat small { font-size: 11px; letter-spacing: .12em; }

/* Mobile feature proof: one orderly column and one real gameplay view. */
body:not([data-page]) section.content,
body:not([data-page]) .partners-section,
body:not([data-page]) .schedule { padding-block: 86px; }
body:not([data-page]) .section-title { font-size: clamp(40px, 4.7vw, 62px); }
body:not([data-page]) .section-copy { font-size: 16px; line-height: 1.7; }
.mobile-section { background: radial-gradient(circle at 80% 30%, rgba(32,72,112, .12), transparent 32%), #06090b !important; }
.mobile-section::before { font-size: clamp(64px, 8vw, 112px) !important; opacity: .5; }
.mobile-grid {
  width: min(920px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start;
  gap: 44px !important;
}
.device-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.device-item { min-width: 0; padding-top: 14px; border-top: 1px solid #1b2834; }
.device-item strong { margin-bottom: 7px; font-size: 19px; }
.device-item span { color: var(--text-muted); font-size: 14px; line-height: 1.58; }
.background-hunt-item { grid-column: 1 / -1; }
.background-hunt-panel {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  max-width: 820px;
  margin-top: 16px;
  border-color: #28415a;
  border-radius: 4px;
  box-shadow: none;
}
.background-hunt-panel img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.background-hunt-panel-copy { display: grid; align-content: center; padding: 20px 22px; }
.background-hunt-panel p { color: #a5b4c3; font-size: 14px; line-height: 1.62; }
.video-stage {
  width: min(760px, 100%);
  justify-self: center;
  padding: 8px;
  border-radius: 5px;
  box-shadow: 0 20px 46px rgba(0,0,0,.32) !important;
}
.video-stage::before { display: none; }
.video-caption { display: none; }

/* Player center: no duplicate event gallery and no decorative image buttons. */
.realm-hub { padding: 72px 0 28px; }
.hub-grid { grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); gap: 18px; }
.hub-news { grid-column: auto; }
.hub-actions {
  grid-column: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  padding: 18px;
  border: 1px solid #23374b;
  background: linear-gradient(160deg, rgba(13,20,26,.96), rgba(6,8,10,.98)) !important;
}
.hub-panel { border-radius: 6px; box-shadow: 0 14px 36px rgba(0,0,0,.24); }
.hub-story { grid-template-columns: 120px minmax(0, 1fr); min-height: 94px; }
.hub-story img, .hub-story-marker {
  width: 104px;
  height: 66px;
  margin: 13px 0;
  border: 1px solid #29435d;
  background: #090e12;
}
.hub-story-marker {
  display: grid;
  place-items: center;
  color: #71a3d5;
  font: 700 18px/1 var(--display);
}
.hub-story-copy { padding-inline-end: 8px; }
.hub-story-copy time { inset-inline-end: 8px; color: #7e8f9f; font-size: 12px; }
.hub-actions > a { min-height: 70px; padding: 12px; }
.hub-actions small { font-size: 11px; line-height: 1.35; }
.hub-server { margin-top: 2px; }
.hub-countdown {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hub-countdown-title {
  flex: 0 0 78px;
  color: #7e8f9f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: start;
  text-transform: uppercase;
}
.hub-countdown-units { display: flex; align-items: center; gap: 6px; }
.hub-countdown-unit {
  min-width: 54px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 5px;
  border: 1px solid #213549;
  border-radius: 3px;
  background: #060a0d;
  text-align: center;
}
.hub-countdown-unit b { color: #84b0dc; font: 700 17px/1 var(--display); }
.hub-countdown-unit small {
  margin: 0;
  color: #7e8f9f;
  font: 700 9px/1 var(--sans);
  letter-spacing: .04em;
  white-space: nowrap;
  text-transform: uppercase;
}
.hub-countdown-live { display: none; color: #82a5c9; font: 600 14px/1.2 var(--display); }
.hub-countdown.is-live .hub-countdown-units { display: none; }
.hub-countdown.is-live .hub-countdown-live { display: block; }
.hub-server:has(.hub-countdown.is-live) .hub-status-dot {
  background: #6794c1;
  box-shadow: 0 0 8px rgba(103,148,193,.55);
}

/* Partner portraits are compact and the final row stays centered. */
.partners-section { background: linear-gradient(180deg, #070a0d, #050708) !important; }
.partner-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px !important;
}
.partner-card {
  flex: 0 1 172px;
  width: 172px;
  min-height: 172px;
  aspect-ratio: auto !important;
  padding: 18px 10px 12px;
  border-radius: 4px;
}
.partner-card:hover { transform: none; }
.partner-card img { width: 104px !important; height: 104px !important; max-width: none; padding: 5px; }
.partner-card span { padding-top: 10px !important; font-size: 13px; }

/* Events and rewards use typography, not extra hero-scale images. */
.schedule {
  min-height: 0;
  background: radial-gradient(circle at 12% 28%, rgba(32,74,115, .14), transparent 32%), #050709 !important;
}
.schedule::before { background: linear-gradient(180deg, rgba(255,255,255,.01), transparent) !important; }
.schedule-grid { grid-template-columns: minmax(270px, .62fr) minmax(0, 1.38fr); gap: 56px; }
.event-list { padding: 6px 24px; background: #070b0e !important; box-shadow: none; backdrop-filter: none; }
.event-row {
  min-height: 94px;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 13px 0;
}
.event-row time { font-size: 20px; }
.event-row strong { font-size: 19px; }
.event-row span { color: #94a4b3; font-size: 13px; line-height: 1.45; }
.event-row .event-reward { margin-top: 4px; font-size: 12px; }
.event-row em { min-width: 76px; text-align: center; font-size: 10px; }
.reward-section {
  min-height: 0 !important;
  padding-block: 86px !important;
  background: radial-gradient(circle at 78% 40%, rgba(42,95,148, .1), transparent 32%), #06090c !important;
}
.reward-section::before { display: none; }
.rewards { width: min(820px, 100%); margin-top: 36px; gap: 14px; }
.reward, .reward.first {
  min-height: 220px;
  padding: 28px 20px;
  background: #090e12 !important;
}
.reward.first { min-height: 246px; background: #0b131a !important; }
.reward small { color: #9baab9; font-size: 11px; }
.reward .place { margin: 18px 0 12px; font-size: 48px; }
.reward .amount { font-size: 36px; }
.final-cta {
  min-height: 330px;
  padding: 68px 20px;
  background: radial-gradient(circle at 50% 0, rgba(37,84,130, .2), transparent 42%), #040709 !important;
}
.final-cta::before { display: none; }
.final-cta h2 { font-size: clamp(42px, 5vw, 60px); }

/* Marketing: authentic gameplay is framed, never used as a giant backdrop. */
body[data-page="marketing"] .hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 54px;
  padding: 116px max(24px, calc((100vw - 1180px) / 2)) 74px;
  background: radial-gradient(circle at 76% 42%, rgba(34,78,121, .18), transparent 34%), #040709 !important;
}
body[data-page="marketing"] .hero-copy { max-width: 560px; }
body[data-page="marketing"] .hero h1 { font-size: clamp(48px, 6.5vw, 82px); line-height: .94; }
body[data-page="marketing"] .lead { margin: 22px 0 28px; font-size: 18px; }
.marketing-hero-gameplay {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #030405;
  box-shadow: 0 22px 50px rgba(0,0,0,.32);
}
.marketing-hero-gameplay img { display: block; width: 100%; height: auto; }
.marketing-hero-gameplay figcaption { justify-content: flex-start; }
body[data-page="marketing"] .section { padding-block: 76px; }
body[data-page="marketing"] .section-heading { margin-bottom: 34px; }
body[data-page="marketing"] .feature { min-height: 0; padding: 24px; }
body[data-page="marketing"] .feature h3 { margin: 22px 0 10px; font-size: 25px; }
body[data-page="marketing"] .crossplay { gap: 48px; }
body[data-page="marketing"] .media {
  min-height: 0;
  aspect-ratio: 1920 / 887;
  border-radius: 5px;
  box-shadow: 0 18px 42px rgba(0,0,0,.28) !important;
}
body[data-page="marketing"] .media img { object-fit: contain; }
body[data-page="marketing"] .media::after { display: none; }
body[data-page="marketing"] .gameplay-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body[data-page="marketing"] .gameplay-shot:first-child { grid-column: auto; }
body[data-page="marketing"] .gameplay-shot { border-radius: 4px; box-shadow: none; }
body[data-page="marketing"] .gameplay-shot figcaption { min-height: 54px; padding: 12px 14px; font-size: 16px; }
body[data-page="marketing"] .gameplay-shot:focus-within { border-color: #5991c9; box-shadow: inset 0 0 0 1px #5991c9; }
body[data-page="marketing"] .gameplay-shot a:focus-visible { outline: none; }
body[data-page="marketing"] .cta {
  margin-bottom: 72px;
  padding: 44px;
  background: #080c10 !important;
}

/* Utility and legal pages share a compact, readable shell. */
body[data-page]:not([data-page="marketing"])::before,
body[data-page]:not([data-page="marketing"])::after { display: none !important; content: none !important; }
body[data-page="support"], body[data-page="testflight"], body[data-page="privacy"],
body[data-page="terms"], body[data-page="account"], body[data-page="not-found"] {
  background: radial-gradient(circle at 50% 0, rgba(34,77,119, .09), transparent 30%), var(--surface-0) !important;
}
body[data-page]:not([data-page="marketing"]) .topbar { min-height: 68px; padding-block: 6px; background: #05080a !important; }
body[data-page]:not([data-page="marketing"]) h1 { font-size: clamp(38px, 5vw, 64px) !important; line-height: 1.02; }
body[data-page="privacy"] main, body[data-page="terms"] main, body[data-page="account"] main {
  width: min(var(--legal-copy), calc(100% - 34px));
  padding-top: 58px;
}
body[data-page="support"] .card, body[data-page="testflight"] .step { min-height: 0; padding: 24px; }
body[data-page] footer { border-top-color: #20303f !important; background: #050708 !important; color: #899aaa; }
body[data-page="not-found"] { min-height: 100svh; display: flex; flex-direction: column; }
body[data-page="not-found"] main { flex: 1; display: grid; align-content: center; padding-block: 48px; }

/* RTL-safe positioning for the elements with directional meaning. */
.hub-story-copy { padding-inline: 0 12px; }
.hub-story-copy time { right: auto; inset-inline-end: 8px; }
.scroll-note { left: auto; inset-inline-start: 32px; }
.language-menu { right: auto; inset-inline-end: 0; }

@media (max-width: 1180px) {
  body:not([data-page]) .topbar { grid-template-columns: 132px minmax(0, 1fr) auto; }
  .schedule-grid { grid-template-columns: 1fr; gap: 38px; }
  .schedule-grid > div:first-child { max-width: 680px; }
  body[data-page="marketing"] .gameplay-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  body:not([data-page]) .hero-content { padding-inline-end: 44vw; }
  .hero-gameplay-card { width: 41vw; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-news, .hub-actions { grid-column: 1; }
  .hub-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body[data-page="marketing"] .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 104px 20px 64px;
  }
  body[data-page="marketing"] .hero-copy { max-width: 680px; }
  .marketing-hero-gameplay { width: min(680px, 100%); }
  body[data-page="marketing"] .gameplay-gallery { grid-template-columns: 1fr; }
  body[data-page="marketing"] .section { padding-block: 62px; }
}

@media (max-width: 880px) {
  body:not([data-page]) .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 98px 20px 52px;
  }
  body:not([data-page]) .hero-content {
    width: min(680px, 100%);
    margin: 0 auto;
    padding-inline-end: 0;
  }
  body:not([data-page]) .hero-logo { width: min(270px, 72vw) !important; }
  .hero-gameplay-card {
    position: relative;
    top: auto;
    inset-inline-end: auto;
    width: min(680px, 100%);
    margin: 30px auto 0;
    transform: none;
  }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 64px; }
  body:not([data-page]) .topbar {
    min-height: 62px;
    height: 62px;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 6px;
    padding-inline: 9px;
  }
  body:not([data-page]) .brand { width: 86px; height: 54px; }
  body:not([data-page]) .brand img { width: 84px !important; height: 52px !important; }
  body:not([data-page]) .language-control { width: 116px; }
  body:not([data-page]) .language-control select { padding-inline: 9px 28px !important; }
  body:not([data-page]) .language-control::after { inset-inline-end: 10px; right: auto; }
  body:not([data-page]) .menu-button { min-width: 62px; padding-inline: 9px; }
  body:not([data-page]) .nav.open { top: 62px; }

  body:not([data-page]) .hero { padding: 88px 14px 44px; }
  body:not([data-page]) .hero-logo { width: min(230px, 70vw) !important; }
  body:not([data-page]) .season-kicker { font-size: 10px; }
  body:not([data-page]) .hero h1 { margin-top: 16px; font-size: clamp(34px, 10vw, 43px); }
  .hero-lede { font-size: 15px; }
  body:not([data-page]) .hero-date { font-size: 16px; }
  body:not([data-page]) .hero-actions { grid-template-columns: 1fr; width: 100%; }
  body:not([data-page]) .hero-actions .button { width: 100%; }
  .hero-gameplay-card { margin-top: 24px; }
  .hero-gameplay-card figcaption { min-height: 44px; padding: 9px 11px; }
  .hero-gameplay-card figcaption span { display: none; }

  body:not([data-page]) .world-strip-inner { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:not([data-page]) .world-stat { min-height: 82px; padding-inline: 8px; }
  body:not([data-page]) section.content,
  body:not([data-page]) .partners-section,
  body:not([data-page]) .schedule { padding-block: 58px; }
  body:not([data-page]) .section-title { font-size: 42px; }
  .mobile-section::before { display: none; }
  .mobile-grid { width: min(100% - 28px, 920px); gap: 34px !important; }
  .device-list { grid-template-columns: 1fr; gap: 16px; }
  .background-hunt-item { grid-column: auto; }
  .background-hunt-panel { grid-template-columns: 1fr; }
  .background-hunt-panel img { min-height: 0; height: auto; }
  .background-hunt-panel-copy { padding: 16px; }
  .video-stage { margin-inline: 0; padding: 5px; }

  .realm-hub { width: calc(100% - 28px); margin-top: 0; padding: 52px 0 18px; }
  .hub-grid { gap: 14px; }
  .hub-story { grid-template-columns: 92px minmax(0, 1fr); margin-inline: 10px; }
  .hub-story img, .hub-story-marker { width: 80px; height: 54px; }
  .hub-story-copy b { font-size: 16px; }
  .hub-story-copy small { font-size: 12px; }
  .hub-actions { grid-template-columns: 1fr; padding: 14px 10px; }
  .hub-actions > a { min-height: 62px; }
  .hub-server { align-items: flex-start; padding-inline: 8px; }
  .hub-countdown { width: 100%; flex-direction: column; gap: 8px; }
  .hub-countdown-units { width: 100%; justify-content: center; gap: 4px; }
  .hub-countdown-unit { min-width: 0; flex: 1; padding-inline: 5px; }

  .partners-heading { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 32px; }
  .partner-grid { gap: 10px !important; }
  .partner-card { flex-basis: calc(50% - 5px); width: calc(50% - 5px); min-height: 158px; }
  .partner-card img { width: 94px !important; height: 94px !important; }

  .schedule-grid { gap: 30px; }
  .event-list { padding-inline: 14px; }
  .event-row {
    min-height: 0;
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 7px 12px;
    padding: 16px 0;
  }
  .event-row time { grid-column: 1 !important; grid-row: 1 / 3 !important; align-self: start; font-size: 18px; }
  .event-row > div { grid-column: 2 !important; grid-row: 1 !important; }
  .event-row em { grid-column: 2 !important; grid-row: 2 !important; justify-self: start; min-width: 0; }
  .event-row strong { font-size: 17px; }
  .event-row span { font-size: 12px; }
  .reward-section { padding-block: 58px !important; }
  .rewards { grid-template-columns: 1fr; }
  .reward, .reward.first { min-height: 0; padding: 24px; }
  .final-cta { min-height: 0; padding-block: 58px; }

  body[data-page="marketing"] .hero { padding-top: 92px; }
  body[data-page="marketing"] .hero h1 { font-size: clamp(42px, 12vw, 58px); }
  body[data-page="marketing"] .lead { font-size: 16px; }
  body[data-page="marketing"] .cta { padding: 34px 20px; }

  body:is([data-page="privacy"], [data-page="terms"], [data-page="account"]) .topbar {
    display: grid !important;
    grid-template-columns: auto auto;
    align-items: center !important;
    gap: 8px 12px;
    padding: 8px 14px !important;
  }
  body:is([data-page="privacy"], [data-page="terms"], [data-page="account"]) .topbar-tools { display: contents; }
  body:is([data-page="privacy"], [data-page="terms"], [data-page="account"]) .language-switcher {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  body:is([data-page="privacy"], [data-page="terms"], [data-page="account"]) .topnav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  body:is([data-page="privacy"], [data-page="terms"], [data-page="account"]) .topnav a {
    flex: 0 0 auto;
    min-height: 40px !important;
    padding-inline: 8px;
  }
  body:is([data-page="support"], [data-page="testflight"]) .topbar > div {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  body:is([data-page="support"], [data-page="testflight"]) .back-link { display: none; }
  body:is([data-page="support"], [data-page="testflight"]) .page-language { width: 140px; }
}

@media (max-width: 360px) {
  body:not([data-page]) .topbar { grid-template-columns: 82px minmax(0, 1fr) auto; }
  body:not([data-page]) .language-control { width: 104px; }
  body:not([data-page]) .menu-button { min-width: 58px; font-size: 10px; }
  .partner-card { min-height: 150px; padding-inline: 6px; }
}

@media (forced-colors: active) {
  .button, .link-button, .menu-button, .hub-more, .hub-actions > a,
  .language-trigger, .language-option { border: 1px solid ButtonText !important; }
}

/* MMORPG portal pass: forged surfaces, leather controls and real gameplay. */
body:not([data-page]) {
  background:
    linear-gradient(rgba(3,5,7, .86), rgba(3,5,7, .94)),
    url("assets/generated/everfrost-sohan-v1.webp") center top / 1024px auto fixed !important;
}

body:not([data-page]) .topbar {
  min-height: 74px;
  height: 74px;
  border-bottom: 1px solid #38628b !important;
  background:
    linear-gradient(180deg, rgba(9,13,17, .9), rgba(3,4,5, .98)),
    url("assets/generated/everfrost-sohan-v1.webp") center 38% / 760px auto !important;
  box-shadow: 0 10px 32px rgba(0,0,0,.72), inset 0 -1px rgba(103,158,212,.18);
}
body:not([data-page]) .topbar::after {
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1f466d 20%, #3f78b1 50%, #1f466d 80%, transparent);
  box-shadow: 0 0 14px rgba(37,85,133,.55);
  content: "";
  pointer-events: none;
}
body:not([data-page]) .brand { width: 148px; height: 66px; }
body:not([data-page]) .brand img { width: 144px; height: 64px; filter: drop-shadow(0 5px 8px #000000); }
body:not([data-page]) .nav a {
  color: #bed0e2 !important;
  font-weight: 800;
  letter-spacing: .09em;
  text-shadow: 0 2px 3px #000000;
}
body:not([data-page]) .nav a:hover { color: #b4c9de !important; }

.button, .link-button, .hub-more {
  --button-frame: url("assets/generated/button-secondary-normal-v4.png");
  min-height: 54px;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--button-frame) center / 100% 100% no-repeat !important;
  color: #c7d7e6 !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-shadow: 0 2px 3px #000000;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.42));
  transition: transform .11s ease, filter .14s ease, color .14s ease;
}
.button.gold, .button.primary, .link-button.gold {
  --button-frame: url("assets/generated/button-primary-normal-v4.png");
  border: 0 !important;
  background: var(--button-frame) center / 100% 100% no-repeat !important;
  color: #dfe8f1 !important;
}
.button::before, .link-button::before, .hub-more::before {
  position: absolute;
  z-index: 0;
  inset: 9px 13px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(138,180,222,.22), rgba(35,80,125,.3));
  box-shadow: inset 0 1px rgba(200,216,231,.2), 0 0 15px rgba(40,91,141,.22);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease, background-color .11s ease;
}
.button:hover:not(:active), .link-button:hover:not(:active), .hub-more:hover:not(:active) {
  border: 0 !important;
  background-color: transparent !important;
  color: #e7eef4 !important;
  filter: brightness(1.24) saturate(1.12) drop-shadow(0 12px 15px rgba(0,0,0,.56));
  transform: translateY(-3px) !important;
}
.button:hover:not(:active)::before,
.link-button:hover:not(:active)::before,
.hub-more:hover:not(:active)::before { opacity: 1; }
.button:active, .link-button:active, .hub-more:active {
  color: #a1bdd8 !important;
  filter: brightness(.78) saturate(.9) drop-shadow(0 2px 3px rgba(0,0,0,.48));
  transform: translateY(3px) scale(.985) !important;
  transition-duration: .035s;
}
.button:active::before, .link-button:active::before, .hub-more:active::before {
  background: rgba(0,0,0,.32);
  box-shadow: inset 0 3px 9px rgba(0,0,0,.65);
  opacity: 1;
}
.button-label {
  transition: transform .11s ease, color .14s ease, text-shadow .14s ease;
}
.button:hover:not(:active) .button-label,
.link-button:hover:not(:active) .button-label,
.hub-more:hover:not(:active) .button-label { text-shadow: 0 0 8px rgba(150,188,226,.42), 0 2px 3px #000000; }
.button:active .button-label,
.link-button:active .button-label,
.hub-more:active .button-label { transform: translateY(2px); }
.button-label, .hub-more .button-label {
  position: relative;
  z-index: 1;
}
.menu-button {
  border: 1px solid #2f5376 !important;
  border-radius: 2px;
  background: linear-gradient(180deg, #18222c, #070a0d) !important;
  box-shadow: inset 0 0 0 2px #050709, inset 0 0 0 3px rgba(69,130,191,.24) !important;
}

body:not([data-page]) .hero {
  min-height: 780px;
  padding-block: 118px 82px;
  border-bottom: 1px solid #2c4a68;
  background: #030507 !important;
}
body:not([data-page]) .hero::before {
  background:
    radial-gradient(circle at 77% 46%, rgba(41,94,147, .27), transparent 31%),
    radial-gradient(circle at 15% 18%, rgba(82,144,206, .13), transparent 27%),
    linear-gradient(90deg, rgba(2,4,5,.42), rgba(2,4,6,.7)),
    url("assets/generated/everfrost-sohan-v1.webp") center / 980px auto !important;
  filter: saturate(.88) contrast(1.08);
}
body:not([data-page]) .hero::after {
  background:
    linear-gradient(90deg, rgba(2,3,4,.46), transparent 38%, rgba(10,23,36,.18)),
    linear-gradient(180deg, rgba(0,0,0,.1), transparent 65%, #030507 100%) !important;
}
body:not([data-page]) .hero-content { padding-inline-end: min(53vw, 620px); }
body:not([data-page]) .hero-logo {
  width: min(350px, 32vw) !important;
  filter: drop-shadow(0 15px 22px #000000) drop-shadow(0 0 12px rgba(48,110,172,.18)) !important;
}
body:not([data-page]) .season-kicker {
  border: 1px solid #315e8b;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(25,56,87,.72), rgba(7,16,24,.9));
  box-shadow: inset 0 0 0 2px rgba(3,5,7,.75), 0 8px 24px rgba(0,0,0,.32);
  color: #76a7d8 !important;
}
body:not([data-page]) .hero h1 {
  max-width: 600px;
  color: #c0d1e2 !important;
  font-size: clamp(48px, 4.5vw, 68px);
  line-height: .94;
  letter-spacing: -.015em;
  text-shadow: 0 4px 0 #0b1b2b, 0 10px 30px #000000;
}
.hero-lede { color: #b2c6d9; font-size: 17px; text-shadow: 0 2px 4px #000000; }
body:not([data-page]) .hero-date { color: #88b3de; text-shadow: 0 2px 4px #000000; }
body:not([data-page]) .hero-actions .button { min-height: 58px; }

.hero-gameplay-card,
.marketing-hero-gameplay {
  padding: 9px;
  overflow: visible;
  border: 1px solid #4574a2;
  border-radius: 0;
  background:
    linear-gradient(rgba(4,7,9,.74), rgba(4,7,9,.9)),
    url("assets/generated/everfrost-sohan-v1.webp") center / cover;
  box-shadow:
    0 0 0 3px #05080a,
    0 0 0 4px #22394f,
    0 28px 68px rgba(0,0,0,.62),
    0 0 34px rgba(35,80,124,.16);
}
.hero-gameplay-card::before,
.marketing-hero-gameplay::before {
  position: absolute;
  z-index: 2;
  inset: 4px;
  border: 1px solid rgba(111,163,214,.22);
  box-shadow: inset 0 0 28px rgba(0,0,0,.48);
  content: "";
  pointer-events: none;
}
.hero-gameplay-card { width: min(50vw, 604px); }
.hero-gameplay-card img,
.marketing-hero-gameplay img { position: relative; z-index: 1; }
.hero-gameplay-card figcaption,
.marketing-hero-gameplay figcaption {
  position: relative;
  z-index: 3;
  min-height: 54px;
  margin-top: 8px;
  border: 1px solid #254360;
  background: linear-gradient(180deg, #0d1721, #05090c);
  color: #b0c6db;
  font-family: var(--display);
  font-size: 16px;
  text-shadow: 0 2px 3px #000000;
}

body:not([data-page]) .world-strip {
  border-block: 1px solid #2f5376 !important;
  background:
    linear-gradient(rgba(5,9,13,.82), rgba(3,6,8,.92)),
    url("assets/generated/everfrost-sohan-v1.webp") center 55% / 900px auto !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.38), inset 0 1px rgba(114,165,215,.1);
}
body:not([data-page]) .world-stat {
  min-height: 104px;
  border-color: #20364b !important;
  background: linear-gradient(180deg, rgba(13,29,44,.28), rgba(3,6,8,.5)) !important;
}
body:not([data-page]) .world-stat small { color: #5290ce !important; }
body:not([data-page]) .world-stat strong { color: #c4d5e5; font-size: 20px; text-shadow: 0 2px 5px #000000; }

body:not([data-page]) section.content,
body:not([data-page]) .partners-section,
body:not([data-page]) .schedule { padding-block: 98px; }
body:not([data-page]) .section-label { color: #5793cf !important; font-weight: 900; }
body:not([data-page]) .section-title {
  color: #a9c1d8;
  font-size: clamp(46px, 5.3vw, 70px);
  text-shadow: 0 4px 0 #091622, 0 13px 30px #000000;
}

.mobile-section {
  border-bottom: 1px solid #1f374e;
  background:
    radial-gradient(circle at 80% 30%, rgba(37,85,132,.2), transparent 35%),
    linear-gradient(rgba(3,6,9,.8), rgba(3,6,9,.92)),
    url("assets/generated/everfrost-sohan-v1.webp") center / 1024px auto !important;
}
.mobile-section::before { color: rgba(97,154,211,.045) !important; opacity: 1; }
.device-item {
  padding: 18px 16px;
  border: 1px solid #1f3449 !important;
  background: linear-gradient(135deg, rgba(11,21,31,.72), rgba(5,8,10,.76));
  box-shadow: inset 0 0 0 2px rgba(2,4,5,.7), 0 12px 28px rgba(0,0,0,.2);
}
.device-item .index {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #315e8b;
  border-radius: 50%;
  background: #081119;
  color: #72a5d7 !important;
  font-size: 17px;
  box-shadow: inset 0 0 8px #000000, 0 0 12px rgba(33,74,115,.28);
}
.device-item strong { color: #b4c9de; font-size: 21px; text-shadow: 0 2px 3px #000000; }
.background-hunt-item { padding: 20px; }
.background-hunt-panel {
  padding: 7px;
  border: 1px solid #38699a;
  border-radius: 0;
  background:
    linear-gradient(rgba(5,9,13,.62), rgba(5,9,13,.8)),
    url("assets/generated/everfrost-sohan-v1.webp") center / cover;
  box-shadow: 0 20px 48px rgba(0,0,0,.42), inset 0 0 0 3px #030608;
}
.background-hunt-panel-copy {
  border-inline-start: 1px solid #25415d;
  background: linear-gradient(135deg, rgba(12,28,43,.46), rgba(4,5,6,.68));
}
.video-stage {
  padding: 10px;
  border: 1px solid #4574a2 !important;
  border-radius: 0;
  background:
    linear-gradient(rgba(4,7,9,.72), rgba(4,7,9,.9)),
    url("assets/generated/everfrost-sohan-v1.webp") center / cover !important;
  box-shadow: 0 0 0 3px #040709, 0 0 0 4px #1f364d, 0 30px 72px rgba(0,0,0,.55) !important;
}

.realm-hub { padding-block: 84px 44px; }
.hub-panel {
  border: 1px solid #2d5276;
  border-radius: 0;
  background:
    linear-gradient(rgba(7,11,15,.87), rgba(4,6,8,.95)),
    url("assets/generated/everfrost-sohan-v1.webp") center / 720px auto;
  box-shadow: 0 0 0 3px #030507, 0 22px 56px rgba(0,0,0,.46);
}
.hub-panel-title {
  min-height: 58px;
  padding-inline: 26px;
  border-bottom: 1px solid #35689b;
  color: #bdd0e2;
  font-size: 18px;
  text-shadow: 0 2px 4px #000000;
}
.hub-news .panel-title-art,
.hub-actions .panel-title-art { display: block !important; opacity: .86; }
.hub-story { margin-inline: 18px; border-bottom-color: #1d344a; }
.hub-story:hover { background: linear-gradient(90deg, rgba(24,56,87,.24), transparent); }
.hub-story img,
.hub-story-marker {
  border: 1px solid #36608a;
  box-shadow: inset 0 0 0 2px #030608, 0 6px 16px rgba(0,0,0,.35);
}
.hub-story-marker { background: linear-gradient(180deg, #183755, #080f16); color: #84b0dc; }
.hub-actions {
  border: 1px solid #2d5276;
  background:
    linear-gradient(rgba(7,11,15,.86), rgba(4,6,8,.95)),
    url("assets/generated/everfrost-sohan-v1.webp") center / 720px auto !important;
}
.hub-actions > a {
  border: 1px solid #2f5071 !important;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(20,35,50,.92), rgba(6,9,12,.96)) !important;
  box-shadow: inset 0 0 0 2px #040608, inset 0 0 0 3px rgba(63,124,184,.15) !important;
}
.hub-actions > a:hover { border-color: #3e78b1 !important; background: linear-gradient(180deg, rgba(25,55,84,.88), rgba(7,12,17,.96)) !important; }
.hub-server {
  min-height: 64px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #2a4d6f;
  background: linear-gradient(180deg, rgba(14,28,42,.8), rgba(4,6,8,.92));
  box-shadow: inset 0 0 0 2px #030608;
}
.hub-status-dot { background: #5190ce; box-shadow: 0 0 12px rgba(81,144,206,.75); }
.hub-countdown-title { color: #72a5d7; }
.hub-countdown-unit {
  border-color: #2b547c;
  background: linear-gradient(180deg, #0f2132, #05080b);
  box-shadow: inset 0 0 0 2px #030507;
}
.hub-countdown-unit b { color: #acc3d9; font-size: 19px; }
.hub-countdown-unit small { color: #6596c6; }

.partners-section {
  border-block: 1px solid #26415c;
  background:
    linear-gradient(rgba(5,8,11,.84), rgba(3,5,7,.94)),
    url("assets/generated/everfrost-sohan-v1.webp") center / 1024px auto !important;
}
.partners-section::before { color: rgba(87,147,207,.045) !important; }
.partner-card {
  flex-basis: 180px;
  width: 180px;
  min-height: 190px;
  padding-top: 22px;
  border: 1px solid #294968 !important;
  border-radius: 0;
  background: linear-gradient(180deg, #111d28, #05080b) !important;
  box-shadow: inset 0 0 0 3px #030608, 0 15px 32px rgba(0,0,0,.32);
}
.partner-card::after { inset: 6px; border-color: rgba(101,156,211,.18); }
.partner-card:hover {
  border-color: #457eb6 !important;
  box-shadow: inset 0 0 0 3px #030608, 0 18px 38px rgba(0,0,0,.42), 0 0 20px rgba(37,85,133,.18);
  transform: translateY(-4px);
}
.partner-card img {
  width: 116px !important;
  height: 116px !important;
  padding: 6px;
  border: 2px solid #38628b;
  border-radius: 50% !important;
  background: #05080a;
  box-shadow: 0 0 0 3px #09121b, 0 10px 24px rgba(0,0,0,.45);
}
.partner-card span { color: #b4c9de; font-family: var(--display); font-size: 16px; }

.schedule {
  border-block: 1px solid #294a6a;
  background:
    radial-gradient(circle at 13% 30%, rgba(36,82,128,.24), transparent 30%),
    linear-gradient(rgba(3,6,8,.82), rgba(3,5,7,.94)),
    url("assets/generated/everfrost-sohan-v1.webp") center / 1024px auto !important;
}
.event-list {
  padding: 10px 28px;
  border: 1px solid #36608a !important;
  background: linear-gradient(180deg, rgba(9,17,25,.94), rgba(3,5,7,.97)) !important;
  box-shadow: 0 0 0 3px #030507, 0 24px 58px rgba(0,0,0,.48);
}
.event-row { border-color: #1e3852 !important; }
.event-row:hover { background: linear-gradient(90deg, rgba(30,68,105,.24), transparent); }
.event-row time { color: #77a8d9 !important; text-shadow: 0 2px 4px #000000; }
.event-row strong { color: #b2c8dd; }
.event-row .event-reward { color: #649cd3; }
.event-row em { border-color: #2e6499 !important; background: #0c1c2b; color: #7dacda !important; }

.reward-section {
  border-bottom: 1px solid #264768;
  background:
    radial-gradient(circle at 50% 0, rgba(39,90,140,.2), transparent 38%),
    linear-gradient(rgba(4,7,10,.84), rgba(3,5,7,.95)),
    url("assets/generated/everfrost-sohan-v1.webp") center / 1024px auto !important;
}
.reward {
  border: 1px solid #2e5174 !important;
  background: linear-gradient(180deg, #111e2a, #05080a) !important;
  box-shadow: inset 0 0 0 3px #030507, 0 18px 40px rgba(0,0,0,.38) !important;
}
.reward.first {
  border-color: #3e78b1 !important;
  background: linear-gradient(180deg, #193959, #080f16 54%, #040709) !important;
  box-shadow: inset 0 0 0 3px #030609, 0 24px 55px rgba(0,0,0,.48), 0 0 24px rgba(36,82,127,.22) !important;
}
.reward .place { color: #6fa3d7; text-shadow: 0 3px 5px #000000; }
.reward.first .place,
.reward.first .amount { color: #9bbfe3 !important; }

.final-cta {
  min-height: 390px;
  border-block: 1px solid #355b81;
  background:
    radial-gradient(circle at 50% 30%, rgba(37,84,131,.34), transparent 37%),
    linear-gradient(rgba(3,5,7,.75), rgba(2,4,5,.94)),
    url("assets/generated/everfrost-sohan-v1.webp") center 42% / 1024px auto !important;
  box-shadow: inset 0 24px 70px rgba(0,0,0,.4);
}
.final-cta::before {
  display: block;
  background: linear-gradient(90deg, rgba(0,0,0,.58), transparent 38%, transparent 62%, rgba(0,0,0,.58));
}
.final-cta h2 { color: #bdd0e2; text-shadow: 0 4px 0 #0b1a28, 0 12px 28px #000000; }

body[data-page] {
  background:
    linear-gradient(rgba(3,6,8,.9), rgba(3,5,7,.96)),
    url("assets/generated/everfrost-sohan-v1.webp") center top / 1024px auto fixed !important;
}
body[data-page] .topbar {
  border-bottom-color: #2f5376 !important;
  background: linear-gradient(180deg, rgba(8,13,18,.95), rgba(3,5,6,.98)) !important;
  box-shadow: 0 9px 28px rgba(0,0,0,.55);
}
body[data-page="marketing"] .hero {
  min-height: 740px;
  background:
    radial-gradient(circle at 76% 43%, rgba(39,89,138,.25), transparent 32%),
    linear-gradient(rgba(3,6,8,.72), rgba(3,5,6,.92)),
    url("assets/generated/everfrost-sohan-v1.webp") center / 1024px auto !important;
}
body[data-page="marketing"] .hero h1,
body[data-page="marketing"] h2 { color: #b0c6db; text-shadow: 0 4px 0 #091622, 0 11px 26px #000000; }
body[data-page="marketing"] .feature,
body[data-page="support"] .card,
body[data-page="testflight"] .step,
body[data-page] .notice,
body[data-page] .toc,
body[data-page] .callout {
  border: 1px solid #2e5276 !important;
  background:
    linear-gradient(rgba(10,18,26,.9), rgba(4,7,9,.96)),
    url("assets/generated/everfrost-sohan-v1.webp") center / 720px auto !important;
  box-shadow: inset 0 0 0 3px #030507, 0 14px 34px rgba(0,0,0,.32) !important;
}
body[data-page="marketing"] .feature { border-top: 3px solid #295b8d !important; }
body[data-page="marketing"] .media,
body[data-page="marketing"] .gameplay-shot {
  padding: 7px;
  border: 1px solid #446e98 !important;
  border-radius: 0;
  background: #040709 !important;
  box-shadow: 0 0 0 3px #030507, 0 18px 42px rgba(0,0,0,.42) !important;
}
body[data-page="marketing"] .gameplay-shot figcaption { margin-top: 6px; background: linear-gradient(180deg, #0e1924, #05080b); }
body[data-page="marketing"] .cta {
  border: 1px solid #37628d;
  background:
    radial-gradient(circle at 50% 0, rgba(37,85,132,.24), transparent 45%),
    linear-gradient(rgba(8,14,20,.9), rgba(3,5,7,.98)),
    url("assets/generated/everfrost-sohan-v1.webp") center / cover !important;
  box-shadow: 0 0 0 3px #030507, 0 20px 48px rgba(0,0,0,.4);
}

@media (max-width: 1180px) {
  .hero-gameplay-card { width: 48vw; }
}

@media (max-width: 880px) {
  body:not([data-page]) .hero { min-height: 0; padding-block: 106px 64px; }
  body:not([data-page]) .hero-content { padding-inline-end: 0; }
  .hero-gameplay-card { width: min(680px, 100%); }
  body[data-page="marketing"] .hero { min-height: 0; }
}

@media (max-width: 680px) {
  body:not([data-page]) .topbar { min-height: 64px; height: 64px; }
  body:not([data-page]) .brand { width: 88px; height: 56px; }
  body:not([data-page]) .brand img { width: 86px !important; height: 54px !important; }
  body:not([data-page]) .language-control { width: 128px; }
  body:not([data-page]) .nav.open { top: 64px; }
  body:not([data-page]) .hero { padding-block: 92px 52px; }
  body:not([data-page]) .hero-logo { width: min(250px, 74vw) !important; }
  body:not([data-page]) .hero h1 { font-size: clamp(38px, 11vw, 48px); }
  body:not([data-page]) section.content,
  body:not([data-page]) .partners-section,
  body:not([data-page]) .schedule { padding-block: 72px; }
  body:not([data-page]) .section-title { font-size: 48px; }
  .device-item { padding: 16px 13px; }
  .background-hunt-item { padding: 16px 12px; }
  .background-hunt-panel-copy { border-inline-start: 0; border-top: 1px solid #25415d; }
  .hero-gameplay-card,
  .marketing-hero-gameplay { padding: 6px; }
  .hub-panel-title { min-height: 54px; font-size: 16px; }
  .hub-server { padding: 12px 8px; }
  .hub-countdown-title { flex-basis: auto; text-align: center; }
  .hub-countdown-unit { padding-block: 7px; }
  .partner-card { flex-basis: calc(50% - 5px); width: calc(50% - 5px); min-height: 178px; }
  .partner-card img { width: 104px !important; height: 104px !important; }
  .event-list { padding-inline: 14px; }
  .final-cta { min-height: 340px; }
  body[data-page="marketing"] .hero { padding-top: 104px; }
}

@media (max-width: 360px) {
  body:not([data-page]) .language-control { width: 108px; }
}

/* Header wayfinding and launch timer. Kept code-native so the navigation stays
   crisp at every density and the hero retains the forged portal language. */
body:not([data-page]) .nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

body:not([data-page]) .nav-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #508cc8;
  filter: drop-shadow(0 2px 2px #000000);
  transition: color .16s ease, filter .16s ease, transform .16s ease;
}

body:not([data-page]) .nav-icon::before,
body:not([data-page]) .nav-icon::after {
  position: absolute;
  box-sizing: border-box;
  content: "";
}

body:not([data-page]) .nav a:hover .nav-icon,
body:not([data-page]) .nav a:focus-visible .nav-icon {
  color: #b0c6db;
  filter: drop-shadow(0 0 5px rgba(61,131,200, .56));
  transform: translateY(-1px);
}

body:not([data-page]) .nav-icon-home::before {
  left: 4px;
  top: 7px;
  width: 11px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-top: 0;
}
body:not([data-page]) .nav-icon-home::after {
  left: 4px;
  top: 2px;
  width: 10px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-right: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

body:not([data-page]) .nav-icon-presentation::before {
  inset: 2px 2px 3px;
  border: 1.5px solid currentColor;
  box-shadow: inset 0 2px rgba(80,140,200, .18);
}
body:not([data-page]) .nav-icon-presentation::after {
  left: 6px;
  top: 7px;
  width: 7px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 4px currentColor;
}

body:not([data-page]) .nav-icon-wiki::before,
body:not([data-page]) .nav-icon-wiki::after {
  top: 3px;
  width: 8px;
  height: 13px;
  border: 1.5px solid currentColor;
  background: rgba(7,15,22, .7);
}
body:not([data-page]) .nav-icon-wiki::before {
  left: 1px;
  border-radius: 2px 0 0 2px;
  transform: skewY(7deg);
}
body:not([data-page]) .nav-icon-wiki::after {
  right: 1px;
  border-radius: 0 2px 2px 0;
  transform: skewY(-7deg);
}

body:not([data-page]) .nav-icon-ranking::before {
  left: 2px;
  top: 4px;
  width: 14px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 12%, 29% 48%, 50% 0, 71% 48%, 100% 12%, 86% 100%, 14% 100%);
}
body:not([data-page]) .nav-icon-ranking::after {
  left: 3px;
  bottom: 2px;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 -2px rgba(6,14,21, .64);
}

body:not([data-page]) .nav-icon-mobile::before {
  left: 4px;
  top: 1px;
  width: 10px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}
body:not([data-page]) .nav-icon-mobile::after {
  left: 8px;
  bottom: 3px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

body:not([data-page]) .nav-icon-partners::before {
  inset: 1px 0 7px;
  background:
    radial-gradient(circle at 28% 50%, currentColor 0 2.5px, transparent 2.8px),
    radial-gradient(circle at 72% 50%, currentColor 0 2.5px, transparent 2.8px);
}
body:not([data-page]) .nav-icon-partners::after {
  left: 1px;
  bottom: 1px;
  width: 16px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  clip-path: polygon(0 0, 45% 0, 50% 48%, 55% 0, 100% 0, 100% 100%, 0 100%);
}

body:not([data-page]) .nav-icon-events::before {
  inset: 3px 2px 2px;
  border: 1.5px solid currentColor;
  border-radius: 1px;
  box-shadow: inset 0 3px rgba(80,140,200, .18);
}
body:not([data-page]) .nav-icon-events::after {
  left: 5px;
  top: 1px;
  width: 1.5px;
  height: 5px;
  background: currentColor;
  box-shadow: 7px 0 currentColor, 0 9px currentColor, 4px 9px currentColor, 7px 9px currentColor;
}

body:not([data-page]) .hero-countdown {
  position: relative;
  width: min(474px, 100%);
  margin-top: 17px;
  padding: 7px;
  border: 1px solid #325c86;
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(16,31,45, .96), rgba(3,6,8, .98)),
    url("assets/generated/everfrost-sohan-v1.webp") center / 620px auto;
  box-shadow:
    inset 0 0 0 2px #030507,
    inset 0 0 0 3px rgba(92,151,209, .13),
    0 12px 28px rgba(0,0,0, .38);
}

body:not([data-page]) .hero-countdown::before,
body:not([data-page]) .hero-countdown::after {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 26px;
  border-block: 1px solid #386fa5;
  background: #081018;
  content: "";
  transform: translateY(-50%);
}
body:not([data-page]) .hero-countdown::before { left: -6px; border-left: 1px solid #224363; }
body:not([data-page]) .hero-countdown::after { right: -6px; border-right: 1px solid #224363; }

body:not([data-page]) .hero-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

body:not([data-page]) .hero-countdown-unit {
  display: grid;
  min-width: 0;
  min-height: 61px;
  place-content: center;
  gap: 3px;
  padding: 7px 4px 6px;
  border: 1px solid #214466;
  background:
    radial-gradient(circle at 50% 0, rgba(39,89,139, .25), transparent 58%),
    linear-gradient(180deg, #0f1f2e, #05080b);
  box-shadow: inset 0 0 0 2px rgba(2,4,5, .88), inset 0 1px rgba(147,186,225, .1);
  text-align: center;
}

body:not([data-page]) .hero-countdown-unit b {
  color: #aec4da;
  font: 700 clamp(21px, 2vw, 27px)/1 var(--display);
  letter-spacing: .035em;
  text-shadow: 0 2px 0 #0d1e2f, 0 0 10px rgba(56,128,199, .2);
}

body:not([data-page]) .hero-countdown-unit small {
  min-width: 0;
  color: #6d9dcd;
  font: 800 clamp(7px, .68vw, 9px)/1.15 var(--sans);
  letter-spacing: .11em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

body:not([data-page]) .hero-countdown-live {
  display: none;
  min-height: 61px;
  place-items: center;
  color: #aec4da;
  font: 700 17px/1.25 var(--display);
  letter-spacing: .045em;
  text-align: center;
  text-shadow: 0 2px 3px #000000;
}
body:not([data-page]) .hero-countdown.is-live .hero-countdown-grid { display: none; }
body:not([data-page]) .hero-countdown.is-live .hero-countdown-live { display: grid; }

@media (max-width: 1180px) {
  body:not([data-page]) .nav.open {
    width: auto;
    max-width: none;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  body:not([data-page]) .nav.open a {
    display: flex !important;
    min-width: 0;
    justify-content: flex-start;
    gap: 11px;
  }
  body:not([data-page]) .nav.open a > span:last-child { min-width: 0; }
}

@media (max-width: 680px) {
  body:not([data-page]) .hero-countdown {
    width: 100%;
    margin-top: 15px;
    padding: 6px;
  }
  body:not([data-page]) .hero-countdown-grid { gap: 4px; }
  body:not([data-page]) .hero-countdown-unit {
    min-height: 57px;
    padding-inline: 2px;
  }
  body:not([data-page]) .hero-countdown-unit b { font-size: clamp(19px, 7vw, 24px); }
  body:not([data-page]) .hero-countdown-unit small {
    font-size: clamp(7px, 2.25vw, 8px);
    letter-spacing: .07em;
  }
  body:not([data-page]) .hero-countdown::before,
  body:not([data-page]) .hero-countdown::after { width: 8px; }
  body:not([data-page]) .hero-countdown::before { left: -4px; }
  body:not([data-page]) .hero-countdown::after { right: -4px; }
}

@media (max-width: 360px) {
  body:not([data-page]) .hero-countdown-unit { min-height: 54px; }
  body:not([data-page]) .hero-countdown-unit b { font-size: 19px; }
  body:not([data-page]) .nav.open { padding-inline: 10px; }
}

/* Final portal composition: atmospheric world art supports the page while every
   gameplay claim continues to use the real captures in assets/mobile/. */
body:not([data-page]) .hero::before {
  background:
    linear-gradient(90deg, rgba(2,3,4, .95) 0 32%, rgba(2,3,4, .72) 48%, rgba(2,3,4, .45) 70%, rgba(2,3,4, .74) 100%),
    linear-gradient(180deg, rgba(2,2,2, .16), rgba(2,4,5, .7)),
    url("assets/generated/everfrost-sohan-v1.webp") center / cover no-repeat !important;
  filter: saturate(.82) contrast(1.08);
}

body:not([data-page]) .hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(468px, 100%);
  gap: 10px;
}
body:not([data-page]) .hero-actions .button {
  display: inline-flex;
  width: 100%;
}
body:not([data-page]) .hero-actions .button:nth-child(3) { display: inline-flex; }

.button-label-stacked {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}
.button-label-stacked small {
  color: #689ed4;
  font: 800 8px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.button-label-stacked strong {
  color: #c8d7e6;
  font: 800 11px/1.1 var(--display);
  letter-spacing: .055em;
}
.legacy-server-button:hover:not(:active) .button-label-stacked small { color: #99bee2; }
.legacy-server-button:active .button-label-stacked { transform: translateY(2px); }

body:not([data-page]) .hero-actions .button:hover:not(:active) {
  color: #e7eef4 !important;
  filter: brightness(1.24) saturate(1.12) drop-shadow(0 12px 15px rgba(0,0,0, .56));
  transform: translateY(-3px) !important;
}
body:not([data-page]) .hero-actions .button:active {
  color: #a1bdd8 !important;
  filter: brightness(.78) saturate(.9) drop-shadow(0 2px 3px rgba(0,0,0, .48));
  transform: translateY(3px) scale(.985) !important;
}

.schedule {
  background:
    linear-gradient(90deg, rgba(3,5,6, .84) 0 28%, rgba(3,5,6, .62) 51%, rgba(3,5,6, .42) 100%),
    linear-gradient(180deg, rgba(3,5,7, .2), rgba(3,5,7, .7)),
    url("assets/generated/everfrost-duel-v1.webp") 55% center / cover no-repeat !important;
  background-attachment: scroll !important;
}

@media (max-width: 880px) {
  body:not([data-page]) .hero::before {
    background:
      linear-gradient(180deg, rgba(2,3,4, .88) 0 38%, rgba(2,3,4, .66) 64%, rgba(2,3,4, .94) 100%),
      url("assets/generated/everfrost-sohan-v1.webp") 61% center / cover no-repeat !important;
  }
  .schedule {
    background:
      linear-gradient(rgba(3,5,6, .84), rgba(3,5,6, .92)),
      url("assets/generated/everfrost-duel-v1.webp") 65% center / cover no-repeat !important;
  }
}

@media (max-width: 680px) {
  body:not([data-page]) .hero-actions { grid-template-columns: 1fr; }
  .button-label-stacked small { font-size: 9px; }
  .button-label-stacked strong { font-size: 12px; }
}

/* Misali2-inspired theme pass: keep Astra2's own art and content, while adopting
   the reference's quieter cinematic rhythm, warm gold palette and soft panels. */
:root {
  --ink: #06090c;
  --ink-2: #090d11;
  --panel: #0e1419;
  --panel-raised: #121a22;
  --cream: #cedce9;
  --muted: #7c92a8;
  --gold: #619ad2;
  --gold-2: #aac2d9;
  --bronze: #356fa9;
  --ember: #5d97d1;
  --blood: #214c76;
  --line: rgba(46,68,89, .72);
  --line-soft: #202e3c;
  --line-strong: #2e4459;
  --surface-0: #06090c;
  --surface-1: #090d11;
  --surface-2: #0e1419;
  --text-main: #cedce9;
  --text-muted: #7c92a8;
  --display: Constantia, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --serif: var(--display);
  --site-shell: 1180px;
}

body {
  color: var(--text-main) !important;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

body:not([data-page]) {
  border-inline: 0;
  background:
    radial-gradient(circle at 50% 2%, rgba(97,154,210, .035), transparent 24%),
    #06090c !important;
}

h1, h2, h3, .section-title {
  font-family: var(--display);
  font-weight: 700;
}

/* Reference-like navigation: compact, edge-aligned and visually quiet. */
body:not([data-page]) .topbar {
  min-height: 70px;
  height: 70px;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 24px;
  padding-inline: 30px;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(46,68,89, .72) !important;
  background: linear-gradient(180deg, rgba(7,10,13, .97), rgba(6,9,12, .9)) !important;
  box-shadow: 0 14px 34px rgba(0,0,0, .32) !important;
  backdrop-filter: blur(12px);
}

body:not([data-page]) .topbar::after {
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(97,154,210, .25) 18% 82%, transparent);
  box-shadow: none;
}

body:not([data-page]) .brand {
  width: 108px;
  height: 58px;
}

body:not([data-page]) .brand img {
  width: 106px;
  height: 56px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0, .62));
}

body:not([data-page]) .nav {
  max-width: none;
  justify-self: end;
  gap: 27px;
  font-size: 12px;
  letter-spacing: .115em;
}

body:not([data-page]) .nav a {
  min-height: 44px;
  padding-block: 25px 23px;
  color: #7c92a8 !important;
  font-weight: 700;
  text-shadow: none;
}

body:not([data-page]) .nav a:hover,
body:not([data-page]) .nav a:focus-visible { color: #aac2d9 !important; }

body:not([data-page]) .nav a::after {
  bottom: 15px;
  background: linear-gradient(90deg, transparent, #619ad2, transparent);
}

body:not([data-page]) .nav-icon { display: none; }
body:not([data-page]) .nav-cta { gap: 10px; }
body:not([data-page]) .language-control { width: 142px; }

/* Cleaner launcher controls from the reference, without copying its artwork. */
.button,
.link-button,
.hub-more {
  --button-frame: none;
  min-height: 50px;
  border: 1px solid rgba(97,154,210, .4) !important;
  border-radius: 10px !important;
  background: rgba(9,14,18, .72) !important;
  box-shadow: none !important;
  color: #aac2d9 !important;
  font-size: 13px;
  letter-spacing: .11em;
  text-shadow: none;
  filter: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.button.gold,
.button.primary,
.link-button.gold {
  border-color: #091623 !important;
  background: linear-gradient(180deg, #84b0dc, #3476b7) !important;
  box-shadow: 0 6px 24px rgba(97,154,210, .24), inset 0 1px rgba(255,255,255, .42) !important;
  color: #091623 !important;
  text-shadow: none;
}

.button::before,
.link-button::before,
.hub-more::before { display: none; content: none; }

.button:hover:not(:active),
.link-button:hover:not(:active),
.hub-more:hover:not(:active) {
  border-color: rgba(170,194,217, .75) !important;
  background: rgba(16,27,38, .88) !important;
  box-shadow: 0 10px 30px rgba(0,0,0, .3) !important;
  color: #d8e3ee !important;
  filter: none;
  transform: translateY(-3px) !important;
}

.button.gold:hover:not(:active),
.button.primary:hover:not(:active),
.link-button.gold:hover:not(:active) {
  border-color: #0e2235 !important;
  background: linear-gradient(180deg, #96bce1, #3c82c8) !important;
  box-shadow: 0 9px 30px rgba(97,154,210, .34) !important;
  color: #091623 !important;
}

.button:active,
.link-button:active,
.hub-more:active {
  filter: brightness(.9);
  transform: translateY(1px) !important;
}

body:not([data-page]) .nav-cta .link-button.gold {
  min-width: 142px;
  min-height: 46px;
}

/* Hero: the same two-column cinematic composition, tuned to the reference. */
body:not([data-page]) .hero {
  min-height: 900px;
  height: 900px;
  padding-block: 112px 72px;
  border-bottom: 1px solid #202e3c;
  background: #06090c !important;
}

body:not([data-page]) .hero::before {
  background:
    linear-gradient(90deg, rgba(4,6,8, .95) 0 28%, rgba(4,6,8, .68) 48%, rgba(4,6,8, .35) 72%, rgba(4,6,8, .72) 100%),
    radial-gradient(circle at 72% 46%, rgba(48,110,171, .22), transparent 35%),
    url("assets/generated/everfrost-sohan-v1.webp") center / cover no-repeat !important;
  filter: saturate(.78) contrast(1.04);
}

body:not([data-page]) .hero::after {
  background:
    radial-gradient(ellipse at 78% 48%, transparent 0 18%, rgba(3,5,7, .12) 46%, rgba(3,5,7, .58) 100%),
    linear-gradient(180deg, rgba(0,0,0, .08), transparent 58%, #06090c 100%) !important;
}

body:not([data-page]) .hero-grain { opacity: .018 !important; }

body:not([data-page]) .hero-content {
  width: min(var(--site-shell), calc(100% - 44px));
  padding-inline-end: min(52vw, 610px);
}

body:not([data-page]) .hero-logo {
  width: min(315px, 30vw) !important;
  margin-bottom: 10px !important;
  filter: drop-shadow(0 13px 26px rgba(0,0,0, .58)) !important;
}

body:not([data-page]) .season-kicker {
  width: fit-content;
  padding: 7px 14px;
  border: 1px solid rgba(97,154,210, .32);
  border-radius: 999px;
  background: rgba(9,15,20, .72);
  box-shadow: none;
  color: #5894d0 !important;
  font-size: 10px;
  letter-spacing: .17em;
}

body:not([data-page]) .hero h1 {
  max-width: 600px;
  margin-top: 20px;
  color: #aac2d9 !important;
  font-size: clamp(45px, 4vw, 58px);
  line-height: .98;
  letter-spacing: 0;
  text-shadow: 0 4px 24px rgba(0,0,0, .72);
}

.hero-lede {
  max-width: 540px;
  color: #9db2c6;
  font-size: 16px;
  line-height: 1.65;
  text-shadow: 0 2px 8px rgba(0,0,0, .66);
}

body:not([data-page]) .hero-date {
  color: #619ad2;
  font-size: 16px;
  letter-spacing: .075em;
  text-shadow: 0 2px 8px rgba(0,0,0, .68);
}

body:not([data-page]) .hero-countdown {
  width: min(468px, 100%);
  padding: 6px;
  border: 1px solid #2e4459;
  border-radius: 10px;
  background: rgba(8,12,15, .86);
  box-shadow: 0 14px 34px rgba(0,0,0, .28);
  backdrop-filter: blur(6px);
}

body:not([data-page]) .hero-countdown::before,
body:not([data-page]) .hero-countdown::after { display: none; content: none; }

body:not([data-page]) .hero-countdown-unit {
  min-height: 58px;
  border: 1px solid rgba(46,68,89, .66);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(18,26,34, .88), rgba(9,13,17, .92));
  box-shadow: none;
}

body:not([data-page]) .hero-countdown-unit b {
  color: #aac2d9;
  font-size: clamp(21px, 2vw, 26px);
  text-shadow: none;
}

body:not([data-page]) .hero-countdown-unit small { color: #7c92a8; }
body:not([data-page]) .hero-actions { gap: 10px; margin-top: 20px; }
body:not([data-page]) .hero-actions .button { min-height: 50px; }

.hero-gameplay-card {
  inset-inline-end: max(16px, calc((100vw - 1860px) / 2));
  width: min(68vw, 1040px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.hero-gameplay-card::before {
  display: none;
  content: none;
}

.hero-gameplay-card img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 46px rgba(0,0,0, .55));
}

.hero-gameplay-card picture { display: block; }

body:not([data-page]) .world-strip {
  border-block: 1px solid #202e3c !important;
  background: linear-gradient(180deg, #090d11, #070a0d) !important;
  box-shadow: none;
}

body:not([data-page]) .world-stat {
  min-height: 96px;
  border-color: rgba(46,68,89, .5) !important;
  background: transparent !important;
}

body:not([data-page]) .world-stat small { color: #5d97d1 !important; }
body:not([data-page]) .world-stat strong { color: #aac2d9; font-size: 19px; text-shadow: none; }

/* Section rhythm, numbering and panel language. */
body:not([data-page]) main { counter-reset: astra-section; }
body:not([data-page]) .mobile-section,
body:not([data-page]) .partners-section,
body:not([data-page]) .schedule,
body:not([data-page]) .reward-section { counter-increment: astra-section; }

body:not([data-page]) section.content,
body:not([data-page]) .partners-section,
body:not([data-page]) .schedule { padding-block: 82px; }

body:not([data-page]) .section-label {
  gap: 10px;
  color: #5d97d1 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
}

body:not([data-page]) .section-label::before {
  width: auto;
  height: auto;
  background: none !important;
  color: #5d97d1;
  content: counter(astra-section, decimal-leading-zero) " ·";
}

body:not([data-page]) .section-label::after {
  width: 58px;
  height: 1px;
  background: linear-gradient(90deg, rgba(93,151,209, .72), transparent);
  content: "";
}

body:not([data-page]) .section-title {
  margin-top: 16px;
  color: #aac2d9 !important;
  font-size: clamp(36px, 3.5vw, 46px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: none;
}

body:not([data-page]) .section-copy {
  color: #7c92a8;
  font-size: 16px;
  line-height: 1.7;
}

.mobile-section {
  border-bottom: 1px solid #202e3c;
  background:
    radial-gradient(circle at 82% 26%, rgba(48,110,171, .09), transparent 31%),
    #06090c !important;
}

.mobile-section::before { color: rgba(97,154,210, .025) !important; }

.device-item {
  padding: 18px;
  border: 1px solid #202e3c !important;
  border-radius: 13px;
  background: linear-gradient(165deg, rgba(18,26,34, .82), rgba(9,13,17, .9));
  box-shadow: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.device-item:hover {
  border-color: #2e4459 !important;
  box-shadow: 0 16px 38px rgba(0,0,0, .24);
  transform: translateY(-3px);
}

.device-item .index {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(97,154,210, .42);
  background: #0e1419;
  color: #619ad2 !important;
  font-size: 13px;
  box-shadow: none;
}

.device-item strong {
  color: #aac2d9;
  font-size: 19px;
  text-shadow: none;
}

.background-hunt-panel {
  border: 1px solid #2e4459;
  border-radius: 11px;
  background: #090d11;
  box-shadow: 0 20px 48px rgba(0,0,0, .32);
}

.background-hunt-panel-copy {
  border-inline-start-color: #202e3c;
  background: linear-gradient(150deg, rgba(18,26,34, .72), rgba(9,13,17, .88));
}

.video-stage {
  border: 1px solid #2e4459 !important;
  border-radius: 14px;
  background: #06090c !important;
  box-shadow: 0 28px 68px rgba(0,0,0, .42) !important;
}

.realm-hub { padding-block: 74px 42px; }

.hub-panel,
.hub-actions {
  border: 1px solid #2e4459;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(14,20,25, .96), rgba(7,10,13, .98)) !important;
  box-shadow: 0 22px 56px rgba(0,0,0, .28);
}

.hub-panel-title {
  min-height: 56px;
  padding-inline: 22px;
  border-bottom: 1px solid #202e3c;
  color: #aac2d9;
  font-size: 17px;
  text-shadow: none;
}

.hub-news .panel-title-art,
.hub-actions .panel-title-art { display: none !important; }
.hub-story { border-bottom-color: #202e3c; }
.hub-story:hover { background: rgba(97,154,210, .045); }
.hub-story img,
.hub-story-marker { border-color: #2e4459; box-shadow: none; }
.hub-story-marker { background: #121a22; color: #619ad2; }

.hub-actions > a {
  border: 1px solid #202e3c !important;
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(18,26,34, .86), rgba(9,13,17, .92)) !important;
  box-shadow: none !important;
}

.hub-actions > a:hover {
  border-color: #2e4459 !important;
  background: #121a22 !important;
}

.hub-server {
  border: 1px solid #202e3c;
  border-radius: 10px;
  background: #090d11;
  box-shadow: none;
}

.hub-countdown-unit {
  border-color: #202e3c;
  border-radius: 7px;
  background: #0e1419;
  box-shadow: none;
}

.hub-countdown-unit b { color: #aac2d9; }

.partners-section {
  border-block: 1px solid #202e3c;
  background: linear-gradient(180deg, #070a0d, #06090c) !important;
}

.partners-section::before { color: rgba(97,154,210, .022) !important; }

.partner-card {
  flex-basis: 180px;
  width: 180px;
  min-height: 190px;
  border: 1px solid #202e3c !important;
  border-radius: 14px;
  background: linear-gradient(165deg, #121a22, #090d11) !important;
  box-shadow: none;
}

.partner-card::after { display: none; content: none; }

.partner-card:hover {
  border-color: #345f8a !important;
  box-shadow: 0 18px 44px rgba(0,0,0, .3), 0 0 24px rgba(97,154,210, .07);
  transform: translateY(-5px);
}

.partner-card img {
  border: 1px solid #2e4459;
  background: #06090c;
  box-shadow: 0 12px 28px rgba(0,0,0, .34);
}

.partner-card span { color: #aac2d9; font-size: 15px; }

.schedule {
  border-block: 1px solid #202e3c;
  background:
    linear-gradient(90deg, rgba(6,9,12, .95) 0 32%, rgba(6,9,12, .76) 56%, rgba(6,9,12, .62) 100%),
    url("assets/generated/everfrost-duel-v1.webp") 55% center / cover no-repeat !important;
}

.event-list {
  padding: 10px 26px;
  border: 1px solid #2e4459 !important;
  border-radius: 14px;
  background: rgba(7,10,13, .92) !important;
  box-shadow: 0 24px 58px rgba(0,0,0, .34);
  backdrop-filter: blur(8px);
}

.event-row {
  min-height: 116px;
  grid-template-columns: 126px 72px minmax(0, 1fr) auto;
  gap: 18px;
  border-color: #202e3c !important;
}

.event-art {
  width: 126px;
  height: 80px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #2e4459;
  border-radius: 9px;
  background: #06090c;
}

.event-art::after { background: linear-gradient(135deg, transparent 44%, rgba(6,9,12, .34)); }

.event-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.76) contrast(1.08) brightness(.82);
}

.event-row:hover .event-art img {
  filter: saturate(.94) contrast(1.08) brightness(.94);
  transform: scale(1.055);
}

.event-row:hover { background: rgba(97,154,210, .045); }
.event-row time { color: #619ad2 !important; text-shadow: none; }
.event-row strong { color: #aac2d9; }
.event-row .event-reward { color: #6293c3; }
.event-row em {
  border-color: rgba(93,151,209, .42) !important;
  border-radius: 999px;
  background: rgba(33,76,118, .26);
  color: #7eaddb !important;
}

.reward-section {
  border-bottom: 1px solid #202e3c;
  background:
    linear-gradient(90deg, rgba(6,9,12, .96) 0 28%, rgba(6,9,12, .82) 52%, rgba(6,9,12, .62) 100%),
    radial-gradient(circle at 68% 36%, rgba(97,154,210, .08), transparent 34%),
    url("assets/generated/everfrost-duel-v1.webp") 72% center / cover no-repeat !important;
}

.reward,
.reward.first {
  border: 1px solid #202e3c !important;
  border-radius: 14px;
  background: linear-gradient(165deg, #121a22, #090d11) !important;
  box-shadow: 0 18px 42px rgba(0,0,0, .24) !important;
}

.reward.first {
  border-color: #345f8a !important;
  background: linear-gradient(165deg, #17212b, #0c1217) !important;
}

.reward .place { color: #5d97d1; text-shadow: none; }
.reward.first .place,
.reward.first .amount { color: #aac2d9 !important; }

.final-cta {
  min-height: 390px;
  border-block: 1px solid #202e3c;
  background:
    radial-gradient(circle at 50% 28%, rgba(48,110,171, .18), transparent 36%),
    linear-gradient(180deg, #090d11, #06090c) !important;
  box-shadow: none;
}

.final-cta::before { background: linear-gradient(90deg, rgba(0,0,0, .42), transparent 32% 68%, rgba(0,0,0, .42)); }
.final-cta .section-label::before,
.final-cta .section-label::after { display: none; content: none; }
.final-cta h2 { color: #aac2d9; font-size: clamp(44px, 5vw, 64px); text-shadow: none; }

body:not([data-page]) footer {
  border-top-color: #202e3c !important;
  background: #06090c !important;
}

/* Carry the same restrained palette across support, legal and marketing pages. */
body[data-page] {
  background:
    radial-gradient(circle at 50% 0, rgba(97,154,210, .035), transparent 28%),
    #06090c !important;
}

body[data-page] .topbar {
  border-bottom-color: #202e3c !important;
  background: linear-gradient(180deg, rgba(7,10,13, .98), rgba(6,9,12, .94)) !important;
  box-shadow: 0 12px 30px rgba(0,0,0, .28);
}

body[data-page="marketing"] .hero {
  background:
    radial-gradient(circle at 76% 43%, rgba(48,110,171, .12), transparent 34%),
    linear-gradient(180deg, #090d11, #06090c) !important;
}

body[data-page="marketing"] .hero h1,
body[data-page="marketing"] h2,
body[data-page] h1,
body[data-page] h2 { color: #aac2d9 !important; text-shadow: none; }

body[data-page="marketing"] .feature,
body[data-page="support"] .card,
body[data-page="testflight"] .step,
body[data-page] .notice,
body[data-page] .toc,
body[data-page] .callout {
  border: 1px solid #202e3c !important;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(18,26,34, .88), rgba(9,13,17, .94)) !important;
  box-shadow: 0 14px 34px rgba(0,0,0, .22) !important;
}

body[data-page="marketing"] .feature { border-top: 1px solid #2e4459 !important; }

body[data-page="marketing"] .media,
body[data-page="marketing"] .gameplay-shot {
  border: 1px solid #2e4459 !important;
  border-radius: 14px;
  background: #06090c !important;
  box-shadow: 0 18px 42px rgba(0,0,0, .3) !important;
}

body[data-page="marketing"] .cta {
  border: 1px solid #2e4459;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0, rgba(48,110,171, .12), transparent 44%),
    linear-gradient(180deg, #0e1419, #06090c) !important;
  box-shadow: 0 20px 48px rgba(0,0,0, .28);
}

@media (min-width: 901px) and (max-width: 1180px) {
  body:not([data-page]) .topbar {
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 14px;
    padding-inline: 20px;
  }
  body:not([data-page]) .brand { width: 100px; }
  body:not([data-page]) .brand img { width: 98px; }
  body:not([data-page]) .nav { display: flex; gap: 17px; font-size: 10px; }
  body:not([data-page]) .nav a { padding-inline: 0; }
  body:not([data-page]) .menu-button { display: none; }
  body:not([data-page]) .language-control { width: 124px; }
  body:not([data-page]) .nav-cta .link-button.gold { min-width: 126px; padding-inline: 14px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 68px; }
  body:not([data-page]) .topbar {
    grid-template-columns: 104px minmax(0, 1fr) auto;
    padding-inline: 18px;
  }
  body:not([data-page]) .nav { display: none; }
  body:not([data-page]) .nav.open {
    top: 70px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(540px, calc(100% - 28px));
    gap: 0;
    padding: 12px;
    border: 1px solid #2e4459;
    border-radius: 12px;
    background: rgba(7,10,13, .98);
    box-shadow: 0 26px 58px rgba(0,0,0, .5);
  }
  body:not([data-page]) .nav.open a {
    min-height: 48px;
    padding: 14px 12px;
    border-bottom: 1px solid #202e3c;
  }
  body:not([data-page]) .menu-button { display: inline-flex; }
  body:not([data-page]) .hero {
    min-height: 0;
    height: auto;
    padding-block: 104px 60px;
  }
  body:not([data-page]) .hero::before {
    background:
      linear-gradient(180deg, rgba(4,6,8, .9) 0 34%, rgba(4,6,8, .62) 64%, #06090c 100%),
      url("assets/generated/everfrost-sohan-v1.webp") 62% center / cover no-repeat !important;
  }
  body:not([data-page]) .hero-content {
    padding-inline-end: 0;
    text-align: center;
  }
  body:not([data-page]) .hero-logo,
  body:not([data-page]) .season-kicker { margin-inline: auto !important; }
  body:not([data-page]) .hero h1,
  .hero-lede { margin-inline: auto; }
  body:not([data-page]) .hero-actions { margin-inline: auto; }
  .hero-gameplay-card {
    position: relative;
    top: auto;
    inset-inline: auto;
    width: min(680px, calc(100% - 44px));
    margin: 40px auto 0;
    transform: none;
  }
  body:not([data-page]) section.content,
  body:not([data-page]) .partners-section,
  body:not([data-page]) .schedule { padding-block: 66px; }
  .schedule {
    background:
      linear-gradient(rgba(6,9,12, .9), rgba(6,9,12, .94)),
      url("assets/generated/everfrost-duel-v1.webp") 64% center / cover no-repeat !important;
  }
}

@media (max-width: 680px) {
  body:not([data-page]) .topbar {
    min-height: 64px;
    height: 64px;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 8px;
    padding-inline: 12px;
  }
  body:not([data-page]) .brand { width: 86px; height: 54px; }
  body:not([data-page]) .brand img { width: 84px !important; height: 52px !important; }
  body:not([data-page]) .nav.open {
    top: 64px;
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
  }
  body:not([data-page]) .language-control { width: 116px; }
  body:not([data-page]) .hero {
    display: flex;
    flex-direction: column;
    padding-block: 84px 50px;
  }
  body:not([data-page]) .hero-content {
    z-index: 2;
    order: 1;
  }
  .hero-gameplay-card {
    order: -1;
    width: min(420px, 100%);
    height: min(620px, 150vw);
    margin: -18px auto -125px;
    overflow: hidden;
  }
  .hero-gameplay-card picture,
  .hero-gameplay-card img { width: 100%; height: 100%; }
  .hero-gameplay-card img {
    object-fit: cover;
    object-position: center top;
    filter: none;
    -webkit-mask-image: linear-gradient(180deg, #000000 0 76%, transparent 100%);
    mask-image: linear-gradient(180deg, #000000 0 76%, transparent 100%);
  }
  body:not([data-page]) .hero-logo { width: min(242px, 72vw) !important; }
  body:not([data-page]) .hero h1 { font-size: clamp(37px, 10.5vw, 46px); }
  .hero-lede { font-size: 15px; }
  body:not([data-page]) .hero-actions { width: min(360px, 100%); }
  body:not([data-page]) .hero-actions .button { min-height: 50px; }
  body:not([data-page]) .world-strip { width: 100%; }
  body:not([data-page]) .section-title { font-size: 39px; }
  body:not([data-page]) .section-label::after { width: 34px; }
  .device-item { border-radius: 11px; }
  .background-hunt-panel-copy { border-inline-start: 0; border-top: 1px solid #202e3c; }
  .hub-panel,
  .hub-actions,
  .event-list,
  .reward,
  .reward.first,
  .partner-card { border-radius: 11px; }
  .partner-card { min-height: 168px; }
  .event-list { padding-inline: 14px; }
  .event-row {
    min-height: 0;
    grid-template-columns: 86px 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 8px 10px;
    padding-block: 16px;
  }
  .event-art {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 86px;
    height: 62px;
  }
  .event-row time { grid-column: 2 !important; grid-row: 1 !important; }
  .event-row > div { grid-column: 3 !important; grid-row: 1 !important; }
  .event-row em { grid-column: 2 / 4 !important; grid-row: 2 !important; justify-self: start; }
  .final-cta h2 { font-size: 44px; }
}

/* Restrained ImageGen controls: the actual normal / hover / down images swap. */
html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
) {
  --button-label-color: #c3d4e4;
  position: relative !important;
  isolation: isolate;
  box-sizing: border-box;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 9px !important;
  border-image: none !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--button-label-color) !important;
  filter: none !important;
  text-shadow: 0 1px 2px rgba(0,0,0, .8) !important;
  transform: none !important;
  transition: none !important;
}

html:root :is(body[data-page], body:not([data-page])) :is(
  .button.primary,
  .button.gold,
  .link-button.gold,
  .hub-actions > a.primary
) {
  --button-label-color: #091520;
  color: var(--button-label-color) !important;
  text-shadow: 0 1px rgba(215,226,237, .28) !important;
}

html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
)::before,
html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
)::after {
  content: none !important;
}

html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
) > .button-art {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  clip-path: none !important;
  object-fit: fill !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  pointer-events: none !important;
  user-select: none !important;
}

html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
) > .button-art--normal {
  opacity: 1 !important;
}

html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
) > :not(.button-art) {
  position: relative;
  z-index: 1;
}

html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
):hover:not(:active) > .button-art--normal,
html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
):focus-visible:not(:active) > .button-art--normal {
  opacity: 0 !important;
}

html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
):hover:not(:active) > .button-art--hover,
html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
):focus-visible:not(:active) > .button-art--hover {
  opacity: 1 !important;
}

html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
):focus-visible:not(:active) {
  outline: 2px solid #aac2d9 !important;
  outline-offset: 3px !important;
}

html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
):active > :is(.button-art--normal, .button-art--hover) {
  opacity: 0 !important;
}

html:root :is(body[data-page], body:not([data-page])) :is(
  .button,
  .link-button,
  .menu-button,
  .hub-more,
  .hub-actions > a,
  .language-trigger,
  .language-option
):active > .button-art--down {
  opacity: 1 !important;
}

html:root :is(body[data-page], body:not([data-page]))
  :is(.button, .link-button, .menu-button, .hub-more, .hub-actions > a):active
  :where(.button-label, span) {
  transform: none !important;
}

.language-trigger > :not(.button-art),
.language-option > :not(.button-art) {
  position: relative;
  z-index: 1;
}

@media (forced-colors: active) {
  html:root :is(body[data-page], body:not([data-page])) :is(
    .button,
    .link-button,
    .menu-button,
    .hub-more,
    .hub-actions > a,
    .language-trigger,
    .language-option
  ) {
    border: 1px solid ButtonText !important;
    background: ButtonFace !important;
    color: ButtonText !important;
  }

  html:root :is(body[data-page], body:not([data-page])) :is(
    .button,
    .link-button,
    .menu-button,
    .hub-more,
    .hub-actions > a,
    .language-trigger,
    .language-option
  ) > .button-art {
    display: none !important;
  }
}

/* Everfrost: cold silver UI, with a readable mobile-first phone illustration. */
html { scrollbar-color: #598eb5 #060e18; }
body:not([data-page]) .hero { height: auto; min-height: 850px; }
body:not([data-page]) .hero::before { filter: saturate(.85) !important; }
body:not([data-page]) .hero-content { padding-inline-end: min(49vw, 630px); }
.hero-gameplay-card { width: min(53vw, 790px); top: 50%; inset-inline-end: max(10px, calc((100vw - 1600px)/2)); transform: translateY(-50%); margin: 0; height: auto; }
.hero-gameplay-card picture { display: block; }
.hero-gameplay-card img { width: 100%; height: auto; object-fit: contain; -webkit-mask-image: none; mask-image: none; }
html:root body:not([data-page]) :is(.button-art, .panel-title-art) { filter: grayscale(1) sepia(.8) saturate(1.5) hue-rotate(165deg) brightness(1.08) !important; }
html:root body:not([data-page]) :is(.brand img, .hero-logo) { filter: drop-shadow(0 5px 18px #000) grayscale(1) brightness(1.15) !important; }
html:root body:not([data-page]) .event-art img { filter: saturate(.95) contrast(1.04); }
html:root body:not([data-page]) .partner-card img { filter: none !important; }
.hero-server-seal { color: #cceaff !important; }
@media (max-width: 1100px) and (min-width: 901px) {
  body:not([data-page]) .hero { min-height: 800px; }
  body:not([data-page]) .hero-content { padding-inline-end: 48vw; }
}
@media (max-width: 900px) {
  body:not([data-page]) .hero { height: auto; min-height: 0; padding-top: 100px; }
  body:not([data-page]) .hero-content { padding-inline-end: 0; }
  .hero-gameplay-card { position: relative; inset: auto; top: auto; width: min(590px, calc(100% - 32px)); height: auto; margin: 28px auto 0; transform: none; }
}
@media (max-width: 600px) {
  body:not([data-page]) .hero { padding-top: 78px; }
  .hero-gameplay-card { order: -1; width: min(480px, 100%); height: auto; margin: 0 auto 8px; }
  .hero-gameplay-card picture, .hero-gameplay-card img { width: 100%; height: auto; }
  .hero-gameplay-card img { object-fit: contain; -webkit-mask-image: none; mask-image: none; }
  body:not([data-page]) .hero-content { order: 1; }
}

html:root body:not([data-page]) img.button-art.button-art { filter: grayscale(1) sepia(.8) saturate(1.5) hue-rotate(165deg) brightness(1.08) !important; }
html:root body:not([data-page]) .astra-wa-popup { width: min(500px, 92vw); max-height: 94dvh; overflow-y: auto; padding: 16px; border: 1px solid #426a8c; border-radius: 16px; background: #091522; }
html:root body:not([data-page]) .astra-wa-image { max-height: 56dvh; width: 100%; box-shadow: none; }
html:root body:not([data-page]) .astra-wa-close { position: fixed; top: 18px; right: 18px; background: #11273c; }
html:root body:not([data-page]) .astra-wa-info { color: #c4d7e6; }

.everfrost-season { margin: -4px 0 24px; color: #d8f0ff; font: 700 22px/1.2 var(--display); letter-spacing: .36em; text-shadow: 0 0 20px #4787b5; }
@media (min-width: 901px) { body:not([data-page]) .hero-content { padding-inline-end: min(54vw, 730px); } body:not([data-page]) .hero-lede { max-width: 100%; } }
@media (max-width: 900px) { .everfrost-season { text-align: center; } }

html:root body:not([data-page]) .hub-actions > a.primary :is(span, b, small) { color: #102539 !important; text-shadow: none !important; }
@media (max-width: 600px) {
 html:root body:not([data-page]) .partner-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
 html:root body:not([data-page]) .partner-card { width: auto !important; max-width: none !important; min-width: 0 !important; }
}
