/* ============================================================
   TRADE MASTERS PREMIUM — DESIGN SYSTEM v3.0
   GOD MODE: Premium 3D · Dual-Theme · Next-Level
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES — NEXT LEVEL DESIGN TOKENS
   ============================================================ */
:root {
  /* --- Deep Space Dark Palette --- */
  --clr-bg-primary:      #05070D;
  --clr-bg-secondary:    #080C14;
  --clr-bg-tertiary:     #0C1220;
  --clr-bg-card:         rgba(12, 18, 32, 0.80);
  --clr-bg-glass:        rgba(255, 255, 255, 0.035);
  --clr-bg-glass-hover:  rgba(255, 255, 255, 0.065);
  --clr-bg-glass-active: rgba(255, 255, 255, 0.09);

  /* --- Signature Cyan-Teal Brand --- */
  --clr-cyan:         #00E5FF;
  --clr-cyan-dim:     #00B8D4;
  --clr-cyan-glow:    rgba(0, 229, 255, 0.18);
  --clr-cyan-strong:  rgba(0, 229, 255, 0.35);

  /* --- Electric Green (Profit) --- */
  --clr-emerald:      #00FFA3;
  --clr-emerald-dim:  #00CC82;
  --clr-emerald-glow: rgba(0, 255, 163, 0.18);

  /* --- Premium Gold (Elite) --- */
  --clr-gold:         #FFD700;
  --clr-gold-2:       #FFA500;
  --clr-gold-dim:     #CC9900;
  --clr-gold-glow:    rgba(255, 215, 0, 0.20);

  /* --- Crimson Red (Loss / Alert) --- */
  --clr-red:          #FF3D5A;
  --clr-red-dim:      #CC2040;
  --clr-red-glow:     rgba(255, 61, 90, 0.18);

  /* --- Violet Accent --- */
  --clr-violet:       #9D6EFF;
  --clr-violet-dim:   #7B50DD;
  --clr-violet-glow:  rgba(157, 110, 255, 0.18);

  /* --- Text Hierarchy --- */
  --clr-text-primary:   #EFF4FF;
  --clr-text-secondary: #7A8DB3;
  --clr-text-muted:     #3D4F6B;
  --clr-text-inverse:   #05070D;

  /* --- Borders --- */
  --clr-border:        rgba(255, 255, 255, 0.05);
  --clr-border-soft:   rgba(255, 255, 255, 0.09);
  --clr-border-cyan:   rgba(0, 229, 255, 0.25);
  --clr-border-gold:   rgba(255, 215, 0, 0.25);
  --clr-border-green:  rgba(0, 255, 163, 0.25);

  /* --- Gradient System --- */
  --grad-brand:        linear-gradient(135deg, #00E5FF 0%, #9D6EFF 100%);
  --grad-gold:         linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
  --grad-green:        linear-gradient(135deg, #00FFA3 0%, #00B8D4 100%);
  --grad-hero-bg:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 229, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 70%, rgba(157, 110, 255, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(0, 255, 163, 0.06) 0%, transparent 50%),
    #0B1121;
  --grad-card-dark:    linear-gradient(145deg, rgba(18,26,46,0.85) 0%, rgba(8,12,20,0.95) 100%);
  --grad-shimmer:      linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.06) 50%, transparent 100%);

  /* --- Spacing (8px grid) --- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* --- Typography --- */
  --font-heading: 'Plus Jakarta Sans', 'Space Grotesk', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --fs-2xs: clamp(0.55rem, 1vw,   0.65rem);
  --fs-xs:  clamp(0.65rem, 1.5vw, 0.75rem);
  --fs-sm:  clamp(0.75rem, 2vw,   0.875rem);
  --fs-base:clamp(0.875rem,2.5vw, 1rem);
  --fs-md:  clamp(1rem,    2.5vw, 1.125rem);
  --fs-lg:  clamp(1.125rem,3vw,   1.25rem);
  --fs-xl:  clamp(1.25rem, 3.5vw, 1.5rem);
  --fs-2xl: clamp(1.5rem,  4vw,   2rem);
  --fs-3xl: clamp(1.875rem,5vw,   2.5rem);
  --fs-4xl: clamp(2.25rem, 6vw,   3.5rem);
  --fs-5xl: clamp(2.75rem, 7vw,   4.5rem);
  --fs-6xl: clamp(3rem,    8vw,   6rem);

  /* --- Border Radius --- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.5);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.6);
  --shadow-lg:    0 8px 48px rgba(0,0,0,0.7);
  --shadow-xl:    0 16px 64px rgba(0,0,0,0.8);
  --shadow-cyan:  0 0 40px rgba(0,229,255,0.15), 0 0 80px rgba(0,229,255,0.06);
  --shadow-gold:  0 0 40px rgba(255,215,0,0.15),  0 0 80px rgba(255,215,0,0.06);
  --shadow-green: 0 0 40px rgba(0,255,163,0.12), 0 0 80px rgba(0,255,163,0.05);
  --shadow-card:  0 4px 32px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.04) inset;

  /* --- Transitions --- */
  --t-fast:   0.12s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   0.4s  cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.5s  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Backward compat aliases */
  --transition-fast:   var(--t-fast);
  --transition-base:   var(--t-base);
  --transition-slow:   var(--t-slow);
  --transition-bounce: var(--t-spring);
  --clr-neon-blue:      var(--clr-cyan);
  --clr-neon-blue-dim:  var(--clr-cyan-dim);
  --clr-neon-blue-glow: var(--clr-cyan-glow);
  --clr-border-glow:    var(--clr-border-cyan);

  /* --- Z-index --- */
  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 100;
  --z-modal:   200;
  --z-nav:     300;
  --z-toast:   400;

  /* font alias */
  --font-family-heading: var(--font-heading);
  --font-family-body:    var(--font-body);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  min-width: 320px;
  font-size: 16px;
  background: #05070D;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--clr-text-primary);
  background: #05070D;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--clr-text-primary);
}

/* ============================================================
   GLOBAL DESIGN SYSTEM — NO BODY PSEUDO CONFLICTS
   Individual pages manage their own decorative backgrounds.
   ============================================================ */

/* Prevent any accidental white flash */
html { background: #05070D; }

/* Universal section dark foundation */
section, .section {
  background-color: transparent;
}

/* ============================================================
   GLASS MORPHISM — PRODUCTION GRADE
   ============================================================ */
.glass {
  background: var(--clr-bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--clr-border);
}

.glass-card {
  background: linear-gradient(145deg, rgba(18,26,46,0.6) 0%, rgba(8,12,20,0.8) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--clr-border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--t-base);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* Subtle inner glow top edge */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

.glass-card:hover {
  background: linear-gradient(145deg, rgba(22,34,58,0.7) 0%, rgba(10,14,24,0.9) 100%);
  border-color: var(--clr-border-cyan);
  box-shadow: var(--shadow-card), var(--shadow-cyan);
  transform: translateY(-3px);
}

/* ============================================================
   GLOW BORDER UTILITY
   ============================================================ */
.glow-border {
  position: relative;
  border-radius: var(--radius-lg);
  isolation: isolate;
}
.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--grad-brand);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--t-base);
}
.glow-border:hover::after { opacity: 0.5; }

/* ============================================================
   BUTTON SYSTEM — PRODUCTION GRADE
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
  cursor: pointer;
}

/* Shimmer effect */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::before { transform: translateX(100%); }

/* Primary — Cyan-Violet Gradient */
.btn-primary {
  background: linear-gradient(135deg, #00E5FF 0%, #7B5FFF 100%);
  color: #05070D;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(0,229,255,0.25), 0 1px 0 rgba(255,255,255,0.2) inset;
  border: 1px solid rgba(0,229,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px rgba(0,229,255,0.35), 0 1px 0 rgba(255,255,255,0.2) inset;
}
.btn-primary:active { transform: translateY(0) scale(0.99); }

/* Gold */
.btn-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
  color: #05070D;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(255,215,0,0.25), 0 1px 0 rgba(255,255,255,0.2) inset;
  border: 1px solid rgba(255,215,0,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px rgba(255,215,0,0.35);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--clr-cyan);
  border: 1px solid rgba(0,229,255,0.4);
  box-shadow: inset 0 0 0 0 var(--clr-cyan);
}
.btn-outline:hover {
  background: rgba(0,229,255,0.08);
  border-color: var(--clr-cyan);
  box-shadow: 0 0 24px rgba(0,229,255,0.15);
  transform: translateY(-2px);
}

/* Ghost */
.btn-ghost {
  background: var(--clr-bg-glass);
  color: var(--clr-text-primary);
  border: 1px solid var(--clr-border-soft);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--clr-bg-glass-hover);
  border-color: var(--clr-border-cyan);
  box-shadow: 0 0 20px rgba(0,229,255,0.08);
  transform: translateY(-1px);
}

/* Sizes */
.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--fs-md);
  letter-spacing: 0.03em;
}
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-xs);
}
.btn-icon {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* Ripple */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(80); opacity: 0; }
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: clamp(60px, 10vw, 120px);
  position: relative;
}

.section-sm { padding-block: var(--space-12); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-green {
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted { color: var(--clr-text-secondary); }
.text-green { color: var(--clr-emerald); }
.text-red   { color: var(--clr-red); }
.text-xs    { font-size: var(--fs-xs); }
.text-sm    { font-size: var(--fs-sm); }
.text-lg    { font-size: var(--fs-lg); }
.text-xl    { font-size: var(--fs-xl); }
.text-center{ text-align: center; }
.mono       { font-family: var(--font-mono); }

/* Section header components */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px var(--space-4);
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--clr-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  backdrop-filter: blur(8px);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.section-subtext {
  font-size: var(--fs-lg);
  color: var(--clr-text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-10);
  line-height: 1.75;
}

/* Section separator glow line */
.section::after {
  content: none;
}

/* ============================================================
   BADGE & STATUS CHIPS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-green {
  background: rgba(0, 255, 163, 0.10);
  color: var(--clr-emerald);
  border: 1px solid rgba(0, 255, 163, 0.25);
}
.badge-red {
  background: rgba(255, 61, 90, 0.10);
  color: var(--clr-red);
  border: 1px solid rgba(255, 61, 90, 0.25);
}
.badge-blue {
  background: rgba(0, 229, 255, 0.10);
  color: var(--clr-cyan);
  border: 1px solid var(--clr-border-cyan);
}
.badge-gold {
  background: rgba(255, 215, 0, 0.10);
  color: var(--clr-gold);
  border: 1px solid rgba(255, 215, 0, 0.25);
}
.badge-violet {
  background: rgba(157, 110, 255, 0.10);
  color: var(--clr-violet);
  border: 1px solid rgba(157, 110, 255, 0.25);
}

/* Pulsing LIVE dot */
.badge-pulse::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 currentColor; }
  50%       { opacity: 0.7; transform: scale(0.85); }
}

/* ============================================================
   STAT CARD
   ============================================================ */
.stat-card {
  background: linear-gradient(145deg, rgba(18,26,46,0.6) 0%, rgba(8,12,20,0.8) 100%);
  border: 1px solid var(--clr-border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  text-align: center;
  transition: all var(--t-base);
  box-shadow: var(--shadow-card);
}
.stat-card:hover {
  border-color: var(--clr-border-cyan);
  box-shadow: var(--shadow-card), var(--shadow-cyan);
  transform: translateY(-2px);
}
.stat-value {
  font-size: var(--fs-3xl);
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}
.stat-label {
  font-size: var(--fs-xs);
  color: var(--clr-text-secondary);
  margin-top: var(--space-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   FORM SYSTEM
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text-secondary);
  letter-spacing: 0.04em;
}
.form-input {
  background: rgba(12,18,32,0.8);
  border: 1px solid var(--clr-border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: var(--clr-text-primary);
  font-size: var(--fs-base);
  transition: all var(--t-base);
  outline: none;
  width: 100%;
  backdrop-filter: blur(8px);
}
.form-input::placeholder { color: var(--clr-text-muted); }
.form-input:focus {
  border-color: var(--clr-cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.12), 0 0 20px rgba(0,229,255,0.08);
  background: rgba(0,229,255,0.03);
}
.form-input:hover:not(:focus) { border-color: rgba(255,255,255,0.12); }

.input-wrapper { position: relative; }
.input-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
  pointer-events: none;
}
.input-wrapper .form-input { padding-left: var(--space-10); }

/* ============================================================
   SKELETON / SHIMMER
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--clr-bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--clr-cyan), var(--clr-violet));
  border-radius: var(--radius-full);
  opacity: 0.6;
}
::-webkit-scrollbar-thumb:hover { opacity: 1; }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(12, 18, 32, 0.95);
  border: 1px solid var(--clr-border-cyan);
  border-radius: var(--radius-md);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
  min-width: 300px;
  animation: slideInRight 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: all;
}
@keyframes slideInRight {
  from { transform: translateX(120px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   LOCKED / PREMIUM OVERLAY
   ============================================================ */
.premium-overlay { position: relative; overflow: hidden; }
.premium-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(5,7,13,0.9) 45%, rgba(5,7,13,0.98) 100%);
  z-index: 5;
}
.premium-badge-overlay {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  text-align: center;
  white-space: nowrap;
}

/* ============================================================
   DIVIDERS
   ============================================================ */
.divider {
  width: 100%;
  height: 1px;
  background: var(--clr-border);
  margin-block: var(--space-6);
}
.divider-glow {
  background: linear-gradient(90deg, transparent, var(--clr-cyan), transparent);
  opacity: 0.3;
}

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
#page-transition {
  position: fixed;
  inset: 0;
  background: var(--clr-bg-primary);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   CHIP / TAG
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  border: 1px solid var(--clr-border-soft);
  color: var(--clr-text-secondary);
  background: var(--clr-bg-glass);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  letter-spacing: 0.03em;
}

/* ============================================================
   SECTION BACKGROUND DECORATIONS
   ============================================================ */
.section-glow-top {
  position: relative;
}
.section-glow-top::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 479px) {
  .container { padding-inline: var(--space-4); }
  .section    { padding-block: var(--space-12); }
  .hide-mobile { display: none !important; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .hide-mobile-up { display: none !important; }
}
@media (max-width: 767px) {
  .hide-tablet { display: none !important; }
}
@media (min-width: 768px) {
  .show-mobile-only { display: none !important; }
}
@media (min-width: 1024px) {
  .show-tablet-only { display: none !important; }
}

/* ============================================================
   GLOBAL BROADCAST NOTICE BAR
   ============================================================ */
.global-notice-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 1000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: slideDownNotice 0.4s ease-out forwards;
}

@keyframes slideDownNotice {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.global-notice-bar .notice-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.global-notice-bar .notice-icon {
  font-size: 1.1rem;
  animation: bounceMini 2s infinite ease-in-out;
  display: inline-flex;
  align-items: center;
}

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

.global-notice-bar .notice-close {
  background: none;
  border: none;
  color: var(--clr-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--t-base);
  opacity: 0.7;
}

.global-notice-bar .notice-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-text-primary);
  opacity: 1;
}

/* Color variations */
.global-notice-bar.gold {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 152, 0, 0.15) 50%, rgba(255, 215, 0, 0.1) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 2px 15px rgba(255, 215, 0, 0.06);
}
.global-notice-bar.gold .notice-content {
  color: #FFE066;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.global-notice-bar.cyan {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08) 0%, rgba(0, 184, 212, 0.15) 50%, rgba(0, 229, 255, 0.08) 100%);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 2px 15px rgba(0, 229, 255, 0.06);
}
.global-notice-bar.cyan .notice-content {
  color: #66E3FF;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.global-notice-bar.emerald {
  background: linear-gradient(90deg, rgba(0, 255, 163, 0.08) 0%, rgba(0, 200, 115, 0.15) 50%, rgba(0, 255, 163, 0.08) 100%);
  border-bottom: 1px solid rgba(0, 255, 163, 0.2);
  box-shadow: 0 2px 15px rgba(0, 255, 163, 0.06);
}
.global-notice-bar.emerald .notice-content {
  color: #66FFA6;
  text-shadow: 0 0 10px rgba(0, 255, 163, 0.2);
}

.global-notice-bar.red {
  background: linear-gradient(90deg, rgba(255, 61, 90, 0.08) 0%, rgba(213, 0, 0, 0.15) 50%, rgba(255, 61, 90, 0.08) 100%);
  border-bottom: 1px solid rgba(255, 61, 90, 0.2);
  box-shadow: 0 2px 15px rgba(255, 61, 90, 0.06);
}
.global-notice-bar.red .notice-content {
  color: #FF8597;
  text-shadow: 0 0 10px rgba(255, 61, 90, 0.2);
}

/* Custom logo sizing across all pages */
.logo-svg {
  width: 30px;
  height: 30px;
  display: block;
}


