/* BiliKids Junior Science Lab Stylesheet - Multi-Experiment & Multi-Level Edition */
:root {
  --font-display: 'Fredoka One', 'Fredoka', cursive, sans-serif;
  --font-body: 'Nunito', 'Quicksand', sans-serif;
  
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #172554 100%);
  --panel-bg: rgba(255, 255, 255, 0.94);
  --panel-border: rgba(255, 255, 255, 0.4);
  
  --color-primary: #3b82f6;
  --color-accent: #f59e0b;
  --color-success: #10b981;
  --color-purple: #8b5cf6;
  --color-coral: #ef4444;
  --color-cyan: #06b6d4;
  
  --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.5);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  color: #1e293b;
  min-height: 100vh;
  overflow-x: hidden;
}

/* App Outer Shell */
.lab-app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 16px 24px;
}

/* Header & Suite Navigation */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 10px 18px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.brand .logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.logo-icon {
  font-size: 1.7rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.highlight {
  color: #fbbf24;
}

.badge-tag {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Suite Switcher */
.suite-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 6px;
  border-radius: 30px;
  flex-wrap: wrap;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.nav-pill.active {
  background: #38bdf8;
  color: #0f172a;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  font-weight: 800;
}

.pill-icon {
  font-size: 1.1rem;
}

/* Header Actions & Star Counter */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lab-stars-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 224, 71, 0.15);
  border: 1px solid rgba(253, 224, 71, 0.4);
  padding: 5px 12px;
  border-radius: 20px;
  color: #fef08a;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.star-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 6px #fde047);
}

.icon-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-circle-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* Experiment Selector Bar (6 Tabs) */
.lab-tabs-container {
  margin-bottom: 14px;
}

.lab-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.lab-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 1;
  min-width: 140px;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.tab-btn:hover {
  background: rgba(51, 65, 85, 0.85);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.tab-btn.active {
  background: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35);
  transform: translateY(-4px) scale(1.02);
}

.tab-emoji {
  font-size: 1.7rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.tab-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #0f172a;
  white-space: nowrap;
}

.tab-btn:not(.active) .tab-title {
  color: #f8fafc;
}

.tab-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(59, 130, 246, 0.2);
  color: #2563eb;
  padding: 2px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.tab-btn:not(.active) .tab-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
}

/* Main Experiment Panels */
.lab-main-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.experiment-panel {
  display: none;
  background: var(--panel-bg);
  border-radius: 28px;
  padding: 20px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 4px solid #ffffff;
  animation: panelFadeIn 0.35s ease-out;
}

.experiment-panel.active {
  display: block;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Level Bar & Navigation Chips */
.exp-level-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
}

.level-indicator {
  display: flex;
  flex-direction: column;
}

.exp-tag {
  font-size: 0.75rem;
  font-weight: 900;
  color: #0284c7;
  letter-spacing: 1px;
}

.exp-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #0f172a;
}

.level-nav-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lvl-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #334155;
}

.lvl-chip:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.lvl-chip.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.chip-num {
  font-size: 0.75rem;
  font-weight: 900;
  background: rgba(0,0,0,0.12);
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
}

.lvl-chip.active .chip-num {
  background: rgba(255,255,255,0.25);
}

.chip-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

/* Mission Target Card */
.mission-target-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #e0f2fe, #f0fdf4);
  border: 2px solid #38bdf8;
  border-radius: 18px;
  padding: 10px 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.target-badge {
  font-family: var(--font-display);
  font-size: 0.9rem;
  background: #0284c7;
  color: #fff;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.target-desc {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.target-preview-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Common Lab Buttons */
.lab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.lab-btn:hover {
  transform: translateY(-2px) scale(1.04);
}

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

.lab-btn.primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
}

.lab-btn.secondary {
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  color: #334155;
}

.lab-btn.small-btn {
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* ========================================================================= */
/* EXPERIMENT 1: COLOR ALCHEMY LAYOUT                                         */
/* ========================================================================= */
.color-lab-layout {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 20px;
  align-items: start;
}

.flasks-shelf-container {
  background: #f8fafc;
  border-radius: 20px;
  padding: 14px;
  border: 2px solid #e2e8f0;
}

.flasks-shelf-container h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #1e293b;
}

.flasks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.flask-card {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.flask-card:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.flask-liquid-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.red-preview { background: #ef4444; }
.yellow-preview { background: #eab308; }
.blue-preview { background: #3b82f6; }
.white-preview { background: #ffffff; box-shadow: 0 0 8px rgba(0,0,0,0.15); }
.black-preview { background: #1e293b; }
.green-preview { background: #22c55e; }
.purple-preview { background: #a855f7; }
.orange-preview { background: #f97316; }

.flask-card[data-color="red"] { border-color: #fca5a5; }
.flask-card[data-color="yellow"] { border-color: #fde047; }
.flask-card[data-color="blue"] { border-color: #93c5fd; }
.flask-card[data-color="white"] { border-color: #e2e8f0; background: #fafafa; }
.flask-card[data-color="black"] { border-color: #64748b; background: #f8fafc; }
.flask-card[data-color="green"] { border-color: #86efac; }
.flask-card[data-color="purple"] { border-color: #d8b4fe; }
.flask-card[data-color="orange"] { border-color: #fdba74; }

.flask-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}

.flask-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #1e293b;
}

.pour-btn {
  width: 100%;
  padding: 6px 4px;
  border-radius: 12px;
  border: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.btn-yellow { background: linear-gradient(135deg, #eab308, #ca8a04); }
.btn-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.btn-white { background: linear-gradient(135deg, #cbd5e1, #94a3b8); color: #0f172a; }
.btn-black { background: linear-gradient(135deg, #334155, #0f172a); }
.btn-green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.btn-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.btn-orange { background: linear-gradient(135deg, #f97316, #c2410c); }

/* Central Mixing Beaker */
.mixing-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.beaker-stand {
  position: relative;
  padding-bottom: 16px;
}

.beaker-stand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 16px;
  background: #94a3b8;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.beaker-container {
  position: relative;
  width: 220px;
  height: 270px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.beaker-glass {
  position: relative;
  width: 200px;
  height: 250px;
  background: rgba(255, 255, 255, 0.5);
  border: 6px solid #64748b;
  border-top: none;
  border-radius: 0 0 36px 36px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.8), 0 12px 30px rgba(0, 0, 0, 0.15);
}

.liquid-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: transparent;
  transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.6s ease;
  border-radius: 0 0 30px 30px;
}

.liquid-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.liquid-bubble {
  position: absolute;
  bottom: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  animation: floatBubble 2s infinite ease-in;
}

@keyframes floatBubble {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  20% { opacity: 0.9; }
  100% { transform: translateY(-220px) scale(1.2); opacity: 0; }
}

.beaker-marks {
  position: absolute;
  top: 20px;
  right: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 180px;
  pointer-events: none;
}

.beaker-marks span {
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  border-bottom: 2px solid #94a3b8;
  padding-bottom: 2px;
}

.magic-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

.magic-glow.active {
  opacity: 1;
  animation: glowPulse 2s infinite alternate ease-in-out;
}

@keyframes glowPulse {
  from { transform: scale(0.95); opacity: 0.4; }
  to { transform: scale(1.1); opacity: 0.8; }
}

.beaker-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Formula Banner */
.formula-banner {
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  padding: 10px 18px;
  border-radius: 18px;
  text-align: center;
  max-width: 380px;
  transition: all 0.3s ease;
}

.formula-banner.success {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-color: #22c55e;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
  transform: scale(1.04);
}

.formula-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #0f172a;
}

.beaker-actions {
  display: flex;
  gap: 10px;
}

/* Discoveries Sidebar & Badge Collection */
.discoveries-sidebar {
  background: #f8fafc;
  border-radius: 20px;
  padding: 14px;
  border: 2px solid #e2e8f0;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sidebar-head h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #1e293b;
}

.score-pill {
  font-size: 0.75rem;
  font-weight: 800;
  background: #0284c7;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
}

.badge-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.disc-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 8px 12px;
  opacity: 0.6;
  transition: all 0.25s ease;
}

.disc-badge.unlocked {
  opacity: 1;
  border-style: solid;
  border-color: #86efac;
  background: #f0fdf4;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.disc-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.circle-orange { background: #f97316; }
.circle-green { background: #22c55e; }
.circle-purple { background: #a855f7; }
.circle-pink { background: #ec4899; }
.circle-skyblue { background: #38bdf8; }
.circle-lavender { background: #c084fc; }
.circle-mint { background: #4ade80; }
.circle-brown { background: #92400e; }
.circle-navy { background: #1e3a8a; }
.circle-gray { background: #64748b; }
.circle-olive { background: #65a30d; }
.circle-rainbow { background: linear-gradient(135deg, #ef4444, #eab308, #3b82f6); }

.disc-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: #334155;
}

/* ========================================================================= */
/* EXPERIMENT 2: ELECTRIC CIRCUIT LAYOUT                                      */
/* ========================================================================= */
.circuit-lab-layout {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 20px;
  align-items: center;
}

.circuit-tray, .circuit-status-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 16px;
  border: 2px solid #e2e8f0;
}

.circuit-tray h3, .circuit-status-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #1e293b;
}

.tray-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 12px;
}

.tray-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.circuit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  padding: 8px 12px;
  cursor: grab;
  transition: all 0.2s ease;
}

.circuit-item:hover {
  transform: scale(1.04);
  border-color: #38bdf8;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.circuit-item.placed {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.comp-icon {
  font-size: 1.8rem;
}

.comp-label {
  font-weight: 800;
  font-size: 0.95rem;
  color: #1e293b;
}

/* Circuit Board */
.circuit-board {
  position: relative;
  width: 100%;
  height: 380px;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  border-radius: 24px;
  border: 4px solid #334155;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.6), 0 10px 25px rgba(0,0,0,0.2);
}

.wire-lines-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wire-track {
  fill: none;
  stroke: #475569;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wire-current {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 6;
  stroke-dasharray: 12, 16;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.circuit-board.active .wire-current {
  opacity: 1;
  animation: currentFlow 0.8s infinite linear;
}

@keyframes currentFlow {
  to { stroke-dashoffset: -28; }
}

.circuit-slot {
  position: absolute;
  width: 110px;
  height: 100px;
  border: 3px dashed #64748b;
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.circuit-slot.filled {
  border-style: solid;
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}

.slot-hint {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  text-align: center;
  pointer-events: none;
}

.placed-comp {
  font-size: 2.8rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.circuit-board.active .placed-comp[data-comp="bulb"] {
  filter: drop-shadow(0 0 25px #fde047) drop-shadow(0 0 50px #eab308);
  animation: bulbRadiate 1s infinite alternate;
}

@keyframes bulbRadiate {
  from { transform: scale(1); filter: drop-shadow(0 0 20px #fde047); }
  to { transform: scale(1.1); filter: drop-shadow(0 0 35px #facc15) drop-shadow(0 0 60px #eab308); }
}

.circuit-board.active .placed-comp[data-comp="fan"] {
  animation: fanSpin 0.35s infinite linear;
}

@keyframes fanSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.room-ambient-glow {
  position: absolute;
  right: 40px;
  top: 140px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.5) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.circuit-board.active .room-ambient-glow {
  opacity: 1;
}

/* Circuit Status Indicator */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  margin-bottom: 16px;
}

.status-light {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.status-light.red { background: #ef4444; color: #ef4444; }
.status-light.green { background: #22c55e; color: #22c55e; }

.status-text {
  font-weight: 800;
  font-size: 0.95rem;
  color: #1e293b;
}

.circuit-switch-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.switch-toggle-btn {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.switch-toggle-btn input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider {
  background-color: #22c55e;
}

input:checked + .slider:before {
  transform: translateX(28px);
}

.toggle-label {
  font-weight: 800;
  font-size: 0.95rem;
  color: #1e293b;
}

/* ========================================================================= */
/* EXPERIMENT 3: MAGIC BOTANICAL GARDEN LAYOUT                                */
/* ========================================================================= */
.plant-lab-layout {
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  gap: 20px;
  align-items: center;
}

.plant-tools-shelf, .plant-side-controls {
  background: #f8fafc;
  border-radius: 20px;
  padding: 16px;
  border: 2px solid #e2e8f0;
}

.plant-tools-shelf h3, .plant-side-controls h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #1e293b;
}

.nature-tool-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.nature-tool-card:hover:not(:disabled) {
  transform: translateX(4px);
  border-color: #38bdf8;
  box-shadow: 0 4px 10px rgba(56, 189, 248, 0.2);
}

.nature-tool-card.active {
  border-color: #22c55e;
  background: #f0fdf4;
}

.nature-tool-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.tool-icon {
  font-size: 2rem;
}

.tool-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #1e293b;
  flex: 1;
}

.tool-status {
  font-size: 0.75rem;
  font-weight: 900;
  background: #e2e8f0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 8px;
  text-transform: uppercase;
}

/* Garden Scene */
.garden-scene {
  position: relative;
  width: 100%;
  height: 380px;
  background: linear-gradient(180deg, #bae6fd 0%, #e0f2fe 60%, #86efac 100%);
  border-radius: 24px;
  border: 4px solid #38bdf8;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.sky-sun {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 4rem;
  filter: drop-shadow(0 0 20px #fde047);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0.6;
}

.sky-sun.active {
  opacity: 1;
  animation: sunRadiate 2s infinite alternate ease-in-out;
}

@keyframes sunRadiate {
  from { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 20px #fde047); }
  to { transform: scale(1.15) rotate(15deg); filter: drop-shadow(0 0 40px #f59e0b); }
}

.watering-can-anim {
  position: absolute;
  top: 30px;
  left: 60px;
  font-size: 3.5rem;
  opacity: 0;
  transform: rotate(-15deg);
  transition: all 0.4s ease;
  pointer-events: none;
}

.watering-can-anim.pouring {
  opacity: 1;
  transform: rotate(-35deg) scale(1.1);
}

.rain-drops {
  position: absolute;
  top: 60px;
  left: 30px;
  width: 80px;
  height: 120px;
  background: repeating-linear-gradient(180deg, transparent, transparent 10px, #38bdf8 10px, #38bdf8 20px);
  opacity: 0;
}

.watering-can-anim.pouring .rain-drops {
  opacity: 0.8;
  animation: rainDown 0.4s infinite linear;
}

@keyframes rainDown {
  from { background-position: 0 0; }
  to { background-position: 0 40px; }
}

/* Plant Pot & Assembly */
.pot-stage-container {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.butterflies {
  position: absolute;
  top: -120px;
  display: flex;
  gap: 40px;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.butterflies.active {
  opacity: 1;
  animation: floatButterflies 2s infinite alternate ease-in-out;
}

@keyframes floatButterflies {
  from { transform: translateY(0); }
  to { transform: translateY(-15px); }
}

.plant-assembly {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.sprout-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 0;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible;
}

.stem {
  width: 10px;
  height: 80px;
  background: linear-gradient(180deg, #22c55e, #15803d);
  border-radius: 6px;
}

.leaf {
  position: absolute;
  font-size: 1.8rem;
  top: 15px;
}

.leaf.left { left: -22px; transform: rotate(-25deg); }
.leaf.right { right: -22px; transform: rotate(25deg); }

.flower-stage {
  opacity: 0;
  transform: scale(0.2);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: -15px;
}

.bloom-head {
  font-size: 5rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

.harvest-container {
  display: flex;
  gap: 12px;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.harvest-item {
  font-size: 2.2rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.harvest-item:hover {
  transform: scale(1.25);
}

.terracotta-pot {
  position: relative;
  width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.pot-rim {
  width: 140px;
  height: 22px;
  background: #ea580c;
  border-radius: 8px;
  border: 3px solid #9a3412;
}

.pot-soil {
  position: absolute;
  top: 4px;
  width: 110px;
  height: 14px;
  background: transparent;
  border-radius: 4px;
  transition: background 0.4s ease;
}

.pot-soil.filled {
  background: #451a03;
}

.pot-body {
  width: 110px;
  height: 85px;
  background: linear-gradient(180deg, #c2410c, #9a3412);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
  border-bottom: 4px solid #7c2d12;
}

.plant-bubble {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 2px solid #38bdf8;
  padding: 8px 16px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.flower-palette {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.flower-pick {
  padding: 8px 12px;
  border-radius: 12px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.flower-pick.active {
  background: #fdf2f8;
  border-color: #ec4899;
  color: #be185d;
}

/* ========================================================================= */
/* EXPERIMENT 4: SINK OR FLOAT LAYOUT                                         */
/* ========================================================================= */
.density-lab-layout {
  display: grid;
  grid-template-columns: 260px 1fr 240px;
  gap: 20px;
  align-items: center;
}

.density-shelf, .density-scoreboard {
  background: #f8fafc;
  border-radius: 20px;
  padding: 16px;
  border: 2px solid #e2e8f0;
}

.shelf-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #1e293b;
}

.shelf-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
}

.density-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.drop-item {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drop-item:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: #38bdf8;
  box-shadow: 0 4px 10px rgba(56, 189, 248, 0.2);
}

.drop-item.dropped {
  opacity: 0.35;
  pointer-events: none;
}

.item-icon {
  font-size: 2rem;
}

.item-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #1e293b;
}

/* Prediction Vote Panel */
.prediction-vote-panel {
  background: #ffffff;
  border: 2px solid #38bdf8;
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  margin-bottom: 12px;
}

.big-emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 4px;
}

.focus-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #0f172a;
}

.pred-prompt {
  font-size: 0.85rem;
  font-weight: 800;
  color: #475569;
  margin: 6px 0 10px;
}

.pred-buttons {
  display: flex;
  gap: 8px;
}

.vote-btn {
  flex: 1;
  padding: 8px;
  border-radius: 12px;
  border: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.vote-float { background: #38bdf8; color: #0f172a; }
.vote-sink { background: #f87171; color: #fff; }

.vote-btn:hover {
  transform: scale(1.05);
}

/* Glass Aquarium Tank */
.aquarium-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.aquarium-tank {
  position: relative;
  width: 100%;
  height: 380px;
  border: 6px solid #64748b;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.water-surface {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 10;
}

.wave {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, #38bdf8, #38bdf8 30px, #0284c7 30px, #0284c7 60px);
  opacity: 0.6;
}

.wave1 { animation: waveSlide 4s infinite linear; }
.wave2 { animation: waveSlide 3s infinite reverse linear; opacity: 0.4; }

@keyframes waveSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-60px); }
}

.water-body {
  position: absolute;
  top: 75px;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.45) 0%, rgba(3, 105, 161, 0.8) 100%);
  overflow: hidden;
}

.dropped-items-layer {
  position: absolute;
  inset: 0;
}

.tank-floating-item {
  position: absolute;
  font-size: 2.8rem;
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

.tank-floating-item.is-float {
  top: 2px;
  animation: gentleBob 2.5s infinite ease-in-out;
}

.tank-floating-item.is-sink {
  bottom: 45px;
}

@keyframes gentleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.aquarium-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45px;
  background: #fde047;
  border-top: 3px solid #ca8a04;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 1.8rem;
  z-index: 5;
}

.density-result-card {
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  padding: 10px 18px;
  border-radius: 16px;
  text-align: center;
  max-width: 440px;
}

.density-result-card.success {
  background: #f0fdf4;
  border-color: #22c55e;
}

.result-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #0f172a;
}

.score-card {
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
}

.floats-card { border-color: #93c5fd; background: #f0f9ff; }
.sinks-card { border-color: #fca5a5; background: #fff1f2; }

.score-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
}

.badge-count {
  font-weight: 800;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 6px;
}

.items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 32px;
}

.mini-item-pill {
  font-size: 1.2rem;
  background: #ffffff;
  padding: 2px 6px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

/* ========================================================================= */
/* EXPERIMENT 5: MAGNETIC LAB LAYOUT                                          */
/* ========================================================================= */
.magnet-lab-layout {
  display: grid;
  grid-template-columns: 250px 1fr 240px;
  gap: 20px;
  align-items: center;
}

.magnet-shelf, .magnet-scoreboard {
  background: #f8fafc;
  border-radius: 20px;
  padding: 16px;
  border: 2px solid #e2e8f0;
}

.magnet-shelf h3, .magnet-scoreboard h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #1e293b;
}

.shelf-hint {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
}

.specimens-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.specimen-card {
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.specimen-card:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: #f43f5e;
}

.specimen-card.collected {
  opacity: 0.35;
  pointer-events: none;
}

.specimen-icon {
  font-size: 2rem;
}

.specimen-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #1e293b;
}

/* Magnet Workbench */
.magnet-workbench {
  position: relative;
  width: 100%;
  height: 380px;
  background: radial-gradient(circle at center, #334155 0%, #0f172a 100%);
  border-radius: 24px;
  border: 4px solid #475569;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.giant-horseshoe-magnet {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  transition: transform 0.15s ease;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}

.giant-horseshoe-magnet:active {
  cursor: grabbing;
}

.magnet-arch {
  font-size: 9rem;
  user-select: none;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.pole {
  position: absolute;
  top: 15px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
}

.north-pole {
  left: 20px;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}

.south-pole {
  right: 20px;
  background: #3b82f6;
  box-shadow: 0 0 10px #3b82f6;
}

.stuck-items-holder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.stuck-specimen {
  position: absolute;
  font-size: 2.2rem;
  animation: magnetSnap 0.3s ease-out;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@keyframes magnetSnap {
  from { transform: scale(1.6); opacity: 0.5; }
  to { transform: scale(1); opacity: 1; }
}

.force-field-lines {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 2px dashed rgba(56, 189, 248, 0.4);
  animation: rotateField 10s infinite linear;
  pointer-events: none;
}

@keyframes rotateField {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.magnet-hint-banner {
  position: absolute;
  bottom: 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255,255,255,0.2);
  color: #f8fafc;
  padding: 8px 18px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
}

.magnetic-bin { border-color: #38bdf8; background: #f0f9ff; }
.nonmagnetic-bin { border-color: #cbd5e1; background: #f8fafc; }

/* ========================================================================= */
/* EXPERIMENT 6: FOAMING VOLCANO LAYOUT                                       */
/* ========================================================================= */
.volcano-lab-layout {
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  gap: 20px;
  align-items: center;
}

.volcano-ingredients-shelf, .volcano-controls-side {
  background: #f8fafc;
  border-radius: 20px;
  padding: 16px;
  border: 2px solid #e2e8f0;
}

.volcano-ingredients-shelf h3, .volcano-controls-side h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #1e293b;
}

.chem-bottle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.chem-bottle-btn:hover:not(:disabled) {
  transform: translateX(4px);
  border-color: #f97316;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.chem-bottle-btn.active {
  border-color: #ea580c;
  background: #fff7ed;
}

.chem-bottle-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bottle-emoji {
  font-size: 1.8rem;
}

.bottle-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #1e293b;
  flex: 1;
}

.bottle-status {
  font-size: 0.75rem;
  font-weight: 900;
  background: #e2e8f0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 8px;
  text-transform: uppercase;
}

/* Volcano Stage Arena */
.volcano-stage-arena {
  position: relative;
  width: 100%;
  height: 380px;
  background: linear-gradient(180deg, #fdba74 0%, #fed7aa 50%, #86efac 100%);
  border-radius: 24px;
  border: 4px solid #ea580c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.volcano-stage-arena.rumbling {
  animation: volcanoShake 0.15s infinite;
}

@keyframes volcanoShake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  25% { transform: translate(-1px, -2px) rotate(-1deg); }
  50% { transform: translate(-3px, 0px) rotate(1deg); }
  75% { transform: translate(3px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -1px) rotate(1deg); }
}

.mountain-structure {
  position: relative;
  width: 340px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mountain-rock-bg {
  position: absolute;
  bottom: 0;
  width: 340px;
  height: 200px;
  background: linear-gradient(180deg, #451a03 0%, #291002 100%);
  clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
  border-bottom: 6px solid #1c0a00;
}

.crater-opening {
  position: absolute;
  top: 25px;
  width: 140px;
  height: 40px;
  border-radius: 50%;
  background: #78350f;
  border: 5px solid #451a03;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.crater-lake {
  width: 100px;
  height: 24px;
  border-radius: 50%;
  background: #ea580c;
  box-shadow: inset 0 0 10px #9a3412;
  transition: all 0.5s ease;
}

.erupting-foam-cloud {
  position: absolute;
  bottom: 10px;
  width: 220px;
  height: 0;
  border-radius: 50% 50% 20% 20%;
  background: radial-gradient(circle, #fca5a5 0%, #ef4444 70%, #dc2626 100%);
  opacity: 0;
  transition: height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  z-index: 10;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.8);
}

.erupting-foam-cloud.active {
  opacity: 1;
  height: 180px;
  animation: foamBubble 1.2s infinite alternate ease-in-out;
}

@keyframes foamBubble {
  from { transform: scale(0.98); }
  to { transform: scale(1.05); }
}

.lava-channel {
  position: absolute;
  width: 16px;
  height: 0;
  background: #ef4444;
  border-radius: 8px;
  box-shadow: 0 0 10px #f87171;
  transition: height 1s ease;
  z-index: 6;
}

.ch-center { top: 60px; left: 162px; }
.ch-left { top: 65px; left: 120px; transform: rotate(15deg); }
.ch-right { top: 65px; right: 120px; transform: rotate(-15deg); }

.mountain-structure.erupting .lava-channel {
  height: 140px;
}

.volcano-smoke {
  position: absolute;
  top: 40px;
  font-size: 3rem;
  opacity: 0;
  pointer-events: none;
}

.volcano-smoke.active {
  opacity: 0.8;
  animation: smokeRise 2s infinite ease-out;
}

@keyframes smokeRise {
  0% { transform: translateY(0) scale(0.5); opacity: 0.8; }
  100% { transform: translateY(-120px) scale(2); opacity: 0; }
}

.volcano-bubble {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 2px solid #ea580c;
  padding: 8px 16px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lava-styles-picker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.lava-style-btn {
  padding: 8px 12px;
  border-radius: 12px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.lava-style-btn.active {
  background: #fff7ed;
  border-color: #ea580c;
  color: #c2410c;
}

/* Audio Unlock Badge */
.audio-badge {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .color-lab-layout,
  .circuit-lab-layout,
  .plant-lab-layout,
  .density-lab-layout,
  .magnet-lab-layout,
  .volcano-lab-layout {
    grid-template-columns: 1fr;
  }
}
