/* Asgard Protocol - CSS Styles */

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Colors - Nordic Aurora Palette */
  --asgard-deep: #0C1B33;
  --aurora-teal: #1DE9B6;
  --electric-blue: #3B82F6;
  --mystic-purple: #8B5CF6;
  --nordic-silver: #9CA3AF;
  --void-slate: #1E293B;
  --frost-grey: #E5E7EB;
  --frost-white: #F9FAFB;
  --thunder-gold: #F59E0B;
  --void-black: #030712;
  --aurora-green: #059669;
  --ice-blue: #1E40AF;

  /* Gradients - Aurora Magic */
  --aurora-gradient: linear-gradient(135deg, var(--aurora-teal), var(--aurora-green));
  --electric-gradient: linear-gradient(
    135deg,
    var(--electric-blue),
    var(--ice-blue)
  );
  --mystic-gradient: linear-gradient(
    135deg,
    var(--mystic-purple),
    var(--electric-blue)
  );
  --depth-gradient: linear-gradient(
    180deg,
    var(--void-black),
    var(--asgard-deep)
  );
  --thunder-gradient: linear-gradient(
    135deg,
    var(--thunder-gold),
    #D97706
  );

  /* Typography */
  --font-cinzel: "Cinzel", serif;
  --font-inter: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-hero: clamp(3rem, 8vw, 6rem);
  --font-size-h1: clamp(2rem, 5vw, 3.5rem);
  --font-size-h2: clamp(1.5rem, 4vw, 2.5rem);
  --font-size-h3: clamp(1.25rem, 3vw, 1.75rem);
  --font-size-body: clamp(1rem, 2vw, 1.125rem);
  --font-size-small: clamp(0.875rem, 1.5vw, 1rem);

  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);
  --container-padding: clamp(1rem, 5vw, 2rem);
  --grid-gap: clamp(1rem, 3vw, 2rem);

  /* Border Radius */
  --radius-small: 8px;
  --radius-medium: 16px;
  --radius-large: 24px;

  /* Shadows & Glows - Aurora Effects */
  --shadow-soft: 0 4px 20px rgba(3, 7, 18, 0.25);
  --shadow-medium: 0 8px 32px rgba(3, 7, 18, 0.35);
  --shadow-strong: 0 16px 48px rgba(3, 7, 18, 0.45);
  --glow-aurora: 0 0 20px rgba(29, 233, 182, 0.4);
  --glow-electric: 0 0 24px rgba(59, 130, 246, 0.5);
  --glow-mystic: 0 0 28px rgba(139, 92, 246, 0.4);
  --glow-thunder: 0 0 20px rgba(245, 158, 11, 0.3);
  --glow-frost: 0 0 16px rgba(249, 250, 251, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove default focus outline for mouse users */
*:focus {
  outline: none;
}

/* Add custom focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--aurora-teal);
  outline-offset: 2px;
  border-radius: var(--radius-small);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-inter);
  background: var(--asgard-deep);
  color: var(--frost-grey);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Chinese font support */
body[data-lang="zh"] {
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", var(--font-inter);
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-cinzel);
  font-weight: 600;
  line-height: 1.2;
  color: var(--frost-white);
  margin-bottom: 1rem;
}

.main-title {
  font-size: var(--font-size-hero);
  font-weight: 700;
  background: var(--aurora-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: var(--font-size-h3);
  color: var(--nordic-silver);
  text-align: center;
  font-style: italic;
  margin-bottom: 3rem;
}

/* ==================== LAYOUT UTILITIES ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: var(--font-size-h1);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: var(--font-size-body);
  color: var(--nordic-silver);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== NAVIGATION ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(12, 27, 51, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(29, 233, 182, 0.2);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(12, 27, 51, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 0 2px 20px rgba(3, 7, 18, 0.4), 0 0 30px rgba(29, 233, 182, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-cinzel);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--aurora-teal);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--aurora-teal);
  text-decoration: none;
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px rgba(29, 233, 182, 0.5));
}

.nav-logo .brand-icon {
  font-size: 1.5rem;
  color: var(--aurora-teal);
  filter: drop-shadow(0 0 8px rgba(29, 233, 182, 0.7));
  transition: var(--transition-smooth);
  animation: iconPulse 3s ease-in-out infinite;
}

.nav-logo:hover .brand-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 16px rgba(29, 233, 182, 0.9));
  animation: iconPulse 1.5s ease-in-out infinite;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-link {
  color: var(--nordic-silver);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-small);
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
}

.nav-link:hover {
  color: var(--aurora-teal);
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--aurora-gradient);
  transition: var(--transition-fast);
}

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

.nav-link.active {
  color: var(--aurora-teal);
}

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

/* Remove focus outline for navigation links */
.nav-link:focus {
  outline: none;
}

/* Beautiful focus styles for keyboard navigation */
.nav-link:focus-visible {
  outline: none;
  position: relative;
  color: var(--aurora-teal);
  text-shadow: 0 0 8px var(--aurora-teal);
}

.nav-link:focus-visible::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(
    45deg,
    var(--aurora-teal),
    var(--wisdom-stardust-purple),
    var(--aurora-teal)
  );
  background-size: 200% 200%;
  border-radius: var(--radius-medium);
  z-index: -1;
  opacity: 0.3;
  animation: runicGlow 2s ease-in-out infinite alternate;
}

@keyframes runicGlow {
  0% {
    background-position: 0% 50%;
    transform: scale(1);
  }
  100% {
    background-position: 100% 50%;
    transform: scale(1.05);
  }
}

/* Remove focus outline for all interactive elements */
.feature-button:focus,
.scroll-indicator:focus,
.nav-logo:focus,
.mobile-menu-toggle:focus,
.feature-tag:focus,
button:focus {
  outline: none;
}

/* Runic focus styles for interactive elements */
.feature-button:focus-visible,
.cta-button:focus-visible {
  outline: none;
  position: relative;
  transform: scale(1.02);
  box-shadow:
    0 0 20px rgba(29, 233, 182, 0.6),
    0 0 40px rgba(157, 80, 187, 0.3),
    inset 0 0 20px rgba(29, 233, 182, 0.1);
}

.feature-button:focus-visible::before,
.cta-button:focus-visible::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(
    45deg,
    var(--aurora-teal) 0%,
    var(--wisdom-stardust-purple) 25%,
    var(--mimir-spring-green) 50%,
    var(--wisdom-stardust-purple) 75%,
    var(--aurora-teal) 100%
  );
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  animation: runicBorderFlow 3s linear infinite;
}

@keyframes runicBorderFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.scroll-indicator:focus-visible,
.nav-logo:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 10px var(--aurora-teal));
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:focus-visible {
  outline: none;
  background: rgba(29, 233, 182, 0.1);
  border-radius: var(--radius-small);
  box-shadow: 0 0 15px rgba(29, 233, 182, 0.5);
}

.mobile-menu-toggle:focus-visible .hamburger-line {
  background: var(--aurora-teal);
  box-shadow: 0 0 5px var(--aurora-teal);
}

.feature-tag:focus-visible {
  outline: none;
  background: rgba(29, 233, 182, 0.2);
  border: 1px solid var(--aurora-teal);
  box-shadow: 0 0 15px rgba(29, 233, 182, 0.4);
  transform: translateY(-2px);
}

/* Language toggle special focus */
.lang-toggle:focus-visible,
.lang-option:focus-visible {
  outline: none;
  box-shadow: 0 0 15px rgba(29, 233, 182, 0.6);
  border-color: var(--aurora-teal);
}

.lang-option:focus-visible {
  background: rgba(29, 233, 182, 0.2);
  color: var(--aurora-teal);
  text-shadow: 0 0 5px var(--aurora-teal);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(29, 233, 182, 0.25);
  border-radius: 18px;
  padding: 0.15rem;
  gap: 0;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  font-size: 0.8rem;
}

/* Remove focus outline for language toggle */
.lang-toggle:focus,
.lang-option:focus {
  outline: none;
}

/* Only show focus for keyboard navigation */
.lang-toggle:focus-visible,
.lang-option:focus-visible {
  outline: 2px solid var(--aurora-teal);
  outline-offset: 2px;
}

.lang-toggle:hover {
  border-color: var(--aurora-teal);
  box-shadow: 0 0 15px rgba(29, 233, 182, 0.25);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
  min-width: 28px;
}

.lang-option.active {
  background: var(--aurora-gradient);
  color: var(--asgard-deep);
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(29, 233, 182, 0.3);
}

.lang-option:not(.active) {
  color: var(--nordic-silver);
}

.lang-option:not(.active):hover {
  color: var(--aurora-teal);
  background: rgba(29, 233, 182, 0.08);
}

.lang-label {
  font-family: var(--font-inter);
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1;
}

.lang-divider {
  color: rgba(29, 233, 182, 0.3);
  font-size: 0.7rem;
  margin: 0 0.1rem;
  transition: var(--transition-fast);
  font-weight: 300;
}

.lang-toggle:hover .lang-divider {
  color: rgba(29, 233, 182, 0.6);
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--aurora-teal);
  transition: var(--transition-smooth);
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Updated Mobile Menu - Dropdown Style */
.mobile-menu-overlay {
  position: fixed;
  top: 80px; /* Start below navbar */
  left: 0.5rem;
  right: 0.5rem;
  background: rgba(12, 27, 51, 0.97);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(29, 233, 182, 0.2);
  border-top: 2px solid var(--aurora-teal);
  border-radius: 0 0 var(--radius-large) var(--radius-large);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  opacity: 0;
}

.mobile-menu-overlay.active {
  max-height: 450px;
  opacity: 1;
}

.mobile-menu-content {
  padding: 1.5rem;
  max-width: 320px;
  margin: 0 auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  font-family: var(--font-inter);
  font-size: 1rem;
  font-weight: 500;
  color: var(--nordic-silver);
  text-decoration: none;
  transition: var(--transition-fast);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-small);
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px; /* Ensure minimum touch target size */
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--aurora-teal);
  background: rgba(29, 233, 182, 0.1);
  border-color: rgba(29, 233, 182, 0.3);
  transform: translateX(4px);
}

.mobile-nav-link:active {
  transform: translateX(2px) scale(0.98);
}

/* Remove focus outline for mobile navigation links */
.mobile-nav-link:focus {
  outline: none;
}

/* Beautiful mobile navigation focus styles */
.mobile-nav-link:focus-visible {
  outline: none;
  background: linear-gradient(
    135deg,
    rgba(29, 233, 182, 0.15) 0%,
    rgba(157, 80, 187, 0.1) 50%,
    rgba(29, 233, 182, 0.15) 100%
  );
  border-left: 3px solid var(--aurora-teal);
  color: var(--aurora-teal);
  text-shadow: 0 0 8px var(--aurora-teal);
  transform: translateX(5px) scale(1.02);
  box-shadow:
    0 5px 15px rgba(29, 233, 182, 0.3),
    inset 0 0 20px rgba(29, 233, 182, 0.1);
  position: relative;
}

.mobile-nav-link:focus-visible::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(29, 233, 182, 0.2) 50%,
    transparent 100%
  );
  animation: shimmerMobile 2s ease-in-out infinite;
}

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

/* Runic Pulse Effect for Special Moments */
@keyframes runicPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 233, 182, 0.7);
    transform: scale(1);
  }
  25% {
    box-shadow: 0 0 0 10px rgba(29, 233, 182, 0.3);
    transform: scale(1.02);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(29, 233, 182, 0.1);
    transform: scale(1.03);
  }
  75% {
    box-shadow: 0 0 0 30px rgba(29, 233, 182, 0.05);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 40px rgba(29, 233, 182, 0);
    transform: scale(1);
  }
}

/* Special Norse-themed focus for important CTAs */
.cta-button.primary:focus-visible {
  animation: runicPulse 1.5s ease-out infinite;
}

/* Mystical glow effect for sacred elements */
@keyframes mysticalGlow {
  0%,
  100% {
    filter: brightness(1) hue-rotate(0deg);
  }
  25% {
    filter: brightness(1.2) hue-rotate(30deg);
  }
  50% {
    filter: brightness(1.4) hue-rotate(60deg);
  }
  75% {
    filter: brightness(1.2) hue-rotate(30deg);
  }
}

/* Apply mystical glow to logo when focused */
.nav-logo:focus-visible .brand-icon {
  animation: mysticalGlow 3s ease-in-out infinite;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .nav-link:focus-visible::before,
  .mobile-nav-link:focus-visible::before,
  .feature-button:focus-visible::before,
  .cta-button:focus-visible::before,
  .tokenomics-card:focus-visible::before,
  .phase-card:focus-visible::before,
  .feature-card:focus-visible::before {
    animation: none;
  }

  .cta-button.primary:focus-visible {
    animation: none;
  }

  .nav-logo:focus-visible .brand-icon {
    animation: none;
  }
}

/* Auto-close indicator */
.mobile-menu-timer {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--aurora-teal);
  transition: width 10s linear;
  width: 0;
}

.mobile-menu-overlay.active .mobile-menu-timer {
  width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: 
    /* Multi-layer gradient for depth and atmosphere */
    radial-gradient(
      ellipse 150% 120% at 50% 0%, 
      rgba(29, 233, 182, 0.08) 0%, 
      transparent 50%
    ),
    radial-gradient(
      ellipse 120% 100% at 0% 100%, 
      rgba(59, 130, 246, 0.06) 0%, 
      transparent 60%
    ),
    radial-gradient(
      ellipse 130% 110% at 100% 50%, 
      rgba(139, 92, 246, 0.05) 0%, 
      transparent 55%
    ),
    linear-gradient(
      135deg,
      rgba(12, 27, 51, 0.98) 0%,
      rgba(18, 35, 64, 0.96) 25%,
      rgba(30, 41, 59, 0.98) 50%,
      rgba(21, 32, 56, 0.97) 75%,
      rgba(3, 7, 18, 1) 100%
    );
  overflow: hidden;
}

/* Quantum Stars - Enhanced Stellar Field */
.quantum-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  will-change: transform, opacity;
  background-image:
    /* Brilliant primary stars with enhanced aurora glow */
    radial-gradient(4px 4px at 18% 25%, rgba(29, 233, 182, 0.9), transparent),
    radial-gradient(3px 3px at 82% 18%, rgba(59, 130, 246, 0.8), transparent),
    radial-gradient(5px 5px at 65% 75%, rgba(139, 92, 246, 0.7), transparent),
    radial-gradient(3px 3px at 35% 12%, rgba(249, 250, 251, 0.85), transparent),
    /* Constellation patterns with medium stars */
    radial-gradient(2px 2px at 28% 55%, rgba(29, 233, 182, 0.6), transparent),
    radial-gradient(2px 2px at 72% 45%, rgba(59, 130, 246, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 55% 35%, rgba(249, 250, 251, 0.7), transparent),
    radial-gradient(2px 2px at 45% 85%, rgba(139, 92, 246, 0.5), transparent),
    /* Distant stellar dust */
    radial-gradient(1px 1px at 15% 68%, rgba(29, 233, 182, 0.4), transparent),
    radial-gradient(1px 1px at 88% 32%, rgba(59, 130, 246, 0.35), transparent),
    radial-gradient(1px 1px at 42% 92%, rgba(249, 250, 251, 0.45), transparent),
    radial-gradient(1px 1px at 8% 15%, rgba(139, 92, 246, 0.3), transparent);
  background-repeat: repeat;
  background-size: 350px 240px, 280px 200px, 420px 280px;
  animation: quantumShimmer 20s ease-in-out infinite;
}

@keyframes quantumShimmer {
  0%, 100% {
    opacity: 0.85;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.95;
    transform: translate3d(0, 0, 0) scale(1.01) rotate(0.3deg);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.02) rotate(-0.2deg);
  }
  75% {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) scale(0.99) rotate(0.1deg);
  }
}

/* Nine Realms Grid - Mystical Energy Networks */
.nine-realms-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  will-change: transform, opacity, filter;
  background:
    /* Sacred geometric energy patterns */
    radial-gradient(circle at 25% 25%, rgba(29, 233, 182, 0.08) 3px, transparent 3px),
    radial-gradient(circle at 75% 25%, rgba(59, 130, 246, 0.07) 2px, transparent 2px),
    radial-gradient(circle at 25% 75%, rgba(139, 92, 246, 0.06) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(249, 250, 251, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 15%, rgba(29, 233, 182, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 85% 50%, rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 85%, rgba(249, 250, 251, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(29, 233, 182, 0.06) 4px, transparent 4px);
  background-size: 450px 350px, 380px 300px, 350px 280px, 400px 320px;
  animation: subtleGlow 35s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    opacity: 0.7;
    transform: translate3d(0, 0, 0) scale(1.01);
  }
  66% {
    opacity: 0.8;
    transform: translate3d(0, 0, 0) scale(1.02);
  }
}

/* Bifrost Rays - Enhanced Divine Aurora */
.bifrost-rays {
  position: absolute;
  width: 100%;
  height: 100%;
  will-change: transform, opacity, filter;
  background:
    /* Divine aurora streaks */
    radial-gradient(ellipse 250px 180px at 80% 20%, rgba(29, 233, 182, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 200px 120px at 20% 80%, rgba(59, 130, 246, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 180px 140px at 65% 55%, rgba(139, 92, 246, 0.08) 0%, transparent 75%),
    radial-gradient(ellipse 160px 100px at 90% 70%, rgba(249, 250, 251, 0.06) 0%, transparent 80%),
    radial-gradient(ellipse 140px 90px at 30% 25%, rgba(29, 233, 182, 0.07) 0%, transparent 85%);
  animation: divinePulse 30s ease-in-out infinite;
}

@keyframes divinePulse {
  0%, 100% {
    opacity: 0.5;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.75;
    transform: translate3d(0, 0, 0) scale(1.02) rotate(0.5deg);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(0, 0, 0) scale(1.03) rotate(-0.3deg);
  }
  75% {
    opacity: 0.7;
    transform: translate3d(0, 0, 0) scale(1.01) rotate(0.2deg);
  }
}

/* Thunder Particles - Enhanced Divine Energy Orbs */
.thunder-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.thunder-particles::before,
.thunder-particles::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--electric-blue);
  border-radius: 50%;
  box-shadow: 
    0 0 20px var(--electric-blue),
    0 0 40px rgba(59, 130, 246, 0.7),
    0 0 60px rgba(59, 130, 246, 0.4),
    0 0 80px rgba(59, 130, 246, 0.2);
  animation: thunderStrike 12s ease-in-out infinite;
  will-change: transform, opacity, filter;
}

.thunder-particles::before {
  top: 22%;
  left: 12%;
  animation-delay: -4s;
  width: 10px;
  height: 10px;
  background: var(--aurora-teal);
  box-shadow: 
    0 0 25px var(--aurora-teal),
    0 0 50px rgba(29, 233, 182, 0.8),
    0 0 75px rgba(29, 233, 182, 0.5),
    0 0 100px rgba(29, 233, 182, 0.3);
}

.thunder-particles::after {
  top: 68%;
  right: 18%;
  animation-delay: -8s;
  width: 7px;
  height: 7px;
  background: var(--mystic-purple);
  box-shadow: 
    0 0 18px var(--mystic-purple),
    0 0 36px rgba(139, 92, 246, 0.7),
    0 0 54px rgba(139, 92, 246, 0.4),
    0 0 72px rgba(139, 92, 246, 0.2);
}

@keyframes thunderStrike {
  0%, 100% {
    opacity: 0.8;
    transform: translate3d(0, 0px, 0) scale(1) rotate(0deg);
  }
  20% {
    opacity: 1;
    transform: translate3d(0, -20px, 0) scale(1.3) rotate(3deg);
  }
  40% {
    opacity: 0.9;
    transform: translate3d(0, -8px, 0) scale(1.1) rotate(-2deg);
  }
  60% {
    opacity: 0.85;
    transform: translate3d(0, 5px, 0) scale(0.9) rotate(1deg);
  }
  80% {
    opacity: 0.9;
    transform: translate3d(0, -3px, 0) scale(1.05) rotate(-0.5deg);
  }
}

/* Dimensional Rifts - Mystical Space Portals */
.dimensional-rifts {
  position: absolute;
  width: 100%;
  height: 100%;
  will-change: transform, opacity, filter;
  background:
    /* Subtle dimensional portals */
    radial-gradient(ellipse 350px 220px at 25% 15%, rgba(139, 92, 246, 0.04) 0%, transparent 95%),
    radial-gradient(ellipse 280px 180px at 85% 75%, rgba(29, 233, 182, 0.035) 0%, transparent 95%),
    radial-gradient(ellipse 320px 200px at 60% 40%, rgba(59, 130, 246, 0.025) 0%, transparent 95%),
    radial-gradient(ellipse 240px 160px at 10% 70%, rgba(249, 250, 251, 0.02) 0%, transparent 95%);
  animation: spaceRipple 45s ease-in-out infinite;
}

@keyframes spaceRipple {
  0%, 100% {
    opacity: 0.3;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  33% {
    opacity: 0.5;
    transform: translate3d(0, 0, 0) scale(1.05) rotate(0.3deg);
  }
  66% {
    opacity: 0.6;
    transform: translate3d(0, 0, 0) scale(1.08) rotate(-0.2deg);
  }
}

/* Meteor Shower - Celestial Shooting Stars */
.meteor-shower {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.meteor-shower::before,
.meteor-shower::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--aurora-teal);
  border-radius: 50%;
  box-shadow: 
    0 0 8px var(--aurora-teal),
    -150px 0 15px rgba(29, 233, 182, 0.4),
    -300px 0 8px rgba(29, 233, 182, 0.2);
  animation: meteorFall 8s linear infinite;
  will-change: transform;
}

.meteor-shower::before {
  top: -10%;
  left: -5%;
  animation-delay: -2s;
  background: var(--electric-blue);
  box-shadow: 
    0 0 10px var(--electric-blue),
    -180px 0 18px rgba(59, 130, 246, 0.5),
    -360px 0 10px rgba(59, 130, 246, 0.3);
}

.meteor-shower::after {
  top: -15%;
  right: -5%;
  animation-delay: -5s;
  background: var(--mystic-purple);
  box-shadow: 
    0 0 6px var(--mystic-purple),
    -120px 0 12px rgba(139, 92, 246, 0.4),
    -240px 0 6px rgba(139, 92, 246, 0.2);
}

@keyframes meteorFall {
  0% {
    transform: translate3d(-100px, -100px, 0) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate3d(calc(100vw + 100px), calc(100vh + 100px), 0) rotate(45deg);
    opacity: 0;
  }
}

/* ==================== RESPONSIVE HERO BACKGROUND ==================== */

/* Performance Optimizations for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .quantum-stars,
  .nine-realms-grid,
  .bifrost-rays,
  .thunder-particles,
  .dimensional-rifts,
  .meteor-shower {
    animation: none !important;
  }
  
  .quantum-stars {
    opacity: 0.6;
  }
  
  .nine-realms-grid {
    opacity: 0.3;
  }
  
  .bifrost-rays {
    opacity: 0.4;
  }
  
  .thunder-particles::before,
  .thunder-particles::after {
    opacity: 0.5;
  }
  
  .dimensional-rifts {
    opacity: 0.2;
  }
  
  .meteor-shower::before,
  .meteor-shower::after {
    display: none;
  }
}

/* Tablet optimizations (768px - 1024px) */
@media (max-width: 1024px) {
  .quantum-stars {
    background-size: 250px 170px, 200px 150px, 300px 200px;
    animation-duration: 25s;
  }
  
  .nine-realms-grid {
    background-size: 350px 260px, 300px 240px, 250px 200px, 330px 250px;
    animation-duration: 45s;
  }
  
  .bifrost-rays {
    animation-duration: 50s;
    opacity: 0.6;
  }
  
  .dimensional-rifts {
    animation-duration: 70s;
    opacity: 0.3;
  }
}

/* Mobile optimizations (max-width: 768px) */
@media (max-width: 768px) {
  .quantum-stars {
    background-size: 200px 140px, 150px 120px, 250px 170px;
    animation-duration: 35s;
    opacity: 0.8;
  }
  
  .nine-realms-grid {
    background-size: 300px 220px, 250px 190px, 200px 160px, 280px 210px;
    animation-duration: 50s;
    opacity: 0.4;
  }
  
  .bifrost-rays {
    animation-duration: 55s;
    opacity: 0.4;
  }
  
  .thunder-particles::before,
  .thunder-particles::after {
    width: 4px;
    height: 4px;
    animation-duration: 12s;
  }
  
  .dimensional-rifts {
    animation-duration: 80s;
    opacity: 0.2;
  }
  
  .meteor-shower::before,
  .meteor-shower::after {
    animation-duration: 10s;
    width: 2px;
    height: 2px;
  }
}

/* Small mobile optimizations (max-width: 480px) */
@media (max-width: 480px) {
  .quantum-stars {
    background-size: 150px 100px, 120px 90px, 180px 120px;
    animation-duration: 40s;
    opacity: 0.6;
  }
  
  .nine-realms-grid {
    background-size: 250px 180px, 200px 150px, 150px 120px, 230px 170px;
    opacity: 0.3;
  }
  
  .bifrost-rays {
    opacity: 0.2;
  }
  
  .thunder-particles::before,
  .thunder-particles::after {
    width: 3px;
    height: 3px;
    animation-duration: 15s;
  }
  
  .dimensional-rifts {
    opacity: 0.1;
  }
  
  .meteor-shower::before,
  .meteor-shower::after {
    animation-duration: 12s;
    width: 1.5px;
    height: 1.5px;
    opacity: 0.8;
  }
}

/* Advanced Performance Optimizations */

/* Low-end Device Detection and Optimization */
@media (max-width: 480px) and (max-resolution: 150dpi) {
  .quantum-stars,
  .nine-realms-grid,
  .bifrost-rays,
  .dimensional-rifts {
    animation-duration: 60s;
    will-change: auto;
  }
  
  .meteor-shower::before,
  .meteor-shower::after {
    animation-duration: 15s;
  }
}

/* Battery-conscious optimizations */
@media (prefers-reduced-motion: reduce), (update: slow) {
  .quantum-stars,
  .nine-realms-grid,
  .bifrost-rays,
  .thunder-particles,
  .dimensional-rifts,
  .meteor-shower {
    animation: none !important;
    will-change: auto;
  }
  
  .quantum-stars {
    opacity: 0.5;
  }
  
  .nine-realms-grid {
    opacity: 0.25;
  }
  
  .bifrost-rays {
    opacity: 0.3;
  }
  
  .dimensional-rifts {
    opacity: 0.15;
  }
  
  .thunder-particles::before,
  .thunder-particles::after,
  .meteor-shower::before,
  .meteor-shower::after {
    opacity: 0.4;
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .quantum-stars {
    opacity: 0.3;
  }
  
  .nine-realms-grid {
    opacity: 0.2;
  }
  
  .bifrost-rays,
  .dimensional-rifts {
    opacity: 0.1;
  }
  
  .thunder-particles::before,
  .thunder-particles::after {
    opacity: 0.3;
  }
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 900px;
  padding: 0 var(--container-padding);
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(29, 233, 182, 0.1);
  border: 1px solid rgba(29, 233, 182, 0.3);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(29, 233, 182, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(29, 233, 182, 0.5);
  }
}

.badge-icon {
  font-size: 1.1rem;
  animation: iconSpin 4s linear infinite;
}

@keyframes iconSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.badge-text {
  color: var(--aurora-teal);
  font-size: var(--font-size-small);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-large);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
}

.stat-item {
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  background: var(--aurora-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  font-family: var(--font-cinzel);
}

.stat-label {
  font-size: var(--font-size-small);
  color: var(--nordic-silver);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0;
}

/* Hero Features */
.hero-features {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.75rem 1rem;
  color: var(--nordic-silver);
  font-size: var(--font-size-small);
  font-weight: 500;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}

.feature-tag:hover {
  background: rgba(29, 233, 182, 0.1);
  border-color: var(--aurora-teal);
  color: var(--aurora-teal);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(29, 233, 182, 0.2);
}

.feature-icon {
  font-size: 1rem;
}

/* ==================== BUTTONS ==================== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-medium);
  font-family: var(--font-inter);
  font-size: var(--font-size-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: var(--aurora-gradient);
  color: var(--asgard-deep);
  box-shadow: var(--shadow-medium);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong), var(--glow-aurora);
}

.cta-button.secondary {
  background: transparent;
  color: var(--aurora-teal);
  border: 2px solid var(--aurora-teal);
}

.cta-button.secondary:hover {
  background: rgba(29, 233, 182, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--glow-aurora);
}

/* Button Runic Animation */
.cta-button:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition-smooth);
  left: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--nordic-silver);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--aurora-teal);
  border-bottom: 2px solid var(--aurora-teal);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ==================== SAGA SECTION ==================== */
.saga {
  padding: var(--section-padding) 0;
  background: linear-gradient(
    180deg,
    var(--asgard-deep) 0%,
    var(--void-slate) 100%
  );
}

.saga-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.saga-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--aurora-gradient);
  transform: translateX(-50%);
  box-shadow: var(--glow-aurora);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-illustration {
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saga-icon {
  width: 60px;
  height: 60px;
  color: var(--aurora-teal);
  background: var(--asgard-deep);
  padding: 1rem;
  border-radius: 50%;
  border: 3px solid var(--aurora-teal);
  box-shadow: var(--glow-aurora);
  transition: var(--transition-smooth);
}

.saga-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--glow-mystic);
}

.timeline-content {
  flex: 1;
  padding: 2rem 3rem;
  background: rgba(30, 41, 59, 0.8);
  border-radius: var(--radius-large);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--aurora-teal);
}

.timeline-content h3 {
  font-size: var(--font-size-h3);
  color: var(--aurora-teal);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--nordic-silver);
  line-height: 1.8;
}

/* ==================== TOKENOMICS SECTION ==================== */
.tokenomics {
  padding: var(--section-padding) 0;
  background: var(--asgard-deep);
}

.tokenomics-visual {
  display: flex;
  justify-content: center;
  margin: 8rem 0 6rem 0;
}

.asgard-energy {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.energy-segment {
  width: 120px;
  height: 20px;
  background: var(--aurora-gradient);
  border-radius: 10px;
  position: relative;
  box-shadow: var(--glow-aurora);
  animation: pulseGlow 3s ease-in-out infinite;
}

.energy-segment:nth-child(2) {
  animation-delay: -1s;
}

.energy-segment:nth-child(3) {
  animation-delay: -2s;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: var(--glow-aurora);
  }
  50% {
    box-shadow: 0 0 30px rgba(29, 233, 182, 0.6);
  }
}

.token-counter {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(15, 23, 42, 0.95);
  padding: 1rem 2rem;
  border-radius: var(--radius-medium);
  border: 2px solid var(--aurora-teal);
  box-shadow: var(--glow-aurora);
}

.token-amount {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--aurora-teal);
  font-family: var(--font-cinzel);
}

.token-symbol {
  display: block;
  font-size: 1.2rem;
  color: var(--aurora-teal);
  font-weight: 600;
  margin-top: 0.5rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(29, 233, 182, 0.4);
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gap);
  margin-top: 4rem;
}

/* Desktop 2x2 Grid Layout */
@media (min-width: 1024px) {
  .tokenomics-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    gap: 2.5rem;
  }
}

.tokenomics-card {
  background: rgba(30, 41, 59, 0.6);
  border-radius: var(--radius-large);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  text-align: center;
}

.tokenomics-card:hover {
  transform: translateY(-8px);
  border-color: var(--aurora-teal);
  box-shadow: var(--shadow-medium), var(--glow-aurora);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--aurora-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  transition: var(--transition-smooth);
}

.tokenomics-card:hover .card-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px var(--aurora-teal));
}

.tokenomics-card h3 {
  font-size: var(--font-size-h3);
  color: var(--frost-white);
  margin-bottom: 1rem;
}

.tokenomics-card p {
  color: var(--nordic-silver);
  line-height: 1.6;
}

/* ==================== DIVINE AWAKENING SECTION ==================== */
.awakening {
  padding: var(--section-padding) 0;
  background: linear-gradient(
    135deg,
    rgba(157, 80, 187, 0.1) 0%,
    var(--asgard-deep) 50%,
    rgba(10, 191, 83, 0.1) 100%
  );
  position: relative;
  overflow: hidden;
}

.awakening-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.phase-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(29, 233, 182, 0.3);
  border-radius: var(--radius-large);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.phase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--aurora-teal),
    transparent
  );
  opacity: 0;
  transition: var(--transition-smooth);
}

.phase-card:hover {
  transform: translateY(-5px);
  border-color: var(--aurora-teal);
  box-shadow: var(--glow-aurora);
}

.phase-card:hover::before {
  opacity: 1;
}

.phase-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--aurora-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phase-icon svg {
  width: 100%;
  height: 100%;
}

.phase-card h3 {
  color: var(--aurora-teal);
  margin-bottom: 1rem;
  font-family: var(--font-cinzel);
  font-size: 1.3rem;
}

.phase-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.rune-wardens {
  margin-top: 6rem;
  text-align: center;
}

.rune-wardens h3 {
  color: var(--aurora-teal);
  margin-bottom: 3rem;
  font-family: var(--font-cinzel);
  font-size: 1.8rem;
}

.warden-ranks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Tablet: Honor ranks in single row with vertical card layout */
@media (min-width: 768px) {
  .warden-ranks {
    flex-wrap: nowrap;
    gap: 1.2rem;
    max-width: 1000px;
    justify-content: center;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .rank-item {
    flex: 1 1 auto;
    min-width: 160px;
    max-width: 200px;
    padding: 1.8rem 1.2rem;
    text-align: center;
  }
  
  .rank-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }
  
  .rank-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
  }
  
  .rank-requirement {
    font-size: 0.8rem;
    opacity: 0.9;
  }
  
  .rank-arrow {
    margin: 0 0.8rem;
    flex-shrink: 0;
    font-size: 1.3rem;
  }
}

/* Desktop: Larger cards with more spacing */
@media (min-width: 1024px) {
  .warden-ranks {
    gap: 1.8rem;
    max-width: 1200px;
    padding: 0 2rem;
  }
  
  .rank-item {
    min-width: 180px;
    max-width: 240px;
    padding: 2.2rem 1.5rem;
  }
  
  .rank-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .rank-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .rank-requirement {
    font-size: 0.9rem;
  }
  
  .rank-arrow {
    margin: 0 1.2rem;
    font-size: 1.5rem;
  }
}

.rank-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(29, 233, 182, 0.3);
  border-radius: var(--radius-medium);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  min-width: 140px;
  text-align: center;
}

.rank-item:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: var(--aurora-teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(29, 233, 182, 0.2);
}

.rank-item:hover .rank-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.rank-item:hover .rank-title {
  color: rgba(29, 233, 182, 1);
  text-shadow: 0 0 8px rgba(29, 233, 182, 0.3);
}

.rank-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.rank-title {
  color: var(--aurora-teal);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-cinzel);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.rank-requirement {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.2;
}

.rank-arrow {
  color: var(--aurora-teal);
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0.5rem;
  flex-shrink: 0;
}

/* ==================== ROADMAP SECTION ==================== */
.roadmap {
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    var(--asgard-deep) 0%,
    rgba(29, 233, 182, 0.03) 50%,
    var(--asgard-deep) 100%
  );
  position: relative;
  overflow: hidden;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10L90 50L50 90L10 50Z" stroke="rgba(212,175,55,0.1)" fill="none" stroke-width="1"/></svg>')
    repeat;
  background-size: 100px 100px;
  opacity: 0.3;
  animation: runeFloat 20s linear infinite;
}

@keyframes runeFloat {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-100px) translateY(-100px);
  }
}

.roadmap-timeline {
  position: relative;
  margin-top: 80px;
}

.timeline-path {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1;
}

.path-line {
  width: 100%;
  height: 4px;
}

.roadmap-phases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.phase-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(29, 233, 182, 0.2);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.phase-item:hover {
  transform: translateY(-10px);
  border-color: var(--aurora-teal);
  box-shadow:
    0 20px 40px rgba(29, 233, 182, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phase-item.active {
  border-color: var(--aurora-teal);
  background: rgba(29, 233, 182, 0.05);
}

.phase-item.active .phase-marker {
  background: var(--aurora-teal);
  box-shadow: 0 0 30px rgba(29, 233, 182, 0.6);
}

.phase-marker {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--aurora-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.rune-symbol {
  width: 24px;
  height: 24px;
  color: var(--aurora-teal);
  position: absolute;
}

.phase-number {
  font-family: var(--font-cinzel);
  font-size: 14px;
  font-weight: 600;
  color: var(--frost-white);
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--asgard-deep);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(29, 233, 182, 0.3);
}

.phase-content h3 {
  font-family: var(--font-cinzel);
  font-size: 24px;
  font-weight: 600;
  color: var(--frost-white);
  margin: 20px 0 8px;
  text-align: center;
}

.phase-subtitle {
  font-size: 14px;
  color: var(--aurora-teal);
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
}

.phase-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.phase-features li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--nordic-silver);
  font-size: 14px;
  line-height: 1.5;
}

.phase-features li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--aurora-teal);
  font-size: 12px;
}

.phase-features li.completed {
  color: var(--mimir-spring-green);
  font-weight: 500;
}

.phase-features li.completed::before {
  content: "✓";
  color: var(--mimir-spring-green);
  font-weight: 700;
  font-size: 14px;
}

.phase-status {
  text-align: center;
  margin-top: 20px;
}

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.active {
  background: rgba(10, 191, 83, 0.2);
  color: var(--mimir-spring-green);
  border: 1px solid var(--mimir-spring-green);
}

.status-badge.upcoming {
  background: rgba(29, 233, 182, 0.2);
  color: var(--aurora-teal);
  border: 1px solid var(--aurora-teal);
}

.status-badge.planned {
  background: rgba(157, 80, 187, 0.2);
  color: var(--wisdom-stardust-purple);
  border: 1px solid var(--wisdom-stardust-purple);
}

.status-badge.future {
  background: rgba(255, 255, 255, 0.1);
  color: var(--nordic-silver);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.roadmap-progress {
  margin-top: 80px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.progress-header h3 {
  font-family: var(--font-cinzel);
  font-size: 24px;
  color: var(--frost-white);
  margin: 0;
}

.progress-percentage {
  font-size: 32px;
  font-weight: 700;
  color: var(--aurora-teal);
  font-family: var(--font-inter);
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--aurora-teal),
    var(--mimir-spring-green)
  );
  border-radius: 4px;
  position: relative;
  transition: width 2s ease;
}

.progress-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
  animation: progressGlow 2s ease-in-out infinite;
}

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

.progress-description {
  color: var(--nordic-silver);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design for Roadmap */
@media (max-width: 768px) {
  .roadmap-phases {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 60px;
  }

  .timeline-path {
    display: none;
  }

  .phase-content h3 {
    font-size: 20px;
  }

  .progress-header {
    flex-direction: column;
    gap: 10px;
  }

  .progress-header h3 {
    font-size: 20px;
  }

  .progress-percentage {
    font-size: 24px;
  }
}

/* ==================== SECTION DIVIDER ==================== */
.section-divider {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--asgard-deep);
}

.divider-line {
  width: 80%;
  max-width: 800px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(29, 233, 182, 0.3) 20%,
    var(--aurora-teal) 50%,
    rgba(29, 233, 182, 0.3) 80%,
    transparent 100%
  );
  position: relative;
  overflow: hidden;
}

.divider-glow {
  position: absolute;
  top: -2px;
  left: -100px;
  width: 100px;
  height: 6px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(29, 233, 182, 0.8),
    transparent
  );
  animation: glowSlide 3s ease-in-out infinite;
}

@keyframes glowSlide {
  0% {
    transform: translateX(-100px);
  }
  50% {
    transform: translateX(calc(800px + 100px));
  }
  100% {
    transform: translateX(calc(800px + 100px));
  }
}

/* ==================== SANCTUM SECTION ==================== */
.sanctum {
  padding: var(--section-padding) 0;
  background: linear-gradient(
    135deg,
    var(--asgard-deep) 0%,
    var(--void-slate) 50%,
    var(--asgard-deep) 100%
  );
  position: relative;
  overflow: hidden;
}

.sanctum::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(29, 233, 182, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Architecture Overview */
.sanctum-architecture {
  margin: 4rem 0;
  position: relative;
}

.sanctum-architecture::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29, 233, 182, 0.15) 0%, rgba(78, 207, 196, 0.08) 50%, transparent 100%);
  border-radius: 50%;
  z-index: -1;
  animation: divineAura 4s ease-in-out infinite alternate;
}

@keyframes divineAura {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.architecture-center {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.core-protocol {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.protocol-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-ring {
  width: 280px;
  height: 280px;
  border-color: rgba(29, 233, 182, 0.3);
  animation: ringRotate 20s linear infinite;
}

.middle-ring {
  width: 200px;
  height: 200px;
  border-color: rgba(10, 191, 83, 0.4);
  animation: ringRotate 15s linear infinite reverse;
}

.inner-ring {
  width: 120px;
  height: 120px;
  border-color: rgba(157, 80, 187, 0.5);
  animation: ringRotate 10s linear infinite;
}

@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Enhanced pulse animations for each ring */
@keyframes goldPulse {
  0% {
    box-shadow: 0 0 30px rgba(29, 233, 182, 0.4), 
                inset 0 0 30px rgba(29, 233, 182, 0.2);
  }
  50% {
    box-shadow: 0 0 50px rgba(29, 233, 182, 0.7), 
                inset 0 0 50px rgba(29, 233, 182, 0.4);
  }
  100% {
    box-shadow: 0 0 30px rgba(29, 233, 182, 0.4), 
                inset 0 0 30px rgba(29, 233, 182, 0.2);
  }
}

@keyframes springPulse {
  0% {
    box-shadow: 0 0 25px rgba(10, 191, 83, 0.5), 
                inset 0 0 25px rgba(78, 207, 196, 0.3);
  }
  50% {
    box-shadow: 0 0 45px rgba(10, 191, 83, 0.8), 
                inset 0 0 45px rgba(78, 207, 196, 0.5);
  }
  100% {
    box-shadow: 0 0 25px rgba(10, 191, 83, 0.5), 
                inset 0 0 25px rgba(78, 207, 196, 0.3);
  }
}

@keyframes purplePulse {
  0% {
    box-shadow: 0 0 20px rgba(157, 80, 187, 0.6), 
                inset 0 0 20px rgba(205, 140, 225, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(157, 80, 187, 0.9), 
                inset 0 0 40px rgba(205, 140, 225, 0.6);
  }
  100% {
    box-shadow: 0 0 20px rgba(157, 80, 187, 0.6), 
                inset 0 0 20px rgba(205, 140, 225, 0.4);
  }
}

.ring-label {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 27, 51, 0.9);
  color: var(--aurora-teal);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(29, 233, 182, 0.3);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  text-align: center;
}



.protocol-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(30, 41, 59, 0.9);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  border: 2px solid var(--aurora-teal);
  box-shadow: 0 0 30px rgba(29, 233, 182, 0.5);
  backdrop-filter: blur(15px);
}



@keyframes coreGlow {
  0% {
    box-shadow: 0 0 50px rgba(29, 233, 182, 0.7),
                0 0 100px rgba(29, 233, 182, 0.4),
                inset 0 0 40px rgba(29, 233, 182, 0.2);
  }
  100% {
    box-shadow: 0 0 70px rgba(29, 233, 182, 0.9),
                0 0 140px rgba(29, 233, 182, 0.6),
                inset 0 0 60px rgba(29, 233, 182, 0.4);
  }
}

@keyframes coreRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes innerPulse {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
}

.core-icon {
  width: 40px;
  height: 40px;
  color: var(--aurora-teal);
  margin-bottom: 0.25rem;
}

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

.core-text {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--aurora-teal);
  font-family: var(--font-cinzel);
}

@keyframes textPulse {
  0%, 100% {
    opacity: 0.95;
    text-shadow: 0 0 12px rgba(29, 233, 182, 0.9),
                 0 0 20px rgba(29, 233, 182, 0.5);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 18px rgba(29, 233, 182, 1), 
                 0 0 30px rgba(29, 233, 182, 0.7),
                 0 0 40px rgba(29, 233, 182, 0.3);
  }
}

/* Blockchain Pillars */
.blockchain-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.pillar {
  background: rgba(30, 41, 59, 0.8);
  border-radius: var(--radius-large);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--aurora-teal),
    transparent
  );
  opacity: 0;
  transition: var(--transition-smooth);
}

.pillar:hover {
  transform: translateY(-5px);
  border-color: var(--aurora-teal);
  box-shadow: var(--shadow-medium), var(--glow-aurora);
}

.pillar:hover::before {
  opacity: 1;
}

.bitcoin-pillar:hover {
  border-color: #f7931a;
  box-shadow: 0 10px 30px rgba(247, 147, 26, 0.3);
}

.ethereum-pillar:hover {
  border-color: #627eea;
  box-shadow: 0 10px 30px rgba(98, 126, 234, 0.3);
}

.defi-pillar:hover {
  border-color: var(--mimir-spring-green);
  box-shadow: 0 10px 30px rgba(10, 191, 83, 0.3);
}

.pillar-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pillar-icon svg {
  width: 60px;
  height: 60px;
  color: var(--aurora-teal);
  transition: var(--transition-smooth);
}

.bitcoin-pillar .pillar-icon svg {
  color: #f7931a;
}

.ethereum-pillar .pillar-icon svg {
  color: #627eea;
}

.defi-pillar .pillar-icon svg {
  color: var(--mimir-spring-green);
}

.pillar h3 {
  font-size: var(--font-size-h3);
  color: var(--frost-white);
  margin-bottom: 1rem;
  text-align: center;
}

.pillar-stats {
  display: flex;
  justify-content: space-around;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-medium);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-stats .stat-item {
  text-align: center;
}

.pillar-stats .stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--aurora-teal);
  font-family: var(--font-cinzel);
}

.pillar-stats .stat-label {
  font-size: 0.75rem;
  color: var(--nordic-silver);
  margin-top: 0.25rem;
}

.pillar p {
  color: var(--nordic-silver);
  line-height: 1.6;
  text-align: center;
}

/* Technical Features */
.sanctum-features {
  margin: 4rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tech-feature {
  background: rgba(30, 41, 59, 0.6);
  border-radius: var(--radius-large);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  text-align: center;
}

.tech-feature:hover {
  transform: translateY(-3px);
  border-color: var(--aurora-teal);
  box-shadow: var(--shadow-medium), var(--glow-aurora);
}

.tech-feature .feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.tech-feature .feature-icon svg {
  width: 50px;
  height: 50px;
  color: var(--aurora-teal);
  transition: var(--transition-smooth);
}

.tech-feature:hover .feature-icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px var(--aurora-teal));
}

.tech-feature h4 {
  font-size: var(--font-size-h4);
  color: var(--frost-white);
  margin-bottom: 0.75rem;
}

.tech-feature p {
  color: var(--nordic-silver);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Whitelist step cards - enable enhanced interaction */
.tech-feature.whitelist-step {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-feature.whitelist-step h4 {
  transition: all 0.3s ease;
}

.tech-feature.whitelist-step .feature-metric {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tech-feature.whitelist-step:hover {
  transform: translateY(-5px);
  border-color: var(--aurora-teal);
  box-shadow: var(--shadow-medium), var(--glow-aurora), 0 8px 32px rgba(29, 233, 182, 0.3);
  background: linear-gradient(135deg, 
    rgba(30, 41, 59, 0.9), 
    rgba(29, 233, 182, 0.1));
}

.tech-feature.whitelist-step:hover .feature-icon svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px var(--aurora-teal));
  color: var(--mimir-spring-green);
}

.tech-feature.whitelist-step:hover h4 {
  color: var(--aurora-teal);
  text-shadow: 0 0 8px rgba(29, 233, 182, 0.3);
}

.tech-feature.whitelist-step:hover .feature-metric {
  background: rgba(29, 233, 182, 0.15);
  border: 1px solid rgba(29, 233, 182, 0.3);
}

.tech-feature.whitelist-step:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium), var(--glow-aurora), 0 4px 16px rgba(29, 233, 182, 0.4);
}

.tech-feature.whitelist-step:active .feature-icon svg {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px var(--aurora-teal));
}

.feature-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-medium);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--aurora-teal);
  font-family: var(--font-cinzel);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--nordic-silver);
}

/* Security Metrics */
.sanctum-security {
  margin: 4rem 0;
  text-align: center;
}

.sanctum-security h3 {
  font-size: var(--font-size-h2);
  color: var(--aurora-teal);
  margin-bottom: 2rem;
  font-family: var(--font-cinzel);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.security-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: var(--radius-large);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.security-metric:hover {
  transform: translateY(-3px);
  border-color: var(--mimir-spring-green);
  box-shadow: 0 10px 30px rgba(10, 191, 83, 0.3);
}

.metric-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px var(--mimir-spring-green));
}

.metric-data {
  text-align: center;
}

.metric-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mimir-spring-green);
  font-family: var(--font-cinzel);
  margin-bottom: 0.25rem;
}

.metric-desc {
  font-size: 0.9rem;
  color: var(--nordic-silver);
}

/* ==================== PARTICIPATION SECTION ==================== */
.participation {
  padding: var(--section-padding) 0;
  background: var(--asgard-deep);
}

.participation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: var(--radius-large);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--aurora-teal);
  box-shadow: var(--shadow-medium), var(--glow-aurora);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--aurora-gradient);
  color: var(--asgard-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-cinzel);
  margin-bottom: 1.5rem;
  box-shadow: var(--glow-aurora);
}

.step-content h3 {
  font-size: var(--font-size-h3);
  color: var(--frost-white);
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--nordic-silver);
  line-height: 1.6;
}

.participation-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
}

.stat {
  text-align: center;
  min-width: 200px; /* Ensure container has sufficient width */
  flex: 1; /* Allow container flexible sizing */
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-cinzel);
  color: var(--aurora-teal);
  margin-bottom: 0.5rem;
  white-space: nowrap; /* Prevent number wrapping */
  overflow: visible; /* Ensure numbers are not truncated */
  width: 100%; /* Use full container width */
  max-width: none; /* Remove width restrictions */
}

.stat-label {
  color: var(--nordic-silver);
  font-size: var(--font-size-small);
}

/* ==================== COMMUNITY SECTION ==================== */
.community {
  padding: var(--section-padding) 0 4rem 0;
  background: linear-gradient(
    180deg,
    var(--void-slate) 0%,
    var(--asgard-deep) 100%
  );
}

/* Community Stats */
.community-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-large);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--aurora-teal);
  transform: translateY(-3px);
  box-shadow: var(--glow-aurora);
}

.stat-icon {
  font-size: 2rem;
  line-height: 1;
}

.stat-info {
  flex: 1;
}

.stat-card .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--aurora-teal);
  font-family: var(--font-cinzel);
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  font-size: var(--font-size-small);
  color: var(--nordic-silver);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Community Features */
.community-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 4rem 0 2rem 0;
}

.feature-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(29, 233, 182, 0.15);
  border-radius: var(--radius-large);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card.large {
  grid-column: span 2;
}

.feature-card:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--aurora-teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium), var(--glow-aurora);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.header-icon {
  width: 40px;
  height: 40px;
  color: var(--aurora-teal);
}

.card-header h3 {
  color: var(--aurora-teal);
  margin: 0;
  font-size: var(--font-size-h3);
  font-family: var(--font-cinzel);
}

.card-content p {
  color: var(--nordic-silver);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Creation Gallery */
.creation-gallery {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.creation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.creation-preview {
  width: 60px;
  height: 60px;
  background: rgba(29, 233, 182, 0.1);
  border: 1px solid rgba(29, 233, 182, 0.3);
  border-radius: var(--radius-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.creation-preview:hover {
  background: rgba(29, 233, 182, 0.2);
  transform: scale(1.05);
  box-shadow: var(--glow-aurora);
}

.creation-likes {
  font-size: var(--font-size-small);
  color: var(--aurora-teal);
  font-weight: 600;
}

/* Council Members */
.council-members {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--aurora-teal),
    var(--electric-blue)
  );
  border: 2px solid rgba(29, 233, 182, 0.4);
  position: relative;
  transition: all 0.3s ease;
}

.member-avatar:hover {
  border-color: var(--aurora-teal);
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(29, 233, 182, 0.3);
}

.member-avatar.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: var(--aurora-green);
  border-radius: 50%;
  border: 2px solid var(--asgard-deep);
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.6);
}

.member-count {
  font-size: var(--font-size-small);
  color: var(--aurora-teal);
  font-weight: 600;
  margin-left: 0.5rem;
  background: rgba(29, 233, 182, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(29, 233, 182, 0.3);
}

/* Legend Progress */
.legend-progress {
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: var(--aurora-gradient);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.progress-text {
  font-size: var(--font-size-small);
  color: var(--nordic-silver);
}

.legend-titles {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.title-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: var(--font-size-small);
  font-weight: 600;
  transition: var(--transition-fast);
}

.title-badge.earned {
  background: rgba(29, 233, 182, 0.2);
  color: var(--aurora-teal);
  border: 1px solid var(--aurora-teal);
}

.title-badge.locked {
  background: rgba(255, 255, 255, 0.05);
  color: var(--nordic-silver);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

/* Quest List */
.quest-list {
  margin-bottom: 1.5rem;
}

.quest-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quest-item:last-child {
  border-bottom: none;
}

.quest-name {
  color: var(--nordic-silver);
  font-weight: 500;
}

.quest-reward {
  color: var(--aurora-teal);
  font-weight: 600;
  font-size: var(--font-size-small);
}

/* Wisdom Well Styles */
.wisdom-insights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

@media (max-width: 768px) {
  .wisdom-insights {
    grid-template-columns: 1fr;
    margin: 1rem 0;
  }

  .wisdom-status {
    margin: 1.25rem 0 0.75rem 0;
    padding: 0.875rem 0.75rem;
  }

  .feature-button {
    margin-top: 1rem;
  }
}

.insight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-small);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.insight-item:hover {
  background: rgba(29, 233, 182, 0.1);
  border-color: var(--aurora-teal);
}

.insight-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 5px var(--aurora-teal));
}

.insight-name {
  font-size: 0.9rem;
  color: var(--nordic-silver);
  font-weight: 500;
}

.wisdom-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0 1rem 0;
  padding: 1rem 0.75rem;
  background: linear-gradient(
    135deg,
    rgba(157, 80, 187, 0.1),
    rgba(10, 191, 83, 0.05)
  );
  border-radius: var(--radius-medium);
  border: 1px solid rgba(157, 80, 187, 0.3);
  position: relative;
  overflow: hidden;
}

.wisdom-status::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(157, 80, 187, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.status-text {
  font-size: 0.85rem;
  color: var(--thunder-divine-purple);
  font-style: italic;
}

.status-indicator {
  font-size: 1.1rem;
  animation: float 2s ease-in-out infinite;
}

/* Feature Button */
.feature-button {
  background: transparent;
  border: 1px solid var(--aurora-teal);
  color: var(--aurora-teal);
  padding: 0.75rem 1.5rem;
  margin-top: 1.25rem;
  border-radius: var(--radius-medium);
  font-weight: 600;
  font-size: var(--font-size-small);
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
}

.feature-button:hover {
  background: rgba(29, 233, 182, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--glow-aurora);
}

/* ==================== FOOTER ==================== */
.footer {
  padding: 4rem 0 3rem 0;
  background: var(--asgard-deep);
  position: relative;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.entropic-mist {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  animation: mistSpread 20s ease-in-out infinite;
}

@keyframes mistSpread {
  0%,
  100% {
    transform: translateX(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateX(20px) scale(1.05);
    opacity: 0.8;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 2.5rem;
  align-items: center;
  min-height: 280px;
}

.footer-call {
  text-align: center;
  padding-right: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.footer-brand .brand-icon {
  font-size: 2.6rem;
  color: var(--aurora-teal);
  filter: drop-shadow(0 0 15px var(--aurora-teal));
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.footer-brand .brand-text {
  font-family: var(--font-cinzel);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--frost-white);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow:
    0 0 20px rgba(29, 233, 182, 0.6),
    0 0 40px rgba(29, 233, 182, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(
    135deg,
    var(--frost-white) 0%,
    rgba(29, 233, 182, 0.9) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
  .footer-brand .brand-text {
    color: var(--frost-white);
    -webkit-text-fill-color: var(--frost-white);
  }
}

.footer-call h2 {
  font-size: 1.8rem;
  color: var(--frost-white);
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-call h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--aurora-teal), transparent);
  border-radius: 1px;
}

.footer-call p {
  font-size: 1.05rem;
  color: var(--nordic-silver);
  margin: 0 auto;
  font-style: italic;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 480px;
  margin-top: 0.5rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-content: center;
  align-items: start;
  height: 100%;
  padding-top: 0.5rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
}

.footer-section h4 {
  color: var(--aurora-teal);
  font-size: var(--font-size-body);
  margin: 0 0 1.5rem 0;
  font-family: var(--font-cinzel);
  font-weight: 600;
  position: relative;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 1px;
  background: var(--aurora-teal);
  opacity: 0.5;
}

.footer-section a {
  display: block;
  color: var(--nordic-silver);
  text-decoration: none;
  margin-bottom: 0.9rem;
  transition: var(--transition-fast);
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  padding-left: 0;
}

.footer-section a::before {
  content: "→";
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: var(--transition-fast);
  color: var(--aurora-teal);
  font-size: 0.8rem;
}

.footer-section a:hover {
  color: var(--aurora-teal);
  transform: translateX(5px);
}

.footer-section a:hover::before {
  opacity: 1;
  transform: translateX(-5px);
}

.footer-section a:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--nordic-silver);
  font-size: var(--font-size-small);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet and above resolutions: Hero Features optimization - Ensure four tags display in one line for English state */
@media (min-width: 769px) {
  .hero-features {
    gap: 0.8rem;
    flex-wrap: nowrap; /* Force no line break */
    justify-content: center;
    max-width: 900px;
    margin: 3rem auto 4rem;
  }

  .feature-tag {
    white-space: nowrap;
    padding: 0.7rem 0.9rem;
    font-size: 0.8rem;
    min-width: auto;
    flex: 0 1 auto; /* Allow shrink but not grow */
  }

  .feature-tag span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px; /* Limit maximum width */
  }
}

/* Medium screen device optimization (like Nest Hub Max, etc.) */
@media (min-width: 769px) and (max-width: 1199px) {
  .hero-features {
    display: flex !important; /* Force flex layout */
    flex-wrap: nowrap !important; /* Force no line break */
    gap: 0.9rem;
    max-width: 950px;
    margin: 3rem auto 4rem;
    justify-content: center;
  }

  .feature-tag {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important; /* Force horizontal layout */
    white-space: nowrap;
    padding: 0.7rem 0.9rem;
    font-size: 0.8rem;
    min-width: auto;
    flex: 0 1 auto;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .feature-tag .feature-icon {
    font-size: 1rem !important;
  }

  .feature-tag span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
  }
}

/* Nest Hub Max specific optimization (1280x800) */
@media (width: 1280px) and (height: 800px) {
  /* Navigation bar optimization */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    gap: 0;
  }

  .nav-logo {
    font-size: 1.3rem;
    gap: 0.6rem;
    min-width: 140px;
  }

  .nav-menu {
    gap: 1.8rem;
    margin: 0 1.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }

  /* Hero area optimization */
  .hero {
    min-height: 70vh; /* Reduce height to adapt to landscape */
    padding: 2rem 0;
  }

  .hero-content {
    max-width: 1000px;
    padding: 0 2rem;
  }

  .hero-badge {
    margin-bottom: 1.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .main-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .subtitle {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Stats area optimization */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Actions buttons optimization */
  .hero-actions {
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  /* Features tags optimization */
  .hero-features {
    gap: 1rem;
    margin: 2rem auto 4rem;
    max-width: 1000px;
  }

  .feature-tag {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
    gap: 0.4rem;
  }

  .feature-tag .feature-icon {
    font-size: 0.95rem;
  }

  .feature-tag span:last-child {
    max-width: 180px;
  }

  /* Scroll indicator optimization */
  .scroll-indicator {
    bottom: 1rem;
  }

  /* Language toggle optimization */
  .lang-toggle {
    min-width: 65px;
    font-size: 0.75rem;
  }

  .lang-option {
    padding: 0.3rem 0.5rem;
    min-width: 24px;
  }
}

/* Desktop: More relaxed layout */
@media (min-width: 1200px) {
  .hero-features {
    gap: 1.2rem;
    max-width: 1000px;
    margin-bottom: 4rem;
  }

  .feature-tag {
    padding: 0.75rem 1.1rem;
    font-size: 0.85rem;
  }

  .feature-tag span:last-child {
    max-width: 200px; /* Desktop larger maximum width */
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .blockchain-pillars {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

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

  .core-protocol {
    width: 250px;
    height: 250px;
  }

  .outer-ring {
    width: 230px;
    height: 230px;
  }

  .middle-ring {
    width: 160px;
    height: 160px;
  }

  .inner-ring {
    width: 90px;
    height: 90px;
  }

  .protocol-core {
    width: 80px;
    height: 80px;
  }

  .ring-label {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    max-width: 130px;
    top: -12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
    margin-bottom: 2rem;
  }

  .footer-call {
    text-align: center;
    padding-right: 0;
    justify-content: flex-start;
    height: auto;
  }

  .footer-links {
    padding-top: 0;
    height: auto;
    gap: 1.5rem;
  }

  .footer-brand {
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .footer-brand .brand-icon {
    font-size: 2.2rem;
  }

  .footer-brand .brand-text {
    font-size: 1.8rem;
    letter-spacing: 0.18em;
  }

  .footer-call h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }

  .footer-call p {
    font-size: 1rem;
    margin-top: 0.4rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-items: center;
    text-align: center;
  }
  
  .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-section h4 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .footer-section a {
    font-size: 0.8rem;
    text-align: center;
  }
}

/* Additional tablet footer optimization - Force 3-column layout */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.8rem;
    justify-items: center;
    text-align: center;
  }
  
  .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-section h4 {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    text-align: center;
  }
  
  .footer-section a {
    font-size: 0.75rem;
    padding: 0.3rem 0;
    text-align: center;
  }
}

/* Tablet specific optimization: 901px-1024px - Reference Asgard design */
@media (min-width: 901px) and (max-width: 1024px) {
  .nav-container {
    padding: 1rem 1.8rem;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 1200px;
  }
  
  .nav-logo {
    font-size: 1.35rem;
    gap: 0.7rem;
    flex-shrink: 0;
    min-width: 150px;
    white-space: nowrap;
    overflow: hidden;
  }
  
  .nav-logo .brand-icon {
    font-size: 1.35rem;
  }
  
  .nav-menu {
    gap: 1.1rem;
    flex: 1;
    justify-content: center;
    margin: 0 1.5rem;
    max-width: none;
  }
  
  .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.6rem;
    white-space: nowrap;
  }
  
  .nav-actions {
    flex-shrink: 0;
    min-width: 85px;
    display: flex;
    justify-content: flex-end;
  }
  
  .lang-toggle {
    flex-shrink: 0;
    min-width: 70px;
    font-size: 0.75rem;
  }
  
  .lang-option {
    padding: 0.3rem 0.55rem;
    min-width: 26px;
  }
  
  .lang-label {
    font-size: 0.75rem;
  }
  
  /* Tablet optimization: Einherjar section 2x2 grid layout */
  .participation-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .step {
    padding: 1.5rem;
    min-height: 280px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .step-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Medium tablet protection (800px-900px) */
@media (min-width: 800px) and (max-width: 900px) {
  .nav-container {
    padding: 1rem 1.5rem;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  
  .nav-logo {
    font-size: 1.25rem;
    gap: 0.65rem;
    flex-shrink: 0;
    min-width: 130px;
  }
  
  .nav-menu {
    gap: 1rem;
    flex: 1;
    justify-content: center;
    margin: 0 1.2rem;
  }
  
  .nav-link {
    font-size: 0.82rem;
    padding: 0.45rem 0.55rem;
  }
  
  .nav-actions {
    flex-shrink: 0;
    min-width: 80px;
  }
  
  .lang-toggle {
    flex-shrink: 0;
    min-width: 68px;
    font-size: 0.72rem;
  }
  
  .lang-option {
    padding: 0.32rem 0.52rem;
    font-size: 0.72rem;
    min-width: 26px;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  /* Mobile menu consistent styling for all tablet sizes */
  .mobile-menu-overlay {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .mobile-menu-overlay.active {
    max-height: 480px;
  }

  .mobile-menu-content {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .saga-timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 80px;
  }

  .timeline-item:nth-child(even) {
    flex-direction: column;
  }

  .timeline-illustration {
    position: absolute;
    left: 0;
    top: 0;
  }

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

  .awakening-phases {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .warden-ranks {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .rank-item {
    min-width: 200px;
    max-width: 280px;
    padding: 2rem 1.5rem;
  }

  .rank-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .rank-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .rank-requirement {
    font-size: 0.85rem;
  }

  .rank-arrow {
    transform: rotate(90deg);
    margin: 0.5rem 0;
    font-size: 1.5rem;
  }

  .participation-steps {
    grid-template-columns: 1fr;
  }

  .participation-stats {
    flex-direction: column;
    gap: 2rem;
    align-items: center; /* Ensure centered alignment */
  }

  .participation-stats .stat {
    min-width: 280px; /* Provide larger container width on mobile */
    max-width: 100%; /* Limit maximum width */
  }

  .participation-stats .stat-number {
    font-size: 2.5rem; /* Slightly reduce font size on mobile */
    overflow: visible; /* Allow numbers to display fully */
    white-space: nowrap; /* Keep single line display */
    word-break: keep-all; /* Prevent number splitting */
    text-align: center; /* Ensure centered display */
  }

  .community-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-features {
    grid-template-columns: 1fr;
  }

  .feature-card.large {
    grid-column: span 1;
  }

  .blockchain-pillars {
    grid-template-columns: 1fr;
  }

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

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

  .sanctum-architecture {
    margin: 2rem 0;
    padding: 0 1rem;
  }

  .architecture-center {
    margin: 2rem 0;
    padding: 1rem;
  }

  .core-protocol {
    width: 180px;
    height: 180px;
  }

  .outer-ring {
    width: 160px;
    height: 160px;
  }

  .middle-ring {
    width: 110px;
    height: 110px;
  }

  .inner-ring {
    width: 70px;
    height: 70px;
  }

  .protocol-core {
    width: 60px;
    height: 60px;
  }

  .core-icon {
    width: 25px;
    height: 25px;
  }

  .core-text {
    font-size: 0.5rem;
  }

  .ring-label {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    max-width: 110px;
    top: -10px;
  }

  .blockchain-pillars {
    margin-top: 3rem;
  }

  .pillar-stats {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .pillar-stats .stat-item {
    text-align: center;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Hero responsive styles */
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  /* Mobile specific: 2x2 grid layout */
  .hero-features {
    display: grid !important; /* Force grid layout */
    grid-template-columns: 1fr 1fr !important; /* 2x2 grid layout */
    grid-template-rows: 1fr 1fr !important;
    gap: 0.8rem !important;
    margin-top: 2rem !important;
    margin-bottom: 4rem !important; /* Add bottom margin for spacing with next section */
    max-width: 380px !important; /* Slightly larger maximum width */
    margin-left: auto !important;
    margin-right: auto !important;
    flex-wrap: initial !important; /* Reset flex-wrap */
  }

  .feature-tag {
    padding: 0.7rem 0.9rem !important;
    font-size: 0.8rem !important;
    text-align: left !important;
    justify-content: flex-start !important;
    min-height: 60px !important; /* Increased height for better content fit */
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important; /* Icons and text arranged horizontally */
    gap: 0.6rem !important;
    white-space: normal !important; /* Allow text wrapping for better content display */
    overflow: hidden !important;
  }

  .feature-tag .feature-icon {
    font-size: 1.2rem !important; /* Larger icon for better visibility */
    flex-shrink: 0 !important; /* Prevent icon from shrinking */
  }

  .feature-tag span:last-child {
    font-size: 0.75rem !important; /* Optimized text size */
    line-height: 1.3 !important;
    text-align: left !important;
    max-width: initial !important; /* Reset maximum width limit */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-wrap: break-word !important; /* Allow word wrapping */
    flex: 1 !important; /* Take remaining space */
  }

  .lang-toggle {
    padding: 0.1rem;
    border-radius: 16px;
    font-size: 0.75rem;
  }

  .lang-option {
    padding: 0.3rem 0.5rem;
    border-radius: 12px;
    min-width: 24px;
  }

  .lang-label {
    font-size: 0.75rem;
    letter-spacing: 0.2px;
  }

  .lang-divider {
    font-size: 0.65rem;
    margin: 0 0.05rem;
  }

  .community-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .creation-gallery {
    justify-content: center;
  }

  .legend-titles {
    justify-content: center;
  }

  /* Mobile menu specific adjustments for smaller screens */
  /* Mobile menu unified styling for all mobile devices */
  .mobile-menu-overlay {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
    border-radius: 0 0 var(--radius-medium) var(--radius-medium);
  }

  .mobile-menu-overlay.active {
    max-height: 440px;
  }

  .mobile-menu-content {
    padding: 1.25rem;
    max-width: 360px;
    margin: 0 auto;
  }

  .mobile-nav-link {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    min-height: 46px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 3rem;
    --container-padding: 1rem;
  }

  .hero-features {
    max-width: 320px; /* Optimized maximum width */
    gap: 0.7rem; /* Better gap for content spacing */
    margin-bottom: 3.5rem !important; /* Add bottom margin for smaller screens */
  }

  .feature-tag {
    padding: 0.6rem 0.7rem !important;
    min-height: 55px !important; /* Increased height for better content display */
    gap: 0.4rem !important;
    white-space: normal !important; /* Allow text wrapping */
    overflow: hidden !important;
  }

  .feature-tag .feature-icon {
    font-size: 1.1rem !important; /* Optimized icon size */
    flex-shrink: 0 !important; /* Prevent icon from shrinking */
  }

  .feature-tag span:last-child {
    font-size: 0.7rem !important; /* Optimized text size */
    line-height: 1.2 !important;
    word-wrap: break-word !important; /* Allow word wrapping */
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 !important; /* Take remaining space */
  }

  .asgard-energy {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
  }

  .energy-segment {
    width: 80px;
    height: 15px;
  }

  .token-counter {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.8rem 1.5rem;
  }

  .token-amount {
    font-size: 1.5rem;
  }

  .token-symbol {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-top: 0.3rem;
  }

  .saga-timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 60px;
  }

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

  .sanctum-architecture {
    margin: 1rem 0;
    padding: 0 0.5rem;
  }

  .architecture-center {
    margin: 1.5rem 0;
    padding: 0.5rem;
  }

  .core-protocol {
    width: 140px;
    height: 140px;
  }

  .outer-ring {
    width: 120px;
    height: 120px;
  }

  .middle-ring {
    width: 90px;
    height: 90px;
  }

  .inner-ring {
    width: 60px;
    height: 60px;
  }

  .protocol-core {
    width: 50px;
    height: 50px;
  }

  .core-icon {
    width: 20px;
    height: 20px;
  }

  .core-text {
    font-size: 0.4rem;
  }

  .ring-label {
    font-size: 0.55rem;
    padding: 0.2rem 0.5rem;
    max-width: 90px;
    top: -8px;
  }

  .blockchain-pillars {
    margin-top: 2rem;
    gap: 1.5rem;
  }

  .pillar-stats {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .pillar-stats .stat-item {
    text-align: center;
  }

  .tech-feature .feature-icon svg {
    width: 35px;
    height: 35px;
  }

  .pillar {
    padding: 1.5rem;
  }

  .tech-feature {
    padding: 1rem;
  }

  .footer-brand {
    margin-bottom: 1.5rem;
    gap: 0.75rem;
  }

  .footer-brand .brand-icon {
    font-size: 1.5rem;
  }

  .footer-brand .brand-text {
    font-size: 1rem;
    letter-spacing: 0.12em;
  }

  .footer-call h2 {
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
  }

  .footer-call p {
    font-size: 0.9rem;
  }

  /* Ultra-mobile menu adjustments for smallest screens */
  .mobile-menu-overlay {
    left: 0.5rem;
    right: 0.5rem;
    top: 70px;
  }

  .mobile-menu-overlay.active {
    max-height: 450px;
  }

  .mobile-menu-content {
    padding: 1.25rem 1rem 1.5rem 1rem;
    max-width: 320px;
  }

  .mobile-nav-links {
    gap: 0.5rem;
  }

  .mobile-nav-link {
    font-size: 0.9rem;
    padding: 0.75rem 0.9rem;
    min-height: 46px;
    margin-bottom: 0.25rem;
  }

  .mobile-nav-link:last-child {
    margin-bottom: 0;
  }

  .mobile-menu-timer {
    height: 3px;
  }
}

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

  .scroll-indicator {
    animation: none;
  }
}

/* Enhanced Focus Styles for Additional Elements */
.tokenomics-card:focus-visible,
.phase-card:focus-visible,
.feature-card:focus-visible,
.stat-card:focus-visible,
.tech-feature:focus-visible,
.pillar:focus-visible {
  outline: none;
  position: relative;
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 10px 30px rgba(29, 233, 182, 0.4),
    0 0 20px rgba(157, 80, 187, 0.3),
    inset 0 0 20px rgba(29, 233, 182, 0.1);
  border-color: var(--aurora-teal);
}

.tokenomics-card:focus-visible::before,
.phase-card:focus-visible::before,
.feature-card:focus-visible::before,
.stat-card:focus-visible::before,
.tech-feature:focus-visible::before,
.pillar:focus-visible::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--aurora-teal) 0%,
    var(--wisdom-stardust-purple) 25%,
    var(--mimir-spring-green) 50%,
    var(--wisdom-stardust-purple) 75%,
    var(--aurora-teal) 100%
  );
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0.6;
  animation: runicCardGlow 4s ease-in-out infinite;
}

@keyframes runicCardGlow {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.6;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.8;
  }
}

/* Special focus for rune symbols and icons */
.rune-symbol:focus-visible,
.saga-icon:focus-visible,
.phase-icon:focus-visible,
.card-icon:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 15px var(--aurora-teal));
  transform: scale(1.15) rotate(5deg);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Focus for input-like elements */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border: 2px solid var(--aurora-teal);
  box-shadow:
    0 0 15px rgba(29, 233, 182, 0.5),
    inset 0 0 10px rgba(29, 233, 182, 0.1);
  background: rgba(29, 233, 182, 0.05);
}

/* Accessibility - High contrast mode adjustments */
@media (prefers-contrast: high) {
  .nav-link:focus-visible,
  .mobile-nav-link:focus-visible,
  .feature-button:focus-visible,
  .cta-button:focus-visible {
    outline: 3px solid var(--aurora-teal);
    outline-offset: 2px;
    background: rgba(29, 233, 182, 0.3);
  }

  .nav-link:focus-visible::before,
  .mobile-nav-link:focus-visible::before,
  .feature-button:focus-visible::before,
  .cta-button:focus-visible::before {
    display: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --deep-space-blue: #000000;
    --light-grey: #ffffff;
    --cosmic-silver: #ffffff;
  }
}

/* ==================== DEVICE-SPECIFIC OPTIMIZATIONS ==================== */

/* iPad Mini (768x1024) - Portrait */
@media (width: 768px) and (height: 1024px) {
  .navbar {
    height: 90px;
    padding: 0 1.5rem;
  }

  .nav-container {
    height: 90px;
  }

  .mobile-menu-overlay {
    left: 0;
    right: 0;
    top: 90px;
  }

  .mobile-menu-overlay.active {
    max-height: 480px;
  }

  .mobile-menu-content {
    max-width: 380px;
    padding: 1.5rem;
    margin: 0 auto;
  }

  .mobile-nav-link {
    font-size: 1rem;
    padding: 0.8rem 1.1rem;
    min-height: 48px;
  }

  .hero {
    padding-top: 90px;
  }

  .hero-badge {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }
}

/* iPad Air (820x1180) - Portrait */
@media (width: 820px) and (height: 1180px) {
  .navbar {
    height: 95px;
    padding: 0 1.5rem;
  }

  .nav-container {
    height: 95px;
    padding: 1rem 1.2rem;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 100%;
  }
  
  .nav-logo {
    font-size: 1.2rem;
    gap: 0.6rem;
    flex-shrink: 0;
    min-width: 120px;
    white-space: nowrap;
  }
  
  .nav-logo .brand-icon {
    font-size: 1.2rem;
  }
  
  .nav-menu {
    gap: 0.8rem;
    flex: 1;
    justify-content: center;
    margin: 0 1rem;
    max-width: none;
  }
  
  .nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
  }
  
  .nav-actions {
    flex-shrink: 0;
    min-width: 75px;
    display: flex;
    justify-content: flex-end;
  }
  
  .lang-toggle {
    flex-shrink: 0;
    min-width: 65px;
    font-size: 0.7rem;
    padding: 0.1rem;
  }
  
  .lang-option {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
    min-width: 25px;
  }

  .mobile-menu-overlay {
    left: 0;
    right: 0;
    top: 95px;
  }

  .mobile-menu-overlay.active {
    max-height: 500px;
  }

  .mobile-menu-content {
    max-width: 400px;
    padding: 1.5rem;
    margin: 0 auto;
  }

  .mobile-nav-link {
    font-size: 1rem;
    padding: 0.85rem 1.2rem;
    min-height: 50px;
  }

  .hero {
    padding-top: 95px;
  }

  .hero-badge {
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    transform: translateY(-8px);
  }
}

/* Asus Zenbook Fold (853x1280) */
@media (width: 853px) and (height: 1280px) {
  .navbar {
    height: 100px;
    padding: 0 2.5rem;
  }

  .nav-container {
    height: 100px;
  }

  .mobile-menu-overlay {
    left: 0;
    right: 0;
    top: 100px;
  }

  .mobile-menu-overlay.active {
    max-height: 520px;
  }

  .mobile-menu-content {
    max-width: 420px;
    padding: 1.75rem;
    margin: 0 auto;
  }

  .mobile-nav-link {
    font-size: 1.05rem;
    padding: 0.9rem 1.3rem;
    min-height: 52px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-badge {
    margin-top: 1.75rem;
    margin-bottom: 1.5rem;
    transform: translateY(-12px);
  }
}

/* Surface Duo (540x720) - Portrait */
@media (width: 540px) and (height: 720px) {
  .navbar {
    height: 85px;
    padding: 0 1rem;
  }

  .nav-container {
    height: 85px;
  }

  .mobile-menu-overlay {
    left: 0;
    right: 0;
    top: 85px;
  }

  .mobile-menu-overlay.active {
    max-height: 420px;
  }

  .mobile-menu-content {
    max-width: 480px;
    padding: 1.25rem;
    margin: 0 auto;
  }

  .mobile-nav-link {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    min-height: 46px;
  }

  .hero {
    padding-top: 85px;
  }

  .hero-badge {
    margin-top: 1.25rem;
    margin-bottom: 1rem;
    transform: translateY(-6px);
  }
}

/* General wide tablet range (800px - 900px) fallback */
@media (min-width: 800px) and (max-width: 900px) {
  .mobile-menu-overlay {
    left: 1.5rem;
    right: 1.5rem;
  }

  .mobile-menu-overlay.active {
    max-height: 480px;
  }

  .mobile-menu-content {
    max-width: 400px;
    padding: 1.5rem;
  }

  .mobile-nav-link {
    font-size: 1rem;
    padding: 0.8rem 1.1rem;
    min-height: 48px;
  }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  .navbar,
  .hero-background,
  .scroll-indicator,
  .footer-background {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    page-break-inside: avoid;
  }
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--aurora-gradient);
  color: var(--asgard-deep);
  transform: translateX(8px) scale(1.02);
  text-shadow: none;
  box-shadow: 0 4px 15px rgba(29, 233, 182, 0.3);
}

.mobile-nav-link:active {
  transform: translateX(8px) scale(0.98);
}

/* ==================== IPAD PRO OPTIMIZATION ==================== */
/* iPad Pro 1024x1366 optimization - Completely reference Asgard design */
@media (width: 1024px) and (height: 1366px) {
  .navbar {
    padding: 0;
  }

  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.8rem;
    justify-content: space-between;
    gap: 0;
  }

  .nav-logo {
    flex-shrink: 0;
    min-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.4rem;
    gap: 0.7rem;
  }

  .nav-logo .brand-icon {
    font-size: 1.4rem;
  }

  .nav-menu {
    gap: 1.3rem;
    flex: 1;
    justify-content: center;
    margin: 0 1.5rem;
    max-width: none;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.4rem;
    white-space: nowrap;
  }

  .nav-actions {
    flex-shrink: 0;
    min-width: 85px;
    display: flex;
    justify-content: flex-end;
  }

  .lang-toggle {
    min-width: 75px;
    font-size: 0.75rem;
  }

  .lang-option {
    padding: 0.3rem 0.55rem;
    min-width: 26px;
  }

  .lang-label {
    font-size: 0.75rem;
  }

  .mobile-menu-overlay {
    display: none;
  }

  .mobile-menu-overlay.active {
    display: flex;
  }

  .mobile-menu-content {
    padding: 2rem;
  }

  .mobile-nav-link {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-badge {
    margin-bottom: 2rem;
  }
}

/* Surface Pro 7 912x1368 optimization */
@media (width: 912px) and (height: 1368px) {
  .nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 1.3rem;
    justify-content: space-between;
    gap: 0;
  }

  .nav-logo {
    flex-shrink: 0;
    min-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.3rem;
    gap: 0.6rem;
  }

  .nav-logo .brand-icon {
    font-size: 1.3rem;
  }

  .nav-menu {
    gap: 1rem;
    flex: 1;
    justify-content: center;
    margin: 0 1.2rem;
    max-width: none;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.3rem;
    white-space: nowrap;
  }

  .nav-actions {
    flex-shrink: 0;
    min-width: 80px;
    display: flex;
    justify-content: flex-end;
  }

  .lang-toggle {
    min-width: 70px;
    font-size: 0.7rem;
  }

  .lang-option {
    padding: 0.3rem 0.5rem;
    min-width: 24px;
  }

  .lang-label {
    font-size: 0.7rem;
  }
}
