/* ==========================================================
   EQUILAB - AVENTURAS CON MEDIDAS
   Estilos modernos, vibrantes y lúdicos para chicas de 12 años
   ========================================================== */

:root {
  /* Paleta principal: Neón pastel & degradados atractivos */
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --accent-pink: #f43f5e;
  --accent-cyan: #06b6d4;
  --accent-yellow: #fbbf24;
  --accent-mint: #10b981;
  --accent-orange: #fb923c;
  
  --bg-gradient: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #fdf2f8 100%);
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-shadow: 0 12px 32px rgba(124, 58, 237, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 18px 40px rgba(124, 58, 237, 0.16), 0 6px 16px rgba(0, 0, 0, 0.06);

  --text-main: #1e1b4b;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 9999px;
  
  --font-display: 'Fredoka', cursive, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Canvas Confeti en pantalla completa */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
}

/* Contenedor Principal */
.app-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================
   HEADER Y STATS
   ========================================================== */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  font-size: 2.4rem;
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
  animation: floatBounce 3s ease-in-out infinite;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-tag {
  background: linear-gradient(135deg, var(--accent-pink), #fb7185);
  color: white;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
}

.logo-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.stat-pill:hover {
  transform: translateY(-2px);
}

.star-pill {
  background: #fffbeb;
  color: #b45309;
  border: 2px solid #fde68a;
}

.streak-pill {
  background: #fff1f2;
  color: #e11d48;
  border: 2px solid #fecdd3;
}

.level-pill {
  background: #f3e8ff;
  color: var(--primary-dark);
  border: 2px solid #ddd6fe;
}

.icon-btn {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: #f8fafc;
  transform: scale(1.08);
}

/* ==========================================================
   BARRA DE NAVEGACIÓN
   ========================================================== */
.main-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.9);
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-tab .nav-icon {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.nav-tab:hover {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.08);
}

.nav-tab:hover .nav-icon {
  transform: scale(1.2);
}

.nav-tab.active {
  background: linear-gradient(135deg, var(--primary), #9333ea);
  color: white;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

/* ==========================================================
   PANEL DE CONTENIDO PRINCIPAL
   ========================================================== */
.main-content {
  position: relative;
  min-height: 520px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   PESTAÑA 1: MISIONES Y PROBLEMAS
   ========================================================== */
.category-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.filter-btn.active {
  background: #ede9fe;
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* Filtros de dificultad */
.difficulty-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-label {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 4px;
}

.diff-btn {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.diff-btn:hover {
  border-color: #f59e0b;
  color: #b45309;
}

.diff-btn.active {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.mission-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-raise-diff {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

.btn-raise-diff:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.45);
}

.mission-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  margin-bottom: 24px;
  transition: box-shadow 0.3s ease;
}

.mission-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(90deg, #f5f3ff, #faf5ff);
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 10px;
}

.mission-tag {
  background: #ede9fe;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.mission-number {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mission-difficulty {
  font-size: 0.82rem;
  font-weight: 700;
  color: #d97706;
  background: #fef3c7;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.mission-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mission-illustration {
  font-size: 3.8rem;
  margin-bottom: 12px;
  animation: floatSlow 4s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

.mission-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.mission-story {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #334155;
  max-width: 680px;
  margin-bottom: 20px;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--accent-cyan);
  text-align: left;
}

.mission-question-box {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 2px dashed #f59e0b;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  max-width: 680px;
  width: 100%;
  margin-bottom: 24px;
  text-align: left;
}

.question-marker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #b45309;
  display: block;
  margin-bottom: 4px;
}

.mission-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: #78350f;
}

.mission-interaction-area {
  width: 100%;
  max-width: 680px;
  margin-bottom: 24px;
}

/* Opciones de respuesta múltiple */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.option-btn {
  background: white;
  border: 2.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.option-btn:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.12);
}

.option-btn.selected {
  border-color: var(--primary);
  background: #f5f3ff;
  color: var(--primary-dark);
}

.option-letter {
  background: #ede9fe;
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.option-btn.selected .option-letter {
  background: var(--primary);
  color: white;
}

/* Input numérico directo si se usa */
.numeric-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.numeric-input {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 10px 18px;
  border: 3px solid var(--primary-light);
  border-radius: var(--radius-md);
  text-align: center;
  width: 160px;
  outline: none;
  transition: border-color 0.2s ease;
}

.numeric-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.numeric-unit-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

/* Botones de acción */
.mission-actions {
  display: flex;
  gap: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #9333ea);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.45);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: white;
  border: 2px solid #cbd5e1;
  color: #475569;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
}

.btn-danger-outline {
  background: white;
  border: 2px solid #fca5a5;
  color: #dc2626;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danger-outline:hover {
  background: #fef2f2;
}

.btn-small {
  background: white;
  border: 1.5px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
}

.btn-small:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-link {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

.btn-link:hover {
  color: #dc2626;
}

/* Mapa de Misiones */
.missions-drawer {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.missions-drawer h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.missions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  gap: 10px;
}

.mission-map-node {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.mission-map-node:hover {
  transform: scale(1.1);
  border-color: var(--primary-light);
}

.mission-map-node.active {
  border-color: var(--primary);
  background: #ede9fe;
  color: var(--primary-dark);
}

.mission-map-node.completed {
  background: #dcfce7;
  border-color: #86efac;
  color: #15803d;
}

.mission-map-node.completed::after {
  content: '★';
  position: absolute;
  top: -6px;
  right: -6px;
  background: #fbbf24;
  color: white;
  font-size: 0.65rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================
   PESTAÑA 2: DUELO DE EQUIVALENCIAS
   ========================================================== */
.duelo-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.sub-mode-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sub-mode-btn {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.sub-mode-btn:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.sub-mode-btn.active {
  background: #fff1f2;
  border-color: var(--accent-pink);
  color: #e11d48;
}

.duelo-controls-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.duelo-diff-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #e2e8f0;
}

.duelo-diff-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.duelo-diff-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.duelo-diff-btn:hover {
  color: var(--primary);
}

.duelo-diff-btn.active {
  background: #ede9fe;
  border-color: var(--primary);
  color: var(--primary-dark);
  font-weight: 700;
}

.duelo-score-info {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 700;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.duelo-view {
  display: none;
}

.duelo-view.active {
  display: block;
}

.instruction-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Parejas Match */
.match-game-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.match-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-card {
  background: white;
  border: 3px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.match-card:hover {
  transform: scale(1.03);
  border-color: var(--primary-light);
}

.match-card.selected {
  border-color: var(--primary);
  background: #ede9fe;
  color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.match-card.matched {
  background: #dcfce7;
  border-color: #86efac;
  color: #15803d;
  cursor: default;
  transform: none;
  opacity: 0.6;
}

.match-card.wrong-shake {
  animation: shake 0.4s ease;
  border-color: #f43f5e;
  background: #ffe4e6;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.match-footer {
  display: flex;
  justify-content: center;
}

/* Modo Comparación (> < =) */
.compare-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.compare-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.compare-val-box {
  background: linear-gradient(135deg, #f8fafc, #ede9fe);
  border: 3px solid #ddd6fe;
  border-radius: var(--radius-lg);
  padding: 24px 36px;
  min-width: 170px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.08);
}

.compare-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.compare-symbol-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.compare-controls {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.compare-btn {
  background: white;
  border: 3px solid #cbd5e1;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-main);
}

.compare-btn:hover {
  border-color: var(--primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.15);
}

.compare-feedback-area {
  min-height: 50px;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
}

/* Modo Verdadero / Falso */
.tf-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.tf-badge {
  background: #fdf2f8;
  color: #db2777;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.tf-statement {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-main);
  background: #f8fafc;
  border: 3px solid #e2e8f0;
  padding: 20px 40px;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
}

.tf-buttons {
  display: flex;
  gap: 20px;
}

.tf-btn {
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  color: white;
  transition: all 0.2s ease;
}

.tf-true {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.tf-false {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}

.tf-btn:hover {
  transform: translateY(-3px) scale(1.04);
}

/* ==========================================================
   PESTAÑA 3: LA ESCALERA MÁGICA
   ========================================================== */
.escalera-header {
  text-align: center;
  margin-bottom: 20px;
}

.escalera-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary-dark);
}

.escalera-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 6px auto 0;
}

.unit-type-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.unit-pill {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.unit-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.unit-pill.active {
  background: linear-gradient(135deg, var(--primary), #9333ea);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

/* Contenedor Escalera */
.staircase-wrapper {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}

.staircase-rule {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-align: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.top-rule {
  background: #eff6ff;
  color: #1d4ed8;
  margin-bottom: 18px;
}

.bottom-rule {
  background: #ecfdf5;
  color: #047857;
  margin-top: 18px;
}

.staircase-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 700px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: white;
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
  position: relative;
}

.step-item:hover {
  border-color: var(--primary-light);
  transform: translateX(6px);
}

.step-item.highlight-source {
  background: #fdf2f8;
  border-color: var(--accent-pink);
}

.step-item.highlight-target {
  background: #ecfdf5;
  border-color: var(--accent-mint);
}

.step-symbol {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  width: 80px;
  color: var(--primary-dark);
}

.step-name {
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  flex: 1;
}

.step-equiv-hint {
  font-size: 0.88rem;
  color: var(--text-muted);
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* Calculadora Visual */
.live-converter-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.live-converter-card h3 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-size: 1.2rem;
  margin-bottom: 16px;
  text-align: center;
}

.converter-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

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

.input-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.input-group input,
.input-group select {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 10px 14px;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  outline: none;
  background: white;
  transition: border-color 0.2s ease;
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--primary);
}

.arrow-between {
  font-size: 1.8rem;
  margin-top: 18px;
}

.conversion-result-box {
  background: linear-gradient(135deg, #f5f3ff, #faf5ff);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.result-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.result-steps {
  font-size: 1.05rem;
  color: #475569;
  font-weight: 600;
}

/* Machete Fracciones */
.fractions-cheatsheet {
  border-top: 1px dashed #cbd5e1;
  padding-top: 16px;
}

.fractions-cheatsheet h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #78350f;
  margin-bottom: 10px;
}

.fractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.frac-card {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: #92400e;
  text-align: center;
}

.frac-card span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

/* ==========================================================
   PESTAÑA 4: LABORATORIO DE BALANZA Y PROBETAS
   ========================================================== */
.lab-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.lab-pill {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lab-pill.active {
  background: #ede9fe;
  border-color: var(--primary);
  color: var(--primary-dark);
}

.lab-view {
  display: none;
}

.lab-view.active {
  display: block;
}

.lab-task-bar {
  background: white;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.lab-task-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
}

/* Balanza */
.balance-stage {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.balance-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 320px;
}

.plate-overlay {
  position: absolute;
  top: 130px;
  width: 140px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.left-plate-content {
  left: 30px;
}

.right-plate-content {
  right: 30px;
}

.target-item-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border: 2px solid #ddd6fe;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.target-item-icon {
  font-size: 2.6rem;
}

.target-item-weight {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.placed-weights-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  max-width: 130px;
  margin-bottom: 4px;
  pointer-events: auto;
}

.weight-token {
  background: #f59e0b;
  color: white;
  border-radius: 6px;
  padding: 3px 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: transform 0.15s ease;
}

.weight-token:hover {
  transform: scale(1.15);
  background: #ef4444;
}

.placed-total-badge {
  background: white;
  border: 2px solid #fed7aa;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #c2410c;
}

/* Dock de Pesas */
.weights-dock {
  margin-top: 20px;
  width: 100%;
  max-width: 650px;
  text-align: center;
}

.weights-dock-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.weights-dock-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.weight-chip {
  background: white;
  border: 2.5px solid #f59e0b;
  border-radius: 14px;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.weight-chip span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #b45309;
}

.weight-chip small {
  font-size: 0.75rem;
  color: #92400e;
  font-weight: 600;
}

.weight-chip:hover {
  transform: translateY(-3px) scale(1.08);
  background: #fffbeb;
  border-color: #d97706;
}

.dock-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Probeta */
.beaker-stage {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.beaker-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.beaker-glass {
  position: relative;
  width: 140px;
  height: 300px;
  border: 4px solid #38bdf8;
  border-top: none;
  border-radius: 0 0 24px 24px;
  background: rgba(224, 242, 254, 0.3);
  box-shadow: inset 0 0 16px rgba(56, 189, 248, 0.2), 0 8px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.beaker-mark {
  position: absolute;
  left: 0;
  width: 100%;
  border-bottom: 2px dashed rgba(2, 132, 199, 0.4);
  pointer-events: none;
}

.beaker-mark span {
  position: absolute;
  right: 6px;
  bottom: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0369a1;
  background: rgba(255, 255, 255, 0.85);
  padding: 1px 4px;
  border-radius: 4px;
}

.beaker-liquid {
  width: 100%;
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.beaker-current-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #0284c7;
  margin-top: 14px;
  text-align: center;
}

.pour-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}

.pour-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pour-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pour-btn {
  background: white;
  border: 2px solid #38bdf8;
  color: #0369a1;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.pour-btn:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  transform: translateX(4px);
}

/* ==========================================================
   PESTAÑA 5: TROFEOS
   ========================================================== */
.trophies-header {
  text-align: center;
  margin-bottom: 24px;
}

.trophies-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary-dark);
}

.player-profile-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.profile-avatar-wrapper {
  position: relative;
  width: 95px;
  height: 95px;
  flex-shrink: 0;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3.5px solid var(--primary);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.25);
  background: white;
  transition: transform 0.3s ease;
}

.profile-avatar-wrapper:hover .profile-avatar-img {
  transform: scale(1.06) rotate(3deg);
}

.avatar-badge-paw {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: white;
  border: 2px solid #ddd6fe;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.mentor-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ede9fe;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  border: 1px solid #ddd6fe;
}

.profile-info {
  flex: 1;
}

.profile-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.progress-bar-container {
  height: 12px;
  background: #e2e8f0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-pink));
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

.trophies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.trophy-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

.trophy-card.unlocked {
  border-color: #fbbf24;
  background: #fffbeb;
}

.trophy-icon {
  font-size: 2.2rem;
  opacity: 0.3;
}

.trophy-card.unlocked .trophy-icon {
  opacity: 1;
  animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.trophy-meta h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.trophy-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reset-data-area {
  text-align: center;
}

/* ==========================================================
   MODALES (PISTAS, RESOLUCIÓN DIDÁCTICA, ÉXITO)
   ========================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 27, 75, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-dialog {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

@keyframes modalPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.modal-icon-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hint-badge {
  color: #b45309;
}

.solution-badge {
  color: var(--primary-dark);
}

.success-badge {
  color: #15803d;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #334155;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.modal-hint-box {
  background: #fffbeb;
  border-left: 5px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #78350f;
  margin-bottom: 16px;
  font-weight: 500;
}

.modal-tip-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: #475569;
}

.modal-footer {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
}

.pulse-btn {
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Modal Solución Didáctica */
.solution-correct-banner {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  margin-bottom: 20px;
}

.banner-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.banner-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.solution-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.solution-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.step-card-didactic {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.step-num-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.step-card-didactic p {
  font-size: 1rem;
  line-height: 1.5;
  color: #334155;
}

.solution-rule-reminder {
  background: #fdf2f8;
  border: 1.5px dashed #f43f5e;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.95rem;
  color: #9f1239;
  font-weight: 600;
}

/* Modal Éxito */
.modal-success-dialog {
  text-align: center;
}

.success-stars-anim {
  font-size: 2.8rem;
  margin-bottom: 8px;
  animation: wiggle 0.6s ease;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.modal-success-xp {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 16px;
}

.success-explanation-box {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: left;
}

.exp-tag {
  font-family: var(--font-display);
  font-weight: 700;
  color: #166534;
  display: block;
  margin-bottom: 6px;
}

.success-explanation-box p {
  font-size: 1rem;
  line-height: 1.55;
  color: #14532d;
}

/* Responsive */
@media (max-width: 768px) {
  .app-header {
    flex-direction: column;
    align-items: stretch;
  }

  .header-stats {
    justify-content: center;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .match-game-container {
    grid-template-columns: 1fr;
  }

  .beaker-stage {
    gap: 20px;
  }

  .compare-row {
    flex-direction: column;
  }
}

/* ==========================================================
   TOAST NOTIFICACIÓN DE LOGRO DESBLOQUEADO
   ========================================================== */
.achievement-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: white;
  border: 2px solid #fbbf24;
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(251, 191, 36, 0.45);
  max-width: 400px;
  animation: toastSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.achievement-toast.hidden {
  display: none !important;
}

.achievement-toast.fade-out {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
}

.toast-glow {
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 16px;
  background: linear-gradient(90deg, #fbbf24, #f43f5e, #8b5cf6, #fbbf24);
  background-size: 300% 300%;
  z-index: -1;
  animation: toastBorderGlow 4s linear infinite;
  opacity: 0.6;
}

@keyframes toastBorderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast-trophy-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.6));
  animation: bounceTrophy 1s ease infinite alternate;
}

@keyframes bounceTrophy {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-4px) rotate(8deg); }
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fbbf24;
  text-transform: uppercase;
}

.toast-content h4 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: #ffffff;
}

.toast-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #e0e7ff;
}

