/* ============================================
   FJORD AURORA DESIGN SYSTEM
   FjordPlaySpace.com - Norway Social Casino
   Nordic Fjords | Aurora Borealis | Deep Waters
   Completely unique architecture
   ============================================ */

/* Custom Font Faces - Remapped */
@font-face {
  font-family: "FjordSans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Montserrat-Regular.woff2') format('woff2');
}

@font-face {
  font-family: "FjordSans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Montserrat-Medium.woff2') format('woff2');
}

@font-face {
  font-family: "FjordSans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Montserrat-Bold.woff2') format('woff2');
}

@font-face {
  font-family: "FjordSansBold";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/Montserrat-Black.woff2') format('woff2');
}

@font-face {
  font-family: "FjordDisplay";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/GothamPro.woff2') format('woff2');
}

@font-face {
  font-family: "FjordDisplay";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/GothamPro-Bold.woff2') format('woff2');
}

/* Aurora Color System */
:root {
  /* Deep fjord waters */
  --fjord-abyss: #0a1628;
  --fjord-deep: #0f2847;
  --fjord-mid: #1a4066;
  --fjord-surface: #2d6187;
  
  /* Aurora spectrum */
  --aurora-cyan: #00e5cc;
  --aurora-teal: #00d4aa;
  --aurora-green: #39ff8f;
  --aurora-violet: #9d4edd;
  --aurora-magenta: #c77dff;
  --aurora-pink: #e0aaff;
  
  /* Ice and snow */
  --ice-white: #f0f8ff;
  --ice-blue: #e6f4ff;
  --ice-crystal: #cce7ff;
  --frost-gray: #94a8be;
  
  /* Accent tones */
  --midnight-blue: #1e3a5f;
  --starlight: #ffd700;
  --warning-amber: #ff9f43;
  --safe-emerald: #10b981;
  
  /* Gradients */
  --grad-aurora-sky: linear-gradient(180deg, #0a1628 0%, #0f2847 40%, #1a4066 100%);
  --grad-northern-lights: linear-gradient(135deg, #00e5cc 0%, #39ff8f 25%, #9d4edd 50%, #c77dff 75%, #e0aaff 100%);
  --grad-fjord-water: linear-gradient(180deg, #1a4066 0%, #0f2847 50%, #0a1628 100%);
  --grad-ice-glow: linear-gradient(135deg, rgba(0, 229, 204, 0.2) 0%, rgba(157, 78, 221, 0.15) 100%);
  --grad-btn-primary: linear-gradient(135deg, #00e5cc 0%, #00d4aa 50%, #39ff8f 100%);
  --grad-btn-secondary: linear-gradient(135deg, #9d4edd 0%, #c77dff 100%);
  
  /* Spacing tokens */
  --gap-2xs: 0.25rem;
  --gap-xs: 0.5rem;
  --gap-sm: 0.75rem;
  --gap-md: 1rem;
  --gap-lg: 1.5rem;
  --gap-xl: 2rem;
  --gap-2xl: 3rem;
  --gap-3xl: 4rem;
  --gap-4xl: 6rem;
  
  /* Border radius tokens */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  --radius-circle: 50%;
  
  /* Shadow tokens */
  --glow-subtle: 0 0 20px rgba(0, 229, 204, 0.15);
  --glow-medium: 0 0 40px rgba(0, 229, 204, 0.25);
  --glow-intense: 0 0 60px rgba(0, 229, 204, 0.4);
  --glow-violet: 0 0 40px rgba(157, 78, 221, 0.3);
  --shadow-card: 0 8px 32px rgba(10, 22, 40, 0.4);
  --shadow-elevated: 0 16px 48px rgba(10, 22, 40, 0.5);
  
  /* Layout */
  --container-sm: 640px;
  --container-md: 960px;
  --container-lg: 1200px;
  --container-xl: 1400px;
  
  /* Timing */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* Base Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "FjordSans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ice-white);
  background: var(--fjord-abyss);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: "FjordDisplay", "FjordSans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ice-white);
}

.typo-hero { font-size: clamp(2rem, 5vw, 3.5rem); }
.typo-title { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.typo-subtitle { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.typo-body { font-size: 1rem; }
.typo-small { font-size: 0.875rem; }
.typo-micro { font-size: 0.75rem; }

p { margin-bottom: var(--gap-md); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--aurora-cyan);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

a:hover {
  color: var(--aurora-green);
}

ul, ol { list-style: none; }

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Container */
.aurora-container {
  width: 100%;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--gap-lg);
}

.aurora-container--narrow {
  max-width: var(--container-sm);
}

.aurora-container--wide {
  max-width: var(--container-xl);
}

/* ==========================================
   HEADER - Polar Navigation
   ========================================== */
.polar-header {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.98) 0%, rgba(15, 40, 71, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--gap-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 229, 204, 0.15);
}

.polar-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-lg);
}

.polar-header__logo {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
}

.polar-header__logo img {
  height: 44px;
  width: auto;
}

.polar-header__logo-text {
  font-family: "FjordDisplay", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ice-white);
  background: var(--grad-northern-lights);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.polar-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.polar-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
}

.polar-nav__item {
  color: rgba(240, 248, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--gap-xs) var(--gap-md);
  border-radius: var(--radius-pill);
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
}

.polar-nav__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--grad-northern-lights);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.polar-nav__item:hover {
  color: var(--ice-white);
  background: rgba(0, 229, 204, 0.1);
}

.polar-nav__item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.polar-nav__item--current {
  color: var(--aurora-cyan);
  background: rgba(0, 229, 204, 0.15);
}

/* Mobile Menu Toggle */
.polar-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--gap-xs);
  background: transparent;
  border: none;
  cursor: pointer;
}

.polar-nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ice-white);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.polar-nav__burger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.polar-nav__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.polar-nav__burger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   BUTTONS - Glacier Buttons
   ========================================== */
.glacier-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);
  padding: var(--gap-sm) var(--gap-xl);
  font-family: "FjordSans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.glacier-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.glacier-btn:hover::before {
  opacity: 1;
}

.glacier-btn--glow {
  background: var(--grad-btn-primary);
  color: var(--fjord-abyss);
  box-shadow: var(--glow-subtle);
}

.glacier-btn--glow:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-medium);
  color: var(--fjord-abyss);
}

.glacier-btn--violet {
  background: var(--grad-btn-secondary);
  color: var(--ice-white);
  box-shadow: var(--glow-violet);
}

.glacier-btn--violet:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(157, 78, 221, 0.5);
  color: var(--ice-white);
}

.glacier-btn--ghost {
  background: transparent;
  color: var(--aurora-cyan);
  border-color: var(--aurora-cyan);
}

.glacier-btn--ghost:hover {
  background: rgba(0, 229, 204, 0.1);
  color: var(--aurora-cyan);
}

.glacier-btn--lg {
  padding: var(--gap-md) var(--gap-2xl);
  font-size: 1.125rem;
}

.glacier-btn--block {
  width: 100%;
}

/* ==========================================
   HERO SECTION - Northern Lights Hero
   ========================================== */
.lights-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap-4xl) 0;
  background: var(--grad-aurora-sky);
  overflow: hidden;
}

.lights-hero__aurora {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(0, 229, 204, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(57, 255, 143, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(157, 78, 221, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 80% 50%, rgba(199, 125, 255, 0.15) 0%, transparent 45%);
  animation: auroraShift 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes auroraShift {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  33% {
    transform: translateY(-20px) scale(1.05);
    opacity: 0.9;
  }
  66% {
    transform: translateY(10px) scale(0.98);
    opacity: 1;
  }
}

.lights-hero__particles {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 100px 50px, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 200px 150px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 300px 80px, rgba(255,255,255,0.9), transparent),
    radial-gradient(2px 2px at 400px 200px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 500px 120px, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 150px 250px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 350px 300px, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 450px 50px, rgba(255,255,255,0.5), transparent);
  background-size: 600px 350px;
  animation: starsTwinkle 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes starsTwinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.lights-hero__fog {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.5) 50%, var(--fjord-abyss) 100%);
  pointer-events: none;
}

.lights-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.lights-hero__badge {
  display: inline-block;
  padding: var(--gap-2xs) var(--gap-md);
  background: rgba(0, 229, 204, 0.15);
  border: 1px solid rgba(0, 229, 204, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--aurora-cyan);
  margin-bottom: var(--gap-lg);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 229, 204, 0.2); }
  50% { box-shadow: 0 0 25px rgba(0, 229, 204, 0.4); }
}

.lights-hero__heading {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--gap-lg);
  background: linear-gradient(135deg, var(--ice-white) 0%, var(--aurora-cyan) 50%, var(--aurora-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 60px rgba(0, 229, 204, 0.3);
}

.lights-hero__desc {
  font-size: 1.2rem;
  color: rgba(240, 248, 255, 0.85);
  max-width: 650px;
  margin: 0 auto var(--gap-xl);
  line-height: 1.8;
}

.lights-hero__cta {
  display: flex;
  gap: var(--gap-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--gap-xl);
}

.lights-hero__disclaimer {
  font-size: 0.85rem;
  color: rgba(240, 248, 255, 0.6);
  max-width: 500px;
  margin: 0 auto;
}

/* ==========================================
   CONTENT SECTIONS - Fjord Sections
   ========================================== */
.fjord-section {
  padding: var(--gap-4xl) 0;
  position: relative;
}

.fjord-section--dark {
  background: var(--fjord-deep);
}

.fjord-section--gradient {
  background: var(--grad-fjord-water);
}

.fjord-section--glow {
  background: var(--fjord-abyss);
}

.fjord-section--glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: var(--grad-northern-lights);
  opacity: 0.5;
}

.fjord-section__header {
  text-align: center;
  margin-bottom: var(--gap-3xl);
}

.fjord-section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--gap-md);
}

.fjord-section__subtitle {
  font-size: 1.1rem;
  color: rgba(240, 248, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   CARDS - Ice Cards
   ========================================== */
.ice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap-xl);
}

.ice-card {
  background: linear-gradient(145deg, rgba(26, 64, 102, 0.6) 0%, rgba(15, 40, 71, 0.8) 100%);
  border: 1px solid rgba(0, 229, 204, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
}

.ice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-ice-glow);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.ice-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 204, 0.4);
  box-shadow: var(--shadow-elevated), var(--glow-subtle);
}

.ice-card:hover::before {
  opacity: 1;
}

.ice-card__visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-aurora-sky);
  position: relative;
  overflow: hidden;
}

.ice-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(0, 229, 204, 0.2) 0%, transparent 60%);
}

.ice-card__icon {
  font-size: 4rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(0, 229, 204, 0.5));
}

.ice-card__body {
  padding: var(--gap-xl);
  position: relative;
  z-index: 1;
}

.ice-card__name {
  font-size: 1.35rem;
  margin-bottom: var(--gap-sm);
  color: var(--aurora-cyan);
}

.ice-card__info {
  color: rgba(240, 248, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: var(--gap-lg);
  line-height: 1.7;
}

/* ==========================================
   FEATURE GRID - Crystal Features
   ========================================== */
.crystal-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-xl);
}

.crystal-feature {
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.08) 0%, rgba(157, 78, 221, 0.05) 100%);
  border: 1px solid rgba(0, 229, 204, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--gap-xl);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.crystal-feature:hover {
  border-color: rgba(0, 229, 204, 0.5);
  box-shadow: var(--glow-subtle);
  transform: translateY(-4px);
}

.crystal-feature__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--gap-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--grad-btn-primary);
  border-radius: var(--radius-circle);
  box-shadow: var(--glow-medium);
}

.crystal-feature__title {
  font-size: 1.15rem;
  margin-bottom: var(--gap-sm);
  color: var(--ice-white);
}

.crystal-feature__text {
  color: rgba(240, 248, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.crystal-feature__text a {
  color: var(--aurora-cyan);
}

/* ==========================================
   CTA BANNER - Aurora Banner
   ========================================== */
.aurora-banner {
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.12) 0%, rgba(157, 78, 221, 0.1) 50%, rgba(199, 125, 255, 0.08) 100%);
  border: 1px solid rgba(0, 229, 204, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--gap-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.aurora-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.1) 0%, transparent 40%);
  animation: bannerGlow 10s ease-in-out infinite;
}

@keyframes bannerGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10%, 10%); }
}

.aurora-banner__title {
  font-size: 1.75rem;
  margin-bottom: var(--gap-md);
  position: relative;
  z-index: 1;
}

.aurora-banner__text {
  color: rgba(240, 248, 255, 0.8);
  max-width: 550px;
  margin: 0 auto var(--gap-xl);
  position: relative;
  z-index: 1;
}

.aurora-banner__actions {
  display: flex;
  gap: var(--gap-md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.aurora-banner__notice {
  font-size: 0.85rem;
  color: rgba(240, 248, 255, 0.6);
  margin-top: var(--gap-lg);
  position: relative;
  z-index: 1;
}

/* ==========================================
   COMPLIANCE RIBBON
   ========================================== */
.compliance-ribbon {
  background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
  color: var(--ice-white);
  text-align: center;
  padding: var(--gap-md) var(--gap-lg);
  font-size: 0.9rem;
  font-weight: 500;
}

.compliance-ribbon__main {
  display: block;
  margin-bottom: var(--gap-2xs);
}

.compliance-ribbon__sub {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* ==========================================
   FOOTER - Deep Footer
   ========================================== */
.deep-footer {
  background: linear-gradient(180deg, var(--fjord-deep) 0%, var(--fjord-abyss) 100%);
  padding: var(--gap-3xl) 0 var(--gap-xl);
  margin-top: auto;
  border-top: 1px solid rgba(0, 229, 204, 0.1);
}

.deep-footer__grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--gap-2xl);
  flex-wrap: wrap;
  margin-bottom: var(--gap-2xl);
}

.deep-footer__brand img {
  height: 40px;
  margin-bottom: var(--gap-md);
}

.deep-footer__tagline {
  color: rgba(240, 248, 255, 0.6);
  font-size: 0.9rem;
  max-width: 250px;
}

.deep-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-md) var(--gap-xl);
}

.deep-footer__link {
  color: rgba(240, 248, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--duration-fast);
}

.deep-footer__link:hover {
  color: var(--aurora-cyan);
}

.deep-footer__bottom {
  border-top: 1px solid rgba(0, 229, 204, 0.1);
  padding-top: var(--gap-xl);
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  font-size: 0.8rem;
  color: rgba(240, 248, 255, 0.5);
}

.deep-footer__bottom a {
  color: inherit;
}

/* ==========================================
   COOKIE CONSENT - Frost Consent
   ========================================== */
.frost-consent {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 2000;
  padding: var(--gap-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}

.frost-consent.is-visible {
  opacity: 1;
  visibility: visible;
}

.frost-consent__dialog {
  background: linear-gradient(145deg, var(--fjord-mid) 0%, var(--fjord-deep) 100%);
  border: 1px solid rgba(0, 229, 204, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--gap-2xl);
  max-width: 450px;
  text-align: center;
  box-shadow: var(--shadow-elevated);
  transform: translateY(20px);
  transition: transform var(--duration-normal);
}

.frost-consent.is-visible .frost-consent__dialog {
  transform: translateY(0);
}

.frost-consent__icon {
  width: 70px;
  margin: 0 auto var(--gap-md);
}

.frost-consent__title {
  font-size: 1.25rem;
  margin-bottom: var(--gap-sm);
}

.frost-consent__text {
  color: rgba(240, 248, 255, 0.75);
  font-size: 0.9rem;
  margin-bottom: var(--gap-lg);
}

.frost-consent__text a {
  color: var(--aurora-cyan);
  text-decoration: underline;
}

/* ==========================================
   MODAL SYSTEM - Glacier Modal
   ========================================== */
.glacier-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  z-index: 2000;
  padding: var(--gap-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}

.glacier-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.glacier-modal__panel {
  background: linear-gradient(145deg, var(--fjord-mid) 0%, var(--fjord-deep) 100%);
  border: 1px solid rgba(0, 229, 204, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--gap-2xl);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-elevated);
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}

.glacier-modal__panel.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.glacier-modal__title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: var(--gap-xl);
}

/* ==========================================
   FORMS - Frost Forms
   ========================================== */
.frost-field {
  margin-bottom: var(--gap-md);
}

.frost-field__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--gap-xs);
  color: rgba(240, 248, 255, 0.85);
}

.frost-field__input {
  width: 100%;
  padding: var(--gap-md);
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(0, 229, 204, 0.2);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ice-white);
  transition: all var(--duration-fast);
}

.frost-field__input::placeholder {
  color: rgba(240, 248, 255, 0.4);
}

.frost-field__input:focus {
  outline: none;
  border-color: var(--aurora-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.15);
}

.frost-field__input--textarea {
  min-height: 140px;
  resize: vertical;
}

.frost-field--password {
  position: relative;
}

.frost-field__toggle {
  position: absolute;
  right: var(--gap-md);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(240, 248, 255, 0.5);
  cursor: pointer;
  font-size: 1.1rem;
}

.frost-field__toggle:hover {
  color: var(--aurora-cyan);
}

.frost-form__footer {
  display: flex;
  justify-content: center;
  gap: var(--gap-xs);
  margin-top: var(--gap-lg);
  font-size: 0.9rem;
  color: rgba(240, 248, 255, 0.7);
}

.frost-form__footer a {
  font-weight: 600;
}

/* ==========================================
   DOCUMENT PAGES - Scroll Document
   ========================================== */
.scroll-document {
  background: linear-gradient(145deg, rgba(26, 64, 102, 0.5) 0%, rgba(15, 40, 71, 0.7) 100%);
  border: 1px solid rgba(0, 229, 204, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--gap-2xl);
  max-width: var(--container-sm);
  margin: 0 auto;
}

.scroll-document h1 {
  font-size: 1.75rem;
  margin-bottom: var(--gap-xl);
  padding-bottom: var(--gap-md);
  border-bottom: 1px solid rgba(0, 229, 204, 0.2);
}

.scroll-document h2 {
  font-size: 1.25rem;
  margin-top: var(--gap-xl);
  margin-bottom: var(--gap-md);
  color: var(--aurora-cyan);
}

.scroll-document p {
  color: rgba(240, 248, 255, 0.85);
  line-height: 1.8;
}

.scroll-document ul {
  margin: var(--gap-md) 0;
  padding-left: var(--gap-lg);
}

.scroll-document li {
  margin-bottom: var(--gap-sm);
  padding-left: var(--gap-sm);
  position: relative;
  color: rgba(240, 248, 255, 0.85);
}

.scroll-document li::before {
  content: '◆';
  position: absolute;
  left: calc(-1 * var(--gap-md));
  color: var(--aurora-cyan);
  font-size: 0.6rem;
  top: 0.5em;
}

.scroll-document strong {
  color: var(--ice-white);
}

/* Info Notice */
.info-notice {
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.1) 0%, rgba(57, 255, 143, 0.08) 100%);
  border-left: 4px solid var(--aurora-cyan);
  border-radius: var(--radius-md);
  padding: var(--gap-lg);
  margin: var(--gap-xl) 0;
}

.info-notice p {
  margin: 0;
  color: rgba(240, 248, 255, 0.9);
}

.info-notice strong {
  color: var(--aurora-cyan);
}

/* Highlight Box */
.highlight-box {
  background: var(--grad-fjord-water);
  border-radius: var(--radius-lg);
  padding: var(--gap-lg);
  margin-bottom: var(--gap-xl);
}

.highlight-box p {
  margin: 0;
  font-size: 1.05rem;
}

/* ==========================================
   GAME PAGES - Arena Styles
   ========================================== */
.game-arena {
  max-width: 900px;
  margin: var(--gap-xl) auto;
}

.game-arena__intro {
  text-align: center;
  margin-bottom: var(--gap-xl);
}

.game-arena__title {
  font-size: 2rem;
  margin-bottom: var(--gap-sm);
  background: var(--grad-northern-lights);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-arena__desc {
  color: rgba(240, 248, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

.game-arena__stage {
  background: linear-gradient(145deg, rgba(26, 64, 102, 0.6) 0%, rgba(15, 40, 71, 0.8) 100%);
  border: 1px solid rgba(0, 229, 204, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--gap-xl);
  box-shadow: var(--shadow-card);
}

.game-arena__canvas {
  border-radius: var(--radius-lg);
  min-height: 450px;
  position: relative;
  overflow: hidden;
}

.game-arena__canvas--aurora {
  background: linear-gradient(180deg, #050d1a 0%, #0a1628 40%, #0f2847 100%);
}

.game-arena__canvas--fjord {
  background: linear-gradient(180deg, #0a1628 0%, #1a4066 50%, #2d6187 100%);
}

.game-arena__controls {
  text-align: center;
  margin-top: var(--gap-xl);
  position: relative;
  z-index: 10;
}

.game-arena__status {
  color: var(--ice-white);
  font-size: 1.1rem;
  font-weight: 500;
  min-height: 1.5rem;
  margin-bottom: var(--gap-md);
}

.game-arena__score {
  color: rgba(240, 248, 255, 0.7);
  font-size: 0.95rem;
}

.game-arena__nav {
  display: flex;
  gap: var(--gap-md);
  justify-content: center;
  margin-top: var(--gap-xl);
  padding-top: var(--gap-lg);
  border-top: 1px solid rgba(0, 229, 204, 0.15);
}

/* Top Disclaimer */
.top-disclaimer {
  text-align: center;
  padding: var(--gap-md);
  background: linear-gradient(135deg, rgba(0, 229, 204, 0.1) 0%, rgba(157, 78, 221, 0.08) 100%);
  border-bottom: 1px solid rgba(0, 229, 204, 0.2);
}

.top-disclaimer__main {
  display: block;
  font-weight: 600;
  color: var(--aurora-cyan);
  margin-bottom: var(--gap-2xs);
}

.top-disclaimer__sub {
  display: block;
  font-size: 0.85rem;
  color: rgba(240, 248, 255, 0.6);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.u-text-center { text-align: center; }
.u-text-left { text-align: left; }
.u-text-right { text-align: right; }

.u-mt-sm { margin-top: var(--gap-sm); }
.u-mt-md { margin-top: var(--gap-md); }
.u-mt-lg { margin-top: var(--gap-lg); }
.u-mt-xl { margin-top: var(--gap-xl); }
.u-mt-2xl { margin-top: var(--gap-2xl); }

.u-mb-sm { margin-bottom: var(--gap-sm); }
.u-mb-md { margin-bottom: var(--gap-md); }
.u-mb-lg { margin-bottom: var(--gap-lg); }
.u-mb-xl { margin-bottom: var(--gap-xl); }
.u-mb-2xl { margin-bottom: var(--gap-2xl); }

.u-pt-lg { padding-top: var(--gap-lg); }
.u-pt-xl { padding-top: var(--gap-xl); }
.u-pb-lg { padding-bottom: var(--gap-lg); }
.u-pb-xl { padding-bottom: var(--gap-xl); }

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media screen and (max-width: 1024px) {
  .polar-nav__menu {
    gap: var(--gap-2xs);
  }
  
  .polar-nav__item {
    padding: var(--gap-xs) var(--gap-sm);
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --gap-lg: 1.25rem;
    --gap-xl: 1.5rem;
    --gap-2xl: 2rem;
    --gap-3xl: 2.5rem;
    --gap-4xl: 3.5rem;
  }
  
  .polar-header__inner {
    flex-wrap: wrap;
  }
  
  .polar-nav {
    order: 3;
    width: 100%;
    display: none;
    padding-top: var(--gap-md);
  }
  
  .polar-nav.is-open {
    display: block;
  }
  
  .polar-nav__menu {
    flex-direction: column;
    gap: var(--gap-xs);
  }
  
  .polar-nav__item {
    width: 100%;
    text-align: center;
  }
  
  .polar-nav__burger {
    display: flex;
  }
  
  .lights-hero {
    min-height: 70vh;
    padding: var(--gap-3xl) 0;
  }
  
  .lights-hero__cta {
    flex-direction: column;
    align-items: center;
  }
  
  .ice-cards {
    grid-template-columns: 1fr;
  }
  
  .deep-footer__grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .deep-footer__nav {
    justify-content: center;
  }
  
  .game-arena__canvas {
    min-height: 350px;
  }
}

@media screen and (max-width: 480px) {
  .aurora-container {
    padding: 0 var(--gap-md);
  }
  
  .glacier-btn--lg {
    width: 100%;
  }
  
  .aurora-banner {
    padding: var(--gap-xl);
  }
  
  .aurora-banner__actions {
    flex-direction: column;
  }
  
  .scroll-document {
    padding: var(--gap-lg);
  }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  .polar-header,
  .deep-footer,
  .frost-consent,
  .glacier-modal,
  .compliance-ribbon,
  .top-disclaimer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .scroll-document {
    background: none;
    border: none;
    box-shadow: none;
  }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 229, 204, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 229, 204, 0.6);
  }
}

@keyframes pulseViolet {
  0%, 100% {
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(157, 78, 221, 0.6);
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes rotateGlow {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeInUp 0.6s var(--ease-smooth) forwards;
}

.animate-fade-down {
  animation: fadeInDown 0.5s var(--ease-smooth) forwards;
}

.animate-scale {
  animation: fadeInScale 0.4s var(--ease-smooth) forwards;
}

.animate-pulse {
  animation: pulseGlow 2s ease-in-out infinite;
}

.animate-pulse-violet {
  animation: pulseViolet 2s ease-in-out infinite;
}

.animate-float {
  animation: floatSoft 4s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

.animate-bounce {
  animation: bounceIn 0.6s var(--ease-bounce) forwards;
}

.animate-shake {
  animation: shake 0.5s ease-in-out;
}

/* Scroll Animation Setup */
.will-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.will-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .will-animate {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================
   SOCIAL CASINO COMPLIANCE SECTION
   ========================================== */
.compliance-section {
  background: linear-gradient(180deg, var(--fjord-deep) 0%, var(--fjord-abyss) 100%);
  padding: var(--gap-3xl) 0;
  border-top: 1px solid rgba(0, 229, 204, 0.1);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap-xl);
  margin-top: var(--gap-2xl);
}

.compliance-item {
  background: rgba(0, 229, 204, 0.05);
  border: 1px solid rgba(0, 229, 204, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--gap-xl);
  text-align: center;
}

.compliance-item__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--gap-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: rgba(0, 229, 204, 0.1);
  border-radius: var(--radius-circle);
  border: 2px solid rgba(0, 229, 204, 0.3);
}

.compliance-item__title {
  font-size: 1.1rem;
  margin-bottom: var(--gap-sm);
  color: var(--aurora-cyan);
}

.compliance-item__text {
  font-size: 0.9rem;
  color: rgba(240, 248, 255, 0.7);
  line-height: 1.6;
}

/* ==========================================
   FORM ENHANCEMENTS
   ========================================== */
.frost-field.is-focused .frost-field__input {
  border-color: var(--aurora-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.15);
}

.frost-field.has-error .frost-field__input {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.frost-field__error {
  display: block;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: var(--gap-xs);
}

/* ==========================================
   LOADING STATES
   ========================================== */
.is-loading {
  position: relative;
  pointer-events: none;
}

.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 229, 204, 0.2);
  border-top-color: var(--aurora-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================
   TOOLTIP
   ========================================== */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: var(--gap-xs) var(--gap-sm);
  background: var(--fjord-mid);
  color: var(--ice-white);
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast);
  pointer-events: none;
  z-index: 100;
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

/* ==========================================
   HIGH SCORE BADGE
   ========================================== */
.high-score-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
  padding: var(--gap-xs) var(--gap-md);
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  color: var(--fjord-abyss);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  animation: pulseGlow 2s ease-in-out infinite;
}

.high-score-badge::before {
  content: '🏆';
}

/* ==========================================
   GAME RESULT SCREENS
   ========================================== */
.game-result {
  text-align: center;
}

.game-result__score {
  font-size: 3rem;
  font-weight: 700;
  background: var(--grad-northern-lights);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--gap-md);
}

.game-result__label {
  font-size: 1rem;
  color: rgba(240, 248, 255, 0.7);
  margin-bottom: var(--gap-lg);
}

.game-result__stats {
  display: flex;
  justify-content: center;
  gap: var(--gap-xl);
  margin-bottom: var(--gap-xl);
}

.game-result__stat {
  text-align: center;
}

.game-result__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--aurora-cyan);
}

.game-result__stat-label {
  font-size: 0.8rem;
  color: rgba(240, 248, 255, 0.6);
}
