﻿:root {
  --bg: #050b14;
  --bg-2: #0a1526;
  --ink: #f4f8ff;
  --muted: rgba(235, 243, 255, 0.75);
  --gold-1: #f5d27a;
  --gold-2: #b9852f;
  --gold-3: #7f4f17;
  --line: rgba(245, 210, 122, 0.3);
  --ice: #67d7ff;
  --ember-1: #e36a2d;
  --ember-2: #9e3f1b;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 20% 15%, #10203a 0%, var(--bg) 50%),
              linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--ink);
  font-family: "IM Fell English", serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brand-title,
.section-title,
.panel-title,
.feature-title,
.world-title {
  font-family: "Cinzel", serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(84, 157, 255, 0.24));
}

.navbar-brand .brand-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #eaf3ff;
}

.nav-ornate {
  background: rgba(5, 11, 20, 0.84);
  border-bottom: 1px solid rgba(245, 210, 122, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(7px);
}

.language-floating {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 210, 122, 0.42);
  background: linear-gradient(180deg, rgba(9, 26, 52, 0.92), rgba(6, 16, 33, 0.95));
  color: #f0f7ff;
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.46rem 0.86rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
}

.language-toggle:hover,
.language-toggle:focus,
.language-toggle:focus-visible,
.language-toggle:active {
  color: #ffffff;
  border-color: rgba(245, 210, 122, 0.62);
  background: linear-gradient(180deg, rgba(11, 30, 58, 0.95), rgba(7, 18, 36, 0.97));
  box-shadow: 0 0 0 0.16rem rgba(245, 210, 122, 0.18), 0 12px 28px rgba(0, 0, 0, 0.36);
}

.language-toggle .fi {
  width: 1.25rem;
  height: 0.92rem;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(245, 210, 122, 0.44);
}

.language-code {
  line-height: 1;
}

.language-menu {
  margin-top: 0.45rem !important;
  min-width: 11.2rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(245, 210, 122, 0.35);
  background: linear-gradient(180deg, rgba(10, 25, 48, 0.97), rgba(7, 15, 30, 0.98));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
  padding: 0.35rem;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.65rem;
  color: #e4f0ff;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 0.42rem 0.55rem;
}

.language-item .fi {
  width: 1.18rem;
  height: 0.86rem;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(245, 210, 122, 0.34);
}

.language-item:hover,
.language-item:focus {
  color: #ffffff;
  background: rgba(245, 210, 122, 0.14);
}

.language-item.active,
.language-item.active:hover,
.language-item.active:focus {
  color: #1b1205;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
}

.navbar-dark .navbar-nav .nav-link {
  border: 1px solid rgba(104, 144, 197, 0.45);
  border-radius: 999px;
  color: #d7e8ff;
  padding: 0.42rem 0.92rem;
  text-transform: uppercase;
  font-family: "Cinzel", serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  background: rgba(10, 24, 47, 0.6);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  border-color: var(--line);
  color: #ffffff;
}

.btn-gold,
.btn-ember,
.btn-outline-ornate {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 150ms ease, filter 150ms ease;
}

.btn-gold {
  color: #1b1205;
  border: 1px solid rgba(0, 0, 0, 0.34);
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.btn-ember {
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.38);
  background: linear-gradient(180deg, var(--ember-1), var(--ember-2));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.33);
}

.btn-outline-ornate {
  color: #dfecff;
  border: 1px solid var(--line);
  background: rgba(6, 20, 44, 0.58);
}

.btn-gold:hover,
.btn-ember:hover,
.btn-outline-ornate:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  color: inherit;
}

.btn-outline-ornate:hover,
.btn-outline-ornate:focus-visible,
.btn-outline-ornate:active {
  background: rgba(8, 24, 53, 0.72);
  border-color: var(--line);
  color: #dfecff;
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
  45% {
    transform: translateY(-1px) scale(1.018);
    filter: brightness(1.17);
  }
  70% {
    transform: translateY(0) scale(1.01);
    filter: brightness(1.08);
  }
}

@keyframes ctaGlow {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

@keyframes ctaRing {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  28% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes registerHalo {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.14) inset,
      0 10px 24px rgba(0, 0, 0, 0.34),
      0 0 12px rgba(245, 210, 122, 0.28),
      0 0 8px rgba(103, 215, 255, 0.16);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.22) inset,
      0 12px 28px rgba(0, 0, 0, 0.36),
      0 0 24px rgba(245, 210, 122, 0.58),
      0 0 16px rgba(103, 215, 255, 0.24);
  }
}

.btn-calendar-cta,
.btn-discord-cta {
  position: relative;
  isolation: isolate;
  overflow: visible;
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.btn-calendar-cta {
  --cta-ring-color: rgba(103, 215, 255, 0.55);
  --cta-glow-core: rgba(103, 215, 255, 0.6);
  --cta-glow-soft: rgba(103, 215, 255, 0.28);
}

.btn-discord-cta {
  --cta-ring-color: rgba(245, 210, 122, 0.58);
  --cta-glow-core: rgba(245, 210, 122, 0.64);
  --cta-glow-soft: rgba(245, 210, 122, 0.28);
  animation-delay: 0.4s;
}

.btn-calendar-cta::before,
.btn-discord-cta::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 68% at 50% 50%, var(--cta-glow-core), var(--cta-glow-soft) 55%, transparent 75%);
  filter: blur(8px);
  opacity: 0.2;
  transform: scale(0.98);
  animation: ctaGlow 2.8s ease-in-out infinite;
}

.btn-calendar-cta::after,
.btn-discord-cta::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid var(--cta-ring-color);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.94);
  animation: ctaRing 2.8s ease-out infinite;
}

.btn-calendar-cta:hover,
.btn-discord-cta:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 26px var(--cta-glow-soft);
}

.btn-discord-cta::before,
.btn-discord-cta::after {
  animation-delay: 0.4s;
}

.registration-panel .launch-time {
  color: rgba(226, 241, 255, 0.9);
}

.registration-actions {
  position: relative;
  z-index: 1;
}

.btn-register-cta {
  position: relative;
  isolation: isolate;
  overflow: visible;
  color: #1b1205;
  border: 1px solid rgba(0, 0, 0, 0.34);
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 12px 28px rgba(0, 0, 0, 0.34);
  animation: registerHalo 2.2s ease-in-out infinite;
}

.btn-register-cta::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 68% at 50% 50%, rgba(245, 210, 122, 0.62), rgba(103, 215, 255, 0.24) 58%, transparent 78%);
  filter: blur(8px);
  opacity: 0.22;
  transform: scale(0.98);
  animation: ctaGlow 2.2s ease-in-out infinite;
}

.btn-register-cta::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 999px;
  border: 1px solid rgba(245, 210, 122, 0.52);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.94);
  animation: ctaRing 2.2s ease-out infinite;
}

.btn-register-cta:hover,
.btn-register-cta:focus-visible {
  color: #1b1205;
  filter: brightness(1.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24) inset, 0 0 28px rgba(245, 210, 122, 0.44), 0 12px 28px rgba(0, 0, 0, 0.34);
}

.btn-register-cta:hover::after,
.btn-register-cta:focus-visible::after {
  animation-duration: 1.8s;
}

.register-modal .modal-content {
  border: 1px solid rgba(245, 210, 122, 0.28);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(8, 21, 42, 0.98), rgba(5, 12, 24, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
}

.register-modal-dialog {
  max-width: 700px;
}

.register-modal .modal-header {
  border-bottom: 1px solid rgba(245, 210, 122, 0.2);
  padding: 0.8rem 1rem;
}

.register-modal .modal-title {
  color: var(--gold-1);
  font-family: "Cinzel", serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.register-modal .modal-footer {
  border-top: 1px solid rgba(245, 210, 122, 0.2);
  padding: 0.65rem 1rem;
  justify-content: flex-end;
}

.register-modal .modal-body {
  background: rgba(3, 10, 20, 0.94);
  padding: 0.9rem 1rem;
}

.register-alert {
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.96rem;
}

.register-form .register-label {
  color: #dbe9fb;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.28rem;
}

.register-form .register-input {
  border: 1px solid rgba(245, 210, 122, 0.35);
  border-radius: 0.68rem;
  background: rgba(4, 13, 28, 0.84);
  color: #eef7ff;
  min-height: 39px;
}

.register-form .register-input::placeholder {
  color: rgba(217, 233, 255, 0.62);
}

.register-form .register-input:focus {
  background: rgba(6, 15, 31, 0.94);
  color: #ffffff;
  border-color: rgba(245, 210, 122, 0.62);
  box-shadow: 0 0 0 0.2rem rgba(245, 210, 122, 0.16);
}

.register-check {
  margin-top: 0.22rem;
}

.register-check-label {
  color: rgba(223, 237, 255, 0.9);
  font-size: 0.84rem;
}

.register-check-label a {
  color: #cfe4ff;
}

.register-check-label a:hover,
.register-check-label a:focus-visible {
  color: #ffffff;
}

.register-form .cf-turnstile {
  display: flex;
  justify-content: center;
  transform: scale(0.95);
  transform-origin: center top;
}

.register-success-download {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  animation-delay: 0.35s;
}

.register-success-download::before,
.register-success-download::after {
  animation-delay: 0.35s;
}

.register-success-download:hover,
.register-success-download:focus-visible {
  color: #1b1205;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  background: linear-gradient(95deg, rgba(5, 11, 20, 0.95) 4%, rgba(5, 11, 20, 0.74) 48%, rgba(5, 11, 20, 0.5) 100%),
              url("../img/background-video.webp") center center / cover no-repeat;
  transform: scale(1.02);
  filter: saturate(1.03) contrast(1.05);
}

.hero-overlay {
  background: radial-gradient(circle at 28% 38%, rgba(103, 215, 255, 0.24), transparent 52%),
              radial-gradient(circle at 78% 22%, rgba(124, 154, 245, 0.16), transparent 45%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.52));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6.2rem;
  padding-bottom: 2.4rem;
}

.display-title {
  margin: 0;
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: clamp(2.2rem, 5.2vw, 5.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 5px 14px rgba(0, 0, 0, 0.72), 0 0 24px rgba(103, 215, 255, 0.16);
}

.display-title span {
  display: block;
  background: linear-gradient(180deg, #e8f2ff 0%, #9bd8ff 55%, #8eacff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-kicker {
  margin: 0 0 0.85rem;
  color: var(--gold-1);
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.7rem);
  line-height: 1.22;
}

.kpi {
  border: 1px solid rgba(245, 210, 122, 0.23);
  border-radius: 1rem;
  background: rgba(2, 10, 20, 0.4);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}

.text-muted-soft {
  color: var(--muted) !important;
}

.ornate-card {
  position: relative;
  border: 1px solid rgba(245, 210, 122, 0.26);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 14px 34px var(--shadow);
}

.ornate-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(245, 210, 122, 0.12), transparent 44%),
              radial-gradient(700px 360px at 18% 20%, rgba(103, 215, 255, 0.1), transparent 65%),
              radial-gradient(760px 380px at 86% 24%, rgba(227, 106, 45, 0.08), transparent 65%);
}

.panel-parchment {
  background: radial-gradient(1200px 800px at 22% 10%, rgba(255, 255, 255, 0.1), transparent 55%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2)),
              radial-gradient(1200px 900px at 50% 40%, rgba(10, 18, 30, 0.66), rgba(6, 10, 18, 0.92));
}

.panel-steel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.18)),
              radial-gradient(900px 700px at 30% 20%, rgba(6, 18, 38, 0.7), rgba(5, 11, 20, 0.92));
}

.panel-title {
  position: relative;
  z-index: 1;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-1);
}

.launch-time,
.promo-copy,
.notify-copy {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 1.12rem;
}

.countdown-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.time-box {
  border: 1px solid rgba(245, 210, 122, 0.28);
  border-radius: 0.8rem;
  background: rgba(7, 19, 38, 0.8);
  text-align: center;
  padding: 0.45rem 0.2rem;
}

.time-value {
  display: block;
  font-family: "Cinzel", serif;
  font-size: clamp(1.6rem, 2.1vw, 2.25rem);
  line-height: 1;
}

.time-label {
  display: block;
  margin-top: 0.18rem;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9fc6ef;
}

.launch-status {
  position: relative;
  z-index: 1;
  color: var(--ice);
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
}

.calendar-cta {
  position: relative;
  z-index: 1;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.btn-calendar .bi {
  font-size: 0.96rem;
}

.calendar-note {
  color: rgba(223, 237, 255, 0.82);
  font-size: 0.88rem;
}

.promo-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

.promo-items-wrap {
  position: relative;
  z-index: 1;
}

.promo-items-title {
  color: rgba(228, 240, 255, 0.9);
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-items-table {
  border-collapse: separate;
  border-spacing: 0.28rem;
}

.promo-items-cell {
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
}

.promo-item-slot {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 210, 122, 0.4);
  border-radius: 0.52rem;
  background: linear-gradient(180deg, rgba(8, 20, 40, 0.94), rgba(3, 10, 20, 0.94));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.34) inset;
  overflow: hidden;
}

.promo-item-slot img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.promo-item-count {
  position: absolute;
  right: 0.16rem;
  bottom: 0.12rem;
  min-width: 1.2rem;
  padding: 0 0.23rem;
  border-radius: 0.34rem;
  border: 1px solid rgba(245, 210, 122, 0.42);
  background: rgba(3, 10, 20, 0.9);
  color: #f8fbff;
  font-family: "Cinzel", serif;
  font-size: 0.64rem;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.84);
}

.promo-item-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(227, 239, 255, 0.9);
  font-family: "Cinzel", serif;
  font-size: 0.65rem;
  padding: 0.18rem;
  text-align: center;
}

.promo-item-hover {
  position: relative;
  width: 100%;
  height: 100%;
}

.promo-items-wrap .tooltiptext {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  min-width: 220px;
  max-width: 280px;
  background-color: rgba(25, 25, 25, 0.94);
  color: #ffffff;
  text-align: left;
  border: 1px solid rgba(245, 210, 122, 0.35);
  border-radius: 0.5rem;
  padding: 0.4rem 0.5rem;
  font-size: 12px;
  line-height: 1.28;
  position: absolute;
  z-index: 25;
  left: 50%;
  bottom: calc(100% + 0.42rem);
  transform: translateX(-50%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
  transition: opacity 120ms ease;
}

.promo-item-hover:hover .tooltiptext,
.promo-item-hover:focus-within .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.speed-tooltip-name {
  color: #f4e0a6;
  font-family: "Cinzel", serif;
  font-size: 0.74rem;
  line-height: 1.2;
}

.speed-tooltip-line {
  margin-top: 0.16rem;
  color: #c5e6b5;
}

.speed-tooltip-line-muted {
  color: #c9ced9;
}

.speed-tooltip-divider {
  height: 1px;
  margin: 0.33rem 0 0.3rem;
  background: rgba(245, 210, 122, 0.3);
}

.speed-tooltip-desc {
  color: #eaf3ff;
}

.notify-form {
  position: relative;
  z-index: 1;
}

.notify-label {
  color: #dbe9fb;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notify-input {
  border: 1px solid rgba(245, 210, 122, 0.35);
  border-radius: 0.8rem;
  background: rgba(4, 13, 28, 0.84);
  color: #eef7ff;
  min-height: 44px;
}

.notify-input::placeholder {
  color: rgba(217, 233, 255, 0.62);
}

.notify-input:focus {
  background: rgba(6, 15, 31, 0.94);
  color: #ffffff;
  border-color: rgba(245, 210, 122, 0.62);
  box-shadow: 0 0 0 0.2rem rgba(245, 210, 122, 0.18);
}

.notify-alert {
  position: relative;
  z-index: 1;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.94rem;
}

.notify-note {
  position: relative;
  z-index: 1;
  color: rgba(223, 237, 255, 0.82);
  font-size: 0.92rem;
}

.promo-code {
  min-height: 44px;
  border: 1px solid rgba(245, 210, 122, 0.35);
  border-radius: 0.8rem;
  background: rgba(4, 13, 28, 0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  color: #eef7ff;
  user-select: all;
}

.section-space {
  padding: 4.6rem 0;
}

.notify-section {
  position: relative;
  margin: 0.6rem 0 0.8rem;
  padding-top: 3.9rem;
  padding-bottom: 4.2rem;
  overflow: hidden;
}

.notify-section > .container {
  position: relative;
  z-index: 1;
}

.notify-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 320px at 18% 35%, rgba(103, 215, 255, 0.18), transparent 65%),
              radial-gradient(780px 360px at 85% 65%, rgba(227, 106, 45, 0.12), transparent 66%),
              linear-gradient(180deg, rgba(8, 20, 39, 0.94), rgba(4, 10, 22, 0.94));
  border-top: 1px solid rgba(245, 210, 122, 0.22);
  border-bottom: 1px solid rgba(245, 210, 122, 0.2);
  z-index: 0;
}

.notify-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(245, 210, 122, 0.07) 0,
    rgba(245, 210, 122, 0.07) 1px,
    transparent 1px,
    transparent 14px
  );
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.trailer-card {
  overflow: visible;
}

.trailer-copy {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 1.04rem;
  text-align: center;
}

.trailer-frame {
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  padding: 0.45rem;
  border: 1px solid rgba(245, 210, 122, 0.4);
  background: linear-gradient(180deg, rgba(10, 25, 48, 0.82), rgba(4, 12, 24, 0.9));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.trailer-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.trailer-frame .ratio {
  border-radius: 0.78rem;
  overflow: hidden;
  border: 1px solid rgba(245, 210, 122, 0.28);
  background: #030b18;
}

.trailer-embed {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
}

.section-subtitle,
.feature-text,
.world-text,
.accordion-body {
  color: var(--muted);
  font-size: 1.14rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

.world-card {
  position: relative;
  min-height: 300px;
  border-radius: 1rem;
  border: 1px solid rgba(245, 210, 122, 0.3);
  overflow: hidden;
  background: #0a172c;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.world-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
}

.world-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.16), rgba(6, 12, 24, 0.8));
}

.world-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1rem;
}

.world-title {
  font-size: 1.28rem;
  margin-bottom: 0.25rem;
}

.faq-acc .accordion-item {
  border-color: rgba(245, 210, 122, 0.2);
}

.faq-acc .accordion-button {
  background: rgba(10, 21, 41, 0.56);
  color: #f2f8ff;
  font-family: "Cinzel", serif;
  letter-spacing: 0.03em;
}

.faq-acc .accordion-button:not(.collapsed) {
  background: rgba(11, 24, 46, 0.7);
  color: #fff;
  box-shadow: none;
}

.faq-acc .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(103, 215, 255, 0.18);
}

.rune-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 210, 122, 0.56), transparent);
  position: relative;
  margin: 1.3rem 0;
}

.rune-divider::after {
  content: "*";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(245, 210, 122, 0.86);
  background: rgba(5, 11, 20, 0.78);
  border: 1px solid rgba(245, 210, 122, 0.24);
  border-radius: 999px;
  padding: 0 0.54rem;
}

.site-footer-line {
  border-top: 1px solid rgba(245, 210, 122, 0.22);
  background: linear-gradient(180deg, rgba(4, 12, 24, 0.92), rgba(3, 9, 18, 0.96));
  padding: 0.6rem 0;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
}

.footer-backlinks {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.footer-backlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.36rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(245, 210, 122, 0.22);
  background: rgba(4, 13, 28, 0.48);
  opacity: 0.8;
  transition: border-color 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.footer-backlink:hover,
.footer-backlink:focus-visible {
  border-color: rgba(245, 210, 122, 0.44);
  opacity: 1;
  transform: translateY(-1px);
}

.footer-backlink-image {
  display: block;
  width: auto;
  max-width: 92px;
  height: 24px;
  object-fit: contain;
}

.footer-backlink-text {
  display: inline-block;
  color: #f3e2b3;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-footer-copy {
  grid-column: 2;
  text-align: center;
  line-height: 1.2;
  margin: 0;
}

@media (max-width: 1199.98px) {
  .display-title {
    font-size: clamp(2rem, 5vw, 4.1rem);
  }
}

@media (max-width: 991.98px) {
  .hero-bg {
    background: linear-gradient(180deg, rgba(5, 11, 20, 0.92) 0%, rgba(5, 11, 20, 0.72) 52%, rgba(5, 11, 20, 0.55) 100%),
                url("../img/background-video.webp") center 35% / cover no-repeat;
  }

  .hero-content {
    padding-top: 5.3rem;
  }

  .hero-lead {
    font-size: 1.35rem;
  }

  .panel-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .language-floating {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .language-toggle {
    padding: 0.38rem 0.72rem;
  }

  .language-menu {
    min-width: 10.2rem;
  }

  .navbar-dark .navbar-nav .nav-link {
    margin-bottom: 0.35rem;
  }

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

  .promo-row {
    grid-template-columns: 1fr;
  }

  .promo-items-cell {
    width: 2.45rem;
    height: 2.45rem;
  }

  .register-modal .modal-footer {
    justify-content: center;
    gap: 0.55rem;
  }

  .register-modal .modal-footer .btn {
    width: 100%;
  }

  .world-card {
    min-height: 240px;
  }

  .section-space {
    padding: 3.7rem 0;
  }

  .notify-section {
    margin: 0.35rem 0 0.55rem;
    padding-top: 3.1rem;
    padding-bottom: 3.3rem;
  }

  .trailer-frame {
    border-radius: 0.84rem;
    padding: 0.34rem;
  }

  .trailer-frame .ratio {
    border-radius: 0.62rem;
  }

  .site-footer-line {
    padding: 0.5rem 0 0.65rem;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-backlinks {
    justify-self: center;
    gap: 0.35rem;
  }

  .footer-backlink-image {
    max-width: 72px;
    height: 20px;
  }

  .footer-backlink-text {
    font-size: 0.68rem;
  }

  .site-footer-copy {
    grid-column: auto;
    font-size: 0.76rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-gold,
  .btn-ember,
  .btn-outline-ornate,
  .navbar-dark .navbar-nav .nav-link,
  .footer-backlink {
    transition: none;
  }

  .btn-calendar-cta,
  .btn-discord-cta,
  .register-success-download,
  .ios-beta-banner {
    animation: none !important;
  }

  .btn-calendar-cta::after,
  .btn-discord-cta::after,
  .register-success-download::after {
    animation: none !important;
    display: none !important;
  }

  .btn-calendar-cta::before,
  .btn-discord-cta::before,
  .register-success-download::before {
    animation: none !important;
    opacity: 0.28;
  }

  .footer-backlink:hover,
  .footer-backlink:focus-visible {
    transform: none;
  }
}

/* iOS Beta highlight banner */
.ios-beta-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(245, 210, 122, 0.55);
  background:
    linear-gradient(180deg, rgba(20, 33, 54, 0.92), rgba(8, 16, 30, 0.92)),
    radial-gradient(120% 140% at 0% 0%, rgba(245, 210, 122, 0.18), transparent 60%);
  box-shadow: 0 14px 34px var(--shadow), 0 0 0 1px rgba(245, 210, 122, 0.15) inset;
  overflow: hidden;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  animation: iosBetaGlow 2.6s ease-in-out infinite;
}

.ios-beta-banner:hover,
.ios-beta-banner:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  color: var(--ink);
}

@keyframes iosBetaGlow {
  0%, 100% {
    box-shadow: 0 14px 34px var(--shadow), 0 0 0 1px rgba(245, 210, 122, 0.15) inset, 0 0 0 0 rgba(245, 210, 122, 0);
  }
  50% {
    box-shadow: 0 14px 34px var(--shadow), 0 0 0 1px rgba(245, 210, 122, 0.38) inset, 0 0 22px 2px rgba(245, 210, 122, 0.2);
  }
}

.ios-beta-icon {
  flex: 0 0 auto;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-1);
}

.ios-beta-text {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
}

.ios-beta-title {
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  color: var(--gold-1);
}

.ios-beta-badge {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-family: "Cinzel", serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #1b1205;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
}

.ios-beta-sub {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.25;
}

.ios-beta-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .ios-beta-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .ios-beta-cta {
    width: 100%;
    text-align: center;
  }
}
