/* ==========================================================================
   Afrawbeats CSS Design System
   Aesthetics: Sketch paper, hand-drawn ink, hip-hop tag style,
   African-inspired ochre & indigo accents on crumpled paper.
   ========================================================================== */


:root {
  /* === DARK MODE CORE === */
  --bg-app: #0a0a0f;
  --bg-panel: #14141f;
  --bg-panel-solid: #14141f;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --bg-surface: #111122;
  --border-glow: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.08);
  
  /* Neon Bright Palette */
  --comic-paper: #0a0a0f;
  --comic-paper-dark: #08080d;
  --comic-ink: #e8e8f0;
  --comic-ink-light: #9999bb;
  --comic-accent: #FF6B35;   /* Bright Orange */
  --comic-success: #00E676;  /* Neon Green */
  --comic-danger: #FF1744;   /* Bright Red */
  --comic-ochre: #FFD600;    /* Bright Yellow */
  --comic-indigo: #7C4DFF;   /* Bright Purple */
  --comic-green: #00E676;    /* Neon Green */
  --comic-red: #FF1744;      /* Bright Red */
  
  --text-main: #e8e8f0;
  --text-mute: #8888aa;
  --emerald: #00E676;
  --emerald-glow: rgba(0, 230, 118, 0.25);
  --orange: #FF6B35;
  --orange-glow: rgba(255, 107, 53, 0.25);
  --purple: #7C4DFF;
  --crimson: #FF1744;
  --card-bg-light: rgba(255, 255, 255, 0.04);
  
  /* Fonts */
  --font-family-body: 'Caveat', cursive;
  --font-family-title: 'Caveat Brush', cursive;
  --font-comic-title: 'Caveat Brush', cursive;
  --font-comic-body: 'Caveat', cursive;

  /* Borders & Shadows (lighter for dark bg) */
  --comic-border: 2px solid rgba(255, 255, 255, 0.12);
  --comic-border-thick: 4px solid rgba(255, 255, 255, 0.15);
  --comic-wobble: 255px 15px 225px 15px/15px 225px 15px 255px;
  --beat-scale: 1;

  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3.5rem;

  /* Sprite Sizing */
  --sprite-sm: 40px;
  --sprite-md: 80px;
  --sprite-lg: 120px;
  --sprite-xl: 180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-comic-body);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.hidden {
  display: none !important;
}

body {
  background-color: var(--comic-paper);
  background-image: none;
  
  color: var(--comic-ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.audio-reactive {
  transform: scale(var(--beat-scale));
  transition: transform 0.05s cubic-bezier(0.1, 1.5, 0.4, 1);
  will-change: transform;
}

/* ==========================================================================
   Header and Switcher
   ========================================================================== */

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-image: none;
  
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-orb {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--comic-accent) 0%, var(--comic-accent) 100%);
  border: 2px solid var(--comic-ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(0, 230, 118, 0.4); }
  50% { transform: scale(1.15); box-shadow: 0 0 20px rgba(255, 145, 0, 0.6); }
}

.header-logo h1 {
  font-family: var(--font-comic-title);
  font-weight: 700;
  color: var(--comic-ink);
  letter-spacing: -0.5px;
}

.header-logo h1 span {
  font-weight: 400;
  color: var(--comic-ink-light);
}

.view-switcher {
  display: flex;
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 3px;
  gap: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.switcher-btn {
  background: none;
  border: none;
  color: var(--comic-ink-light);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 700;
  font-family: var(--font-comic-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.switcher-btn.active {
  background: linear-gradient(135deg, var(--comic-accent), #FF8F65);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(255, 107, 53, 0.4);
}

.header-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.gtm-doc-link {
  color: var(--comic-accent);
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-comic-body);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 2px solid var(--comic-ink);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
}

.gtm-doc-link:hover {
  background-color: rgba(255, 145, 0, 0.08);
  border-color: var(--orange);
}

.status-pill {
  font-family: var(--font-comic-body);
  font-weight: 700;
  color: var(--comic-ink);
  background-color: var(--bg-card);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: dot-pulse 1.8s infinite;
}

@keyframes dot-pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* ==========================================================================
   Main Simulator Layout
   ========================================================================== */

.simulator-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-wrapper, .about-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.device-frame.hidden {
  display: none !important;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Android Phone Shell Styles
   ========================================================================== */







/* Status Bar */


.status-icons {
  display: flex;
  gap: 0.35rem;
}

/* App Header */
.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.app-title-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-comic-title);
  font-weight: 700;
  color: var(--comic-ink);
  letter-spacing: -0.2px;
}

.verified-badge {
  color: var(--comic-success);
}

.artist-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--comic-accent);
  cursor: pointer;
}

.artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Screen Content Framework */
.phone-screen-content {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}

.phone-screen-content.active {
  display: flex;
  animation: slideUp 0.4s cubic-bezier(0.1, 1.5, 0.4, 1);
}

/* Phone Welcome Splash */
.welcome-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.pulsing-glow {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.25) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px dashed rgba(0, 230, 118, 0.4);
  animation: glow-pulse 2.5s infinite alternate;
}

.emerald-glow {
  background: radial-gradient(circle, rgba(0, 230, 118, 0.3) 0%, transparent 70%) !important;
  border-color: var(--emerald) !important;
}

.pulsing-glow i {
  color: var(--emerald);
  text-shadow: 0 0 15px var(--emerald);
}

@keyframes glow-pulse {
  from { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.1); }
  to { transform: scale(1.08); box-shadow: 0 0 25px 5px rgba(0, 230, 118, 0.2); }
}

.welcome-hero h2 {
  font-family: var(--font-comic-title);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.welcome-hero p {
  color: var(--text-mute);
  line-height: 1.5;
  max-width: 280px;
}

.phone-action-area {
  padding-bottom: 1rem;
}

.phone-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 12px;
  border: var(--comic-border);
  font-weight: 700;
  font-family: var(--font-comic-body);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.phone-btn.primary {
  background: linear-gradient(135deg, var(--comic-success), #00C853);
  color: #0a0a0f;
  font-weight: 800;
}

.phone-btn.primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
}

.phone-btn.primary:active {
  transform: translate(1px, 1px);
  box-shadow: 0 2px 6px rgba(0, 230, 118, 0.2);
}

.phone-btn.secondary {
  background-color: var(--bg-card);
  color: var(--comic-ink);
  margin-top: 0.5rem;
}

.phone-btn.secondary:hover {
  background-color: var(--bg-card-hover);
}

/* Artist Dashboard Content */
.dashboard-earnings-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.card-label {
  font-family: var(--font-comic-body);
  color: var(--comic-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.earnings-amount {
  font-family: var(--font-comic-title);
  font-weight: 700;
  color: var(--comic-ink);
  margin: 0.25rem 0 0.75rem;
}

.earnings-breakdown {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.75rem;
  gap: 1.5rem;
}

.earnings-breakdown div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.earnings-breakdown .lbl {
  font-family: var(--font-comic-body);
  color: var(--comic-ink-light);
  font-weight: 700;
}

.earnings-breakdown .val {
  font-weight: 600;
}

.dashboard-section {
  margin-bottom: 1.5rem;
}

.dashboard-section h4 {
  font-family: var(--font-comic-title);
  margin-bottom: 0.75rem;
  color: var(--comic-ink);
  border-left: 3px solid var(--comic-accent);
  padding-left: 0.5rem;
}

.upload-trigger-zone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.upload-trigger-zone:hover {
  border-color: var(--comic-accent);
  background-color: var(--bg-card-hover);
}

.cloud-icon {
  color: var(--comic-ink-light);
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}

.upload-trigger-zone:hover .cloud-icon {
  color: var(--comic-accent);
  transform: translateY(-3px);
}

.upload-trigger-zone h5 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.upload-trigger-zone p {
  color: var(--text-mute);
  margin-bottom: 1rem;
}

.tech-badges {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}

.tech-badges span {
  background-color: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--text-mute);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Catalog list items */
.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.catalog-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem;
  border-radius: 12px;
}

.track-art-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #1b1e22;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.track-meta {
  flex: 1;
  min-width: 0;
}

.track-meta h5 {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-meta p {
  color: var(--text-mute);
}

.track-badge {
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}

.track-badge.ver {
  background-color: rgba(0, 230, 118, 0.1);
  color: var(--emerald);
}

.track-badge.pen {
  background-color: rgba(255, 145, 0, 0.1);
  color: var(--orange);
}

.empty-state {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.empty-state i {
}

/* Forensic Scanning Screen */
.analysis-loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
}

.analysis-scanner {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background-color: rgba(0, 230, 118, 0.05);
  border: 1px solid rgba(0, 230, 118, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.scanning-icon {
  color: var(--emerald);
  animation: pulse-scan 1.5s infinite alternate;
}

.scanner-line {
  width: 100%;
  height: 2px;
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  position: absolute;
  left: 0;
  top: 0;
  animation: sweep-scan 2.5s infinite linear;
}

@keyframes pulse-scan {
  from { opacity: 0.4; }
  to { opacity: 1; text-shadow: 0 0 12px var(--emerald-glow); }
}

@keyframes sweep-scan {
  0% { top: 0; }
  50% { top: 100%; }
  100% { top: 0; }
}

.current-file-label {
  color: var(--text-mute);
  background-color: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin: 0.5rem 0 1.5rem;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forensic-logs {
  width: 100%;
  height: 180px;
  background-color: #060608;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: left;
  font-family: monospace;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.log-line {
  line-height: 1.4;
}

.log-line.success { color: var(--emerald); }
.log-line.warn { color: var(--orange); }
.log-line.fail { color: var(--crimson); }
.log-line.text-mute { color: var(--text-mute); }

.confidence-meter-container {
  width: 100%;
  text-align: left;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.07);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald-glow);
  width: 0;
  transition: width 0.1s linear;
}

.verification-gate-label {
  color: var(--text-mute);
  display: block;
}

/* Result status screens */
.result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
}

.result-icon-orb {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.result-icon-orb.success {
  background-color: rgba(0, 230, 118, 0.1);
  color: var(--emerald);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.2);
}

.result-icon-orb.fail {
  background-color: rgba(255, 23, 68, 0.1);
  color: var(--crimson);
  box-shadow: 0 0 20px rgba(255, 23, 68, 0.2);
}

.score-breakdown-box {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem;
  margin: 1.25rem 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.score-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 0.35rem;
}

.score-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.score-row span.lbl { color: var(--text-mute); }
.score-row span.val { font-weight: 600; }
.score-row span.val.green { color: var(--emerald); }
.score-row span.val.red { color: var(--crimson); }

.result-actions {
  width: 100%;
}

/* Smart Contract Styling */
.contract-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contract-header {
  margin-bottom: 0.75rem;
}

.contract-header h3 {
  font-family: var(--font-comic-title);
  margin: 0.15rem 0;
}

.badge-draft {
  background-color: rgba(255,145,0,0.1);
  color: var(--orange);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.contract-body {
  height: 200px;
  background-color: rgba(0,0,0,0.25);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.75rem;
  overflow-y: auto;
  line-height: 1.5;
  color: var(--text-mute);
  margin-bottom: 1rem;
}

.contract-body h5 {
  color: var(--text-main);
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
}

.contract-body strong {
  color: var(--text-main);
}

.contract-signature-area {
  margin-bottom: 1.25rem;
}

.contract-signature-area label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.signature-canvas-wrapper {
  background-color: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

#signature-pad {
  width: 100%;
  height: 80px;
  display: block;
  cursor: crosshair;
}

.clear-sig-btn {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  background-color: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10;
}

/* Distribution Success Grid */
.dsp-grid-vertical {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dsp-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-weight: 500;
}

.dsp-item i {
  width: 24px;
}

.status-live {
  background-color: rgba(0, 230, 118, 0.1);
  color: var(--emerald);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}

/* Phone Nav Bar */
.phone-nav-bar {
  height: 56px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  background-color: rgba(13, 13, 17, 0.95);
  backdrop-filter: blur(10px);
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-item i {
}

.nav-item span {
  font-weight: 500;
}

.nav-item.active {
  color: var(--emerald);
}

/* ==========================================================================
   macOS Notebook Frame Styles
   ========================================================================== */





/* Macbook Window controls & bar */








/* MacBook Operating System Body */


/* Sidebar styling */






.label-identity h5 {
  font-weight: 600;
}







.nav-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--text-main);
}





.footer-stat {
  display: flex;
  justify-content: space-between;
  color: var(--text-mute);
}

.footer-stat .val {
  font-weight: 600;
}

/* Macbook Main Content Box */
.macbook-main-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.macbook-tab {
  display: none;
  flex-direction: column;
  height: 100%;
}

.macbook-tab.active {
  display: flex;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.content-header h2 {
  font-family: var(--font-comic-title);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.content-header p {
  color: var(--text-mute);
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: var(--comic-wobble);
  border: var(--comic-border);
  font-family: var(--font-comic-body);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.1s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.btn-primary {
  background-color: var(--comic-success);
  color: #fff;
}

.btn-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--comic-ink);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--comic-ink);
}

.btn-secondary:hover {
  background-color: var(--comic-paper-dark);
}

.btn-secondary:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--comic-ink);
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* Interactive Timeline styling */
.timeline-months-scroller {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.timeline-month-node {
  flex: 0 0 100px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.timeline-month-node.active {
  border-color: var(--orange);
  background-color: rgba(255,145,0,0.04);
}

.timeline-month-node.completed {
  border-color: var(--emerald);
  background-color: rgba(0, 230, 118, 0.03);
}

.timeline-month-node h6 {
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.timeline-month-node span {
  text-transform: uppercase;
}

.timeline-month-node.active h6 { color: var(--orange); }
.timeline-month-node.completed h6 { color: var(--emerald); }

.glass-card {
  background-color: var(--bg-card);
  border: var(--comic-border);
  border-radius: var(--comic-wobble);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.card-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.badge-phase {
  background-color: rgba(213,0,249,0.1);
  color: var(--purple);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: inline-block;
}

.gtm-status-pill {
  font-weight: 600;
}

.gtm-body-columns {
  display: flex;
  gap: 1.5rem;
}

.gtm-desc-section {
  flex: 3;
}

.gtm-desc-section h4 {
  margin-bottom: 0.4rem;
}

.gtm-desc-section p {
  line-height: 1.5;
  color: var(--text-mute);
}

.gtm-milestone-section {
  flex: 2;
  background-color: rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.gtm-milestone-section h4 {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 0.25rem;
}

.milestones-checklist-ul {
  list-style: none;
}

.milestones-checklist-ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  line-height: 1.4;
  color: var(--text-mute);
}

.milestones-checklist-ul li.completed {
  color: var(--text-main);
}

.milestones-checklist-ul li i {
  margin-top: 2px;
}

.milestones-checklist-ul li.completed i {
  color: var(--emerald);
}

.milestones-checklist-ul li.uncompleted i {
  color: rgba(0, 0, 0, 0.15);
}

/* Timeline progress */
.gtm-stats-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.flex-row { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

.staff-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.staff-tag {
  background-color: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  display: flex;
  gap: 0.35rem;
}

.staff-tag .cost {
  color: var(--orange);
  font-weight: 600;
}

/* Financial Dashboard Styling */
.stats-counter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.stat-box {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
  border-radius: 10px;
}

.stat-box.highlight-emerald {
  border-color: rgba(0, 230, 118, 0.2);
  background-color: rgba(0, 230, 118, 0.02);
}

.stat-box.highlight-orange {
  border-color: rgba(255, 145, 0, 0.2);
  background-color: rgba(255, 145, 0, 0.02);
}

.stat-box .lbl {
  color: var(--text-mute);
  display: block;
}

.stat-box .val {
  font-family: var(--font-comic-title);
  font-weight: 700;
  display: block;
  margin-top: 0.15rem;
}

.stat-box.highlight-emerald .val { color: var(--emerald); }
.stat-box.highlight-orange .val { color: var(--orange); }

.stat-box small {
  color: var(--text-mute);
}

.financial-charts-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.chart-card {
  display: flex;
  flex-direction: column;
}

.bar-chart-simulator {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1rem 0;
  flex: 1;
}

.chart-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chart-group-lbl {
  color: var(--text-mute);
  font-weight: 500;
}

.chart-bars-wrap {
  position: relative;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  overflow: hidden;
}

.bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  font-weight: 700;
  border-radius: 4px;
}

.bar-target {
  background-color: rgba(0, 0, 0, 0.08);
  color: var(--text-mute);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.bar-actual {
  z-index: 2;
  color: #000;
  transition: width 0.4s ease-out;
}

.fill-streaming { background-color: var(--emerald); }
.fill-events { background-color: var(--orange); }
.fill-sync { background-color: var(--purple); color: #fff !important; }
.fill-moves { background-color: #00e5ff; }
.fill-saas { background-color: #ff1744; color: #fff !important; }

.chart-legend {
  display: flex;
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.target { background-color: rgba(0, 0, 0, 0.15); }
.legend-dot.actual { background-color: var(--emerald); }

.op-table {
  width: 100%;
  border-collapse: collapse;
}

.op-table th, .op-table td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.op-table th {
  color: var(--text-mute);
  font-weight: 600;
}

.op-table tr.table-total {
  font-weight: 700;
  color: var(--emerald);
  background-color: rgba(0, 230, 118, 0.02);
}

.op-table tr.table-total td {
  border-top: 1px solid rgba(0, 230, 118, 0.2);
  border-bottom: none;
}

/* Sync Licensing Tab */
.sync-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.sync-roster-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 300px;
  overflow-y: auto;
}

.sync-roster-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.sync-roster-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.sync-roster-item.selected {
  border-color: var(--emerald);
  background-color: rgba(0,230,118,0.02);
}

.sync-roster-item h5 {
  font-weight: 600;
}

.sync-roster-item p {
  color: var(--text-mute);
}

.sync-roster-item .badge {
  background-color: rgba(0, 230, 118, 0.1);
  color: var(--emerald);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-mute);
}

.form-group select, .form-group input[type="number"] {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--text-main);
  outline: none;
}

.checkbox-group {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.quote-output-card {
  background: linear-gradient(135deg, rgba(213,0,249,0.08) 0%, rgba(0,0,0,0) 100%);
  border: 1px solid rgba(213,0,249,0.25);
  border-radius: 10px;
  padding: 1rem;
  margin: 1.25rem 0;
}

.quote-output-card span {
  color: var(--purple);
  font-weight: 600;
  text-transform: uppercase;
}

.quote-output-card h2 {
  font-family: var(--font-comic-title);
  color: var(--text-main);
  margin-top: 0.15rem;
}

.quote-output-card p {
  color: var(--text-mute);
  margin-top: 0.35rem;
}

/* Emote cards grid */
.afromoves-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.emote-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.emote-visual {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.emote-visual.fill-a { background: linear-gradient(135deg, #122119 0%, #0c0d10 100%); }
.emote-visual.fill-b { background: linear-gradient(135deg, #2b1f13 0%, #0c0d10 100%); }
.emote-visual.fill-c { background: linear-gradient(135deg, #24132b 0%, #0c0d10 100%); }

.dance-avatar {
  animation: dance-bounce 1s infinite alternate ease-in-out;
}

@keyframes dance-bounce {
  0% { transform: translateY(0) rotate(-5deg); }
  100% { transform: translateY(-10px) rotate(5deg); }
}

.emote-details {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.emote-details h3 {
  font-family: var(--font-comic-title);
  margin-bottom: 0.25rem;
}

.emote-details p {
  color: var(--text-mute);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  flex: 1;
}

.emote-metrics {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
}

/* Events hub */
.events-dashboard-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.event-admin-card {
  display: flex;
  flex-direction: column;
}

.event-details-split {
  display: flex;
  gap: 1rem;
  margin: 0.75rem 0;
}

.event-img-placeholder {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--orange);
}

.event-img-placeholder i {
}

.event-img-placeholder span {
  font-weight: 600;
  color: var(--text-main);
}

.event-stats-block {
  flex: 1.2;
}

.licensing-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.03);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.badge-tag {
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

.badge-tag.status-ok {
  background-color: rgba(0, 230, 118, 0.1);
  color: var(--emerald);
}

.event-projections-box {
  background-color: rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 0.75rem;
  margin: 0.75rem 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.proj-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.proj-line:last-child {
  margin-bottom: 0;
}

.events-history-card {
  display: flex;
  flex-direction: column;
}

.events-log-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 280px;
  overflow-y: auto;
}

.event-log-item {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.65rem;
}

.event-log-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.event-log-footer {
  display: flex;
  justify-content: space-between;
  color: var(--text-mute);
  margin-top: 0.25rem;
}

/* B2B SaaS Styling */
.saas-dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.25rem;
}

.api-key-box {
  background-color: rgba(0,0,0,0.2);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.5rem;
}

.api-key-box label {
  color: var(--text-mute);
  font-weight: 600;
}

.key-field {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.key-field input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--emerald);
  font-family: monospace;
  padding: 0.4rem;
  border-radius: 4px;
  outline: none;
}

.sub-counter-box {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  width: fit-content;
  margin: 0.25rem 0;
}

.counter-btn {
  background: none;
  border: none;
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

#saas-sub-count {
  padding: 0 0.8rem;
  font-weight: 700;
}

.sandbox-window {
  background-color: #060608;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  font-family: monospace;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.sandbox-header {
  background-color: #121218;
  padding: 0.5rem 0.75rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sandbox-header .method {
  color: var(--orange);
  font-weight: 700;
}

.sandbox-header .url {
  color: var(--text-mute);
}

.sandbox-body {
  padding: 1rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.code-line {
  padding-left: 1rem;
}

.code-line .key { color: var(--purple); }
.code-line .val { color: var(--emerald); }

.sandbox-footer {
  background-color: #121218;
  padding: 0.4rem 0.75rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.status-200 {
  color: var(--emerald);
  font-weight: 600;
}

.time { color: var(--text-mute); }

/* MacBook Physical Base */
.macbook-keyboard {
  background-color: #32323a;
  border-radius: 0 0 16px 16px;
  height: 24px;
  border-top: 2px solid #5a5a65;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  position: relative;
}

.keyboard-trackpad {
  width: 120px;
  height: 12px;
  background-color: #2b2b32;
  border-radius: 3px;
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.text-emerald { color: var(--emerald); }
.text-orange { color: var(--orange); }
.text-mute { color: var(--text-mute); }
.mt-4 { margin-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.text-center { text-align: center; }

/* Bifurcated Banking styles */
.banking-portals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}
.bank-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.85rem;
}
.bank-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.bank-header h5 {
  font-weight: 600;
  font-family: var(--font-comic-title);
}
.bank-status {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 0.4rem;
}
.highlight-purple {
  border-color: rgba(213, 0, 249, 0.25) !important;
  background-color: rgba(213, 0, 249, 0.02) !important;
}
.highlight-purple .val {
  color: var(--purple) !important;
}
.stats-counter-row.mt-4 {
  margin-top: 1rem;
}

/* App Launcher and Splash Screen Overlays */
.launcher-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--comic-paper);
  background-image: none;
  
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.launcher-overlay.fade-out, .splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}



.logo-orb-large {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--orange) 100%);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px var(--emerald-glow);
}

.logo-orb-large.pulsing {
  animation: orb-pulse-large 2.5s infinite ease-in-out;
}

@keyframes orb-pulse-large {
  0%, 100% { transform: scale(1); box-shadow: 0 0 25px var(--emerald-glow); }
  50% { transform: scale(1.1); box-shadow: 0 0 45px var(--orange-glow); }
}

.launcher-title {
  font-family: var(--font-comic-title);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #ffffff 30%, var(--text-mute) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.launcher-desc {
  color: var(--text-mute);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.launch-btn {
  background-color: var(--emerald);
  color: #000;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-family: var(--font-comic-title);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--emerald-glow);
}

.launch-btn:hover {
  background-color: #00ff80;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--emerald-glow);
}

.location-stamp {
  display: block;
  color: var(--text-mute);
  margin-top: 1.5rem;
}

.location-stamp i {
  color: var(--orange);
  margin-right: 0.25rem;
}

/* Splash Screen overlay styling */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #060608;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 440px;
  padding: 2rem;
}

.splash-title {
  font-family: var(--font-comic-title);
  font-weight: 800;
  letter-spacing: 6px;
  margin-bottom: 1.5rem;
  animation: letter-glow 3s infinite alternate ease-in-out;
}

@keyframes letter-glow {
  0% { text-shadow: 0 0 10px rgba(0, 0, 0, 0.06); letter-spacing: 5px; }
  100% { text-shadow: 0 0 25px var(--emerald-glow); letter-spacing: 9px; color: var(--emerald); }
}

.splash-loading-container {
  width: 100%;
  max-width: 320px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.forensic-scanner-bar {
  width: 100%;
  height: 2px;
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  position: absolute;
  left: 0;
  top: 0;
  animation: sweep-scan-vertical 2s infinite linear;
}

@keyframes sweep-scan-vertical {
  0% { top: 0; }
  50% { top: 100%; }
  100% { top: 0; }
}

.splash-badge {
  font-weight: 600;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.splash-logs {
  width: 100%;
  height: 150px;
  background-color: #030304;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem;
  font-family: monospace;
  color: var(--text-mute);
  overflow-y: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

/* Proof of Humanity Verification Gateway styles */


.large-icon {
  color: var(--emerald);
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 10px var(--emerald-glow));
}

.verification-sandbox {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rhythm-playback-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.rhythm-visual-track {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.rhythm-dot {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0 0.4rem;
  transition: all 0.15s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.rhythm-dot.active {
  background-color: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  transform: scale(1.2);
}

.drum-pad-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.drum-pad-btn {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  border-radius: 0 !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: transform 0.05s ease, box-shadow 0.05s ease;
}

.drum-pad-btn:active {
  transform: translate(2px, 2px) scale(0.96);
  box-shadow: none !important;
}

.tap-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.indicator-dot {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
}

.indicator-dot.active {
  background-color: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  transform: scale(1.2);
}

.verification-status {
  color: var(--text-mute);
  font-weight: 500;
  text-align: center;
  padding: 0.25rem;
}

.text-xs {
}

/* Verification Tab Layout */
.verification-tabs {
  display: flex;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 0.25rem;
  margin-top: 1rem;
}

.ver-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-mute);
  padding: 0.5rem;
  font-weight: 600;
  font-family: var(--font-comic-title);
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.ver-tab-btn.active {
  background-color: var(--emerald);
  color: #000;
  box-shadow: 0 2px 10px rgba(0,230,118,0.25);
}

.ver-panel.hidden {
  display: none !important;
}

/* Pattern Trace Captcha Styles */
.pattern-trace-container {
  /* Dimensions defined in inline style: 200x200 */
}

.pattern-grid {
  padding: 10px;
}

.pattern-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pattern-node::after {
  content: "";
  width: 14px;
  height: 14px;
  background-color: var(--comic-ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
  transition: transform 0.1s;
}

.pattern-node.active::after {
  background-color: var(--comic-accent);
  transform: scale(1.8);
  box-shadow: 0 0 10px var(--comic-accent);
}

.pattern-node.success::after {
  background-color: var(--comic-success);
  transform: scale(1.8);
  box-shadow: 0 0 10px var(--comic-success);
}

.pattern-node.error::after {
  background-color: var(--comic-danger);
  transform: scale(1.8);
  box-shadow: 0 0 10px var(--comic-danger);
}

/* ==========================================================================
   AFRICAN PAPER COMIC BOOK DESIGN SYSTEM
   Applied to the phone screen interior only. macOS dashboard stays dark.
   ========================================================================== */

/* Paper texture background for the phone interior */


/* Comic style status bar */


/* Comic app header */
.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.app-title-logo {
  font-family: var(--font-comic-title) !important;
  letter-spacing: 1px !important;
  color: #fff;
  text-shadow: 2px 2px 0 var(--comic-ink);
}

.verified-badge {
  color: var(--comic-accent) !important;
  text-shadow: 1px 1px 0 var(--comic-ink) !important;
}

.artist-avatar {
  border: 2px solid var(--comic-ink) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Phone screen content panels — light comic style */
.phone-screen-content {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}

.phone-screen-content h2,
.phone-screen-content h3,
.phone-screen-content h4,
.phone-screen-content h5 {
  font-family: var(--font-comic-title);
  color: var(--comic-ink);
  letter-spacing: 0.5px;
}

.phone-screen-content p,
.phone-screen-content span,
.phone-screen-content label {
  font-family: var(--font-comic-body);
  color: var(--comic-ink);
}

/* Comic panel cards (generic) */
.comic-panel {
  background-color: var(--bg-card);
  border: var(--comic-border);
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
}

/* Halftone dot overlay utility */
.halftone-bg {
  position: relative;
}
.halftone-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--comic-accent) 0.8px, transparent 0.8px);
  background-size: 6px 6px;
  opacity: 0.08;
  pointer-events: none;
  border-radius: inherit;
}

/* Comic speech bubble */
.speech-bubble {
  background-color: var(--bg-card);
  border: 2px solid var(--comic-ink);
  border-radius: 16px;
  padding: 0.6rem 0.85rem;
  position: relative;
  font-family: var(--font-comic-body);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--comic-ink);
}

/* Starburst badge (Verified!) */
.comic-starburst {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background-color: var(--comic-accent);
  color: var(--comic-ink);
  font-family: var(--font-comic-title);
  letter-spacing: 1px;
  padding: 0.25rem 0.65rem;
  border: 2px solid var(--comic-ink);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transform: rotate(-2deg);
}

/* Starburst pop animation */
@keyframes comic-pop {
  0% { transform: scale(0) rotate(-15deg); opacity: 0; }
  60% { transform: scale(1.2) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(-2deg); opacity: 1; }
}
.comic-pop-in {
  animation: comic-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Comic phone buttons */

/* Welcome hero comic restyle */
.welcome-hero h2 {
  font-family: var(--font-comic-title) !important;
  color: var(--comic-ink) !important;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.08);
  line-height: 1.3;
}
.welcome-hero p {
  color: var(--comic-ink-light) !important;
  font-family: var(--font-comic-body) !important;
  font-weight: 700;
}

.pulsing-glow {
  background: radial-gradient(circle, rgba(224, 123, 57, 0.25) 0%, transparent 70%) !important;
  border: 3px dashed var(--comic-accent) !important;
}
.pulsing-glow i {
  color: var(--comic-accent) !important;
  text-shadow: 2px 2px 0 var(--comic-ink) !important;
}

/* Dashboard earnings card comic restyle */
.dashboard-earnings-card {
  background-color: var(--comic-ink) !important;
  border: var(--comic-border) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  color: #fff;
}
.dashboard-earnings-card .card-label {
  color: rgba(255,255,255,0.8) !important;
  font-family: var(--font-comic-body) !important;
}
.dashboard-earnings-card h3 {
  font-family: var(--font-comic-title) !important;
  color: var(--comic-accent) !important;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}
.dashboard-earnings-card .earnings-breakdown .lbl {
  color: rgba(255,255,255,0.7) !important;
}
.dashboard-earnings-card .earnings-breakdown .val {
  color: #fff !important;
}

/* Upload zone comic restyle */
.upload-trigger-zone {
  background-color: var(--bg-card) !important;
  border: 3px dashed var(--comic-accent) !important;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
}
.upload-trigger-zone h5 {
  color: var(--comic-ink) !important;
}
.upload-trigger-zone p {
  color: var(--comic-ink-light) !important;
}
.cloud-icon {
  color: var(--comic-accent) !important;
  text-shadow: none !important;
}
.tech-badges span {
  background-color: var(--comic-paper-dark) !important;
  color: var(--comic-ink) !important;
  border: 1px solid var(--comic-ink) !important;
  font-family: var(--font-comic-body) !important;
  font-weight: 700;
}

/* Dashboard section headers */
.dashboard-section h4 {
  font-family: var(--font-comic-title) !important;
  color: var(--comic-ink);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.06);
}

/* ============================================================
   BOTTOM NAVIGATION BAR
   ============================================================ */
.phone-bottom-nav {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  background-color: var(--bg-card);
  border-top: var(--comic-border);
  height: 52px;
  flex-shrink: 0;
}

.nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-comic-body);
  font-weight: 700;
  color: var(--comic-ink-light);
  transition: color 0.15s ease;
  position: relative;
}

.nav-tab i {
}

.nav-tab.active {
  color: var(--comic-accent);
}
.nav-tab.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 3px;
  background-color: var(--comic-accent);
  border-radius: 0 0 3px 3px;
}

/* ============================================================
   TIKTOK/INSTA SNAP-SCROLL FEED
   ============================================================ */
.feed-scroll-container {
  flex: 1;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 !important;
}

.feed-card {
  scroll-snap-align: start;
  min-height: calc(100% - 0px);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-card);
  border-bottom: var(--comic-border);
  overflow: hidden;
}

.feed-card-artwork {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feed-card-artwork .gradient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feed-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 60px;
  padding: 1rem;
  z-index: 2;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}

.feed-card-info .feed-title {
  font-family: var(--font-comic-title);
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.6);
}

.feed-card-info .feed-artist {
  font-family: var(--font-comic-body);
  font-weight: 700;
  margin-top: 0.15rem;
  opacity: 0.9;
}

.feed-card-info .feed-stats {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.4rem;
  font-family: var(--font-comic-body);
  font-weight: 700;
  opacity: 0.85;
}

.feed-verified-stamp {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
}

/* Feed side action buttons (like TikTok) */
.feed-actions {
  position: absolute;
  bottom: 80px;
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.feed-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.9);
  border: 2px solid var(--comic-ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s ease;
  color: var(--comic-ink);
}
.feed-action-btn:active {
  transform: scale(0.9) translate(1px, 1px);
  box-shadow: 0 0 0 var(--comic-ink);
}
.feed-action-btn.liked {
  background-color: var(--comic-danger);
  color: #fff;
}
.feed-action-label {
  font-family: var(--font-comic-body);
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  margin-top: -0.5rem;
}

.feed-swipe-hint {
  text-align: center;
  padding: 0.35rem;
  font-family: var(--font-comic-body);
  font-weight: 700;
  color: var(--comic-ink-light);
  opacity: 0.6;
  animation: bounce-hint 1.5s infinite;
}
@keyframes bounce-hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ============================================================
   PROFILE SCREENS
   ============================================================ */
.profile-avatar-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid var(--comic-ink);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  margin: 0 auto 0.75rem;
  background-color: var(--comic-paper-dark);
}
.profile-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card {
  background-color: var(--bg-card);
  border: var(--comic-border);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.profile-card h3 {
  font-family: var(--font-comic-title);
  color: var(--comic-ink);
}

.profile-card .profile-bio {
  font-family: var(--font-comic-body);
  color: var(--comic-ink-light);
  margin: 0.25rem 0 0.75rem;
}

.profile-stats-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0.75rem 0;
}
.profile-stat {
  text-align: center;
}
.profile-stat .stat-num {
  font-family: var(--font-comic-title);
  color: var(--comic-accent);
}
.profile-stat .stat-lbl {
  font-family: var(--font-comic-body);
  font-weight: 700;
  color: var(--comic-ink-light);
  text-transform: uppercase;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin: 0.5rem 0;
}
.genre-tag {
  background-color: var(--comic-paper-dark);
  border: 2px solid var(--comic-ink);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  font-family: var(--font-comic-body);
  font-weight: 700;
  color: var(--comic-ink);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 1px 1px 0 var(--comic-ink);
}
.genre-tag.selected,
.genre-tag:hover {
  background-color: var(--comic-accent);
  color: #fff;
}

/* Profile form inputs */
.comic-input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  font-family: var(--font-comic-body);
  font-weight: 700;
  color: var(--comic-ink);
  background-color: var(--bg-card);
  border: 2px solid var(--comic-ink);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  outline: none;
}
.comic-input:focus {
  border-color: var(--comic-accent);
  box-shadow: 2px 2px 0 var(--comic-accent);
}
.comic-input::placeholder {
  color: #bbb;
}

.comic-textarea {
  resize: none;
  height: 60px;
}

.form-group {
  text-align: left;
  margin-bottom: 0.65rem;
}
.form-group label {
  display: block;
  font-family: var(--font-comic-title);
  color: var(--comic-ink);
  margin-bottom: 0.2rem;
}

/* --- HAND-DRAWN SKETCHY ASSETS OVERRIDES --- */




.launcher-card.clicked-zoom {
  animation: zoomOutEverything 0.8s ease-in forwards !important;
}
@keyframes zoomOutEverything {
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.phone-btn.primary {
  background-color: var(--comic-success) !important;
  border: var(--comic-border) !important;
  border-radius: var(--comic-wobble) !important;
  box-shadow: 3px 3px 0 var(--comic-ink) !important;
  color: var(--comic-ink) !important;
  font-family: var(--font-comic-title) !important;
  letter-spacing: 1px;
  text-shadow: none !important;
}

.phone-btn.secondary {
  background-color: var(--comic-danger) !important;
  border: var(--comic-border) !important;
  border-radius: var(--comic-wobble) !important;
  box-shadow: 3px 3px 0 var(--comic-ink) !important;
  color: white !important;
  font-family: var(--font-comic-title) !important;
  text-shadow: none !important;
}

.music-player-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--bg-card) !important;
  border: 4px solid var(--comic-ink) !important;
  border-radius: var(--comic-wobble) !important;
  box-shadow: 4px 4px 0 var(--comic-ink) !important;
  padding: 1rem 1.5rem;
  transform-origin: center;
  cursor: pointer;
}
.music-player-widget h3 {
  font-family: var(--font-comic-title);
  color: var(--comic-ink);
  margin-bottom: 0.2rem;
}
.music-player-widget p {
  font-family: var(--font-comic-body);
  font-weight: bold;
}

/* --- LOGO ROLL & SCALE ANIMATIONS --- */
@keyframes rollIn {
  0% {
    opacity: 0;
    transform: translateX(-100vw) rotate(-540deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
  }
}

.afraw-logo-main {
  width: 320px;
  height: 320px;
  margin: 0 auto;
  cursor: pointer;
  animation: rollIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.afraw-logo-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.afraw-logo-main:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
}
.afraw-logo-main.clicked {
  animation: zoomOutLogo 0.8s ease-in forwards !important;
}

@keyframes zoomOutLogo {
  100% {
    transform: scale(4) rotate(15deg);
    opacity: 0;
  }
}

/* --- DRUM BOUNCE ANIMATION --- */
@keyframes drumHitBounce {
  0% { transform: scale(1); }
  30% { transform: scale(0.7) translateY(10px); }
  60% { transform: scale(1.1) translateY(-5px); }
  100% { transform: scale(1); }
}

.hit-bounce {
  animation: drumHitBounce 0.25s ease-out;
}

/* Minimalist Typographic Utility Classes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

.font-title { font-family: var(--font-family-title); }
.font-body { font-family: var(--font-family-body); }

/* Sprite Sizing Classes */
.sprite-sm { width: var(--sprite-sm); height: var(--sprite-sm); object-fit: contain; }
.sprite-md { width: var(--sprite-md); height: var(--sprite-md); object-fit: contain; }
.sprite-lg { width: var(--sprite-lg); height: var(--sprite-lg); object-fit: contain; }
.sprite-xl { width: var(--sprite-xl); height: var(--sprite-xl); object-fit: contain; }

.about-content {
  background: var(--bg-panel);
  border: var(--comic-border-thick);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-panels {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.macbook-tab-content {
  display: none;
}
.macbook-tab-content.active {
  display: block;
  animation: fadeIn 0.3s;
}

@keyframes fingerprintScan {
  0% { transform: scale(1); filter: drop-shadow(0 0 0px var(--comic-success)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 15px var(--comic-success)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0px var(--comic-success)); }
}
.fingerprint-anim {
  animation: fingerprintScan 2s infinite ease-in-out;
}

.launcher-card, .verification-card {
  background-color: var(--comic-paper) !important;
  border: 4px solid var(--comic-ink) !important;
  border-radius: var(--comic-wobble) !important;
  box-shadow: 6px 6px 0 var(--comic-ink) !important;
  padding: 3rem 2rem !important;
  margin: 0 auto;
}

.launcher-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.verification-card {
  width: 100%;
  max-width: 480px;
}

@keyframes drumHitEffect {
  0% { transform: scale(1) translateY(0) rotate(0deg); filter: drop-shadow(0 0 0px var(--comic-accent)); }
  25% { transform: scale(0.85) translateY(10px) rotate(-3deg); filter: drop-shadow(0 0 15px var(--comic-accent)); }
  50% { transform: scale(1.05) translateY(-5px) rotate(3deg); }
  75% { transform: scale(0.95) translateY(2px) rotate(-1deg); }
  100% { transform: scale(1) translateY(0) rotate(0deg); filter: drop-shadow(0 0 0px var(--comic-accent)); }
}

.drum-hit-anim {
  animation: drumHitEffect 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.dashboard-content { padding-bottom: 70px; }

/* ================================================================
   MEGA FIX v22 — Full Social Media Layout
   ================================================================ */

/* ── Layout: Make the dashboard wrapper use full viewport height ── */
body {
  height: 100%;
  overflow-x: hidden;
}

.simulator-container {
  align-items: flex-start !important;
  padding: 1.5rem 2rem 2rem !important;
}

.dashboard-wrapper {
  max-width: 620px !important;
  gap: 0 !important;
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem !important;
}

.phone-app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-panel) !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  margin-bottom: 0 !important;
  padding: 0.85rem 1rem !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}

/* ── Screen switching ── */
.phone-screen-content {
  min-height: 80vh;
  padding: 0 !important;
}

/* ── Earnings Hero Card ── */
.earnings-hero-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #3d1a00 50%, #1a1a1a 100%);
  color: #fff;
  padding: 1.75rem 1.5rem;
  border-radius: 0;
  border-bottom: 3px solid var(--comic-ink);
  position: relative;
  overflow: hidden;
}
.earnings-hero-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(224,123,57,0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.earnings-hero-label {
  font-family: var(--font-comic-body);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.earnings-hero-amount {
  font-family: var(--font-comic-title);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--comic-accent);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.earnings-hero-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.earnings-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.earnings-hero-stat-val {
  font-family: var(--font-comic-title);
  font-size: 1.2rem;
  font-weight: 700;
}
.earnings-hero-stat-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}
.earnings-hero-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.2);
}

/* ── Quick Stats Row ── */
.quick-stats-row {
  display: flex;
  border-bottom: 2px solid var(--comic-ink);
  background: var(--bg-panel);
}
.quick-stat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  gap: 0.25rem;
  border-right: 1px solid var(--comic-ink);
  transition: background 0.2s;
}
.quick-stat-card:last-child { border-right: none; }
.quick-stat-card:hover { background: var(--comic-paper-dark); }
.quick-stat-num {
  font-family: var(--font-comic-title);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--comic-ink);
}
.quick-stat-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-mute);
}

/* ── Dashboard sections ── */
.dashboard-section {
  padding: 1.25rem 1rem;
  border-bottom: 2px solid var(--comic-ink);
}
.dashboard-section h4 {
  font-family: var(--font-comic-title);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--comic-ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dashboard-section h4::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--comic-accent);
  border-radius: 2px;
}

/* ── Feed header bar (For You / Trending tabs) ── */
.feed-header-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--comic-ink);
  background: var(--bg-panel);
  position: sticky;
  top: 57px;
  z-index: 90;
}
.feed-header-tab {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-family: var(--font-comic-body);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-mute);
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.feed-header-tab.active-tab {
  color: var(--comic-ink);
  border-bottom-color: var(--comic-ink);
}
.feed-header-tab:hover {
  background: var(--comic-paper-dark);
}

/* ── Feed container: natural scrolling like Instagram ── */
.feed-scroll-container {
  overflow-y: visible !important;
  scroll-snap-type: none !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Feed card: tall card style (like Instagram, not TikTok snap) ── */
.feed-card {
  flex-shrink: 0 !important;
  scroll-snap-align: none !important;
  min-height: 520px !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #000;
  border-bottom: 3px solid var(--comic-ink);
  overflow: hidden;
  margin: 0;
}

.feed-card-artwork {
  height: 380px !important;
  flex: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feed-bg-icon {
  font-size: 7rem;
  color: rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.feed-card-info {
  position: static !important;
  background: #000 !important;
  color: #fff;
  padding: 0.85rem 1rem 0.5rem !important;
}

.feed-artist-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.feed-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--comic-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-comic-title);
  font-weight: 700;
  color: #fff;
  font-size: 0.75rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
}

.feed-follow-btn {
  margin-left: auto;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff;
  font-family: var(--font-comic-body);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.feed-follow-btn.following {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}
.feed-follow-btn:hover {
  background: rgba(255,255,255,0.2);
}

.feed-card-info .feed-title {
  font-size: 1.1rem !important;
}

.feed-card-info .feed-artist {
  font-size: 0.8rem !important;
  opacity: 0.7;
}

.feed-desc {
  font-family: var(--font-comic-body);
  font-size: 0.78rem;
  opacity: 0.8;
  margin: 0.25rem 0 0.4rem;
  line-height: 1.4;
}

/* ── Feed actions: move to bottom row (Instagram style) ── */
.feed-actions {
  position: static !important;
  bottom: auto !important;
  right: auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-around !important;
  padding: 0.6rem 1rem 0.85rem !important;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 0 !important;
}

.feed-action-btn {
  width: 36px !important;
  height: 36px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 1.1rem;
}
.feed-action-btn:active {
  transform: scale(0.85) !important;
  box-shadow: none !important;
}
.feed-action-btn.liked {
  color: #ff3b5c !important;
  background: transparent !important;
}

.feed-action-label {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.7rem !important;
  text-shadow: none !important;
  margin-top: 0 !important;
  font-family: var(--font-comic-body);
}

.feed-verified-stamp {
  top: 10px !important;
  left: 10px !important;
}



/* ==========================================================================
   DARK MODE: Bright Sprite Enhancements
   All images/sprites get brightened filters. Icons get neon glow.
   ========================================================================== */

/* Make all images pop on dark bg */
img:not([src*="unsplash"]):not(.feed-avatar-mini img) {
  filter: brightness(1.15) contrast(1.1);
}

/* Neon glow for Font Awesome icons in key areas */
.dashboard-section i,
.upload-trigger-zone i,
.phone-btn i,
.quick-stat-card i,
.pulsing-glow i,
.feed-action-btn i {
  filter: drop-shadow(0 0 4px currentColor);
}

/* Bright accent borders on interactive cards */
.dashboard-earnings-card {
  border-left: 3px solid var(--comic-accent);
}

.comic-panel {
  background: var(--bg-card) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Profile cards */
.profile-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #16213e 100%) !important;
}

/* Feed cards in dark mode */
.feed-card {
  border-color: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.feed-card-info {
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.7) 60%, transparent 100%) !important;
}

/* Feed header bar */
.feed-header-bar {
  background: var(--bg-card) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.feed-header-tab {
  color: var(--text-mute) !important;
}

.feed-header-tab.active-tab {
  color: var(--comic-accent) !important;
  border-bottom-color: var(--comic-accent) !important;
}

/* Feed action buttons */
.feed-action-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.feed-action-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

/* Genre tags */
.genre-tag {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--text-mute) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.genre-tag.selected,
.genre-tag:hover {
  background: rgba(255, 107, 53, 0.15) !important;
  color: var(--comic-accent) !important;
  border-color: var(--comic-accent) !important;
}

/* Scrollbar for dark */
* {
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Quick stat cards */
.quick-stat-card {
  background: var(--bg-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Comic input fields */
.comic-input {
  background: var(--bg-surface) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--comic-ink) !important;
}

.comic-input:focus {
  border-color: var(--comic-accent) !important;
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.2) !important;
}

/* Form labels */
.form-group label {
  color: var(--text-mute) !important;
}

/* Verification modal */
.human-verification-modal {
  background: rgba(10, 10, 15, 0.97) !important;
}

/* DSP items */
.dsp-item {
  background: var(--bg-card) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Status badges */
.status-live {
  color: var(--comic-success) !important;
  text-shadow: 0 0 6px rgba(0, 230, 118, 0.4);
}

/* Halftone bg override */
.halftone-bg {
  background: var(--bg-card) !important;
}

/* Profile stats */
.profile-stat {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Music player widget */
.music-player-widget {
  background: var(--bg-card) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.music-player-widget h3 {
  color: var(--comic-accent) !important;
}

/* App launcher overlay */
.app-launcher-overlay {
  background: var(--bg-app) !important;
}

/* Contract screen */
.contract-header {
  background: var(--bg-card) !important;
}

/* Profile view card */
.profile-card {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* About section */
.about-wrapper {
  color: var(--comic-ink) !important;
}

/* Macbook section override */
.macbook-bezel {
  background: #111 !important;
}

/* Sandbox code block */
.sandbox-response {
  background: #0d0d15 !important;
}

.key {
  color: #7C4DFF !important;
}

.val {
  color: #00E676 !important;
}

/* Fade out animation */
.fade-out {
  animation: fadeOut 0.6s forwards;
}

@keyframes fadeOut {
  to { opacity: 0; pointer-events: none; }
}

/* Progress meter */
.meter-track {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Selection color */
::selection {
  background: rgba(255, 107, 53, 0.3);
  color: #fff;
}
