:root {
  color-scheme: dark;
  --text: #fff4df;
  --muted: rgba(255, 244, 223, 0.78);
  --gold: #d8aa56;
  --gold-soft: rgba(216, 170, 86, 0.35);
  --ember: #b94135;
  --ember-soft: rgba(185, 65, 53, 0.34);
  --green: #43ff9b;
  --discord: #5865f2;
  --dark: #080909;
  --panel: rgba(8, 9, 9, 0.54);
  --line: rgba(255, 234, 188, 0.22);
  --section-width: min(720px, 100%);
  --countdown-width: min(620px, 100%);
  --mouse-x: 0px;
  --mouse-y: 0px;
  --cursor-x: 50%;
  --cursor-y: 50%;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 170, 86, 0.7) rgba(8, 9, 9, 0.9);
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: rgba(8, 9, 9, 0.95);
}

body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(216, 170, 86, 0.9),
      rgba(185, 65, 53, 0.55)
    );
  border: 2px solid rgba(8, 9, 9, 0.95);
}

img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* LOADER */

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(216, 170, 86, 0.13), transparent 32rem),
    radial-gradient(circle at 50% 55%, rgba(185, 65, 53, 0.08), transparent 28rem),
    #050606;
  transition:
    opacity 700ms ease,
    visibility 700ms ease,
    filter 700ms ease;
}

.loading-screen img {
  position: relative;
  z-index: 3;
  width: min(18rem, 70vw);
  filter:
    drop-shadow(0 0 24px rgba(216, 170, 86, 0.55))
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.75));
  animation: loaderLogo 1.8s ease-in-out infinite;
}

.loader-fog {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0.18;
  filter: blur(24px);
  background:
    radial-gradient(circle at 30% 50%, rgba(216, 170, 86, 0.16), transparent 18rem),
    radial-gradient(circle at 70% 40%, rgba(255, 244, 223, 0.08), transparent 20rem),
    radial-gradient(circle at 50% 75%, rgba(185, 65, 53, 0.1), transparent 22rem);
  animation: loaderFogMove 12s ease-in-out infinite alternate;
}

.loader-fog-two {
  opacity: 0.12;
  animation-duration: 18s;
  animation-direction: alternate-reverse;
}

.loader-rune {
  position: absolute;
  z-index: 1;
  width: min(24rem, 78vw);
  height: min(24rem, 78vw);
  border-radius: 999px;
  border: 1px solid rgba(216, 170, 86, 0.16);
  box-shadow:
    inset 0 0 42px rgba(216, 170, 86, 0.055),
    0 0 52px rgba(216, 170, 86, 0.08);
  animation:
    runeRotate 18s linear infinite,
    loaderFlicker 3.2s ease-in-out infinite;
}

.loader-rune::before,
.loader-rune::after {
  content: "";
  position: absolute;
  inset: 1.4rem;
  border-radius: inherit;
  border: 1px dashed rgba(216, 170, 86, 0.16);
}

.loader-rune::after {
  inset: 3rem;
  border-style: solid;
  border-color: rgba(255, 244, 223, 0.07);
}

.loader-copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  text-align: center;
}

.loader-copy span {
  color: rgba(255, 244, 223, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.loader-copy strong {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-shadow: 0 0 16px rgba(216, 170, 86, 0.45);
}

.loader-progress {
  position: relative;
  z-index: 3;
  width: min(22rem, 72vw);
  height: 5px;
  margin-top: 0.45rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 244, 223, 0.08);
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(216, 170, 86, 0.08);
}

.loader-progress i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ember), var(--gold), #ffe4af);
  box-shadow:
    0 0 14px rgba(216, 170, 86, 0.72),
    0 0 28px rgba(216, 170, 86, 0.28);
  transition: width 180ms ease;
}

.loader-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 170, 86, 0.55), transparent 34rem);
  opacity: 0;
}

.loaded .loader-flash {
  animation: loaderFlash 680ms ease both;
}

.loaded .loading-screen {
  opacity: 0;
  visibility: hidden;
  filter: blur(12px);
}

/* BACKGROUND */

.intro {
  position: relative;
  min-height: 100svh;
  display: grid;
  justify-items: center;
  align-items: start;
  overflow: hidden;
  padding: clamp(1rem, 4vw, 3rem);
  padding-top: clamp(7rem, 9vw, 8.5rem);
  padding-bottom: 4rem;
}

.intro::before {
  content: "";
  position: fixed;
  inset: -2rem;
  z-index: -3;
  background: url("assets/background.jpg") center center / cover no-repeat;
  filter: blur(18px) saturate(1.25);
  opacity: 0.36;
  transform: scale(1.08);
}

.intro::after {
  content: "";
  position: absolute;
  z-index: 9;
  top: 4.25rem;
  left: 50%;
  width: min(25rem, 60vw);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  opacity: 0.72;
  background:
    radial-gradient(circle, rgba(255, 244, 223, 0.16) 0 2px, transparent 3px 100%),
    radial-gradient(circle, transparent 0 42%, rgba(216, 170, 86, 0.2) 43% 43.5%, transparent 44% 100%),
    radial-gradient(circle, transparent 0 58%, rgba(216, 170, 86, 0.14) 59% 59.5%, transparent 60% 100%),
    conic-gradient(
      from 18deg,
      transparent 0 8deg,
      rgba(216, 170, 86, 0.26) 9deg 11deg,
      transparent 12deg 42deg,
      rgba(255, 244, 223, 0.14) 43deg 45deg,
      transparent 46deg 88deg,
      rgba(185, 65, 53, 0.18) 89deg 91deg,
      transparent 92deg 360deg
    ),
    radial-gradient(circle, rgba(216, 170, 86, 0.18), transparent 58%);
  filter:
    drop-shadow(0 0 22px rgba(216, 170, 86, 0.28))
    blur(0.1px);
  mask-image: radial-gradient(circle, #000 0 64%, transparent 72%);
  animation:
    portalRuneSpin 34s linear infinite,
    portalRunePulse 5.5s ease-in-out infinite;
}

.intro-bg,
.intro-shade,
.fx,
.scanline {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-bg {
  z-index: -2;
  background-image:
    linear-gradient(rgba(8, 9, 9, 0.1), rgba(8, 9, 9, 0.1)),
    url("assets/background.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.04);
  animation: slowDrift 18s ease-in-out infinite alternate;
}

.intro-shade {
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.32), transparent 22rem),
    radial-gradient(circle at 18% 38%, rgba(216, 170, 86, 0.12), transparent 18rem),
    radial-gradient(circle at 82% 34%, rgba(185, 65, 53, 0.2), transparent 17rem),
    linear-gradient(90deg, rgba(8, 9, 9, 0.72), rgba(8, 9, 9, 0.34) 48%, rgba(8, 9, 9, 0.72)),
    linear-gradient(180deg, rgba(8, 9, 9, 0.28), rgba(8, 9, 9, 0.78));
}

.fx {
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.fx-top {
  background:
    linear-gradient(105deg, transparent 0 28%, rgba(216, 170, 86, 0.15) 34%, transparent 42%),
    radial-gradient(circle at 68% 18%, rgba(255, 228, 175, 0.14), transparent 13rem);
  opacity: 0.7;
  animation: shimmer 5.6s ease-in-out infinite;
}

.fx-bottom {
  background:
    radial-gradient(circle at 12% 82%, rgba(185, 65, 53, 0.2), transparent 16rem),
    radial-gradient(circle at 90% 82%, rgba(216, 170, 86, 0.12), transparent 13rem);
  opacity: 0.8;
  animation: breathe 4.8s ease-in-out infinite;
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  left: var(--x);
  top: 100%;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  filter: blur(var(--blur));
  opacity: 0;
  animation: emberRise var(--duration) linear var(--delay) infinite;
}

.particle-ember {
  background: rgba(255, 190, 92, 0.92);
  box-shadow:
    0 0 10px rgba(255, 164, 72, 0.85),
    0 0 24px rgba(185, 65, 53, 0.24);
}

.particle-ash {
  background: rgba(255, 228, 175, 0.52);
  box-shadow:
    0 0 9px rgba(216, 170, 86, 0.42),
    0 0 18px rgba(255, 244, 223, 0.12);
}

.scanline {
  z-index: 0;
  pointer-events: none;
  opacity: 0.11;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, transparent, rgba(255, 228, 175, 0.08), transparent);
  background-size: 100% 4px, 100% 100%;
}

/* LOGO */

.site-logo {
  position: absolute;
  z-index: 10;
  top: 4.4rem;
  left: 50%;
  width: min(19rem, 44vw);
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(216, 170, 86, 0.42))
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.72));
  animation: logoGlow 4s ease-in-out infinite;
}

/* MAIN CARD */

.intro-content {
  position: relative;
  z-index: 2;
  width: min(930px, calc(100vw - 2rem));
  padding: clamp(1.2rem, 2.5vw, 2.2rem);
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(216, 170, 86, 0.08), transparent 48%),
    linear-gradient(135deg, rgba(255, 244, 223, 0.06), transparent 38%),
    var(--panel);
  backdrop-filter: blur(14px);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 90px rgba(216, 170, 86, 0.04);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
  overflow: hidden;
}

.intro-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      circle at var(--cursor-x) var(--cursor-y),
      rgba(216, 170, 86, 0.15),
      transparent 16rem
    );
  opacity: 0.8;
}

.intro-content > * {
  position: relative;
  z-index: 1;
}

.intro-content:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 170, 86, 0.3);
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.58),
    0 0 42px rgba(216, 170, 86, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 0 96px rgba(216, 170, 86, 0.055);
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* STATUS */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  transform: translateY(-6px);
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(67, 255, 155, 0.22);
  background:
    linear-gradient(
      180deg,
      rgba(67, 255, 155, 0.09),
      rgba(67, 255, 155, 0.03)
    );
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 18px rgba(67, 255, 155, 0.035),
    0 0 18px rgba(67, 255, 155, 0.07);
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.status:hover {
  transform: translateY(-8px);
  border-color: rgba(67, 255, 155, 0.38);
  background:
    linear-gradient(
      180deg,
      rgba(67, 255, 155, 0.14),
      rgba(67, 255, 155, 0.045)
    );
  box-shadow:
    inset 0 0 20px rgba(67, 255, 155, 0.055),
    0 0 24px rgba(67, 255, 155, 0.14),
    0 10px 28px rgba(0, 0, 0, 0.24);
}

.led {
  position: relative;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow:
    0 0 8px rgba(67, 255, 155, 0.95),
    0 0 20px rgba(67, 255, 155, 0.58),
    0 0 36px rgba(67, 255, 155, 0.3);
  animation:
    ledPulse 2s ease infinite,
    ledGlow 2.6s ease-in-out infinite;
}

.led::after {
  content: "";
  position: absolute;
  inset: -0.28rem;
  border-radius: inherit;
  border: 1px solid rgba(67, 255, 155, 0.22);
  animation: ledRing 2s ease-out infinite;
}

.pretitle {
  margin: 0.35rem 0 0;
  color: rgba(255, 244, 223, 0.74);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.server-status {
  margin-left: auto;
  transform: translateY(-6px);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.52rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 170, 86, 0.26);
  background:
    linear-gradient(
      180deg,
      rgba(216, 170, 86, 0.12),
      rgba(216, 170, 86, 0.04)
    );
  color: rgba(255, 232, 188, 0.86);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 18px rgba(216, 170, 86, 0.04),
    0 0 18px rgba(216, 170, 86, 0.08);
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.server-status:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 170, 86, 0.42);
  background:
    linear-gradient(
      180deg,
      rgba(216, 170, 86, 0.18),
      rgba(216, 170, 86, 0.06)
    );
  box-shadow:
    inset 0 0 20px rgba(216, 170, 86, 0.08),
    0 0 28px rgba(216, 170, 86, 0.18),
    0 12px 28px rgba(0, 0, 0, 0.24);
}

.server-status span {
  position: relative;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow:
    0 0 10px rgba(216, 170, 86, 0.85),
    0 0 22px rgba(216, 170, 86, 0.34);
  animation: internalPulse 1.8s ease-in-out infinite;
}

.server-status span::after {
  content: "";
  position: absolute;
  inset: -0.28rem;
  border-radius: inherit;
  border: 1px solid rgba(216, 170, 86, 0.22);
  animation: internalRing 1.8s ease-out infinite;
}

/* HERO TEXT */

h1,
.subtitle,
.copy {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  width: 100%;
  margin: 0.65rem auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  color: #fff6df;
  text-shadow:
    0 2px 0 rgba(255, 220, 160, 0.18),
    0 14px 34px rgba(0, 0, 0, 0.72),
    0 0 28px rgba(216, 170, 86, 0.14);
}

.subtitle {
  max-width: 900px;
  margin-top: 1rem;
  color: #ffe4af;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 800;
}

.copy {
  max-width: 700px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
}

/* SECTIONS */

.fantasy-divider,
.actions,
.access-card,
.countdown-label,
.progress-card,
.patch-notes,
.system-logs,
.footer-build {
  width: var(--section-width);
  margin-left: auto;
  margin-right: auto;
}

.countdown {
  width: var(--countdown-width);
  margin-left: auto;
  margin-right: auto;
}

.fantasy-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.fantasy-divider span {
  flex: 1;
  max-width: 180px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(216, 170, 86, 0.7),
      transparent
    );
  box-shadow: 0 0 12px rgba(216, 170, 86, 0.18);
}

.fantasy-divider i {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow:
    0 0 12px rgba(216, 170, 86, 0.7),
    0 0 28px rgba(216, 170, 86, 0.24);
}

.actions {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn {
  position: relative;
  display: inline-flex;
  width: fit-content;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow: hidden;
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 800;
  isolation: isolate;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      transparent 0 24%,
      rgba(255, 255, 255, 0.3) 44%,
      transparent 64%
    );
  transform: translateX(-130%);
  transition: transform 620ms ease;
}

.btn:hover::before {
  transform: translateX(130%);
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  width: 9rem;
  aspect-ratio: 2.25 / 1;
  min-width: 9rem;
  border: 1px solid rgba(255, 232, 188, 0.52);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ember), var(--gold));
  color: #fff8ec;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.35),
    0 0 32px var(--ember-soft),
    inset 0 0 0 1px rgba(255, 244, 223, 0.18),
    inset 0 -12px 24px rgba(97, 31, 24, 0.18);
  text-shadow: 0 1px 0 rgba(97, 31, 24, 0.35);
  animation: sealPulse 3.8s ease-in-out infinite;
}

.primary::after {
  content: "";
  position: absolute;
  inset: 0.36rem;
  z-index: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 244, 223, 0.24);
  box-shadow: inset 0 0 16px rgba(255, 244, 223, 0.08);
}

.primary span {
  position: relative;
  z-index: 1;
}

.secondary {
  width: 10.4rem;
  min-width: 10rem;
  border: 1px solid rgba(88, 101, 242, 0.48);
  background:
    linear-gradient(
      180deg,
      rgba(88, 101, 242, 0.14),
      rgba(8, 9, 9, 0.56)
    );
}

.secondary:hover {
  border-color: rgba(130, 155, 255, 0.78);
  background:
    linear-gradient(
      180deg,
      rgba(88, 101, 242, 0.22),
      rgba(8, 9, 9, 0.68)
    );
  box-shadow: 0 0 22px rgba(88, 101, 242, 0.22);
}

.discord-icon {
  color: rgba(155, 166, 255, 0.95);
  font-size: 0.78rem;
  text-shadow: 0 0 12px rgba(88, 101, 242, 0.6);
}

.actions .secondary:first-child {
  justify-self: end;
}

.actions .primary {
  justify-self: center;
}

.actions .secondary:last-child {
  justify-self: start;
}

/* ACCESS */

.access-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.35rem;
  animation: sectionReveal 720ms ease both;
  animation-delay: 120ms;
}

.access-card div {
  position: relative;
  overflow: hidden;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 234, 188, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 244, 223, 0.045), rgba(255, 244, 223, 0.012)),
    rgba(8, 9, 9, 0.38);
  box-shadow:
    inset 0 0 24px rgba(216, 170, 86, 0.035),
    0 8px 26px rgba(0, 0, 0, 0.14);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.access-card div::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 28%, rgba(255, 244, 223, 0.16) 45%, transparent 62%),
    radial-gradient(circle at 50% 0, rgba(216, 170, 86, 0.18), transparent 58%);
  transform: translateX(-32%);
  transition:
    opacity 220ms ease,
    transform 520ms ease;
}

.access-card div:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 170, 86, 0.46);
  background:
    linear-gradient(180deg, rgba(255, 244, 223, 0.07), rgba(255, 244, 223, 0.018)),
    rgba(8, 9, 9, 0.46);
  box-shadow:
    inset 0 0 28px rgba(216, 170, 86, 0.09),
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(216, 170, 86, 0.16);
}

.access-card div:hover::before {
  opacity: 1;
  transform: translateX(32%);
}

.access-card strong {
  display: block;
  color: #fff4df;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.access-card span {
  display: block;
  margin-top: 0.28rem;
  color: rgba(255, 244, 223, 0.62);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* COUNTDOWN */

.countdown {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.58rem;
  align-items: center;
  margin-top: 1.8rem;
  animation: sectionReveal 720ms ease both;
  animation-delay: 220ms;
}

.countdown::before,
.countdown::after {
  content: ":";
  grid-row: 1;
  align-self: center;
  justify-self: center;
  color: rgba(216, 170, 86, 0.8);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 0 14px rgba(216, 170, 86, 0.36),
    0 0 28px rgba(185, 65, 53, 0.18);
}

.countdown::before {
  grid-column: 2;
}

.countdown::after {
  grid-column: 4;
}

.countdown div {
  grid-row: 1;
  position: relative;
  overflow: hidden;
  min-height: 5rem;
  padding: 0.95rem 0.7rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 234, 188, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 244, 223, 0.08), rgba(255, 244, 223, 0.015)),
    rgba(8, 9, 9, 0.52);
  box-shadow:
    inset 0 0 32px rgba(216, 170, 86, 0.06),
    0 8px 30px rgba(0, 0, 0, 0.22);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.countdown div:nth-child(1) {
  grid-column: 1;
}

.countdown div:nth-child(2) {
  grid-column: 3;
}

.countdown div:nth-child(3) {
  grid-column: 5;
}

.countdown div:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 170, 86, 0.42);
  box-shadow:
    inset 0 0 34px rgba(216, 170, 86, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(216, 170, 86, 0.1);
}

.countdown strong {
  display: block;
  color: #fff8ec;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1;
  text-shadow: 0 0 18px rgba(216, 170, 86, 0.18);
}

.countdown span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.countdown-label {
  margin-top: 0.75rem;
  color: rgba(255, 244, 223, 0.46);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

/* ROADMAP */

.progress-card,
.patch-notes,
.system-logs {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.progress-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(280px, 1fr);
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 234, 188, 0.18);
  background:
    radial-gradient(circle at 76% 40%, rgba(216, 170, 86, 0.14), transparent 15rem),
    radial-gradient(circle at 26% 35%, rgba(67, 255, 155, 0.08), transparent 13rem),
    linear-gradient(180deg, rgba(255, 244, 223, 0.03), transparent),
    rgba(8, 9, 9, 0.42);
  animation: sectionReveal 720ms ease both;
  animation-delay: 320ms;
}

.progress-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(110deg, transparent 0 38%, rgba(255, 244, 223, 0.07) 48%, transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(216, 170, 86, 0.035) 35px 36px);
  transform: translateX(-24%);
  animation: roadmapAura 7s ease-in-out infinite;
}

.progress-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 170, 86, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 244, 223, 0.05), transparent),
    rgba(8, 9, 9, 0.5);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(216, 170, 86, 0.08);
}

.progress-copy span {
  display: block;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.progress-copy strong {
  display: block;
  margin-top: 0.18rem;
  color: #fff4df;
  font-size: 1rem;
  font-weight: 900;
}

.progress-copy small {
  display: block;
  margin-top: 0.24rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.progress-track {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 3.2rem;
}

.progress-track::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  top: 0.78rem;
  height: 4px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(67, 255, 155, 0.12), rgba(216, 170, 86, 0.18), rgba(255, 244, 223, 0.04)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 244, 223, 0.18) 0 10px,
      rgba(255, 244, 223, 0.05) 10px 18px
    );
  box-shadow:
    0 0 16px rgba(216, 170, 86, 0.12),
    inset 0 0 8px rgba(0, 0, 0, 0.35);
}

.progress-track i {
  position: absolute;
  left: 0.55rem;
  top: 0.78rem;
  height: 4px;
  width: calc(50% - 0.55rem);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  box-shadow:
    0 0 14px rgba(67, 255, 155, 0.45),
    0 0 30px rgba(216, 170, 86, 0.22);
  overflow: hidden;
}

.progress-track i::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 223, 0.85), transparent);
  transform: translateX(-100%);
  animation: roadmapSpark 2.8s ease-in-out infinite;
}

.progress-track i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle,
    rgba(255, 255, 255, 0.95) 0 8%,
    rgba(216, 170, 86, 0.92) 9% 24%,
    rgba(216, 170, 86, 0.34) 25% 52%,
    transparent 72%);
  box-shadow:
    0 0 18px rgba(216, 170, 86, 0.75),
    0 0 34px rgba(216, 170, 86, 0.38);
  animation: betaHoldPulse 1.9s ease-in-out infinite;
}

.step {
  position: absolute;
  top: 1.6rem;
  display: grid;
  justify-items: center;
  gap: 0.12rem;
  text-align: center;
  line-height: 1.15;
  color: rgba(255, 244, 223, 0.5);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.step::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.95rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 244, 223, 0.15);
  box-shadow: inset 0 0 8px rgba(255, 244, 223, 0.08);
}

.step em {
  position: absolute;
  top: -1.42rem;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 0.72rem;
}

.step small {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.step:nth-of-type(1),
.step.is-active {
  left: 0;
  color: var(--green);
}

.step:nth-of-type(1)::before,
.step.is-active::before {
  background: var(--green);
  border: 1px solid rgba(255, 244, 223, 0.42);
  box-shadow:
    0 0 18px rgba(67, 255, 155, 0.7),
    0 0 34px rgba(67, 255, 155, 0.28),
    0 0 0 7px rgba(67, 255, 155, 0.08);
}

.step.is-active em {
  color: var(--green);
  text-shadow: 0 0 14px rgba(67, 255, 155, 0.85);
}

.step:nth-of-type(2),
.step.is-next {
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
}

.step:nth-of-type(2)::before,
.step.is-next::before {
  background: var(--gold);
  border: 1px solid rgba(255, 244, 223, 0.52);
  box-shadow:
    0 0 18px rgba(216, 170, 86, 0.7),
    0 0 34px rgba(216, 170, 86, 0.28),
    0 0 0 8px rgba(216, 170, 86, 0.1);
  animation: betaHoldPulse 2.8s ease-in-out infinite;
}

.step.is-next em {
  color: var(--gold);
  text-shadow: 0 0 14px rgba(216, 170, 86, 0.85);
}

.step:nth-of-type(3),
.step.is-locked {
  right: 0;
  color: rgba(255, 244, 223, 0.42);
}

.step:nth-of-type(3)::before,
.step.is-locked::before {
  background: rgba(255, 244, 223, 0.08);
  border: 1px solid rgba(255, 244, 223, 0.16);
  box-shadow: none;
}

.step.is-locked em {
  opacity: 0.7;
}

.step.is-locked::after {
  content: none;
}

/* PATCH NOTES */

.patch-notes {
  margin-top: 1.4rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 234, 188, 0.16);
  background:
    linear-gradient(135deg, rgba(216, 170, 86, 0.08), transparent 42%),
    rgba(8, 9, 9, 0.48);
  animation: sectionReveal 720ms ease both;
  animation-delay: 420ms;
}

.patch-notes:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 170, 86, 0.28);
  background:
    linear-gradient(135deg, rgba(216, 170, 86, 0.12), transparent 42%),
    rgba(8, 9, 9, 0.54);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(216, 170, 86, 0.1);
}

.patch-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 234, 188, 0.1);
}

.patch-heading span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.patch-heading strong {
  color: rgba(255, 244, 223, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
}

.patch-notes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.patch-notes li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.patch-notes li:hover {
  background: rgba(255, 244, 223, 0.025);
}

.patch-notes li + li {
  border-top: 1px solid rgba(255, 234, 188, 0.08);
}

.patch-notes time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(216, 170, 86, 0.95), #f4d18d);
  color: #120f09;
  font-size: 0.7rem;
  font-weight: 950;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.patch-notes li.is-next time {
  background:
    linear-gradient(135deg, rgba(255, 244, 223, 0.16), rgba(216, 170, 86, 0.28));
  color: rgba(255, 244, 223, 0.9);
  border: 1px solid rgba(216, 170, 86, 0.26);
}

.patch-notes li:hover time {
  transform: scale(1.04);
  box-shadow: 0 0 18px rgba(216, 170, 86, 0.32);
}

.patch-notes p {
  margin: 0;
  color: rgba(255, 244, 223, 0.8);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* SYSTEM LOGS */

.system-logs {
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(67, 255, 155, 0.12);
  background:
    linear-gradient(180deg, rgba(67, 255, 155, 0.045), rgba(255, 244, 223, 0.012)),
    rgba(5, 7, 7, 0.48);
  box-shadow:
    inset 0 0 28px rgba(67, 255, 155, 0.035),
    0 16px 38px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  animation: sectionReveal 720ms ease both;
  animation-delay: 520ms;
}

.system-logs:hover {
  transform: translateY(-4px);
  border-color: rgba(67, 255, 155, 0.22);
  background:
    linear-gradient(180deg, rgba(67, 255, 155, 0.06), rgba(255, 244, 223, 0.016)),
    rgba(5, 7, 7, 0.58);
  box-shadow:
    inset 0 0 32px rgba(67, 255, 155, 0.05),
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(67, 255, 155, 0.06);
}

.log-line {
  display: flex;
  gap: 0.75rem;
  color: rgba(255, 244, 223, 0.72);
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.55;
}

.log-line + .log-line {
  margin-top: 0.38rem;
}

.log-line span {
  min-width: 5.4rem;
  color: var(--green);
  font-weight: 900;
  text-shadow: 0 0 12px rgba(67, 255, 155, 0.42);
}

.log-line:nth-child(3) span {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(216, 170, 86, 0.42);
}

/* FOOTER */

.footer-build {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 244, 223, 0.5);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: sectionReveal 720ms ease both;
  animation-delay: 620ms;
}

.footer-build > span:first-child {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(216,170,86,0.18);

  background:
    linear-gradient(
      180deg,
      rgba(216,170,86,0.08),
      rgba(216,170,86,0.02)
    );

  color: rgba(255,244,223,0.72);

  box-shadow:
    inset 0 0 18px rgba(216,170,86,0.03),
    0 0 20px rgba(216,170,86,0.06);

  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-build i {
  width: 34px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(216, 170, 86, 0.1),
      rgba(216, 170, 86, 0.65),
      rgba(216, 170, 86, 0.1)
    );
  box-shadow: 0 0 12px rgba(216, 170, 86, 0.22);
}

.footer-build::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(216, 170, 86, 0.85);
  box-shadow:
    0 0 12px rgba(216, 170, 86, 0.42),
    0 0 24px rgba(216, 170, 86, 0.22);
}

/* DEVTOOLS */

.devtools-open .intro-content,
.devtools-open .footer-build {
  filter: blur(18px);
  opacity: 0.12;
}

.devtools-open::before {
  content: "Developer tools detected";
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.94);
  color: #fff4df;
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ANIMATIONS */

@keyframes loaderFogMove {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, 1%, 0) scale(1.08);
  }
}

@keyframes runeRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderFlicker {
  0%, 100% {
    opacity: 0.72;
  }

  45% {
    opacity: 0.42;
  }

  55% {
    opacity: 0.9;
  }
}

@keyframes loaderFlash {
  0% {
    opacity: 0;
  }

  35% {
    opacity: 0.55;
  }

  100% {
    opacity: 0;
  }
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slowDrift {
  from {
    transform: scale(1.01);
  }

  to {
    transform: scale(1.04);
  }
}

@keyframes shimmer {
  0%, 100% {
    opacity: 0.45;
  }

  50% {
    opacity: 0.9;
  }
}

@keyframes breathe {
  0%, 100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.95;
  }
}

@keyframes emberRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.6);
  }

  10% {
    opacity: 0.8;
  }

  55% {
    opacity: 0.62;
    transform: translate3d(calc(var(--drift) * 0.45), -58vh, 0) scale(0.95);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift), -112vh, 0) scale(1);
  }
}

@keyframes ledPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes ledGlow {
  0%, 100% {
    box-shadow:
      0 0 8px rgba(67, 255, 155, 0.95),
      0 0 20px rgba(67, 255, 155, 0.58),
      0 0 36px rgba(67, 255, 155, 0.3);
  }

  50% {
    box-shadow:
      0 0 12px rgba(67, 255, 155, 1),
      0 0 26px rgba(67, 255, 155, 0.7),
      0 0 48px rgba(67, 255, 155, 0.38);
  }
}

@keyframes ledRing {
  from {
    opacity: 0.75;
    transform: scale(0.7);
  }

  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

@keyframes logoGlow {
  0%, 100% {
    filter:
      drop-shadow(0 0 16px rgba(216, 170, 86, 0.48))
      drop-shadow(0 18px 34px rgba(0, 0, 0, 0.72));
  }

  50% {
    filter:
      drop-shadow(0 0 28px rgba(216, 170, 86, 0.72))
      drop-shadow(0 18px 34px rgba(0, 0, 0, 0.72));
  }
}

@keyframes loaderLogo {
  0%, 100% {
    transform: scale(1);
    opacity: 0.82;
  }

  50% {
    transform: scale(1.035);
    opacity: 1;
  }
}

@keyframes internalPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes internalRing {
  from {
    opacity: 0.7;
    transform: scale(0.7);
  }

  to {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes betaHoldPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.9);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes portalRuneSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes portalRunePulse {
  0%, 100% {
    opacity: 0.54;
    filter:
      drop-shadow(0 0 18px rgba(216, 170, 86, 0.2))
      blur(0.1px);
  }

  50% {
    opacity: 0.82;
    filter:
      drop-shadow(0 0 30px rgba(216, 170, 86, 0.38))
      drop-shadow(0 0 52px rgba(185, 65, 53, 0.16))
      blur(0.1px);
  }
}

@keyframes sealPulse {
  0%, 100% {
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.35),
      0 0 28px var(--ember-soft),
      inset 0 0 0 1px rgba(255, 244, 223, 0.18),
      inset 0 -12px 24px rgba(97, 31, 24, 0.18);
  }

  50% {
    box-shadow:
      0 20px 54px rgba(0, 0, 0, 0.42),
      0 0 40px rgba(216, 170, 86, 0.34),
      0 0 62px rgba(185, 65, 53, 0.18),
      inset 0 0 0 1px rgba(255, 244, 223, 0.28),
      inset 0 -12px 24px rgba(97, 31, 24, 0.2);
  }
}

@keyframes roadmapAura {
  0%, 100% {
    opacity: 0.42;
    transform: translateX(-24%);
  }

  50% {
    opacity: 0.76;
    transform: translateX(12%);
  }
}

@keyframes roadmapSpark {
  0%, 32% {
    transform: translateX(-110%);
    opacity: 0;
  }

  44% {
    opacity: 0.9;
  }

  72%, 100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* MOBILE */

@media (max-width: 680px) {
  .intro {
    padding: 7rem 1.25rem 2rem;
  }

  .site-logo {
    top: 4rem;
    width: min(14rem, 76vw);
  }

  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .status {
    transform: translateY(0);
  }

  .status:hover {
    transform: translateY(-2px);
  }

  .server-status {
    margin-left: 0;
    transform: translateY(0);
  }

  .server-status:hover {
    transform: translateY(-2px);
  }

  .actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .access-card {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .countdown,
  .countdown-label,
  .progress-card,
  .patch-notes,
  .system-logs,
  .footer-build {
    width: 100%;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progress-card {
    grid-template-columns: 1fr;
  }

  .step {
    font-size: 0.58rem;
  }

  .patch-notes li,
  .log-line {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .log-line {
    display: grid;
    gap: 0.25rem;
  }

  .log-line span {
    min-width: 0;
  }

  .footer-build {
    flex-wrap: wrap;
    text-align: center;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

/* =========================
   ANIMATED TITLE GLOW
========================= */

h1 {
  position: relative;
  width: 100%;
  margin: 0.65rem auto 0;
  overflow: visible;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1.02;
  padding-bottom: 0.18em;
  color: #fff6df;
  text-shadow:
    0 2px 0 rgba(255, 220, 160, 0.18),
    0 14px 34px rgba(0, 0, 0, 0.72),
    0 0 28px rgba(216, 170, 86, 0.14);
  animation:
    titleGlow 6s ease-in-out infinite,
    titleFlicker 9s ease-in-out infinite;
}

@media (max-width: 680px) {
  .intro {
    padding: 6.35rem 0.95rem 2rem;
  }

  .site-logo {
    top: 3.45rem;
    width: clamp(10.5rem, 58vw, 13rem);
    max-width: calc(100vw - 2rem);
  }

  .intro-content {
    width: min(100%, calc(100vw - 1.4rem));
    padding: 1rem;
    border-radius: 18px;
  }

  .hero-top {
    align-items: center;
    text-align: center;
  }

  .status,
  .server-status {
    justify-content: center;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .subtitle {
    font-size: clamp(1.05rem, 5vw, 1.45rem);
    line-height: 1.25;
  }

  .copy {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .countdown {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.5rem;
  }

  .countdown::before,
  .countdown::after {
    display: block;
  }

  .actions {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .btn {
    width: min(100%, 18rem);
  }

  .primary {
    width: min(13rem, 100%);
  }

  .actions .secondary:first-child,
  .actions .primary,
  .actions .secondary:last-child {
    justify-self: center;
  }

  .patch-notes li::after {
    left: 1rem;
    right: 1rem;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .intro {
    padding-top: 5.8rem;
  }

  .site-logo {
    top: 3.15rem;
    width: clamp(9.5rem, 62vw, 11.5rem);
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .countdown {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.45rem;
  }

  .countdown div {
    padding: 0.85rem 0.45rem;
  }

  .countdown strong {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .countdown span {
    font-size: 0.62rem;
  }

  .countdown::before,
  .countdown::after {
    font-size: 1.9rem;
  }

  .progress-track {
    height: 4.25rem;
  }

  .step {
    font-size: 0.52rem;
  }
}

h1::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(
      105deg,
      transparent 32%,
      rgba(255, 240, 210, 0.04) 42%,
      rgba(255, 255, 255, 0.24) 50%,
      rgba(255, 240, 210, 0.05) 58%,
      transparent 70%
    );
  transform: translateX(-140%) skewX(-18deg);
  animation: titleSweep 7.5s ease-in-out infinite;
  pointer-events: none;
}

/* =========================
   EXPANDABLE PATCH NOTES
========================= */

.patch-notes li {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  transition:
    background 220ms ease,
    transform 220ms ease,
    padding 220ms ease;
}

.patch-notes li:hover {
  background: rgba(255, 244, 223, 0.03);
  padding-bottom: 1.65rem;
}

.patch-notes li::after {
  content: attr(data-extra);
  position: absolute;
  left: 7.35rem;
  bottom: 0.7rem;
  opacity: 0;
  transform: translateY(6px);
  color: rgba(255, 244, 223, 0.46);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  pointer-events: none;
}

.patch-notes li:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FOUNDATION BADGE
========================= */

.patch-notes li:first-child time {
  position: relative;
}

.patch-notes li:first-child time::after {
  content: "FOUNDATION";
  position: absolute;
  top: -0.55rem;
  right: -0.45rem;
  padding: 0.16rem 0.34rem;
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      rgba(67, 255, 155, 0.95),
      rgba(67, 255, 155, 0.72)
    );
  color: #08110d;
  font-size: 0.48rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  box-shadow:
    0 0 14px rgba(67, 255, 155, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.22);
}

/* =========================
   TITLE ANIMATIONS
========================= */

@keyframes titleGlow {
  0%, 100% {
    text-shadow:
      0 2px 0 rgba(255, 220, 160, 0.18),
      0 14px 34px rgba(0, 0, 0, 0.72),
      0 0 22px rgba(216, 170, 86, 0.08);
  }

  50% {
    text-shadow:
      0 2px 0 rgba(255, 220, 160, 0.24),
      0 16px 40px rgba(0, 0, 0, 0.76),
      0 0 42px rgba(216, 170, 86, 0.18),
      0 0 80px rgba(216, 170, 86, 0.08);
  }
}

@keyframes titleSweep {
  0% {
    transform: translateX(-140%) skewX(-18deg);
  }

  35%,
  100% {
    transform: translateX(180%) skewX(-18deg);
  }
}

@keyframes titleFlicker {
  0%, 100% {
    opacity: 1;
  }

  48% {
    opacity: 1;
  }

  49% {
    opacity: 0.985;
  }

  50% {
    opacity: 1;
  }

  51% {
    opacity: 0.992;
  }

  52% {
    opacity: 1;
  }
}

/* =========================
   LOADER MOTION POLISH
========================= */

.loader-rune {
  animation:
    runeRotate 32s linear infinite,
    loaderFlicker 4s ease-in-out infinite;
}

.loader-rune::before {
  animation: runeRotateReverse 42s linear infinite;
}

.loader-rune::after {
  animation: runePulse 5s ease-in-out infinite;
}

.loading-screen::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle at center,
      rgba(216,170,86,0.08),
      transparent 40%
    );
  animation: loaderBreath 6s ease-in-out infinite;
  pointer-events: none;
}

.loading-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.04),
      transparent 55%
    );
  mix-blend-mode: screen;
  opacity: 0;
  animation: ambientFlash 12s infinite;
  pointer-events: none;
}

.loader-progress {
  overflow: hidden;
}

.loader-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.22),
      transparent
    );
  transform: translateX(-120%);
  animation: progressSweep 2.4s linear infinite;
}

.loader-progress i {
  position: relative;
}

.loader-progress i::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  transform: translateY(-50%);
  background:
    radial-gradient(
      circle,
      rgba(255,255,255,0.95) 0%,
      rgba(216,170,86,0.9) 35%,
      rgba(216,170,86,0) 72%
    );
  filter: blur(2px);
  box-shadow:
    0 0 14px rgba(216,170,86,0.55),
    0 0 32px rgba(216,170,86,0.24);
}

.loading-screen img {
  animation:
    loaderLogo 2.4s ease-in-out infinite,
    logoFloat 6s ease-in-out infinite;
}

.loader-copy span {
  animation: loaderTextPulse 3s ease-in-out infinite;
}

.loader-copy strong {
  animation: percentGlow 2s ease-in-out infinite;
}

.particles-loader {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.loader-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,210,120,0.9);
  box-shadow: 0 0 12px rgba(255,190,92,0.7);
  opacity: 0;
  animation: loaderParticleRise linear infinite;
}

/* =========================
   LOADER ANIMATIONS
========================= */

@keyframes runeRotateReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes runePulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.03);
  }
}

@keyframes loaderBreath {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes ambientFlash {
  0%, 94%, 100% {
    opacity: 0;
  }

  95% {
    opacity: 0.08;
  }

  96% {
    opacity: 0;
  }

  97% {
    opacity: 0.04;
  }
}

@keyframes progressSweep {
  from {
    transform: translateX(-140%);
  }

  to {
    transform: translateX(140%);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes loaderTextPulse {
  0%, 100% {
    opacity: 0.62;
  }

  50% {
    opacity: 1;
  }
}

@keyframes percentGlow {
  0%, 100% {
    text-shadow:
      0 0 12px rgba(216,170,86,0.35);
  }

  50% {
    text-shadow:
      0 0 22px rgba(216,170,86,0.72);
  }
}

@keyframes loaderParticleRise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.4);
  }

  10% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-120vh) scale(1);
  }
}

/* =========================
   NEW LOADER ADDITIONS
========================= */

.particles-loader {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particles-loader::before,
.particles-loader::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  left: -20%;
  top: -20%;
  background-image:
    radial-gradient(rgba(216,170,86,0.22) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.08;
  animation: loaderParticlesMove 26s linear infinite;
}

.particles-loader::after {
  animation-direction: reverse;
  animation-duration: 40s;
  opacity: 0.04;
}

.loader-build {
  display: block;
  margin-top: 0.75rem;
  color: rgba(255,244,223,0.26);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.build-badge {
  position: relative;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(216,170,86,0.18);
  background:
    linear-gradient(
      180deg,
      rgba(216,170,86,0.08),
      rgba(216,170,86,0.02)
    );
  color: rgba(255,244,223,0.72);
  box-shadow:
    inset 0 0 18px rgba(216,170,86,0.03),
    0 0 20px rgba(216,170,86,0.06);
}

.loading-screen img {
  animation:
    loaderLogo 2.8s ease-in-out infinite,
    loaderFloat 6s ease-in-out infinite;
}

.loader-progress i::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  transform: translateY(-50%);
  background:
    radial-gradient(
      circle,
      rgba(255,255,255,0.95) 0%,
      rgba(216,170,86,0.95) 40%,
      rgba(216,170,86,0) 75%
    );
  box-shadow:
    0 0 18px rgba(216,170,86,0.55),
    0 0 32px rgba(216,170,86,0.28);
  filter: blur(1px);
}

/* =========================
   NEW ANIMATIONS
========================= */

@keyframes loaderParticlesMove {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-120px);
  }
}

@keyframes loaderFloat {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}
