html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  position: relative;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.wrap {
  width: min(1320px, calc(100% - 72px));
  margin-inline: auto;
}
.backdrop {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 1000px;
  background:
    linear-gradient(90deg, #17171390 0%, #171713d0 30%, #171713 52%),
    linear-gradient(0deg, var(--surface), transparent 65%),
    url("/assets/hero.jpg") center top/cover no-repeat;
  pointer-events: none;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: var(--surface);
  z-index: 5;
}
.skip-link:focus {
  top: 12px;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 26px;
  border-bottom: 1px solid #d1a5431c;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  font:
    19px Georgia,
    serif;
  white-space: nowrap;
}
.brand small {
  display: block;
  margin-top: 7px;
  font:
    8px "Segoe UI",
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c2ad79;
}
.masthead nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
}
.realm-status {
  white-space: nowrap;
}
.realm-status[data-online="true"]:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8dbb85;
}
.arrival {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.87fr);
  gap: 56px;
  align-items: center;
  padding-block: 48px 72px;
}
.game-logo {
  width: min(360px, 90%);
  height: auto;
  object-fit: contain;
  margin: 0 0 24px -15px;
}
.arrival h1 {
  font:
    clamp(40px, 4.8vw, 72px) / 1.1 Georgia,
    serif;
  letter-spacing: -1px;
  margin: 16px 0 22px;
}
.arrival h1 span {
  color: #d2c2a3;
  display: block;
  font-size: clamp(22px, 2vw, 29px);
  letter-spacing: 0;
  margin-top: 12px;
}
.intro {
  color: #c6c0b3;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 26px;
}
.play-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.entry-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 19px;
  font-size: 12px;
}
.compatibility {
  color: #929083;
  font-size: 11px;
  margin-top: 20px;
  max-width: 470px;
}
.labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.labels .chip {
  border-radius: 20px;
  color: var(--text);
}
.realm-facts {
  margin-top: 26px;
  max-width: 485px;
}
.armory {
  padding: 24px 0;
  position: relative;
  border: 0;
  border-radius: 0;
  background: var(--surface);
}
.armory .section-heading h2 {
  font-size: 28px;
}
.character-search {
  display: flex;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #10130fd9;
  overflow: hidden;
}
.character-search input {
  min-width: 0;
  flex: 1;
  background: none;
  border: 0;
  padding: 10px 12px;
  color: var(--text);
  font-size: 12px;
}
.character-search button {
  border: 0;
  border-left: 1px solid var(--line);
  background: #d1a54313;
  padding: 0 12px;
  display: grid;
  place-items: center;
}
.armory-body {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: center;
}
.equipment {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.equipment button {
  width: 48px;
  height: 48px;
  padding: 3px;
  display: grid;
  place-items: center;
  background: #d1a54309;
  border: 1px solid #ad893658;
  border-radius: 5px;
}
.equipment button:hover {
  border-color: var(--gold);
  background: #d1a54320;
}
.equipment img {
  max-width: 40px;
  max-height: 40px;
  image-rendering: auto;
}
.character-stage {
  --preview-background: #171713;
  height: 420px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.character-stage canvas,
.character-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  touch-action: none;
}
.character-stage p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.character-caption {
  display: grid;
  gap: 12px;
  text-align: center;
  padding: 15px 0 12px;
  border-top: 1px solid var(--line);
}
.character-caption strong {
  font:
    21px Georgia,
    serif;
}
.character-caption .labels {
  justify-content: center;
}
#character-history {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.armory-hint {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  text-align: center;
  font-size: 10px;
  color: #aaa393;
  margin: 0;
}
.showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  align-items: stretch;
}
.showcase-copy {
  padding: 38px 42px;
}
.showcase h2 {
  font:
    36px Georgia,
    serif;
  margin: 12px 0 16px;
}
.showcase p:not(.eyebrow) {
  max-width: 355px;
  color: var(--muted);
  font-size: 13px;
}
.showcase .button {
  font-size: 13px;
  min-height: 46px;
  margin-top: 14px;
}
.client-shot {
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #141812;
  min-height: 260px;
}
.client-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.75);
  transition: filter 160ms;
}
.client-shot:hover img {
  filter: brightness(0.95);
}
.preview-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  background: #d1a543e8;
  color: #201807;
  border-radius: 50%;
  border: 1px solid #ebd299;
}
.preview-play .icon {
  width: 30px;
  height: 30px;
}
.features {
  padding-top: 54px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 48px;
  margin-top: 36px;
}
.feature-grid article {
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}
.feature-grid article:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 340px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(90deg, #11150cf5 5%, #11150ccc 43%, #11150c18 100%), url('/assets/preview.webp') center / cover;
}
.feature-grid article:nth-child(3) p {
  max-width: 420px;
}
.feature-grid article:nth-child(4) {
  grid-column: 1 / -1;
  max-width: 820px;
}
.feature-grid article:nth-child(4) h3 {
  font-size: 40px;
}
.feature-number {
  color: #b79b62;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.feature-grid h3 {
  font:
    28px Georgia,
    serif;
  margin: 16px 0 12px;
}
.feature-grid p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.75;
}
.feature-grid a {
  font-size: 12px;
  display: inline-block;
  margin-top: 13px;
}
.community-invite {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 490px;
  margin-top: 24px;
}
.community-invite strong, .community-invite small { display: block; }
.community-invite strong { font-size: 14px; }
.community-invite small { color: #b8b2a3; font-size: 12px; margin-top: 3px; }
.invite-mark { font-size: 28px; }
.join-banner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  border-block: 1px solid var(--line);
  padding: 42px 0;
  margin-top: 38px;
}
.join-banner h2 { font: 38px Georgia, serif; margin: 12px 0; }
.join-banner p:not(.eyebrow) { color: #b8b2a3; max-width: 620px; }
.join-banner .button { flex-shrink: 0; }
.news-strip {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 25px;
  padding: 23px 26px;
}
.news-strip .eyebrow {
  margin: 0;
  white-space: nowrap;
}
.news-strip > a {
  color: var(--text);
  font-size: 14px;
}
.news-strip time {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding: 25px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #8e8d80;
}
.footer div {
  display: flex;
  gap: 23px;
}
dialog {
  padding: 0;
  background: var(--surface);
  color: var(--text);
  border: 1px solid #9f803c88;
  border-radius: 12px;
  width: min(1460px, 96vw);
  max-width: none;
  max-height: 96dvh;
  overflow: hidden;
  box-shadow: 0 30px 120px #000b;
}
dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(5px);
}
.preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.preview-toolbar h2 {
  font:
    15px Georgia,
    serif;
  margin: 0;
}
.preview-toolbar div {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
}
.preview-toolbar button {
  border: 1px solid var(--line);
  background: #ffffff08;
  border-radius: 5px;
  padding: 7px 14px;
}
#client-frame {
  height: min(76dvh, 820px);
  background: #080b08;
}
#client-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.preview-note {
  font-size: 11px;
  color: var(--muted);
  margin: 9px 18px;
}
.game-item-tooltip {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100vw - 16px);
  padding: 5px 8px;
  border: 1px solid #828282;
  background: #000e;
  color: #fff;
  font:
    12px/17px Arial,
    sans-serif;
}
.tooltip-line {
  white-space: normal;
}
.quality-9 {
  color: #ebe57f;
}
.quality-8 {
  color: #e804fd;
}
.quality-7 {
  color: #00ff00;
}
.quality-6 {
  color: #5e87ca;
}
.socket {
  color: #26ff63;
}
.composition {
  color: #ff00ff;
}
.blessing {
  color: #ff8040;
}
.magic {
  color: #4b9aff;
}
.enchant {
  color: #e8a900;
}
@media (min-width: 1500px) {
  .arrival {
    padding-top: 70px;
    gap: 100px;
  }
  .character-stage {
    height: 390px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .arrival {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
  }
  .arrival h1 {
    font-size: 37px;
  }
  .armory {
    padding: 18px;
  }
  .character-stage {
    height: 320px;
  }
  .masthead nav {
    gap: 16px;
  }
  .play-actions .button {
    padding: 12px 16px;
    font-size: 13px;
  }
  .showcase-copy {
    padding: 30px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .masthead {
    padding-block: 18px;
  }
  .brand {
    font-size: 15px;
    gap: 9px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .masthead nav {
    gap: 13px;
  }
  .masthead nav > a,
  .nav-armory {
    display: none;
  }
  .realm-status {
    font-size: 10px;
    padding: 6px 8px;
  }
  .arrival {
    grid-template-columns: 1fr;
    padding-block: 36px;
    gap: 32px;
  }
  .arrival-copy {
    text-align: center;
  }
  .community-invite { text-align: start; margin-inline: auto; }
  .join-banner { flex-direction: column; align-items: flex-start; gap: 15px; }
  .join-banner .button { width: 100%; }
  .feature-grid article:nth-child(3) { padding: 28px; }
  .game-logo {
    width: 290px;
    margin: 0 0 20px;
  }
  .arrival h1 {
    font-size: 38px;
  }
  .intro {
    font-size: 13px;
  }
  .play-actions,
  .entry-links {
    justify-content: center;
  }
  .compatibility {
    margin-inline: auto;
    max-width: 340px;
  }
  .realm-facts {
    margin-inline: auto;
    justify-content: center;
  }
  .armory {
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
  }
  .character-stage {
    height: 350px;
  }
  .showcase {
    grid-template-columns: 1fr;
  }
  .showcase-copy {
    padding: 28px;
  }
  .client-shot {
    height: 240px;
    min-height: 0;
  }
  .features {
    padding-top: 36px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .features .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .feature-grid {
    gap: 12px;
  }
  .feature-grid article {
    padding: 20px;
  }
  .feature-grid h3 {
    font-size: 20px;
  }
  .news-strip {
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
  }
  .news-strip .eyebrow {
    width: 100%;
  }
  .news-strip time {
    margin-left: 0;
  }
  .footer {
    gap: 16px;
  }
  .footer div {
    gap: 14px;
  }
  .preview-toolbar h2 {
    font-size: 12px;
  }
  .preview-toolbar div {
    gap: 10px;
    font-size: 10px;
  }
  .preview-toolbar {
    padding: 10px;
  }
  .preview-note {
    font-size: 10px;
  }
  .backdrop {
    height: 600px;
    background-position: 65% top;
  }
}
@media (max-width: 430px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .play-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .arrival h1 {
    font-size: 34px;
  }
  .character-stage {
    height: 320px;
  }
  .armory-body {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }
  .equipment button {
    width: 42px;
    height: 42px;
  }
  .equipment img {
    max-width: 35px;
    max-height: 35px;
  }
  .entry-links {
    gap: 18px;
  }
  .footer {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
