/* =============================================
   ArcticNorthCircle.com — Global Stylesheet
   ============================================= */

/* --- Custom Properties --- */
:root {
  --night-950: #030810;
  --night-900: #050D1C;
  --night-800: #091524;
  --night-700: #0D1F35;
  --night-600: #122844;
  --night-500: #1A3554;
  --night-400: #234568;
  --night-300: #2E587C;

  --frost-400: #00C8E8;
  --frost-300: #33D5EE;
  --frost-200: #66E1F4;
  --frost-100: #99EDF9;
  --frost-50:  #CCF6FC;

  --aurora-500: #00E4A0;
  --aurora-400: #33EBB3;
  --aurora-300: #66F2C6;

  --sun-400: #F0B030;
  --sun-300: #F5C55A;

  --ice-400: #8BCDE8;
  --ice-300: #AAD9EE;
  --ice-200: #C8E6F4;

  --text-bright: #FFFFFF;
  --text-primary: #DCF0F8;
  --text-secondary: #90B8CC;
  --text-muted: #527A90;

  --success: #00E4A0;
  --warning: #F0B030;
  --error: #F05050;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 24px rgba(0,200,232,0.2);
  --shadow-aurora: 0 0 40px rgba(0,228,160,0.15);

  --font-heading: 'Exo 2', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--night-900);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--frost-400); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--frost-200); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-bright);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { line-height: 1.75; }
.lead-text { font-size: 1.125rem; color: var(--text-secondary); }

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-block { padding: 96px 0; }
.section-block-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-frost { color: var(--frost-400); }
.text-aurora { color: var(--aurora-500); }
.text-sun { color: var(--sun-400); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.divider { height: 1px; background: var(--night-500); margin: 32px 0; }
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-frost { background: rgba(0,200,232,0.15); color: var(--frost-400); border: 1px solid rgba(0,200,232,0.3); }
.badge-aurora { background: rgba(0,228,160,0.15); color: var(--aurora-500); border: 1px solid rgba(0,228,160,0.3); }
.badge-sun { background: rgba(240,176,48,0.15); color: var(--sun-400); border: 1px solid rgba(240,176,48,0.3); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--frost-400);
  color: var(--night-950);
  border: none;
}
.btn-primary:hover {
  background: var(--frost-200);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,200,232,0.35);
  color: var(--night-950);
}
.btn-aurora {
  background: var(--aurora-500);
  color: var(--night-950);
  border: none;
}
.btn-aurora:hover {
  background: var(--aurora-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,228,160,0.35);
  color: var(--night-950);
}
.btn-outline {
  background: transparent;
  color: var(--frost-400);
  border: 2px solid var(--frost-400);
}
.btn-outline:hover {
  background: rgba(0,200,232,0.1);
  transform: translateY(-2px);
  color: var(--frost-200);
}
.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text-bright);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,13,28,0.95);
  border-color: var(--night-500);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-wordmark {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.01em;
}
.logo-wordmark span { color: var(--frost-400); }
.logo-tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-bright);
  background: rgba(255,255,255,0.07);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-bar {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(5,13,28,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--night-500);
  padding: 16px 24px 24px;
  z-index: 899;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { padding: 12px 16px; font-size: 1rem; }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/bg.png') center / cover no-repeat;
  z-index: 0;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.snowflake-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--frost-400);
  border-radius: 50%;
  opacity: 0;
  animation: drift-fall linear infinite;
}
@keyframes drift-fall {
  0% { transform: translateY(-20px) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { transform: translateY(100vh) translateX(30px); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-badge { margin-bottom: 24px; }
.hero-headline { margin-bottom: 24px; }
.hero-headline .headline-accent {
  display: block;
  background: linear-gradient(90deg, var(--frost-400), var(--aurora-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--frost-400);
  line-height: 1;
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aurora-orb {
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,228,160,0.08) 0%, rgba(0,200,232,0.06) 40%, transparent 70%);
  position: relative;
  animation: pulse-aurora 6s ease-in-out infinite;
}
@keyframes pulse-aurora {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}
.aurora-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.aurora-ring-1 { width: 200px; height: 200px; border-color: rgba(0,200,232,0.3); animation: spin-ring 20s linear infinite; }
.aurora-ring-2 { width: 300px; height: 300px; border-color: rgba(0,228,160,0.2); animation: spin-ring 30s linear infinite reverse; }
.aurora-ring-3 { width: 420px; height: 420px; border-color: rgba(0,200,232,0.1); animation: spin-ring 45s linear infinite; }
@keyframes spin-ring {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.aurora-center-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
}

/* --- Section Headers --- */
.section-header { margin-bottom: 64px; }
.section-header.text-center .section-title { margin: 0 auto; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frost-400);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-bright);
  max-width: 640px;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}
.section-header.text-center .section-subtitle { margin: 0 auto; }

/* --- Games Section --- */
.games-section { background: var(--night-950); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night-700);
  border: 1px solid var(--night-500);
  transition: all var(--transition-base);
  group: game;
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--frost-400);
  box-shadow: var(--shadow-glow);
}
.game-card-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-thumb-poker {
  background: linear-gradient(135deg, #0D2438 0%, #1A3A50 50%, #0D2438 100%);
}
.game-thumb-slots {
  background: linear-gradient(135deg, #0D1F38 0%, #12324A 50%, #081828 100%);
}
.game-thumb-roulette {
  background: linear-gradient(135deg, #081E30 0%, #0F2840 50%, #061524 100%);
}
.game-thumb-icon {
  font-size: 5rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 16px rgba(0,200,232,0.4));
  transition: transform var(--transition-base);
}
.game-card:hover .game-thumb-icon { transform: scale(1.1) rotate(-5deg); }
.game-thumb-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(0,200,232,0.15) 0%, transparent 60%);
}
.game-card-body { padding: 24px; }
.game-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.game-card-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.game-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.game-meta-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--night-700);
  border: 1px solid var(--night-500);
  transition: all var(--transition-base);
}
.feature-card:hover {
  border-color: rgba(0,200,232,0.3);
  background: var(--night-600);
  transform: translateY(-4px);
}
.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0,200,232,0.1);
  border: 1px solid rgba(0,200,232,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.feature-icon-wrap.aurora-tint {
  background: rgba(0,228,160,0.1);
  border-color: rgba(0,228,160,0.2);
}
.feature-icon-wrap.sun-tint {
  background: rgba(240,176,48,0.1);
  border-color: rgba(240,176,48,0.2);
}
.feature-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 10px;
}
.feature-card-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Stats Section --- */
.stats-section {
  background: linear-gradient(180deg, var(--night-950) 0%, var(--night-800) 100%);
  border-top: 1px solid var(--night-500);
  border-bottom: 1px solid var(--night-500);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-block-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--frost-400);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-block-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, rgba(0,200,232,0.06) 0%, rgba(0,228,160,0.04) 100%);
  border-top: 1px solid var(--night-500);
}
.cta-card {
  background: var(--night-700);
  border: 1px solid var(--night-500);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,200,232,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-card-title { margin-bottom: 16px; }
.cta-card-subtitle { color: var(--text-secondary); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btn-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- How It Works Steps --- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--night-500), var(--night-400), var(--night-500), transparent);
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--night-700);
  border: 2px solid var(--frost-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--frost-400);
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(0,200,232,0.2);
}
.step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.step-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* --- Footer --- */
.site-footer {
  background: var(--night-950);
  border-top: 1px solid var(--night-500);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--night-500);
}
.footer-brand-col {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-icon { width: 36px; height: 36px; }
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-bright);
}
.footer-brand-name span { color: var(--frost-400); }
.footer-brand-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-bright);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--frost-400); }

.footer-contact-section {
  background: var(--night-800);
  border: 1px solid var(--night-500);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aurora-400);
}
.footer-contact-value {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.footer-disclaimer-box {
  background: var(--night-800);
  border: 1px solid var(--night-500);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0 0;
}
.footer-disclaimer-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sun-400);
  margin-bottom: 10px;
}
.footer-disclaimer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-disclaimer-text a {
  color: var(--frost-400);
  text-decoration: underline;
}
.footer-disclaimer-text a:hover { color: var(--frost-200); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--frost-400); }
.footer-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--night-400);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Age Gate Modal --- */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(3,8,16,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.age-gate-overlay.hidden { display: none; }
.age-gate-modal {
  background: var(--night-700);
  border: 1px solid var(--night-500);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}
.age-gate-modal::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,200,232,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.age-gate-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}
.age-gate-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.age-gate-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}
.age-gate-check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--night-800);
  border: 1px solid var(--night-400);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.age-gate-check-wrap:hover { border-color: var(--frost-400); }
.age-gate-check-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 4px;
  border: 2px solid var(--night-300);
  background: var(--night-800);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  margin-top: 2px;
}
.age-gate-check-wrap input[type="checkbox"]:checked {
  background: var(--frost-400);
  border-color: var(--frost-400);
}
.age-gate-check-wrap input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 6px; height: 10px;
  border: 2px solid var(--night-950);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.age-gate-check-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.age-gate-check-label strong { color: var(--text-bright); }
.age-gate-confirm-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
}
.age-gate-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}
.age-gate-legal a { color: var(--frost-400); text-decoration: underline; }

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--night-700);
  border-top: 1px solid var(--night-500);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { display: none; }
.cookie-banner-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.cookie-banner-text a { color: var(--frost-400); text-decoration: underline; }
.cookie-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* --- Inner Page Hero --- */
.inner-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--night-950) 0%, var(--night-900) 100%);
  border-bottom: 1px solid var(--night-500);
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,200,232,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.inner-hero-badge { margin-bottom: 16px; }
.inner-hero h1 { margin-bottom: 16px; }
.inner-hero .lead-text { max-width: 580px; }

/* --- Content Cards --- */
.content-card {
  background: var(--night-700);
  border: 1px solid var(--night-500);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
}
.content-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.content-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}
.content-card p:last-child { margin-bottom: 0; }
.content-card ul, .content-card ol {
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.9;
  list-style: disc;
}
.content-card ol { list-style: decimal; }

/* --- FAQ Accordion --- */
.faq-item {
  background: var(--night-700);
  border: 1px solid var(--night-500);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-bright);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--transition-fast);
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--night-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), background var(--transition-fast);
  color: var(--frost-400);
  font-style: normal;
  font-size: 0.7rem;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--frost-400);
  color: var(--night-950);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--transition-base);
  padding: 0 24px;
}
.faq-answer p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-bottom: 20px;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* --- Contact Form --- */
.contact-form {
  background: var(--night-700);
  border: 1px solid var(--night-500);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--night-800);
  border: 1px solid var(--night-400);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--frost-400);
  box-shadow: 0 0 0 3px rgba(0,200,232,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --- Notification Toast --- */
.toast-notification {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9500;
  background: var(--night-600);
  border: 1px solid var(--night-400);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  max-width: 320px;
}
.toast-notification.show { transform: translateX(0); }
.toast-notification.success { border-color: rgba(0,228,160,0.4); }
.toast-notification.error { border-color: rgba(240,80,80,0.4); }

/* --- Game Pages --- */
.game-page-bg {
  min-height: 100vh;
  background: var(--night-950);
  padding-top: 80px;
}
.game-page-header {
  background: var(--night-800);
  border-bottom: 1px solid var(--night-500);
  padding: 20px 0;
}
.game-page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.game-page-title-group {}
.game-page-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--text-bright); }
.game-page-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.frost-coin-display {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--night-700);
  border: 1px solid var(--night-400);
  border-radius: var(--radius-md);
  padding: 10px 20px;
}
.frost-coin-icon { font-size: 1.4rem; }
.frost-coin-amount {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--frost-400);
}
.frost-coin-label { font-size: 0.75rem; color: var(--text-muted); }
.game-main-area { padding: 32px 0; }
.game-result-banner {
  padding: 14px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.game-result-banner.visible { opacity: 1; }
.game-result-banner.win {
  background: rgba(0,228,160,0.15);
  border: 1px solid rgba(0,228,160,0.4);
  color: var(--aurora-500);
}
.game-result-banner.lose {
  background: rgba(240,80,80,0.1);
  border: 1px solid rgba(240,80,80,0.3);
  color: #F07070;
}
.game-result-banner.push {
  background: rgba(240,176,48,0.1);
  border: 1px solid rgba(240,176,48,0.3);
  color: var(--sun-400);
}

/* --- Animations --- */
@keyframes float-up {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.animate-float-up { animation: float-up 0.6s ease forwards; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-effect {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes aurora-wave {
  0%, 100% { opacity: 0.6; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.02); }
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row::before { display: none; }
  .hero-visual { display: none; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .games-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats-row { gap: 24px; }
  .steps-row { grid-template-columns: 1fr; }
  .section-block { padding: 64px 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .age-gate-modal { padding: 40px 24px; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
}
