:root {
  --bg: #030811;
  --bg-soft: #07101d;
  --panel: rgba(7, 17, 31, .93);
  --panel-2: rgba(5, 13, 25, .95);
  --line: rgba(183, 132, 54, .38);
  --line-blue: rgba(89, 158, 236, .23);
  --gold: #d8aa5a;
  --gold-bright: #f3cf86;
  --blue: #44a9ff;
  --blue-bright: #a8dcff;
  --green: #88d95d;
  --text: #eef4ff;
  --muted: #a5b0c3;
  --shadow: 0 28px 70px rgba(0, 0, 0, .48);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0, rgba(26, 68, 126, .16), transparent 26%),
    linear-gradient(180deg, #030811 0, #07101b 45%, #030811 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.container { width: min(1180px, calc(100% - 38px)); margin-inline: auto; }
.page { position: relative; overflow: clip; }

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: 16px;
  transition: padding .25s ease, background .25s ease, backdrop-filter .25s ease;
}
.header.is-scrolled {
  padding-top: 0;
  background: rgba(3, 8, 16, .78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(204, 157, 77, .12);
}
.header__frame {
  min-height: 70px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 22px 0 105px;
  background: linear-gradient(180deg, rgba(4, 10, 20, .9), rgba(4, 9, 17, .72));
  border: 1px solid rgba(201, 152, 73, .26);
  box-shadow: 0 15px 48px rgba(0, 0, 0, .28), inset 0 0 24px rgba(33, 75, 134, .1);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}
.header.is-scrolled .header__frame {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}
.mini-brand {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mini-brand__crest {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  overflow: hidden;
  filter: drop-shadow(0 7px 14px rgba(0, 0, 0, .55));
}
.mini-brand__crest img { width: 74px; transform: translateY(4px); }
.mini-brand__name {
  display: none;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .16em;
}
.nav {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 15px;
}
.nav__link {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 0 15px;
  color: #d9dfeb;
  font-size: 14px;
  white-space: nowrap;
  position: relative;
  transition: color .2s ease, text-shadow .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  width: 0; height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  box-shadow: 0 0 14px var(--gold);
  transition: width .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: #fff4d1; text-shadow: 0 0 18px rgba(235, 190, 104, .28); }
.nav__link:hover::after, .nav__link.is-active::after { width: 76%; }
.menu-button {
  display: none;
  color: #f2e5c4;
  border: 1px solid rgba(214, 164, 78, .28);
  background: rgba(9, 18, 31, .92);
  width: 46px; height: 46px;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}
.menu-button__close { display: none; }
.menu-button.is-open .menu-button__open { display: none; }
.menu-button.is-open .menu-button__close { display: block; }

.hero {
  min-height: 790px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  padding: 130px 0 100px;
}
.hero__picture, .hero__vignette, .embers { position: absolute; inset: 0; }
.hero__picture {
  z-index: -3;
  background: url('img/hero-bg.jpg') center top / cover no-repeat;
  transform: scale(1.015);
}
.hero__vignette {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(2, 6, 13, .06) 0, rgba(2, 7, 14, .05) 45%, rgba(2, 7, 14, .82) 100%),
    radial-gradient(ellipse at 50% 42%, rgba(8, 23, 43, .08) 0, rgba(1, 5, 11, .38) 62%, rgba(1, 4, 9, .68) 100%);
}
.hero__content { text-align: center; position: relative; z-index: 2; }
.hero__crest {
  width: clamp(120px, 13vw, 180px);
  height: 175px;
  object-fit: cover;
  object-position: top;
  margin: 0 auto -12px;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .62));
}
.hero__overline {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .44em;
  font-size: 11px;
  font-weight: 700;
  color: #a9b9cf;
  text-shadow: 0 2px 14px #000;
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 132px);
  line-height: .82;
  font-weight: 700;
  letter-spacing: .02em;
  color: transparent;
  background: linear-gradient(180deg, #f3f6f7 0, #a8bed0 38%, #516d84 58%, #c5d8e7 83%, #667c90 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(230, 243, 255, .48);
  filter: drop-shadow(0 4px 0 #142333) drop-shadow(0 10px 18px rgba(0, 0, 0, .9));
}
.hero__realm {
  margin: 24px 0 0;
  font-family: var(--serif);
  color: var(--gold-bright);
  font-size: clamp(28px, 3.1vw, 48px);
  line-height: 1;
  font-weight: 600;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .86);
}
.ornament, .small-ornament { display: flex; justify-content: center; align-items: center; gap: 6px; }
.ornament { margin: 21px auto 19px; width: min(310px, 70vw); }
.ornament span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(221, 174, 91, .72)); }
.ornament span:last-child { background: linear-gradient(90deg, rgba(221, 174, 91, .72), transparent); }
.ornament i, .small-ornament i { width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); }
.hero__lead {
  margin: 0 auto;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.65;
  color: #e5e9f0;
  text-shadow: 0 3px 16px #000;
}
.hero__buttons { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.fantasy-button {
  min-width: 258px;
  padding: 2px;
  clip-path: polygon(8% 0, 92% 0, 100% 22%, 96% 50%, 100% 78%, 92% 100%, 8% 100%, 0 78%, 4% 50%, 0 22%);
  transition: transform .2s ease, filter .2s ease;
}
.fantasy-button span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 0 28px;
  font-family: var(--serif);
  text-transform: uppercase;
  font-size: 23px;
  font-weight: 700;
  clip-path: inherit;
}
.fantasy-button:hover { transform: translateY(-3px); filter: brightness(1.1); }
.fantasy-button--blue { background: linear-gradient(90deg, #5dccff, #9be9ff 50%, #3e9df0); box-shadow: 0 0 30px rgba(37, 157, 255, .34); }
.fantasy-button--blue span { background: radial-gradient(circle at 50% 0, #1c6ba9 0, #0c315b 45%, #061426 100%); text-shadow: 0 0 18px rgba(138, 215, 255, .65); }
.fantasy-button--gold { background: linear-gradient(90deg, #bd7929, #f0bd64 50%, #a95b1b); box-shadow: 0 0 30px rgba(233, 142, 39, .24); }
.fantasy-button--gold span { background: radial-gradient(circle at 50% 0, #6e3d12 0, #3b1d08 48%, #160a03 100%); color: #ffdd97; text-shadow: 0 0 18px rgba(255, 184, 63, .46); }

.embers { z-index: -1; overflow: hidden; pointer-events: none; }
.embers i {
  --x: 50%; --y: 80%; --delay: 0s; --duration: 8s; --scale: 1;
  position: absolute;
  left: var(--x); top: var(--y);
  width: calc(3px * var(--scale)); height: calc(3px * var(--scale));
  border-radius: 50%;
  background: #ff8a2c;
  box-shadow: 0 0 9px 2px rgba(255, 92, 19, .66);
  animation: float-ember var(--duration) var(--delay) infinite linear;
  opacity: 0;
}
@keyframes float-ember {
  0% { transform: translate3d(0, 30px, 0) scale(.4); opacity: 0; }
  15% { opacity: .85; }
  70% { opacity: .45; }
  100% { transform: translate3d(40px, -240px, 0) scale(1.2); opacity: 0; }
}

.content-section { position: relative; z-index: 3; padding: 24px 0; }
.content-section--raised { margin-top: -76px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card, .panel, .news-card {
  background: linear-gradient(180deg, rgba(8, 20, 36, .96), rgba(4, 12, 23, .98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 0 28px rgba(57, 105, 170, .07);
  position: relative;
}
.feature-card::before, .panel::before, .news-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgba(77, 130, 199, .07);
}
.feature-card { min-height: 304px; padding: 36px 32px 28px; text-align: center; }
.feature-card__icon {
  width: 70px; height: 70px;
  margin: 0 auto 13px;
  display: grid; place-items: center;
  color: var(--gold-bright);
  background: radial-gradient(circle, rgba(211, 155, 69, .22), transparent 64%);
  filter: drop-shadow(0 0 12px rgba(218, 161, 69, .34));
}
.feature-card__icon .icon { width: 48px; height: 48px; stroke-width: 1.45; }
.feature-card h2, .section-title, .section-heading h2, .news-card h3, .footer-column h2 {
  font-family: var(--serif);
  font-weight: 600;
}
.feature-card h2 { margin: 0 0 12px; font-size: 30px; color: #f4d89f; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.small-ornament { width: 100px; margin: 23px auto 0; gap: 4px; }
.small-ornament span { height: 1px; flex: 1; background: rgba(199, 143, 58, .35); }
.small-ornament i { width: 6px; height: 6px; border-color: rgba(218, 162, 76, .6); }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { min-height: 430px; padding: 38px 40px; }
.panel__gem {
  display: block;
  width: 13px; height: 13px;
  margin: -46px auto 15px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}
.panel__gem--blue { color: #50adff; }
.panel__gem--green { color: #73ca4c; }
.section-title { margin: 0 0 13px; text-align: center; text-transform: uppercase; color: #f2d599; font-size: 31px; letter-spacing: .03em; }
.section-description { margin: 0 auto 20px; max-width: 460px; text-align: center; color: #aeb9ca; line-height: 1.65; }
.field-label { display: block; color: #e5bd72; font-weight: 600; margin: 3px 0 9px; }
.realmlist {
  min-height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-left: 18px;
  background: rgba(3, 10, 19, .78);
  border: 1px solid rgba(209, 151, 64, .45);
  box-shadow: inset 0 0 25px rgba(42, 84, 142, .08);
}
.realmlist code { color: #f4efe3; font-family: Consolas, monospace; font-size: clamp(13px, 1.35vw, 17px); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.copy-button {
  align-self: stretch;
  width: 60px;
  border: 0;
  border-left: 1px solid rgba(209, 151, 64, .28);
  background: rgba(15, 31, 52, .84);
  color: #e8bb6f;
  cursor: pointer;
  position: relative;
  display: grid; place-items: center;
}
.copy-button:hover, .copy-button.is-copied { color: #fff1c8; background: rgba(28, 62, 99, .9); }
.copy-button__tooltip {
  position: absolute;
  right: 2px; bottom: calc(100% + 8px);
  padding: 6px 9px;
  background: #071321;
  color: #dce8f5;
  border: 1px solid rgba(128, 167, 214, .2);
  font-size: 11px;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: .2s ease;
  white-space: nowrap;
}
.copy-button:hover .copy-button__tooltip, .copy-button.is-copied .copy-button__tooltip { opacity: 1; transform: none; }
.client-meta { display: flex; justify-content: center; gap: 28px; margin: 24px 0 21px; }
.client-meta div { display: grid; gap: 3px; text-align: center; }
.client-meta dt { color: #7185a1; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.client-meta dd { margin: 0; color: #c8d2e1; font-size: 14px; }
.inline-link { display: flex; justify-content: center; align-items: center; gap: 7px; color: #72c5ff; font-size: 13px; }
.inline-link .icon, .outline-button .icon { width: 17px; height: 17px; transition: transform .2s ease; }
.inline-link:hover .icon, .outline-button:hover .icon { transform: translateX(4px); }
.status-list { display: grid; gap: 5px; margin: 25px 0 16px; }
.status-row {
  min-height: 66px;
  display: grid;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  background: linear-gradient(90deg, rgba(14, 30, 49, .88), rgba(5, 16, 29, .78));
  border: 1px solid rgba(72, 123, 185, .16);
}
.status-row__icon { color: #e8c57d; display: grid; place-items: center; }
.status-row__icon--green { color: var(--green); }
.status-row__icon--gold { color: #f0b957; }
.status-row__label { color: #c6d0de; }
.status-row__value { color: #f5cc78; font-size: 20px; font-weight: 500; }
.status-row__value--online { color: var(--green); text-shadow: 0 0 16px rgba(120, 214, 80, .28); }
.status-note { color: #798aa3; text-align: center; font-size: 12px; margin: 12px auto 19px; max-width: 440px; }

.news-section { padding-top: 20px; padding-bottom: 42px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading__eyebrow { color: #768ca9; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; }
.section-heading h2 { margin: 3px 0 0; color: #f1d49b; font-size: 35px; text-transform: uppercase; letter-spacing: .02em; }
.outline-button { height: 43px; display: inline-flex; align-items: center; gap: 8px; padding: 0 17px; border: 1px solid rgba(202, 151, 72, .34); color: #d6c39f; background: rgba(8, 17, 29, .72); font-size: 13px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { min-width: 0; overflow: hidden; }
.news-card__image { height: 162px; position: relative; overflow: hidden; }
.news-card__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(3, 9, 18, .72)); }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-card:hover .news-card__image img { transform: scale(1.05); }
.tag { position: absolute; left: 15px; bottom: 10px; z-index: 2; padding: 4px 9px; color: white; font-size: 10px; text-transform: uppercase; font-weight: 700; }
.tag--blue { background: #1856a5; box-shadow: 0 0 18px rgba(37, 114, 213, .35); }
.tag--orange { background: #9c4e13; box-shadow: 0 0 18px rgba(210, 94, 18, .3); }
.news-card__body { padding: 17px 18px 19px; }
.news-card h3 { margin: 0 0 6px; color: #f3e5c7; font-size: 25px; }
.news-card p { margin: 0; min-height: 90px; color: #9aa7ba; line-height: 1.55; font-size: 13px; }
.news-card__meta { margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #6887ac; font-size: 10px; }
.news-card__meta i { width: 3px; height: 3px; border-radius: 50%; background: #526b89; }

.footer { position: relative; z-index: 3; border-top: 1px solid rgba(191, 139, 62, .18); background: rgba(2, 7, 14, .85); }
.footer__top { display: grid; grid-template-columns: 1.5fr .75fr .85fr .65fr; gap: 42px; padding: 34px 0 29px; }
.footer-brand { display: grid; grid-template-columns: 96px 1fr; align-items: start; gap: 17px; }
.footer-brand img { width: 96px; height: 105px; object-fit: cover; object-position: top; }
.footer-brand strong { display: block; margin-top: 8px; font-family: var(--serif); font-size: 27px; letter-spacing: .12em; }
.footer-brand span { display: block; color: #8193ac; font-size: 12px; }
.footer-brand p { margin: 12px 0 0; max-width: 300px; color: #8695aa; font-size: 12px; line-height: 1.7; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-column h2 { margin: 8px 0 6px; color: #eee1c6; font-size: 17px; text-transform: uppercase; }
.footer-column > a { color: #8f9eb2; font-size: 12px; }
.footer-column > a:hover { color: #e7c981; }
.socials { display: flex; gap: 9px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(180deg, #386ec9, #1c4389); box-shadow: 0 7px 18px rgba(16, 57, 128, .3); }
.socials .icon { width: 19px; height: 19px; }
.footer__bottom { min-height: 57px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.055); color: #667993; font-size: 11px; }

@media (max-width: 1040px) {
  .header__frame { padding-left: 92px; }
  .nav { gap: 3px; }
  .nav__link { padding-inline: 10px; font-size: 13px; }
  .mini-brand__crest { width: 68px; height: 68px; }
  .mini-brand__crest img { width: 64px; }
  .feature-card { padding-inline: 22px; }
  .footer__top { grid-template-columns: 1.25fr repeat(3, .7fr); gap: 24px; }
}

@media (max-width: 820px) {
  .header { padding-top: 8px; }
  .header__frame { min-height: 66px; padding: 0 14px 0 82px; clip-path: none; border-radius: 5px; }
  .mini-brand { left: 9px; }
  .menu-button { display: grid; place-items: center; margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    padding: 8px;
    background: rgba(3, 9, 18, .97);
    border: 1px solid rgba(203, 152, 73, .27);
    box-shadow: 0 22px 60px rgba(0,0,0,.58);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav__link { min-height: 48px; justify-items: start; padding: 0 16px; }
  .nav__link::after { left: 16px; transform: none; }
  .nav__link:hover::after, .nav__link.is-active::after { width: 60px; }
  .hero { min-height: 730px; padding-top: 110px; }
  .hero__picture { background-position: 35% top; }
  .content-section--raised { margin-top: -54px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 22px, 1180px); }
  .mini-brand__name { display: none; }
  .hero { min-height: 680px; padding: 105px 0 80px; }
  .hero__picture { background-position: 41% top; }
  .hero__crest { height: 135px; width: 122px; }
  .hero__overline { letter-spacing: .25em; }
  .hero__title { font-size: clamp(50px, 17vw, 74px); }
  .hero__realm { margin-top: 17px; font-size: 28px; }
  .hero__lead br { display: none; }
  .fantasy-button { min-width: min(300px, 100%); width: 100%; }
  .fantasy-button span { min-height: 56px; font-size: 20px; }
  .content-section--raised { margin-top: -34px; }
  .feature-card, .panel { padding: 30px 21px; }
  .panel__gem { margin-top: -37px; }
  .section-title { font-size: 27px; }
  .client-meta { gap: 12px; justify-content: space-between; }
  .status-row { grid-template-columns: 38px 1fr auto; padding-inline: 12px; }
  .status-row__value { font-size: 16px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 28px; }
  .outline-button { padding-inline: 10px; white-space: nowrap; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card p { min-height: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 25px 18px; }
  .footer-brand { grid-column: 1 / -1; grid-template-columns: 82px 1fr; }
  .footer-brand img { width: 82px; height: 90px; }
  .footer__bottom { flex-direction: column; justify-content: center; text-align: center; padding: 14px 0; }
}

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