/* ============================================================
   FUORICORRENTE 3.0 — TACTILE NEO-POP / STREET DESIGN SYSTEM
   Design umano, vivace, animato, tattile e anti-corporate.
   ============================================================ */

:root {
  --bg-dark: #080B11;
  --bg-card: #101626;
  --bg-card-hover: #151E33;
  --bg-surface: #19243D;
  
  --ink-black: #000000;
  --pure-white: #FFFFFF;
  
  --neon-yellow: #FFE600;
  --neon-pink: #FF2E63;
  --neon-cyan: #00F0FF;
  --neon-lime: #CCFF00;
  --neon-purple: #A855F7;
  --neon-orange: #FF7A00;
  
  --accent-a: #6366F1;
  --accent-b: #FF2E63;
  
  --text-main: #FFFFFF;
  --text-muted: #A0ABBA;
  --text-dim: #64748B;
  
  --border-pop: 2.5px solid #000000;
  --border-glow: 2px solid rgba(255, 255, 255, 0.15);
  
  --shadow-tactile: 4px 4px 0px #000000;
  --shadow-tactile-lg: 6px 6px 0px #000000;
  --shadow-glow-pink: 0 0 25px rgba(255, 46, 99, 0.45);
  --shadow-glow-cyan: 0 0 25px rgba(0, 240, 255, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow-x: hidden;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* Confetti Canvas Fullscreen */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Background Textures & Moving Blobs */
.bg-noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.floating-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  animation: blobMotion 12s infinite alternate ease-in-out;
}
.blob-1 {
  width: 380px;
  height: 380px;
  top: -80px;
  left: -80px;
  background: var(--neon-pink);
}
.blob-2 {
  width: 420px;
  height: 420px;
  bottom: -60px;
  right: -80px;
  background: var(--neon-cyan);
  animation-duration: 15s;
}

@keyframes blobMotion {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-20px, 50px) scale(0.95); }
}

/* Container */
.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 28px;
  position: relative;
  z-index: 2;
}

/* Header Street/Pop */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-top: 4px;
}

.brand {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.brand-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.sticker-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  border: var(--border-pop);
  box-shadow: 2px 2px 0px #000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sticker-yellow {
  background: var(--neon-yellow);
  color: #000;
  transform: rotate(-2deg);
}
.sticker-red {
  background: var(--neon-pink);
  color: #fff;
  transform: rotate(2deg);
}
.sticker-green {
  background: var(--neon-lime);
  color: #000;
}

.live-dot-container {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--neon-lime);
  font-family: 'JetBrains Mono', monospace;
}
.live-pulse {
  width: 7px;
  height: 7px;
  background: var(--neon-lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-lime);
  animation: pulseLive 1.4s infinite;
}
@keyframes pulseLive {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
}

.brand-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.brand-title span {
  color: var(--neon-pink);
  text-shadow: 2px 2px 0px #000;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pulsanti Tattili 3D */
.tactile-icon-btn {
  background: var(--bg-surface);
  border: var(--border-pop);
  box-shadow: 3px 3px 0px #000;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.tactile-icon-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #000;
}
.tactile-icon-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #000;
}

.tactile-pill-btn {
  background: var(--neon-yellow);
  color: #000;
  border: var(--border-pop);
  box-shadow: 3px 3px 0px #000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  white-space: nowrap;
}
.tactile-pill-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #000;
}
.tactile-pill-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #000;
}

/* LIVELLO SWITCHER (Sticker Bar) */
.level-nav {
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.level-nav::-webkit-scrollbar { display: none; }

.level-scroll {
  display: flex;
  gap: 8px;
  padding: 4px 2px 6px;
}

.level-sticker {
  background: var(--bg-card);
  border: var(--border-pop);
  box-shadow: 3px 3px 0px #000;
  color: var(--text-muted);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}
.level-sticker:hover {
  transform: translateY(-2px);
  color: #fff;
}
.level-sticker.active {
  background: var(--neon-pink);
  color: #fff;
  transform: rotate(-1deg) scale(1.03);
  box-shadow: 4px 4px 0px #000, 0 0 16px rgba(255, 46, 99, 0.4);
}
.level-sticker[data-level="attualita"].active {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 4px 4px 0px #000, 0 0 16px rgba(0, 240, 255, 0.4);
}
.level-sticker[data-level="tabu"].active {
  background: var(--neon-orange);
  color: #fff;
  box-shadow: 4px 4px 0px #000, 0 0 16px rgba(255, 122, 0, 0.4);
}
.level-sticker[data-level="soft"].active {
  background: var(--neon-lime);
  color: #000;
  box-shadow: 4px 4px 0px #000, 0 0 16px rgba(204, 255, 0, 0.4);
}

/* VS Banner */
.vs-banner {
  background: linear-gradient(135deg, #FF2E63, #6366F1);
  border: var(--border-pop);
  box-shadow: 4px 4px 0px #000;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: wobble 3s infinite ease-in-out;
}
.vs-banner.hidden { display: none; }
.vs-sticker {
  background: #000;
  color: var(--neon-yellow);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.vs-banner p {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}
@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-0.8deg); }
  75% { transform: rotate(0.8deg); }
}

/* Views */
.view {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.view.hidden { display: none !important; }

/* Progress Bar */
.daily-progress-container {
  margin-bottom: 12px;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.dilemma-stage-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--neon-yellow);
  display: flex;
  align-items: center;
  gap: 5px;
}
.counter-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 900;
  color: #fff;
  background: #000;
  border: 1.5px solid var(--neon-cyan);
  padding: 2px 8px;
  border-radius: 6px;
}
.story-progress-bar {
  display: flex;
  gap: 6px;
  height: 6px;
}
.progress-segment {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  height: 100%;
}
.progress-segment .fill {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.progress-segment.completed .fill {
  width: 100%;
  background: var(--neon-lime);
}
.progress-segment.active .fill {
  width: 45%;
  background: var(--neon-cyan);
}

/* DILEMMA CARD (Il cuore del design) */
.dilemma-card {
  background: var(--bg-card);
  border: var(--border-pop);
  box-shadow: var(--shadow-tactile-lg);
  border-radius: 18px;
  padding: 22px 18px 20px;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dilemma-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.category-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: #000;
  background: var(--neon-cyan);
  border: 1.5px solid #000;
  box-shadow: 2px 2px 0px #000;
  padding: 2px 8px;
  border-radius: 4px;
  transform: rotate(-1deg);
}

.source-stamp {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--neon-yellow);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 230, 0, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.dilemma-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.user-instruction {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-dim);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.arrow-down {
  animation: bounceDown 1.2s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Choices A vs B (Pulsanti 3D Altamente Tattili) */
.choices-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.choice-card {
  width: 100%;
  background: var(--bg-surface);
  border: var(--border-pop);
  box-shadow: 4px 4px 0px #000;
  border-radius: 14px;
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  user-select: none;
}
.choice-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0px #000;
}
.choice-card:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0px #000;
}

.choice-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.choice-stamp {
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid #000;
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 2px 2px 0px #000;
}
.stamp-a {
  background: var(--accent-a);
  color: #fff;
}
.stamp-b {
  background: var(--neon-pink);
  color: #fff;
}

.choice-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}

/* VS Lightning Divider */
.vs-lightning-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: -6px 0;
  z-index: 5;
}
.vs-badge-pop {
  background: #000;
  color: var(--neon-yellow);
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 2px 10px;
  border: 2px solid var(--neon-yellow);
  border-radius: 8px;
  box-shadow: 2px 2px 0px #000;
  transform: rotate(-3deg);
}

/* Result Bar Fill Animation */
.vote-result-bar {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.choice-card.voted .vote-result-bar { display: block; }

.vote-result-bar .bar-fill {
  height: 100%;
  width: 0%;
  position: absolute;
  left: 0;
  top: 0;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.28;
}
.choice-a .bar-fill { background: var(--accent-a); }
.choice-b .bar-fill { background: var(--neon-pink); }

.choice-card.user-selected {
  border-color: #fff;
}
.choice-a.user-selected {
  box-shadow: 4px 4px 0px #000, 0 0 20px rgba(99, 102, 241, 0.5);
}
.choice-b.user-selected {
  box-shadow: 4px 4px 0px #000, 0 0 20px rgba(255, 46, 99, 0.5);
}

.result-info {
  position: absolute;
  right: 14px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.result-percent {
  font-family: 'Syne', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 2px 2px 0px #000;
}
.result-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1.5px solid #000;
  box-shadow: 1.5px 1.5px 0px #000;
  text-transform: uppercase;
}
.result-badge.majority {
  background: var(--neon-lime);
  color: #000;
}
.result-badge.minority {
  background: var(--neon-pink);
  color: #fff;
}

/* REACTION BAR EMOJI (Animata) */
.reaction-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000;
  border: var(--border-pop);
  box-shadow: 3px 3px 0px #000;
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 14px;
  animation: slideInUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reaction-bar.hidden { display: none; }
.reaction-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--neon-yellow);
}
.emoji-cluster {
  display: flex;
  gap: 10px;
}
.emoji-bounce-btn {
  background: none;
  border: none;
  font-size: 1.45rem;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
}
.emoji-bounce-btn:hover {
  transform: scale(1.4) rotate(-8deg);
}
.emoji-bounce-btn:active {
  transform: scale(0.9);
}

/* Radar & Territorial Breakdown */
.radar-box {
  background: #000;
  border: var(--border-pop);
  box-shadow: 3px 3px 0px #000;
  border-radius: 14px;
  padding: 16px 14px;
  margin-top: 14px;
  animation: slideInUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.radar-box.hidden { display: none; }

.radar-header {
  margin-bottom: 12px;
}
.radar-title {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--neon-cyan);
  margin-bottom: 2px;
}
.radar-insight {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.geo-splits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.geo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
}
.geo-label {
  min-width: 82px;
  color: var(--text-muted);
}
.tactile-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #000;
  border-radius: var(--radius-full);
  overflow: hidden;
}
.mini-fill {
  height: 100%;
  transition: width 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fill-nord { background: var(--neon-lime); }
.fill-centro { background: var(--neon-yellow); }
.fill-sud { background: var(--neon-pink); }

.geo-val {
  min-width: 32px;
  text-align: right;
  color: #fff;
}

/* Commento Street Bubble */
.community-comment-box {
  background: var(--bg-surface);
  border: 1.5px solid #000;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 2px 2px 0px #000;
}
.comment-author {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--neon-yellow);
  margin-bottom: 2px;
}
.comment-quote {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  font-style: italic;
}

/* Big Action Button (Next / Submit) */
.big-action-btn {
  background: var(--neon-yellow);
  color: #000;
  border: var(--border-pop);
  box-shadow: 4px 4px 0px #000;
  border-radius: 12px;
  padding: 15px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  margin-top: 14px;
}
.big-action-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0px #000;
}
.big-action-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0px #000;
}
.next-btn.hidden { display: none; }

/* VIEW 2: RESULTS POP CARD */
.result-header-card {
  background: var(--bg-card);
  border: var(--border-pop);
  box-shadow: var(--shadow-tactile-lg);
  border-radius: 18px;
  padding: 26px 20px;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
}

.stamp-rot-badge {
  display: inline-block;
  background: var(--neon-pink);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 10px;
  border: var(--border-pop);
  box-shadow: 2px 2px 0px #000;
  transform: rotate(-2deg);
  margin-bottom: 8px;
}

.verdict-pre {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dim);
}

.result-archetype-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 4px 0 14px;
}

.meter-pop-box {
  background: #000;
  border: var(--border-pop);
  box-shadow: 3px 3px 0px #000;
  border-radius: 12px;
  padding: 12px 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 14px;
}
.meter-value-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.index-score {
  font-family: 'Syne', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--neon-pink);
  line-height: 1;
}
.index-flame { font-size: 1.8rem; }
.index-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--neon-cyan);
  margin-top: 4px;
}
.archetype-desc {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Summary List */
.summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.summary-card {
  background: var(--bg-card);
  border: var(--border-pop);
  box-shadow: 3px 3px 0px #000;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.summary-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
}
.summary-choice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-user-choice {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}
.summary-percent-pill {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1.5px solid #000;
}
.summary-percent-pill.a { background: var(--accent-a); color: #fff; }
.summary-percent-pill.b { background: var(--neon-pink); color: #fff; }

/* Results Action Buttons */
.results-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-btn {
  width: 100%;
  border: var(--border-pop);
  box-shadow: 4px 4px 0px #000;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  text-align: left;
}
.action-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0px #000;
}
.action-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000;
}

.btn-icon { font-size: 1.8rem; }
.btn-texts { display: flex; flex-direction: column; }
.btn-main-text {
  font-family: 'Syne', sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
  color: #fff;
}
.btn-sub-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.insta-gradient-btn {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
}
.challenge-btn {
  background: #000;
  border-color: var(--neon-cyan);
}
.challenge-btn .btn-main-text { color: var(--neon-cyan); }

.results-sub-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.secondary-tactile-btn {
  background: var(--bg-surface);
  border: var(--border-pop);
  box-shadow: 2px 2px 0px #000;
  color: var(--text-muted);
  border-radius: 10px;
  padding: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}
.secondary-tactile-btn:hover {
  color: #fff;
  border-color: #fff;
}

/* Modals Pop */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }

.modal-card-pop {
  background: var(--bg-card);
  border: var(--border-pop);
  box-shadow: 8px 8px 0px #000;
  border-radius: 18px;
  width: 100%;
  max-width: 440px;
  padding: 22px;
}

.modal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.modal-header-row h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
}
.close-x-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.6rem;
  cursor: pointer;
}
.modal-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.propose-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.propose-form label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
}
.propose-form textarea,
.propose-form input,
.input-select {
  background: #000;
  border: var(--border-pop);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}
.tech-info-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

/* Toast Street */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neon-yellow);
  color: #000;
  border: var(--border-pop);
  box-shadow: 4px 4px 0px #000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 12px 20px;
  border-radius: 10px;
  z-index: 2000;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.toast.hidden {
  opacity: 0;
  transform: translate(-50%, 20px);
}

/* Footer Links */
.main-footer {
  margin-top: auto;
  padding-top: 24px;
  text-align: center;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.footer-link-btn:hover { color: #fff; text-decoration: underline; }
.footer-link-btn.highlight-link { color: var(--neon-cyan); }
.footer-sep { color: var(--text-dim); }
.footer-legal-copy {
  font-size: 0.68rem;
  color: var(--text-dim);
}

/* Animations */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
