/* ═══════════════════════════════════════════════════════════════
   LeviatanWow — Premium Wrath 3.3.5a Landing
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg-deep: #080b14;
  --bg-panel: #111827;
  --bg-elevated: #161f33;
  --bg-glass: rgba(17, 24, 39, 0.72);

  --ice: #4cc9f0;
  --ice-glow: #7dd3fc;
  --ice-dim: #1e4a5f;

  --gold: #c8a96b;
  --gold-light: #e4c88a;
  --gold-dim: #7a6340;

  --purple-shadow: rgba(88, 28, 135, 0.12);
  --border-ice: rgba(76, 201, 240, 0.18);
  --border-gold: rgba(200, 169, 107, 0.22);

  --text: #e8edf5;
  --text-muted: #8b95a8;
  --text-dim: #5c6578;

  --discord: #5865f2;
  --success: #34d399;

  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --nav-height: 80px;
  --container: 1400px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border-ice);
  --shadow-glow-ice: 0 0 40px rgba(76, 201, 240, 0.15);
  --shadow-glow-gold: 0 0 35px rgba(200, 169, 107, 0.12);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }

a {
  color: var(--ice-glow);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

a:hover { color: #fff; }

img { max-width: 100%; display: block; }

.container {
  width: min(var(--container), 94vw);
  margin-inline: auto;
}

/* ─── Ambient page glow ─── */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.35;
}

.ambient-glow--tl {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.2), transparent 70%);
}

.ambient-glow--br {
  width: 500px;
  height: 500px;
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, var(--purple-shadow), transparent 70%);
}

main { position: relative; z-index: 1; }

/* ─── Glass card base ─── */
.glass-card {
  background: linear-gradient(
    145deg,
    rgba(22, 31, 51, 0.9) 0%,
    rgba(17, 24, 39, 0.75) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(76, 201, 240, 0.06) 0%,
    transparent 40%,
    rgba(200, 169, 107, 0.04) 100%
  );
  pointer-events: none;
}

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ─── Preloader ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(200, 169, 107, 0.4);
}

.preloader__bar {
  width: 240px;
  height: 2px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
}

.preloader__bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ice-dim), var(--ice), var(--gold));
  animation: loadBar 1.4s var(--ease-out) forwards;
}

@keyframes loadBar { to { width: 100%; } }

/* ─── Header / Navbar ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.site-header.is-scrolled {
  background: rgba(8, 11, 20, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-ice);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.header-inner .main-nav {
  margin-left: auto;
}

.main-nav > a:not(.btn) {
  padding: 0.55rem 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover { color: var(--gold-light); }

.brand__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--ice), var(--gold));
  box-shadow: 0 0 20px rgba(76, 201, 240, 0.25);
}

.brand__icon-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.brand__icon--image {
  width: 48px;
  height: 48px;
  border-radius: 0;
  padding: 0;
  background: transparent !important;
  box-shadow: none;
}

.brand__icon--image::before,
.brand__icon--image::after {
  display: none !important;
}

.brand__icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.brand__copy { line-height: 1.2; }

.brand__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  display: block;
}

.brand__sub {
  font-size: 0.68rem;
  color: var(--ice);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--ice), var(--gold));
  transition: transform 0.3s, opacity 0.3s;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.main-nav > a:not(.btn) {
  position: relative;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  transition: color 0.25s, background 0.25s;
}

.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ice), var(--gold));
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
  border-radius: 2px;
}

.main-nav > a:not(.btn):hover,
.main-nav > a:not(.btn).is-active {
  color: #fff;
  background: rgba(76, 201, 240, 0.06);
}

.main-nav > a:not(.btn):hover::after,
.main-nav > a:not(.btn).is-active::after {
  width: 60%;
}

.nav-actions {
  display: flex;
  gap: 0.6rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border-ice);
}

/* ─── Buttons ─── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s, border-color 0.3s;
  white-space: nowrap;
}

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

.btn--play {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  color: #1a1008;
  box-shadow: 0 4px 24px rgba(200, 169, 107, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--play:hover {
  color: #1a1008;
  box-shadow: 0 8px 36px rgba(200, 169, 107, 0.55);
}

.btn__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: btnShine 4s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 80% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.btn--ice {
  background: rgba(76, 201, 240, 0.12);
  color: var(--ice-glow);
  border: 1px solid rgba(76, 201, 240, 0.35);
  box-shadow: var(--shadow-glow-ice);
}

.btn--ice:hover {
  background: rgba(76, 201, 240, 0.2);
  color: #fff;
  border-color: var(--ice);
}

.btn--cta {
  background: linear-gradient(135deg, var(--gold) 0%, #a88642 100%);
  color: #120e08;
  box-shadow: 0 4px 20px rgba(200, 169, 107, 0.35);
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(200, 169, 107, 0.35); }
  50% { box-shadow: 0 4px 32px rgba(200, 169, 107, 0.55), 0 0 20px rgba(200, 169, 107, 0.2); }
}

.btn--cta:hover { color: #120e08; }

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(139, 149, 168, 0.3);
}

.btn--ghost:hover {
  color: #fff;
  border-color: var(--ice);
  background: rgba(76, 201, 240, 0.06);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.btn--outline:hover {
  background: rgba(200, 169, 107, 0.1);
  color: var(--gold-light);
  border-color: var(--gold);
}

.btn--discord {
  background: var(--discord);
  color: #fff;
  box-shadow: 0 4px 24px rgba(88, 101, 242, 0.35);
}

.btn--discord:hover { color: #fff; }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dim));
  color: #1a1208;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
}

.btn--block { width: 100%; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-layer--ice {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(30, 74, 95, 0.5), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(88, 28, 135, 0.15), transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(8, 20, 40, 0.9), var(--bg-deep) 70%),
    linear-gradient(180deg, #0c1220 0%, var(--bg-deep) 100%);
}

.hero__bg-layer--frost {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.8;
}

.hero__bg-layer--vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(8, 11, 20, 0.85) 100%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

.hero__fog {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  z-index: 2;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ice);
  border: 1px solid var(--border-ice);
  background: rgba(76, 201, 240, 0.06);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-glow-ice);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulseDot 2s ease-in-out infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ice-glow), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 560px;
  line-height: 1.75;
}

.hero__lead strong {
  color: var(--ice-glow);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__actions--center { justify-content: center; }

/* Realm status panel */
.realm-panel {
  padding: 1.75rem;
  animation: panelFloat 6s ease-in-out infinite;
}

@keyframes panelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.realm-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-ice);
}

.realm-panel__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--success);
}

.realm-panel__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulseDot 2s ease-in-out infinite;
}

.realm-panel__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.realm-panel__stats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.realm-panel__stats li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.realm-panel__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.realm-panel__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  text-align: right;
}

.realm-panel__value--ice {
  font-size: 1.5rem;
  color: var(--ice-glow);
  text-shadow: 0 0 20px rgba(125, 211, 252, 0.4);
}

.realm-panel__value--gold { color: var(--gold-light); }

.realm-panel__value--rates {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.realm-rate-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(76, 201, 240, 0.22);
  background: rgba(76, 201, 240, 0.08);
  font-family: var(--font-body, "Source Sans 3", sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ice-glow, #bae6fd);
  white-space: nowrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-dim);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.hero__scroll svg { opacity: 0.6; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Sections ─── */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section--strip {
  padding-top: 2rem;
  margin-top: -2rem;
}

.section--alt {
  background:
    linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.5) 20%, rgba(17, 24, 39, 0.5) 80%, transparent),
    var(--bg-deep);
  border-block: 1px solid rgba(76, 201, 240, 0.06);
}

.section--stats {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(76, 201, 240, 0.05), transparent);
}

.section__header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section__header--left {
  text-align: left;
  max-width: 640px;
}

.section__header--left p { margin-inline: 0; }

.section__header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  text-align: left;
}

.section__header--split p { margin-inline: 0; }

.section__eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 0.65rem;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 0.65rem;
  text-shadow: 0 0 40px rgba(76, 201, 240, 0.1);
}

.section__header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.section__footer { text-align: center; margin-top: 2.5rem; }

/* ─── Realms grid ─── */
.realms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.realm-card {
  padding: 2rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.realm-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 201, 240, 0.35);
  box-shadow: var(--shadow-card), var(--shadow-glow-ice);
}

.realm-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.realm-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-light);
}

.realm-card__badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.realm-card__type {
  font-size: 0.85rem;
  color: var(--ice);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.realm-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.realm-card__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.realm-card__meta strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-top: 0.2rem;
  text-transform: none;
  letter-spacing: 0;
}

/* ─── Carousel / Features ─── */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel__track {
  display: flex;
  transition: transform 0.55s var(--ease-out);
}

.carousel__slide {
  min-width: 100%;
  padding: 0 2px;
}

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  min-height: 280px;
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(76, 201, 240, 0.3);
}

.feature-card__icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.15), rgba(17, 24, 39, 0.8));
  border: 1px solid var(--border-ice);
  box-shadow: inset 0 0 30px rgba(76, 201, 240, 0.1), var(--shadow-glow-ice);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--gold-light);
  margin-bottom: 0.85rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
  max-width: 620px;
  line-height: 1.7;
}

.carousel__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-ice);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  color: var(--ice);
  cursor: pointer;
  font-size: 1.4rem;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.carousel__btn:hover {
  background: rgba(76, 201, 240, 0.15);
  border-color: var(--ice);
  transform: scale(1.05);
}

.carousel__dots { display: flex; gap: 0.5rem; }

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--bg-elevated);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.carousel__dot.is-active {
  background: var(--ice);
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(76, 201, 240, 0.6);
}

/* ─── News cards ─── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
  min-height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(76, 201, 240, 0.3);
  box-shadow: var(--shadow-card), var(--shadow-glow-ice);
}

.news-card__thumb {
  height: 120px;
  background:
    linear-gradient(135deg, rgba(30, 74, 95, 0.6), rgba(17, 24, 39, 0.9)),
    radial-gradient(circle at 30% 40%, rgba(76, 201, 240, 0.2), transparent 50%);
  position: relative;
  border-bottom: 1px solid var(--border-ice);
}

.news-card__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.55rem;
  background: rgba(8, 11, 20, 0.75);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 4px;
}

.news-card__body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.news-card__meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: flex;
  gap: 0.85rem;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.55;
}

.news-card__link {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ice);
  margin-top: auto;
  padding-top: 0.5rem;
}

.news-card__link:hover { color: var(--ice-glow); }

/* ─── Stats grid ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-card {
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 169, 107, 0.3);
}

.stat-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--ice-glow);
  display: block;
  margin-bottom: 0.35rem;
  text-shadow: 0 0 30px rgba(125, 211, 252, 0.25);
}

.stat-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ─── Quick links ─── */
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.quick-card {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.quick-card:hover {
  color: inherit;
  transform: translateY(-8px);
  border-color: rgba(76, 201, 240, 0.35);
  box-shadow: var(--shadow-card), var(--shadow-glow-ice);
}

.quick-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 12px;
  background: rgba(76, 201, 240, 0.1);
  border: 1px solid var(--border-ice);
  margin-bottom: 1.25rem;
}

.quick-card__icon--discord {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.35);
}

.quick-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.quick-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.quick-card__cta {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.quick-card:hover .quick-card__cta { color: var(--gold-light); }

/* ─── Play section ─── */
.play-section {
  background:
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(76, 201, 240, 0.06), transparent),
    var(--bg-deep);
}

.play-layout .section__header { margin-bottom: 2.5rem; }

.play-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.play-box {
  padding: 2.25rem;
  position: relative;
}

.play-box__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ice), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.play-box__accent--gold {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.play-box h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
}

.play-box p { color: var(--text-muted); font-size: 0.95rem; }

.play-box__note {
  margin-top: 1.25rem !important;
  font-size: 0.85rem !important;
  color: var(--text-dim) !important;
}

.play-box__list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.play-box__list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.play-box__list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--ice);
  font-size: 0.5rem;
  top: 0.35rem;
}

.realmlist-code {
  display: block;
  background: rgba(8, 11, 20, 0.8);
  border: 1px solid var(--border-ice);
  padding: 1.1rem 1.25rem;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.88rem;
  color: var(--ice-glow);
  border-radius: var(--radius);
  margin: 1rem 0;
  word-break: break-all;
  box-shadow: inset 0 0 20px rgba(76, 201, 240, 0.05);
}

.copy-btn { margin-top: 0.25rem; }

/* ─── Discord CTA ─── */
.discord-cta {
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  border-color: rgba(88, 101, 242, 0.25) !important;
}

.discord-cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(88, 101, 242, 0.12), transparent 65%);
  pointer-events: none;
}

.discord-cta__content {
  position: relative;
  z-index: 1;
}

.discord-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  color: #fff;
  margin-bottom: 0.75rem;
}

.discord-cta p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ─── Footer ─── */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-ice);
  background: linear-gradient(180deg, transparent, rgba(6, 8, 14, 0.95));
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 300px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 1.15rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.55rem; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  color: var(--ice-glow);
  padding-left: 4px;
}

.footer-legal {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(76, 201, 240, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal a {
  color: var(--text-dim);
  margin: 0 0.35rem;
}

.footer-legal a:hover { color: var(--gold); }

/* ─── Subpages ─── */
.page-hero {
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(76, 201, 240, 0.08), transparent 60%),
    linear-gradient(180deg, #0c1220, var(--bg-deep));
  border-bottom: 1px solid var(--border-ice);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero p {
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.page-content { padding: 3rem 0 5rem; }

.placeholder-box {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px dashed var(--border-ice);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.placeholder-box h2 {
  font-family: var(--font-display);
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.placeholder-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ─── Ultrawide ─── */
@media (min-width: 1600px) {
  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
  }

  .hero h1 { font-size: 4.5rem; }
}

/* ─── Tablet ─── */
@media (max-width: 1100px) {
  .news-grid,
  .quick-links,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .realm-panel { max-width: 480px; }

  .section__header--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  :root { --nav-height: 72px; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8, 11, 20, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-ice);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease-out), opacity 0.35s, visibility 0.35s;
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav > a:not(.btn) { padding: 0.75rem 1rem; }

  .nav-actions {
    flex-direction: column;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-ice);
    padding-top: 1rem;
    margin-top: 0.5rem;
  }

  .nav-actions .btn { width: 100%; }

  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero__scroll { display: none; }

  .realm-panel { animation: none; max-width: none; }

  .feature-card {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }

  .feature-card__icon { margin-inline: auto; }

  .news-grid,
  .quick-links,
  .stats-grid,
  .play-grid,
  .realms-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__actions--center .btn { width: auto; flex: 1; min-width: 140px; }

  .ambient-glow { opacity: 0.2; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.15rem; }

  .discord-cta .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .discord-cta .hero__actions .btn { width: 100%; max-width: 280px; }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__particles { display: none; }
}

@import url("mobile-responsive.css");
