/* ========================================================
   GTA V EYEFIND / NOPIXEL CONSPIRACY STYLESHEET
   NEW EPSILON // N.E.S.T. // KIFFLOM EXPOSÉ
======================================================== */

:root {
  --bg-dark: #07090d;
  --bg-panel: #0d131d;
  --bg-card: #131b27;
  --border-color: #213247;
  --accent-cyan: #20c4cb;
  --accent-blue: #70c4e8;
  --epsilon-blue: #99e2ec;
  --accent-red: #d90429;
  --accent-red-glow: #ff2a4b;
  --accent-amber: #fca311;
  --text-main: #e2e8f0;
  --text-dim: #94a3b8;
  --corkboard-color: #7a5835;
  --font-mono: 'Consolas', 'Courier New', monospace;
  --font-heading: 'Impact', 'Arial Black', sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(32, 196, 203, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(217, 4, 41, 0.05) 0%, transparent 50%);
}

/* ========================================================
   CRT SCANLINE & RETRO MONITOR OVERLAY
======================================================== */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.crt-active .crt-overlay {
  opacity: 1;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.35) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.04));
  background-size: 100% 3px, 6px 100%;
}

/* ========================================================
   GTA V EYEFIND BROWSER CHROME (TOP SHELL)
======================================================== */
.eyefind-browser-bar {
  background: #1a1e24;
  border-bottom: 2px solid #2d3748;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.browser-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px;
  background: #111418;
  border-bottom: 1px solid #222933;
  font-size: 0.8rem;
  color: #718096;
  font-family: var(--font-mono);
}

.browser-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-weight: bold;
}

.security-badge {
  background: #742a2a;
  color: #ff8b8b;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  border: 1px solid #e53e3e;
  animation: blinkRed 1.8s infinite;
}

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

.browser-controls {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.window-dot.close { background: #e53e3e; }
.window-dot.min { background: #ecc94b; }
.window-dot.max { background: #38a169; }

.browser-nav-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #1a1f28;
}

.browser-nav-btn {
  background: #28303d;
  color: #cbd5e1;
  border: 1px solid #3b4759;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.browser-nav-btn:hover {
  background: #374357;
  color: #fff;
}

.url-bar-container {
  flex: 1;
  display: flex;
  align-items: center;
  background: #0d1117;
  border: 1px solid #303e54;
  border-radius: 4px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.url-protocol {
  color: #ecc94b;
  margin-right: 4px;
}

.url-host {
  color: var(--accent-cyan);
}

.url-path {
  color: #a0aec0;
}

.browser-quick-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-pill-btn {
  background: #253346;
  border: 1px solid #3d506d;
  color: #e2e8f0;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
}

.tool-pill-btn:hover {
  background: #344863;
  border-color: var(--accent-cyan);
}

.tool-pill-btn.active {
  background: var(--accent-cyan);
  color: #07090d;
  border-color: #fff;
  box-shadow: 0 0 10px rgba(32, 196, 203, 0.4);
}

/* Breaking Ticker */
.breaking-ticker {
  background: #b91c1c;
  color: #fff;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  overflow: hidden;
  border-bottom: 2px solid #ef4444;
}

.ticker-label {
  background: #7f1d1d;
  color: #fef08a;
  font-weight: 900;
  padding: 4px 12px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.ticker-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 32s linear infinite;
}

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

/* ========================================================
   GLOBAL FLUX / ZALGO CONTROLLER DOCK
======================================================== */
.flux-control-dock {
  background: #0f1622;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.flux-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flux-label {
  color: var(--accent-cyan);
  font-weight: bold;
  letter-spacing: 0.5px;
}

.flux-slider {
  appearance: none;
  background: #213247;
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  width: 140px;
}

.flux-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  cursor: pointer;
}

.flux-status-pill {
  background: #192738;
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid #0284c7;
  font-weight: bold;
}

.audio-status-indicator {
  color: #94a3b8;
  font-size: 0.75rem;
}

/* ========================================================
   CORRUPTED / ZALGO KIFFLOM STYLING
======================================================== */
.zalgo-kifflom {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: bold;
  letter-spacing: 1px;
  color: #72e2eb;
  text-shadow: 
    0 0 4px #20c4cb,
    0 0 10px rgba(217, 4, 41, 0.7);
  cursor: help;
  padding: 0 4px;
  position: relative;
  transition: all 0.2s ease;
  line-height: 1.6;
}

.zalgo-kifflom:hover {
  color: #ff4d6d;
  text-shadow: 
    0 0 8px #ff4d6d,
    0 0 16px #20c4cb,
    0 0 25px #ffffff;
  transform: scale(1.08) skewX(-2deg);
  animation: zalgoGlitch 0.2s infinite;
}

@keyframes zalgoGlitch {
  0% { transform: translate(0, 0) scale(1.08); }
  25% { transform: translate(-1px, 1px) scale(1.08); }
  50% { transform: translate(1px, -1px) scale(1.08); }
  75% { transform: translate(-1px, -1px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1.08); }
}

/* ========================================================
   HERO / HEADER SECTION
======================================================== */
.hero-conspiracy-banner {
  padding: 50px 20px 30px;
  text-align: center;
  position: relative;
  border-bottom: 2px solid var(--border-color);
  background: 
    linear-gradient(180deg, rgba(13, 19, 29, 0.95) 0%, rgba(7, 9, 13, 0.95) 100%),
    repeating-linear-gradient(45deg, rgba(32, 196, 203, 0.02) 0 20px, transparent 20px 40px);
}

.warning-stamp-box {
  display: inline-block;
  border: 3px dashed var(--accent-red);
  color: #ff6b6b;
  padding: 6px 18px;
  font-family: var(--font-heading);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 20px;
  transform: rotate(-1.5deg);
  background: rgba(217, 4, 41, 0.1);
  box-shadow: 0 0 15px rgba(217, 4, 41, 0.3);
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.title-highlight-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(32, 196, 203, 0.6);
}

.hero-subhead {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--epsilon-blue);
  max-width: 900px;
  margin: 0 auto 25px;
  letter-spacing: 0.5px;
}

.coalition-metadata-bar {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px dashed var(--border-color);
  padding-top: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.meta-item strong {
  color: #fff;
}

/* ========================================================
   SECTION HEADINGS & LAYOUT
======================================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 35px;
  position: relative;
}

.section-tag {
  font-family: var(--font-mono);
  color: var(--accent-red);
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 6px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1.5px;
}

.section-desc {
  color: var(--text-dim);
  max-width: 750px;
  margin: 10px auto 0;
  font-size: 1rem;
}

/* ========================================================
   INTERACTIVE CORKBOARD & RED STRINGS
======================================================== */
.corkboard-outer-frame {
  background: #3e2715;
  border: 14px solid #2b180d;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 
    inset 0 0 40px rgba(0, 0, 0, 0.8),
    0 10px 30px rgba(0, 0, 0, 0.8);
  margin-bottom: 50px;
}

.corkboard-container {
  position: relative;
  background-color: var(--corkboard-color);
  background-image: 
    radial-gradient(#634425 15%, transparent 16%),
    radial-gradient(#4d351d 15%, transparent 16%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  min-height: 650px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.65);
}

#corkboard-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.cork-node {
  position: absolute;
  width: 250px;
  background: #fdfbf7;
  color: #1a202c;
  padding: 12px 14px 18px;
  border-radius: 2px;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
  font-family: var(--font-body);
}

.cork-node:hover {
  transform: scale(1.05) !important;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.7),
    0 0 15px rgba(32, 196, 203, 0.8);
  z-index: 20;
}

/* Node Positioning on Board */
.node-epsilon {
  top: 40px;
  left: 5%;
  transform: rotate(-3deg);
}

.node-nu-epsilon {
  top: 30px;
  right: 5%;
  transform: rotate(2.5deg);
}

.node-nest {
  bottom: 40px;
  left: 8%;
  transform: rotate(3deg);
}

.node-faceless {
  bottom: 35px;
  right: 7%;
  transform: rotate(-2deg);
}

.pushpin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 35% 35%, #ff4d6d, #b91c1c);
  border: 1px solid #7f1d1d;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  z-index: 15;
}

.pushpin::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  top: 3px;
  left: 4px;
}

.polaroid-img-wrap {
  width: 100%;
  height: 150px;
  background: #111;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #ddd;
}

.polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.9);
}

.node-title-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  background: #e2e8f0;
  display: inline-block;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.cork-node h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: #111;
}

.node-snippet {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #4a5568;
}

.click-hint {
  display: block;
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--accent-red);
  font-family: var(--font-mono);
  margin-top: 8px;
  text-align: right;
}

/* Center Notice in Corkboard */
.corkboard-center-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(13, 19, 29, 0.92);
  border: 2px solid var(--accent-red);
  padding: 16px 24px;
  border-radius: 4px;
  text-align: center;
  max-width: 320px;
  z-index: 8;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

.corkboard-center-banner h4 {
  font-family: var(--font-heading);
  color: #ff6b6b;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.corkboard-center-banner p {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-family: var(--font-mono);
  margin-top: 6px;
}

/* ========================================================
   MODAL CLASSIFIED DOSSIER
======================================================== */
.dossier-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 9, 0.85);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.dossier-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.dossier-modal-window {
  background: #0f1724;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 40px rgba(32, 196, 203, 0.3), 0 20px 50px rgba(0, 0, 0, 0.9);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.modal-header-bar {
  background: #172436;
  border-bottom: 2px solid #233750;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.modal-header-bar h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--accent-cyan);
  letter-spacing: 1px;
}

.modal-close-btn {
  background: var(--accent-red);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
}

.modal-content-area {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-subhead {
  font-family: var(--font-mono);
  color: var(--accent-amber);
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 8px;
}

.modal-media-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.modal-img-frame {
  max-width: 280px;
  border: 1px solid var(--accent-cyan);
  background: #000;
  padding: 4px;
}

.modal-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-caption {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-top: 6px;
}

.modal-tags-box {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dossier-tag {
  background: #1e293b;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid #334155;
}

.classified-alert {
  background: rgba(217, 4, 41, 0.12);
  border-left: 4px solid var(--accent-red);
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 0.9rem;
  color: #ffccd5;
}

/* ========================================================
   THE 12 TENETS COMPARISON MATRIX
======================================================== */
.tenets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tenet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s;
}

.tenet-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
}

.tenet-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: bold;
}

.tenet-side-by-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.tenet-old {
  background: rgba(112, 196, 232, 0.08);
  border-left: 3px solid var(--accent-blue);
  padding: 8px 12px;
}

.tenet-old strong {
  color: var(--accent-blue);
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.tenet-new {
  background: rgba(217, 4, 41, 0.08);
  border-left: 3px solid var(--accent-red);
  padding: 8px 12px;
}

.tenet-new strong {
  color: #ff6b6b;
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

/* ========================================================
   LINGOJAM-STYLE CORRUPTED TEXT TOOL (INTERACTIVE)
======================================================== */
.corruptor-tool-box {
  background: var(--bg-panel);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.tool-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
  background: #0f1622;
  padding: 14px 18px;
  border-radius: 4px;
  border: 1px solid #1e2c3f;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.slider-group label {
  color: var(--text-dim);
}

.slider-group input {
  width: 110px;
}

.preset-btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}

.preset-btn {
  background: #1e2d42;
  border: 1px solid #334b6e;
  color: #e2e8f0;
  padding: 5px 10px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.preset-btn:hover {
  background: var(--accent-cyan);
  color: #000;
}

.tool-editors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .tool-editors-grid {
    grid-template-columns: 1fr;
  }
}

.editor-pane {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editor-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--accent-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tool-textarea {
  width: 100%;
  height: 180px;
  background: #080d14;
  color: #f1f5f9;
  border: 1px solid #24354b;
  border-radius: 4px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  resize: vertical;
  line-height: 1.6;
}

.tool-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(32, 196, 203, 0.3);
}

.tool-btn-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #07090d;
  font-weight: bold;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #6ae3e8;
  box-shadow: 0 0 15px rgba(32, 196, 203, 0.6);
}

.copy-feedback {
  color: #4ade80;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: bold;
}

/* ========================================================
   SHORTWAVE RADIO SCANNER & OSCILLOSCOPE
======================================================== */
.radio-scanner-card {
  background: #0b111a;
  border: 2px solid #1e334d;
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.radio-top-rack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #1a2a40;
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.freq-display-box {
  background: #03070b;
  border: 2px solid var(--accent-cyan);
  padding: 6px 18px;
  border-radius: 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  box-shadow: inset 0 0 10px rgba(32, 196, 203, 0.3);
}

.freq-display-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748b;
}

.freq-digits {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan);
}

.radio-oscilloscope-wrap {
  width: 280px;
  height: 55px;
  background: #04080e;
  border: 1px solid #1b3047;
  border-radius: 3px;
  overflow: hidden;
}

#signal-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.radio-tuner-slider-wrap {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-tuner-slider {
  width: 100%;
  appearance: none;
  background: #162438;
  height: 12px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
}

.radio-tuner-slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: #ef4444;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 10px #ef4444;
}

.freq-presets-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.freq-preset {
  background: #142236;
  border: 1px solid #253d60;
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.freq-preset:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: #fff;
}

.radio-decrypt-box {
  background: #04080e;
  border: 1px solid #162b42;
  border-radius: 4px;
  padding: 18px;
  min-height: 180px;
  font-family: var(--font-mono);
}

.radio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.signal-tag.active {
  color: #4ade80;
  font-weight: bold;
}

.signal-tag.dead {
  color: #ef4444;
  font-weight: bold;
}

.signal-origin {
  color: #64748b;
}

.terminal-text {
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ========================================================
   CULT ENLIGHTENMENT ASSESSMENT & CERTIFICATE
======================================================== */
.assessment-wrap {
  background: var(--bg-panel);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 30px;
}

.quiz-question-box {
  background: #0f1826;
  border: 1px solid #1d2c40;
  padding: 16px 20px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.quiz-question-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-option-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 3px;
  transition: background 0.15s;
}

.quiz-option-label:hover {
  background: #17253a;
}

.quiz-option-label input {
  margin-top: 4px;
}

.cert-result-badge {
  background: #0d1726;
  border: 2px solid var(--accent-cyan);
  padding: 20px;
  border-radius: 4px;
  margin-top: 25px;
  text-align: center;
}

.cert-rank {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent-amber);
  margin: 10px 0;
  letter-spacing: 1px;
}

.cert-canvas-container {
  margin-top: 25px;
  text-align: center;
}

#cert-canvas {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: block;
  margin: 0 auto;
}

/* ========================================================
   WHISTLEBLOWER FORUM / LEAKS BOARD
======================================================== */
.whistleblower-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 25px;
}

@media (max-width: 850px) {
  .whistleblower-grid {
    grid-template-columns: 1fr;
  }
}

.leak-form-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 22px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.form-input, .form-textarea {
  background: #0a0e16;
  border: 1px solid #23354b;
  border-radius: 4px;
  color: #fff;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.leaks-feed {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 8px;
}

.leak-card {
  background: #0f1624;
  border: 1px solid #1f3047;
  border-left: 4px solid var(--accent-cyan);
  padding: 16px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s;
}

.leak-card.newly-posted {
  animation: glowNew 2s ease-out;
}

@keyframes glowNew {
  0% { border-color: #ff4d6d; box-shadow: 0 0 15px #ff4d6d; }
  100% { border-color: var(--accent-cyan); box-shadow: none; }
}

.leak-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.leak-user {
  color: var(--accent-cyan);
  font-weight: bold;
}

.leak-date {
  color: var(--text-dim);
}

.leak-content {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.leak-footer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #64748b;
}

/* ========================================================
   FOOTER
======================================================== */
.eyefind-footer {
  border-top: 2px solid var(--border-color);
  background: #090e16;
  padding: 40px 20px 60px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 60px;
}

.footer-nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-nav-links a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.footer-nav-links a:hover {
  text-decoration: underline;
}

.visitor-counter {
  display: inline-block;
  background: #000;
  color: #22c55e;
  border: 1px solid #16a34a;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 10px;
}
