/* ============================================================
   NEUTRINO OBSERVATORY — CSS VARIABLES & RESET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Inter:wght@300;400;500;600&family=Share+Tech+Mono&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Core palette */
  --void:          #00000a;
  --deep-space:    #010115;
  --nebula:        #050525;
  --surface:       #080830;
  --surface-hi:    #0d0d40;

  /* Accent spectrum */
  --plasma:        #00d4ff;
  --plasma-dim:    rgba(0, 212, 255, 0.15);
  --plasma-mid:    rgba(0, 212, 255, 0.4);
  --solar:         #ff6b35;
  --solar-dim:     rgba(255, 107, 53, 0.15);
  --antimatter:    #c84bff;
  --antimatter-dim:rgba(200, 75, 255, 0.15);
  --gamma:         #39ff14;
  --gamma-dim:     rgba(57, 255, 20, 0.15);
  --gold:          #ffd700;
  --gold-dim:      rgba(255, 215, 0, 0.15);
  --ice:           #a8f0ff;

  /* Text — bright and readable */
  --text-white:    #ffffff;
  --text-bright:   #eaf4ff;
  --text-main:     #b8d0e8;
  --text-dim:      #6888a8;
  --text-ghost:    rgba(100, 150, 200, 0.3);

  /* Glows */
  --glow-plasma:   0 0 20px rgba(0,212,255,0.6), 0 0 60px rgba(0,212,255,0.2), 0 0 120px rgba(0,212,255,0.08);
  --glow-solar:    0 0 20px rgba(255,107,53,0.6), 0 0 60px rgba(255,107,53,0.2);
  --glow-anti:     0 0 20px rgba(200,75,255,0.6), 0 0 60px rgba(200,75,255,0.2);
  --glow-gamma:    0 0 20px rgba(57,255,20,0.6), 0 0 60px rgba(57,255,20,0.2);

  /* Borders */
  --border-subtle: rgba(0, 212, 255, 0.06);
  --border-soft:   rgba(0, 212, 255, 0.15);
  --border-mid:    rgba(0, 212, 255, 0.35);
  --border-bright: rgba(0, 212, 255, 0.7);

  /* Layout */
  --nav-h: 84px;
  --max-w: 1280px;
  --radius: 2px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--void);
  color: var(--text-bright);
  font-family: 'Barlow', 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 400;
  cursor: none;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Force all paragraph text to be big and clear */
p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-main);
  font-weight: 400;
}

/* All inline styles with font-size in px — override small ones */
[style*="font-size:13px"], [style*="font-size: 13px"],
[style*="font-size:14px"], [style*="font-size: 14px"],
[style*="font-size:15px"], [style*="font-size: 15px"] {
  font-size: 17px !important;
}
[style*="font-size:16px"], [style*="font-size: 16px"] {
  font-size: 18px !important;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; font: inherit; border: none; background: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--plasma-mid); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--plasma); }

/* ===== SELECTION ===== */
::selection {
  background: rgba(0,212,255,0.25);
  color: #fff;
}

/* ===== SCANLINE OVERLAY ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.03) 3px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

/* ===== PAGE TRANSITION ===== */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--void);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.page-transition-overlay.active { opacity: 1; }


:root {
  /* Core palette */
  --void:          #00000a;
  --deep-space:    #010115;
  --nebula:        #050525;
  --surface:       #080830;
  --surface-hi:    #0d0d40;

  /* Accent spectrum */
  --plasma:        #00d4ff;
  --plasma-dim:    rgba(0, 212, 255, 0.15);
  --plasma-mid:    rgba(0, 212, 255, 0.4);
  --solar:         #ff6b35;
  --solar-dim:     rgba(255, 107, 53, 0.15);
  --antimatter:    #c84bff;
  --antimatter-dim:rgba(200, 75, 255, 0.15);
  --gamma:         #39ff14;
  --gamma-dim:     rgba(57, 255, 20, 0.15);
  --gold:          #ffd700;
  --gold-dim:      rgba(255, 215, 0, 0.15);
  --ice:           #a8f0ff;

  /* Text */
  --text-white:    #ffffff;
  --text-bright:   #d0e8ff;
  --text-main:     #8aa8cc;
  --text-dim:      #3a5070;
  --text-ghost:    rgba(100, 150, 200, 0.3);

  /* Glows */
  --glow-plasma:   0 0 20px rgba(0,212,255,0.6), 0 0 60px rgba(0,212,255,0.2), 0 0 120px rgba(0,212,255,0.08);
  --glow-solar:    0 0 20px rgba(255,107,53,0.6), 0 0 60px rgba(255,107,53,0.2);
  --glow-anti:     0 0 20px rgba(200,75,255,0.6), 0 0 60px rgba(200,75,255,0.2);
  --glow-gamma:    0 0 20px rgba(57,255,20,0.6), 0 0 60px rgba(57,255,20,0.2);

  /* Borders */
  --border-subtle: rgba(0, 212, 255, 0.06);
  --border-soft:   rgba(0, 212, 255, 0.15);
  --border-mid:    rgba(0, 212, 255, 0.35);
  --border-bright: rgba(0, 212, 255, 0.7);

  /* Layout */
  --nav-h: 80px;
  --max-w: 1280px;
  --radius: 2px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--void);
  color: var(--text-bright);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  line-height: 1.85;
  font-weight: 400;
  cursor: none;
  overflow-x: hidden;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

/* Global text clarity boost */
p, li, span, div {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Brighter body text colour for readability */
:root {
  --text-bright: #e0efff;
  --text-main:   #aac4e0;
  --text-dim:    #5a7898;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; font: inherit; border: none; background: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--plasma-mid); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--plasma); }

/* ===== SELECTION ===== */
::selection {
  background: rgba(0,212,255,0.25);
  color: #fff;
}

/* ===== SCANLINE OVERLAY ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

/* ===== PAGE TRANSITION ===== */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--void);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.page-transition-overlay.active { opacity: 1; }
