/* ==========================================================================
   THINKYFIC DESIGN SYSTEM — Corso Metodo Hudolin
   Ispirato a dependex.social (dark mode, neon arcobaleno, glassmorphism)
   ========================================================================== */

:root {
  /* Colori base dark */
  --bg:#070709;
  --card:#101116;
  --card-subtle:#16171f;
  --ink:#ffffff;
  --muted:#e2e8f0;
  --text-muted:#cbd5e1;
  --border:rgba(0,212,255,0.22);
  --shadow:0 16px 40px rgba(0,0,0,0.85), 0 0 25px rgba(0,212,255,0.18);
  --r:20px;
  --topbar-bg:rgba(7,7,9,0.92);
  --bottom-bg:rgba(10,11,15,0.95);

  /* I 7 Colori Neon Arcobaleno */
  --neon-red:#ff3344;
  --neon-orange:#ff7700;
  --neon-gold:#ffd700;
  --neon-green:#00ff77;
  --neon-cyan:#00d4ff;
  --neon-indigo:#3a55ff;
  --neon-violet:#b829ff;

  /* Glow specifici */
  --glow-red: 0 0 16px rgba(255, 51, 68, 0.65), 0 0 35px rgba(255, 51, 68, 0.35);
  --glow-orange: 0 0 16px rgba(255, 119, 0, 0.65), 0 0 35px rgba(255, 119, 0, 0.35);
  --glow-gold: 0 0 16px rgba(255, 215, 0, 0.7), 0 0 35px rgba(255, 215, 0, 0.4);
  --glow-green: 0 0 16px rgba(0, 255, 119, 0.65), 0 0 35px rgba(0, 255, 119, 0.35);
  --glow-cyan: 0 0 16px rgba(0, 212, 255, 0.65), 0 0 35px rgba(0, 212, 255, 0.35);
  --glow-indigo: 0 0 16px rgba(58, 85, 255, 0.65), 0 0 35px rgba(58, 85, 255, 0.35);
  --glow-violet: 0 0 16px rgba(184, 41, 255, 0.65), 0 0 35px rgba(184, 41, 255, 0.35);

  /* Gradienti arcobaleno */
  --rainbow-gradient: linear-gradient(135deg, #00d4ff 0%, #0077ff 60%, #d4af37 100%);
  --rainbow-gradient-h: linear-gradient(90deg, #00d4ff 0%, #0077ff 100%);
  --rainbow-gradient-text: linear-gradient(135deg, #ffffff 30%, #cbd5e1 70%, #d4af37 100%);
  --rainbow-glow: 0 4px 20px rgba(0, 212, 255, 0.35);

  /* Superfici vetro cosmico */
  --glass-surface: rgba(12, 15, 24, 0.88);
  --glass-border: rgba(255, 255, 255, 0.12);

  /* Tipografia */
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  max-width: 100%;
  width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  min-height: 100vh;
  padding-bottom: 88px;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }

/* Skip link accessibilità */
.skip-link {
  position: absolute;
  top: -999px;
  left: 14px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 9999;
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   TOPBAR FIXED (logo rotondo a sx, burger a dx)
   ========================================================================== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  height: 64px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  gap: 16px;
  background: rgba(6, 8, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid transparent;
  border-image: var(--rainbow-gradient-h) 1;
  box-shadow: 0 4px 30px rgba(0,0,0,0.8), 0 0 20px rgba(0,212,255,0.15);
  box-sizing: border-box;
}
body { padding-top: calc(66px + env(safe-area-inset-top, 0px)); }

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
}
.brand-mark-rainbow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: var(--rainbow-gradient);
  box-shadow: 0 0 20px rgba(0,212,255,0.45);
  animation: rainbow-pulse 4s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-mark-rainbow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #06070a;
}
@keyframes rainbow-pulse {
  0%,100% { box-shadow: 0 0 16px rgba(0,212,255,0.4), 0 0 30px rgba(184,41,255,0.2); }
  50% { box-shadow: 0 0 24px rgba(255,119,0,0.5), 0 0 40px rgba(0,255,119,0.3); }
}
.brand-text { display: flex; flex-direction: column; }
.brand-text b {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand-text small {
  display: block;
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.burger-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.45);
  background: #101116;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}
.burger-btn:hover { border-color: #FFF2B2; transform: translateY(-1px); }
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #D4AF37;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger-btn.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.is-active span:nth-child(2) { opacity: 0; }
.burger-btn.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-subtle);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ==========================================================================
   OFF-CANVAS DRAWER NAVIGATION
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7,19,34,0.6);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1);
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  background: var(--card);
  color: var(--ink);
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 45px rgba(0,0,0,0.3);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
}
.drawer.is-open { transform: translateX(0); }

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card-subtle);
  color: var(--ink);
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 1;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.drawer-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: var(--card-subtle);
  border: 1px solid var(--border);
}
.drawer-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-orange));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.drawer-user-info b { display: block; font-size: 0.95rem; }
.drawer-user-info small { display: block; color: var(--muted); font-size: 0.75rem; }
.drawer-sic {
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  color: var(--neon-orange);
  margin-top: 2px;
}

.drawer-section-title {
  display: block;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 10px 0 4px 6px;
}
.drawer-nav-group { display: flex; flex-direction: column; gap: 4px; }
.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 750;
  font-size: 0.88rem;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.drawer-link:hover { background: var(--card-subtle); color: var(--neon-green); }
.drawer-link.active { background: var(--glass-surface); color: var(--neon-cyan); }
.drawer-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--card-subtle);
}

/* ==========================================================================
   PAGINA & GRIGLIA RESPONSIVE
   ========================================================================== */
.page {
  width: 100%;
  max-width: 1520px;
  margin: auto;
  padding: 14px;
}
@media (min-width: 1024px) {
  .page { padding: 24px 36px; width: min(1560px, 94vw); }
}
@media (max-width: 767px) {
  .page { padding: 10px 12px 92px; max-width: 100%; }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -12px;
  margin-left: -12px;
}
.row > * { box-sizing: border-box; padding-right: 12px; padding-left: 12px; width: 100%; }
.g-2 { margin-right: -6px; margin-left: -6px; }
.g-2 > * { padding-right: 6px; padding-left: 6px; }
.g-3 { margin-right: -10px; margin-left: -10px; }
.g-3 > * { padding-right: 10px; padding-left: 10px; }
.g-4 { margin-right: -16px; margin-left: -16px; }
.g-4 > * { padding-right: 16px; padding-left: 16px; }

.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }

.gap-1 { gap: 6px !important; }
.gap-2 { gap: 10px !important; }
.gap-3 { gap: 16px !important; }
.gap-4 { gap: 24px !important; }

.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 10px !important; }
.mb-3 { margin-bottom: 18px !important; }
.mb-4 { margin-bottom: 26px !important; }
.mt-2 { margin-top: 10px !important; }
.mt-3 { margin-top: 18px !important; }
.p-2 { padding: 8px !important; }
.p-3 { padding: 16px !important; }
.p-4 { padding: 24px !important; }

.col-6 { width: 50% !important; flex: 0 0 50% !important; }
.col-12 { width: 100% !important; flex: 0 0 100% !important; }
@media (min-width: 768px) {
  .col-md-3 { width: 25% !important; flex: 0 0 25% !important; }
  .col-md-4 { width: 33.333333% !important; flex: 0 0 33.333333% !important; }
  .col-md-6 { width: 50% !important; flex: 0 0 50% !important; }
  .col-lg-3 { width: 25% !important; flex: 0 0 25% !important; }
  .col-lg-4 { width: 33.333333% !important; flex: 0 0 33.333333% !important; }
  .col-lg-6 { width: 50% !important; flex: 0 0 50% !important; }
  .col-lg-8 { width: 66.666667% !important; flex: 0 0 66.666667% !important; }
}

/* ==========================================================================
   TIPOGRAFIA & TITOLI NEON
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
  font-family: var(--font-serif);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0,0,0,0.85);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p, li, span, label, small { color: #f1f5f9; }
.text-muted, small, .text-secondary { color: #cbd5e1 !important; }
p { color: #e2e8f0; }

.text-rainbow {
  background: var(--rainbow-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.95)) drop-shadow(0 0 20px rgba(0,212,255,0.35));
}
.text-neon-red { color: #ff6677 !important; text-shadow: var(--glow-red); }
.text-neon-orange { color: #ffa333 !important; text-shadow: var(--glow-orange); }
.text-neon-gold { color: #fde68a !important; text-shadow: var(--glow-gold); }
.text-neon-green { color: #34d399 !important; text-shadow: var(--glow-green); }
.text-neon-cyan { color: #38bdf8 !important; text-shadow: var(--glow-cyan); }
.text-neon-indigo { color: #a5b4fc !important; text-shadow: 0 0 16px rgba(165,180,252,0.65); }
.text-neon-violet { color: #e879f9 !important; text-shadow: var(--glow-violet); }

/* ==========================================================================
   COMPONENTI UNIVERSALI
   ========================================================================== */
.btn, .btn-rainbow-neon, .btn-rainbow-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  height: 46px;
  padding: 0 16px;
  font-weight: 800;
  font-size: 0.90rem;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
.btn, .btn-rainbow-neon {
  color: #070a12 !important;
  background: linear-gradient(135deg, #00f0ff 0%, #0077ff 100%) !important;
  border: 1px solid rgba(0,240,255,0.4) !important;
  box-shadow: 0 4px 14px rgba(0,240,255,0.25) !important;
}
.btn:hover, .btn-rainbow-neon:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
  box-shadow: 0 6px 20px rgba(0,240,255,0.35) !important;
}
.btn-rainbow-outline {
  color: #ffffff !important;
  background: rgba(14,18,28,0.85) !important;
  border: 1px solid rgba(0,212,255,0.35) !important;
}
.btn-rainbow-outline:hover {
  background: rgba(22,28,44,0.95) !important;
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 4px 16px rgba(0,212,255,0.3) !important;
  transform: translateY(-1px) !important;
}
.btn.small, .btn-rainbow-neon.small, .btn-rainbow-outline.small {
  min-height: 40px; height: 40px; padding: 0 12px; font-size: 0.82rem; border-radius: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-neon-rainbow {
  background: rgba(20,25,40,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 18px rgba(0,212,255,0.25);
}
.badge-neon-rainbow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rainbow-gradient-h);
  box-shadow: 0 0 10px #00ff77;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  margin: 14px 0;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(0,0,0,0.8), 0 0 20px rgba(0,212,255,0.15); }

.rainbow-border {
  position: relative;
  background: linear-gradient(#090e1c, #0e1526) padding-box, var(--rainbow-gradient) border-box;
  border: 2px solid transparent;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,212,255,0.35), 0 16px 45px rgba(0,0,0,0.85);
  z-index: 1;
}

.slide-frame {
  background: rgba(14,18,30,0.9);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  margin: 20px 0;
  box-shadow: var(--shadow);
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.slide-number {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}
.slide-title {
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
}
.slide-source {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Pill colorate per i moduli */
.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  color: #070709;
}
.pill.mod-1 { background: var(--neon-red); }
.pill.mod-2 { background: var(--neon-orange); }
.pill.mod-3 { background: var(--neon-gold); }
.pill.mod-4 { background: var(--neon-green); }
.pill.mod-5 { background: var(--neon-cyan); }
.pill.mod-6 { background: var(--neon-violet); }

/* Tabella dati */
.table-wrap { overflow: auto; }
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.table-wrap th, .table-wrap td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  font-size: 0.85rem;
  color: #e2e8f0;
}
.table-wrap th {
  background: rgba(0,212,255,0.1);
  color: var(--neon-cyan);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

/* Casella citazione */
.quote-box {
  background: rgba(255,255,255,0.03);
  border-left: 4px solid var(--neon-gold);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 16px 0;
  font-style: italic;
  color: #fde68a;
}

/* Lista punteggiata */
.ul-check { list-style: none; padding: 0; margin: 0; }
.ul-check li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #e2e8f0;
}
.ul-check li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER UNIVERSALE
   ========================================================================== */
.site-footer {
  background: #080c14;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
  font-family: var(--font-sans);
  padding: 2rem 1.25rem 1.25rem;
  width: 100%;
}
.site-footer-inner { max-width: 1200px; margin: 0 auto; }
.site-footer-rainbow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff3344, #ff7700, #ffd700, #00ff77, #00d4ff, #3a55ff, #b829ff);
  opacity: 0.85;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.05fr 1.15fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 992px) { .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; } }
@media (max-width: 600px) { .site-footer-grid { display: flex; flex-direction: column; gap: 1.25rem; } }
.site-footer-col { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.site-footer-title {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e2e8f0;
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.site-footer-link {
  color: #94a3b8;
  font-size: 0.8125rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer-link:hover { color: #f8fafc; text-decoration: underline; text-underline-offset: 2px; }
.site-footer-bottom {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: #64748b;
}

/* ==========================================================================
   BOTTOM BAR MOBILE + SOS
   ========================================================================== */
.dx-mobile-bottom-bar {
  display: none;
}
@media (max-width: 768px) {
  .dx-mobile-bottom-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0; left: 0; right: 0;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(6,8,14,0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.12);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
  }
  .dx-bottom-nav-item {
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8; text-decoration: none;
    min-width: 54px; height: 100%; min-height: 48px;
    padding: 6px 10px;
    transition: color 0.2s ease;
  }
  .dx-bottom-nav-item svg { width: 24px; height: 24px; margin: 0; stroke-width: 2; }
  .dx-bottom-nav-item.active, .dx-bottom-nav-item:hover { color: #00d4ff; }
}

/* ==========================================================================
   UTILITY
   ========================================================================== */
.hidden { display: none !important; }
.text-right { text-align: right !important; }
.uppercase { text-transform: uppercase; }
.font-serif { font-family: var(--font-serif); }
.bg-card { background: var(--card); }

/* Audio player stile neon */
.audio-card {
  background: rgba(14,18,30,0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
  box-shadow: var(--shadow);
}
.audio-card audio {
  width: 100%;
  margin-top: 10px;
}

/* Progress bar */
.progress {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
  margin: 12px 0;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--rainbow-gradient-h);
  border-radius: 99px;
  box-shadow: 0 0 14px rgba(0,212,255,0.6);
}
</pre>