/* ═══════════════════════════════════════════════════════════════
   CATFISH DETECT — CYBER DASHBOARD THEME
   Mobile-first · Dark · Neon Green + Electric Blue
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --bg:         #000a0f;
  --bg-panel:   #010f17;
  --bg-card:    #011520;
  --bg-card2:   #001825;

  --neon:       #00ff88;
  --neon-dim:   #00cc66;
  --neon-glow:  rgba(0, 255, 136, 0.25);
  --electric:   #00d4ff;
  --electric-d: #0099cc;
  --electric-g: rgba(0, 212, 255, 0.2);

  --warn:       #ffaa00;
  --danger:     #ff3355;
  --danger-g:   rgba(255, 51, 85, 0.2);

  --text:       #c8e8f0;
  --text-dim:   #5a8a9a;
  --text-muted: #2a5060;

  --border:     rgba(0, 212, 255, 0.15);
  --border-neon: rgba(0, 255, 136, 0.3);

  --font-mono:  'Share Tech Mono', monospace;
  --font-body:  'Rajdhani', sans-serif;
  --font-title: 'Orbitron', monospace;

  --radius:     6px;
  --radius-lg:  12px;
  --tab-h:      56px;
  --header-h:   58px;
  --gauge-h:    72px;
  --footer-h:   68px;
}

/* ── RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: calc(var(--footer-h) + 16px);
}

a {
  color: var(--electric);
  text-decoration: none;
}

/* ── AMBIENT EFFECTS ────────────────────────────────────────────── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── HEADER ─────────────────────────────────────────────────────── */
.hq-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(0, 10, 15, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.hq-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--electric);
}

.logo-bracket {
  color: var(--neon);
  font-size: 1.2rem;
}

.logo-icon {
  color: var(--neon);
  font-size: 1.1rem;
  animation: spin-slow 8s linear infinite;
}

.logo-text { color: var(--text); }
.logo-text .accent { color: var(--neon); }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hq-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--neon-dim);
  letter-spacing: 0.08em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
}

.status-dot.pulse {
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--neon-glow); opacity: 1; }
  50%       { box-shadow: 0 0 0 5px transparent; opacity: 0.7; }
}

/* ── GLOBAL GAUGE BAR ───────────────────────────────────────────── */
.global-gauge-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(0, 10, 15, 0.97);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  backdrop-filter: blur(8px);
}

.gauge-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.gauge-label-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.gauge-score-text {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon);
  transition: color 0.4s;
}

.gauge-track {
  position: relative;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.gauge-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--neon) 0%, var(--electric) 50%, var(--warn) 75%, var(--danger) 100%);
  background-size: 400% 100%;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-position 0.6s ease;
}

.gauge-glow {
  position: absolute;
  inset: -2px;
  width: 0%;
  background: inherit;
  filter: blur(6px);
  opacity: 0.5;
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gauge-verdict-inline {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color 0.4s;
  text-align: right;
}

/* ── TAB NAVIGATION ─────────────────────────────────────────────── */
.tab-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: var(--tab-h);
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: calc(var(--header-h) + var(--gauge-h));
  z-index: 80;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  border-right: 1px solid var(--border);
}

.tab-btn:last-child { border-right: none; }

.tab-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--neon);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn.active {
  color: var(--neon);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

/* ── MAIN & PANELS ──────────────────────────────────────────────── */
.app-main {
  position: relative;
  z-index: 1;
  padding: 20px 16px;
  max-width: 600px;
  margin: 0 auto;
}

.tab-panel {
  animation: fadeIn 0.3s ease;
}

.tab-panel.hidden { display: none; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTION HEADER ─────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.section-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--electric);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 2px;
}

.section-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ── DROP ZONE ──────────────────────────────────────────────────── */
.drop-zone {
  position: relative;
  border: 1.5px dashed var(--border-neon);
  border-radius: var(--radius-lg);
  background: rgba(0, 255, 136, 0.03);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.drop-zone:hover,
.drop-zone:focus {
  border-color: var(--neon);
  background: rgba(0, 255, 136, 0.07);
  box-shadow: 0 0 24px rgba(0, 255, 136, 0.12), inset 0 0 30px rgba(0, 255, 136, 0.04);
  outline: none;
}

.drop-zone.drag-over {
  border-color: var(--electric);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 32px var(--electric-g), inset 0 0 40px rgba(0, 212, 255, 0.06);
  transform: scale(1.01);
}

.drop-zone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
  text-align: center;
}

.drop-icon {
  color: var(--neon);
  opacity: 0.7;
  transition: transform 0.3s, opacity 0.3s;
}

.drop-zone:hover .drop-icon,
.drop-zone.drag-over .drop-icon {
  transform: translateY(-4px);
  opacity: 1;
}

.drop-title {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

.drop-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.drop-link {
  color: var(--electric);
  text-decoration: underline;
  cursor: pointer;
}

.drop-formats {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
}

#fileInput {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

/* ── PREVIEW ────────────────────────────────────────────────────── */
.preview-container {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.preview-frame {
  position: relative;
  max-width: 280px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.preview-frame img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

.preview-overlay-label {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--neon);
  background: rgba(0, 0, 0, 0.7);
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid var(--neon-dim);
}

/* Corner brackets */
.preview-corner {
  position: absolute;
  width: 14px;
  height: 14px;
}

.preview-corner.tl { top: 0; left: 0;
  border-top: 2px solid var(--neon); border-left: 2px solid var(--neon); }
.preview-corner.tr { top: 0; right: 0;
  border-top: 2px solid var(--neon); border-right: 2px solid var(--neon); }
.preview-corner.bl { bottom: 0; left: 0;
  border-bottom: 2px solid var(--neon); border-left: 2px solid var(--neon); }
.preview-corner.br { bottom: 0; right: 0;
  border-bottom: 2px solid var(--neon); border-right: 2px solid var(--neon); }

.btn-reset {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.btn-reset:hover {
  color: var(--danger);
  border-color: var(--danger);
}

/* ── PANELS ─────────────────────────────────────────────────────── */
.exif-panel,
.reverse-panel {
  margin-top: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 212, 255, 0.05);
  border-bottom: 1px solid var(--border);
}

.panel-icon {
  color: var(--electric);
  font-size: 0.9rem;
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--electric);
}

.exif-content {
  padding: 14px 16px;
}

.exif-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
}

.exif-row:last-child { border-bottom: none; }

.exif-key {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.exif-val {
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-align: right;
  max-width: 55%;
  word-break: break-all;
}

.exif-val.warning { color: var(--warn); }
.exif-val.safe    { color: var(--neon); }

.exif-alert {
  margin: 0 16px 16px;
  padding: 12px 14px;
  background: rgba(255, 170, 0, 0.08);
  border: 1px solid rgba(255, 170, 0, 0.3);
  border-radius: var(--radius);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.alert-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-text {
  font-size: 0.78rem;
  color: var(--warn);
  line-height: 1.45;
}

/* ── REVERSE SEARCH BUTTONS ─────────────────────────────────────── */
.reverse-instructions {
  padding: 10px 16px 0;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.reverse-grid,
.ai-detect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 16px;
}

.reverse-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 14px 10px;
  border-radius: var(--radius);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}

.reverse-btn:hover {
  transform: translateY(-2px);
  border-color: var(--electric);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.12);
}

.rb-icon { font-size: 1.3rem; }

.rb-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text);
}

.rb-tag {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--electric);
  background: var(--electric-g);
  padding: 2px 7px;
  border-radius: 20px;
}

.ai-detect-block {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.ai-detect-block .panel-header {
  border-bottom: none;
  padding-bottom: 4px;
}

/* ── ANALYSIS RESULTS ───────────────────────────────────────────── */
.no-image-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 20px;
  text-align: center;
  color: var(--text-muted);
}

.nim-icon {
  font-size: 2rem;
  opacity: 0.4;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
}

.metric-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0, 255, 136, 0.04);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--neon-dim);
}

.metric-body {
  padding: 12px 14px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
}
.metric-row:last-child { border-bottom: none; }

.metric-key {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  flex: 1;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-align: right;
  max-width: 55%;
  word-break: break-word;
}

.metric-val.ok      { color: var(--neon); }
.metric-val.warn    { color: var(--warn); }
.metric-val.danger  { color: var(--danger); }
.metric-val.neutral { color: var(--text-dim); }

/* ── QUESTIONNAIRE ───────────────────────────────────────────────── */
.enquete-intro {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.5;
}

.enquete-intro strong {
  color: var(--electric);
}

.q-category {
  margin-bottom: 24px;
}

.q-cat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--electric);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.q-cat-icon { font-size: 0.9rem; }

.q-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 6px;
  background: var(--bg-card);
  border: 1px solid transparent;
  position: relative;
}

.q-item:hover {
  background: var(--bg-card2);
  border-color: var(--border);
}

.q-item:has(.q-check:checked) {
  background: rgba(0, 255, 136, 0.04);
  border-color: var(--neon-dim);
}

/* Custom checkbox */
.q-checkbox-wrap {
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.q-check {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.q-custom-check {
  display: block;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border-neon);
  border-radius: 3px;
  background: transparent;
  transition: all 0.2s;
  position: relative;
}

.q-check:checked + .q-custom-check {
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 10px var(--neon-glow);
}

.q-check:checked + .q-custom-check::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--bg);
  font-weight: 900;
}

.q-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.q-question {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.35;
}

.q-why {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.q-weight-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--warn);
  background: rgba(255, 170, 0, 0.1);
  border: 1px solid rgba(255, 170, 0, 0.25);
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 2px;
}

.q-weight-badge.danger {
  color: var(--danger);
  background: var(--danger-g);
  border-color: rgba(255, 51, 85, 0.3);
}

/* Mini Verdict bar */
.mini-verdict {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.mv-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.mv-bar-wrap {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.mv-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon), var(--warn), var(--danger));
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mv-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* ── ALERT CARDS ─────────────────────────────────────────────────── */
.alert-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.alert-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  border-left: 3px solid;
}

.alert-card.critical { border-color: var(--danger); background: rgba(255,51,85,0.04); }
.alert-card.high     { border-color: var(--warn);   background: rgba(255,170,0,0.03); }
.alert-card.medium   { border-color: var(--electric); }
.alert-card.low      { border-color: var(--neon-dim); }

.ac-level {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.alert-card.critical .ac-level { color: var(--danger); }
.alert-card.high     .ac-level { color: var(--warn); }
.alert-card.medium   .ac-level { color: var(--electric); }
.alert-card.low      .ac-level { color: var(--neon-dim); }

.ac-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.ac-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 10px;
}

.ac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ac-tag {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--electric);
}

/* ── VERDICT FOOTER ─────────────────────────────────────────────── */
.verdict-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(0, 10, 15, 0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  height: var(--footer-h);
}

.vf-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  height: 100%;
  transition: background 0.5s;
}

.vf-icon {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: color 0.4s;
  flex-shrink: 0;
}

.vf-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.vf-result {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color 0.4s;
  margin-top: 2px;
}

.vf-badge {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 900;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.4s;
  flex-shrink: 0;
}

/* VERDICT STATES */
.verdict-safe    .vf-result { color: var(--neon); }
.verdict-safe    .vf-icon   { color: var(--neon); }
.verdict-safe    .vf-badge  { background: var(--neon-glow); border-color: var(--neon); color: var(--neon); }

.verdict-suspect .vf-result { color: var(--warn); }
.verdict-suspect .vf-icon   { color: var(--warn); }
.verdict-suspect .vf-badge  { background: rgba(255,170,0,0.15); border-color: var(--warn); color: var(--warn); }

.verdict-danger  .vf-result { color: var(--danger); }
.verdict-danger  .vf-icon   { color: var(--danger); }
.verdict-danger  .vf-badge  { background: var(--danger-g); border-color: var(--danger); color: var(--danger); animation: danger-pulse 1s ease-in-out infinite; }

@keyframes danger-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--danger-g); }
  50%       { box-shadow: 0 0 0 6px transparent; }
}

/* ── UTILITIES ───────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ── PINTEREST HUNTER ────────────────────────────────────────────── */
.reverse-btn.pinterest {
  cursor: pointer;
  border-color: rgba(230, 0, 35, 0.3);
}

.reverse-btn.pinterest:hover {
  border-color: #e60023;
  box-shadow: 0 6px 20px rgba(230, 0, 35, 0.2);
}

.reverse-btn.pinterest .rb-tag {
  color: #e60023;
  background: rgba(230, 0, 35, 0.1);
}

/* ── CONCLUSION TECHNIQUE AUTOMATIQUE ───────────────────────────── */
.conclusion-block {
  margin-top: 4px;
  margin-bottom: 12px;
  padding: 18px 16px;
  background: rgba(255, 51, 85, 0.08);
  border: 2px solid var(--danger);
  border-radius: var(--radius-lg);
  text-align: center;
  animation: conclusion-appear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 30px rgba(255, 51, 85, 0.12), inset 0 0 20px rgba(255, 51, 85, 0.05);
}

.conclusion-block.warn-level {
  background: rgba(255, 170, 0, 0.07);
  border-color: var(--warn);
  box-shadow: 0 0 30px rgba(255, 170, 0, 0.1), inset 0 0 20px rgba(255, 170, 0, 0.04);
}

@keyframes conclusion-appear {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.conclusion-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  animation: pulse-warn 1.5s ease-in-out infinite;
}

@keyframes pulse-warn {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}

.conclusion-title {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--danger);
  margin-bottom: 12px;
}

.conclusion-block.warn-level .conclusion-title {
  color: var(--warn);
}

.conclusion-text {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.55;
  font-family: var(--font-body);
}

/* ── SCROLLBAR ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (min-width: 480px) {
  .section-title { font-size: 0.9rem; }
  .q-question    { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
