@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Cinzel+Decorative:wght@700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #040812;
  --bg-card: rgba(8, 16, 32, 0.82);
  --bg-card-hover: rgba(14, 28, 56, 0.92);
  --frost-cyan: #00d2ff;
  --frost-glow: #00f0ff;
  --frost-deep: #0066cc;
  --frost-ice: #8bf0ff;
  --gold-accent: #f5b041;
  --gold-glow: #f39c12;
  --red-horde: #c0392b;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --border-frost: rgba(0, 210, 255, 0.28);
  --border-frost-hover: rgba(0, 240, 255, 0.6);
  --font-title: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #030712;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--frost-deep), var(--frost-cyan));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--frost-glow);
}

/* ==================== PRELOADER ==================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 40%, #08162e 0%, #030714 60%, #01040a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

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

.preloader-logo {
  max-width: 320px;
  width: 75vw;
  filter: drop-shadow(0 0 30px rgba(0, 210, 255, 0.7)) drop-shadow(0 0 60px rgba(0, 100, 220, 0.5));
  animation: preloaderPulse 3s ease-in-out infinite;
  margin-bottom: 2rem;
}

@keyframes preloaderPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 25px rgba(0, 200, 255, 0.6)) drop-shadow(0 0 50px rgba(0, 100, 220, 0.4));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.9)) drop-shadow(0 0 75px rgba(0, 150, 255, 0.7));
  }
}

.preloader-progress-box {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.preloader-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(10, 24, 48, 0.9);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 4px;
  overflow: hidden;
  padding: 1px;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.75rem;
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0052ff, #00d2ff, #ffffff);
  border-radius: 3px;
  box-shadow: 0 0 12px #00f0ff;
  transition: width 0.08s linear;
}

.preloader-status {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--frost-ice);
  text-transform: uppercase;
}

/* ==================== TYPOGRAPHY & GLOW ==================== */
.font-warcraft {
  font-family: var(--font-title);
  letter-spacing: 1px;
}

.font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.frost-text {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.7), 0 0 20px rgba(0, 102, 204, 0.5), 0 0 35px rgba(0, 240, 255, 0.3);
}

.gold-text {
  color: #ffd875;
  text-shadow: 0 0 10px rgba(243, 156, 18, 0.6), 0 0 20px rgba(245, 176, 65, 0.4);
}

.glow-box {
  border: 1px solid var(--border-frost);
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.15), inset 0 0 15px rgba(0, 200, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.glow-box:hover {
  border-color: var(--border-frost-hover);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.3), inset 0 0 20px rgba(0, 240, 255, 0.1);
  transform: translateY(-3px);
}

/* Video & Atmospheric Background */
.bg-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.2) saturate(1.25);
  transform: scale(1.05);
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(circle at 50% 35%, rgba(4, 15, 30, 0.35) 0%, rgba(2, 6, 15, 0.85) 65%, rgba(1, 3, 8, 0.98) 100%),
              linear-gradient(180deg, rgba(2, 6, 15, 0.6) 0%, transparent 40%, rgba(2, 6, 15, 0.96) 100%);
  pointer-events: none;
}

#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* ==================== BREAKING NEWS / TEST MODE BANNER ==================== */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  z-index: 60;
  background: linear-gradient(90deg, rgba(245, 176, 65, 0.2) 0%, rgba(4, 10, 24, 0.98) 15%, rgba(4, 10, 24, 0.98) 85%, rgba(0, 210, 255, 0.2) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 176, 65, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), inset 0 -1px 0 rgba(245, 176, 65, 0.2);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.announcement-bar.is-closed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.announcement-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 100%;
  position: relative;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(245, 176, 65, 0.18);
  border: 1px solid rgba(245, 176, 65, 0.5);
  color: #ffd875;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(245, 176, 65, 0.2);
}

.badge-pulse-dot {
  position: relative;
  display: flex;
  height: 8px;
  width: 8px;
}

.badge-pulse-dot span:first-child {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #f5b041;
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.badge-pulse-dot span:last-child {
  position: relative;
  border-radius: 9999px;
  height: 8px;
  width: 8px;
  background: #f39c12;
}

.announcement-ticker {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: #f1f5f9;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.ticker-item .lang-tag {
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticker-item .tag-uz {
  background: rgba(0, 210, 255, 0.2);
  color: #00f0ff;
  border: 1px solid rgba(0, 210, 255, 0.4);
}

.ticker-item .tag-ru {
  background: rgba(245, 176, 65, 0.2);
  color: #ffd875;
  border: 1px solid rgba(245, 176, 65, 0.4);
}

.ticker-item .divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.announcement-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.announcement-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* Header & Navigation */
.header-glass {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
}

body.no-announcement .header-glass {
  top: 0;
}

.header-scrolled {
  background: rgba(2, 5, 14, 0.97);
  border-bottom-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

/* Navigation Links */
.nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: var(--transition);
  padding: 0.5rem 0.25rem;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--frost-cyan), transparent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover, .nav-link.active {
  color: var(--frost-cyan);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Epic Warcraft Buttons */
.btn-warcraft {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  transition: var(--transition);
  user-select: none;
}

.btn-frost {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0c4a6e 100%);
  color: #fff;
  border: 1px solid var(--frost-cyan);
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-frost:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
  border-color: #fff;
  box-shadow: 0 0 35px rgba(0, 230, 255, 0.8), inset 0 1px 5px rgba(255, 255, 255, 0.6);
  transform: scale(1.02);
}

.btn-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #78350f 100%);
  color: #fff;
  border: 1px solid var(--gold-accent);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #92400e 100%);
  border-color: #fde68a;
  box-shadow: 0 0 30px rgba(245, 176, 65, 0.7);
  transform: scale(1.02);
}

.btn-dark {
  background: rgba(10, 20, 40, 0.7);
  color: var(--frost-ice);
  border: 1px solid rgba(0, 210, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-dark:hover {
  background: rgba(15, 30, 60, 0.9);
  border-color: var(--frost-cyan);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

/* Shimmer flare on hover */
.btn-warcraft::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: 0.6s ease;
}

.btn-warcraft:hover::before {
  left: 140%;
}

/* Floating Logo Animation */
.floating-logo {
  animation: floatLogo 6s ease-in-out infinite, pulseFrost 4s ease-in-out infinite;
  filter: drop-shadow(0 0 25px rgba(0, 200, 255, 0.6)) drop-shadow(0 0 50px rgba(0, 100, 220, 0.4));
  transition: transform 0.4s ease;
}

.floating-logo:hover {
  transform: scale(1.04) rotate(0.5deg);
  filter: drop-shadow(0 0 35px rgba(0, 240, 255, 0.9)) drop-shadow(0 0 70px rgba(0, 140, 255, 0.7));
}

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

@keyframes pulseFrost {
  0%, 100% {
    filter: drop-shadow(0 0 25px rgba(0, 200, 255, 0.5)) drop-shadow(0 0 45px rgba(0, 100, 220, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 38px rgba(0, 240, 255, 0.8)) drop-shadow(0 0 65px rgba(0, 150, 255, 0.6));
  }
}

/* Realmlist Box */
.realmlist-badge {
  background: rgba(4, 10, 22, 0.85);
  border: 1px dashed var(--frost-cyan);
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  color: var(--frost-ice);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: inset 0 0 10px rgba(0, 200, 255, 0.1);
}

.realmlist-badge:hover {
  background: rgba(6, 18, 38, 0.95);
  border-style: solid;
  border-color: var(--frost-glow);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4), inset 0 0 15px rgba(0, 210, 255, 0.2);
  transform: translateY(-2px);
}

/* Realm Status Card */
.realm-card {
  background: linear-gradient(135deg, rgba(8, 18, 38, 0.88) 0%, rgba(4, 10, 24, 0.95) 100%);
  border: 1px solid var(--border-frost);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.realm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--frost-deep), var(--frost-cyan), var(--frost-deep));
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

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

/* Progress bar inside realm card */
.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--frost-deep), var(--frost-cyan));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--frost-cyan);
}

/* Feature Cards with Ice Corners */
.ice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-frost);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

.ice-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-frost-hover);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 200, 255, 0.25);
  transform: translateY(-6px);
}

/* Gallery & Media Cards */
.media-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-frost);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: var(--transition);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media-card:hover img {
  transform: scale(1.08);
}

.media-card .media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(2, 6, 16, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: var(--transition);
}

.media-card:hover {
  border-color: var(--frost-glow);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.35);
}

/* Step Badges (How to Play) */
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--frost-deep), var(--frost-cyan));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
  flex-shrink: 0;
}

/* Rankings Table */
.warcraft-table {
  width: 100%;
  min-width: 580px;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}

.warcraft-table th {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 210, 255, 0.15);
  white-space: nowrap;
}

.warcraft-table tr td {
  background: rgba(6, 14, 28, 0.7);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.warcraft-table tr:hover td {
  background: rgba(12, 26, 52, 0.9);
  color: #fff;
}

.warcraft-table tr td:first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  border-left: 2px solid transparent;
}

.warcraft-table tr:hover td:first-child {
  border-left-color: var(--frost-cyan);
}

.warcraft-table tr td:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* Class colors */
.class-dk { color: #C41E3A; font-weight: 600; }
.class-paladin { color: #F48CBA; font-weight: 600; }
.class-warrior { color: #C69B6D; font-weight: 600; }
.class-mage { color: #3FC7EB; font-weight: 600; }
.class-rogue { color: #FFF468; font-weight: 600; }
.class-priest { color: #FFFFFF; font-weight: 600; }
.class-warlock { color: #8788EE; font-weight: 600; }
.class-druid { color: #FF7C0A; font-weight: 600; }
.class-shaman { color: #0070DD; font-weight: 600; }
.class-hunter { color: #AAD372; font-weight: 600; }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(135deg, rgba(8, 18, 38, 0.98) 0%, rgba(4, 10, 24, 0.99) 100%);
  border: 1px solid var(--frost-cyan);
  box-shadow: 0 0 50px rgba(0, 150, 255, 0.35), 0 25px 60px rgba(0, 0, 0, 0.9);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 50, 50, 0.2);
  border-color: #ef4444;
  color: #fff;
  transform: rotate(90deg);
}

/* Form Inputs */
.form-input {
  width: 100%;
  background: rgba(4, 10, 24, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--frost-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.35);
  background: rgba(6, 15, 34, 0.95);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: calc(100vw - 3rem);
}

.toast {
  background: linear-gradient(135deg, rgba(8, 20, 42, 0.96) 0%, rgba(4, 10, 24, 0.98) 100%);
  border: 1px solid var(--frost-cyan);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 210, 255, 0.4);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  animation: slideInToast 0.4s ease forwards;
}

@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Audio Player Toggle */
.audio-btn {
  background: rgba(6, 14, 30, 0.8);
  border: 1px solid var(--border-frost);
  color: var(--frost-ice);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.audio-btn:hover, .audio-btn.playing {
  background: rgba(0, 150, 255, 0.25);
  border-color: var(--frost-glow);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
  color: #fff;
}

/* Sound wave animation */
.sound-waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.sound-bar {
  width: 2px;
  background: var(--frost-cyan);
  border-radius: 1px;
  animation: soundBounce 1s ease-in-out infinite alternate;
}

.sound-bar:nth-child(1) { height: 5px; animation-delay: 0.1s; }
.sound-bar:nth-child(2) { height: 13px; animation-delay: 0.3s; }
.sound-bar:nth-child(3) { height: 9px; animation-delay: 0.2s; }
.sound-bar:nth-child(4) { height: 4px; animation-delay: 0.4s; }

@keyframes soundBounce {
  0% { height: 3px; }
  100% { height: 13px; }
}

/* ==================== MOBILE RESPONSIVE MEDIA QUERIES ==================== */

@media (max-width: 768px) {
  .modal-content {
    padding: 1.5rem 1.25rem;
  }
  
  .ice-card {
    padding: 1.5rem;
  }
  
  .realmlist-badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
    gap: 0.5rem;
  }
  
  .media-card .media-overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(2, 6, 16, 0.95) 100%);
    padding: 1rem;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .btn-warcraft {
    padding: 0.65rem 1.15rem;
    font-size: 0.8rem;
  }
  
  .preloader-logo {
    max-width: 220px;
    margin-bottom: 1.5rem;
  }

  .preloader-status {
    font-size: 0.75rem;
  }
  
  .floating-logo {
    max-height: 180px;
  }
}
