/* ============================================
   DL SOUNDS - HORROR ATMOSPHERE BUILDER
   CSS Styles - Updated
   ============================================ */

:root {
  --color-bg-primary: #0a0a0b;
  --color-bg-secondary: #111114;
  --color-bg-tertiary: #16161a;
  --color-bg-card: #1a1a1f;
  --color-accent: #8b1e1e;
  --color-accent-hover: #a62a2a;
  --color-accent-dim: rgba(139, 30, 30, 0.15);
  --color-text-primary: #f0f0f0;
  --color-text-secondary: #a0a0a8;
  --color-text-muted: #6b6b75;
  --color-border: #2a2a30;
  --color-success: #22c55e;
  --gradient-accent: linear-gradient(135deg, #8b1e1e 0%, #5a1414 100%);
  --shadow-glow: 0 0 30px rgba(139, 30, 30, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(139, 30, 30, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(139, 30, 30, 0.05) 0%, transparent 50%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fogMove {
  0% { transform: translateX(-100%) translateY(0); }
  50% { transform: translateX(0%) translateY(-20px); }
  100% { transform: translateX(100%) translateY(0); }
}

@keyframes pulseRed {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes meterBar {
  0%, 100% { transform: scaleY(0.2); }
  50% { transform: scaleY(1); }
}

@keyframes activeGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(139, 30, 30, 0.3); }
  50% { box-shadow: 0 0 20px rgba(139, 30, 30, 0.6); }
}

/* ============================================
   HERO SECTION - Forest Background
   ============================================ */

.hero {
  background: 
    /* Overlay - LICHTER gemaakt (was 0.5/0.7) */
    linear-gradient(to bottom, rgba(10,10,11,0.3) 0%, rgba(10,10,11,0.5) 100%),
    
    /* "Bomen" - LICHTERE groentinten voor betere zichtbaarheid */
    radial-gradient(ellipse 40% 60% at 15% 85%, #1a3a1a 0%, transparent 50%),
    radial-gradient(ellipse 35% 50% at 25% 90%, #153015 0%, transparent 45%),
    radial-gradient(ellipse 45% 70% at 10% 80%, #1a2f1a 0%, transparent 40%),
    radial-gradient(ellipse 30% 45% at 85% 88%, #1a3a1a 0%, transparent 45%),
    radial-gradient(ellipse 40% 65% at 75% 82%, #153015 0%, transparent 50%),
    radial-gradient(ellipse 35% 55% at 95% 85%, #1a2f1a 0%, transparent 40%),
    radial-gradient(ellipse 25% 40% at 50% 95%, #0a1a0a 0%, transparent 40%),
    
    /* Basis achtergrond kleur */
    #0a0a0b;
  
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Dust particles - maar 1 keer! */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 0),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.08) 1px, transparent 0),
    radial-gradient(1px 1px at 40% 90%, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 200px 200px;
  animation: dustFloat 20s linear infinite;
  pointer-events: none;
}

@keyframes dustFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

/* OUDE FOG LAYERS VERWIJDEREN ALS DIE ER NOG ZIJN: */
.fog-layer {
  display: none !important;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 10;
}

.hero-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.hero-logo-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(139, 30, 30, 0.4);
  position: relative;
  z-index: 2;
}

.hero-logo-icon svg {
  width: 48px;
  height: 48px;
  color: white;
}

.hero-logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 30, 30, 0.3) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
  transform: scale(1.5);
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.hero-description {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 2rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
}

.hero-footer {
  position: absolute;
  bottom: 2rem;
  color: #4b5563;
  font-size: 0.875rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  padding: 1rem 3rem;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(139, 30, 30, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(139, 30, 30, 0.5);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: scale(1.05);
}

.btn-icon:active:not(:disabled) {
  transform: scale(0.95);
}

.btn-icon.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.btn-event {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.btn-event:hover:not(:disabled) {
  border-color: var(--color-accent);
  background: var(--color-accent-dim);
  transform: translateY(-1px);
}

.btn-event:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-event:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-event.playing {
  border-color: var(--color-accent);
  background: rgba(139, 30, 30, 0.15);
  animation: activeGlow 1.5s ease-in-out infinite;
}

.btn-event-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-secondary);
  border-radius: 8px;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-event.playing .btn-event-icon {
  color: var(--color-accent);
  background: rgba(139, 30, 30, 0.2);
}

/* ============================================
   LAYOUT
   ============================================ */
   
 /* Horror checkbox style */
.event-export-toggle {
  accent-color: #8b1e1e; /* donker rood */
}

.app-container {
  min-height: 100vh;
  background: var(--color-bg-primary);
}

header {
  border-bottom: 1px solid var(--color-border);
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.header-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
}

.header-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: 'Inter', sans-serif;
}

.btn-back {
  color: var(--color-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-back:hover {
  color: var(--color-text-primary);
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.grid-layout {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .grid-layout {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.card-title {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-primary);
}

.card-title svg {
  color: var(--color-accent);
}

/* ============================================
   SCENE SELECTION
   ============================================ */

.scene-card {
  position: relative;
  background: var(--color-bg-tertiary);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.scene-card:hover {
  border-color: var(--color-accent);
}

.scene-card.active {
  border-color: var(--color-accent);
  background: rgba(139, 30, 30, 0.08);
}

.scene-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.scene-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
}

.scene-card.active .scene-card-icon {
  background: rgba(139, 30, 30, 0.2);
  color: var(--color-accent);
}

.scene-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

.scene-card p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-family: 'Inter', sans-serif;
}

.scene-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  margin-left: auto;
}

.premium-notice {
  padding: 1rem;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  align-items: start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.premium-notice svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   TIPS
   ============================================ */

.tips-list {
  list-style: none;
}

.tips-list li {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.tips-list li::before {
  content: '•';
  color: var(--color-accent);
  font-weight: bold;
}

/* ============================================
   LAYER MIXER
   ============================================ */

.section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-top: 2.5rem;   /* meer ruimte boven */
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.layers-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.layer-item {
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.layer-item:hover {
  border-color: rgba(139, 30, 30, 0.3);
}

.layer-item.active {
  border-color: var(--color-accent);
  background: rgba(139, 30, 30, 0.05);
}

.layer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.layer-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.layer-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all 0.2s;
}

.layer-item.active .layer-icon {
  background: rgba(139, 30, 30, 0.2);
  color: var(--color-accent);
}

.layer-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Volume Meter */
.volume-meter {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 24px;
  padding-bottom: 2px;
}

.meter-bar {
  width: 4px;
  background: var(--color-border);
  border-radius: 2px;
  transition: all 0.1s ease;
  transform-origin: bottom;
}

.meter-bar.active {
  background: var(--color-accent);
  box-shadow: 0 0 4px rgba(139, 30, 30, 0.5);
}

.volume-value {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  min-width: 40px;
  text-align: right;
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
}

/* Sliders */
.slider-container {
  margin-bottom: 0.75rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 10px rgba(139, 30, 30, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--color-accent-hover);
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(139, 30, 30, 0.7);
}

input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.05);
}

input[type="range"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Pan Control */
.pan-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.pan-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  min-width: 30px;
  font-weight: 600;
}

.pan-label.left {
  text-align: right;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.event-name {
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-hint {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* ============================================
   MASTER CONTROLS
   ============================================ */

.playback-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-accent);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 25px rgba(139, 30, 30, 0.4);
}

.btn-play:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 6px 35px rgba(139, 30, 30, 0.6);
}

.btn-play:active:not(:disabled) {
  transform: scale(0.95);
}

.btn-play:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-play.playing {
  background: var(--color-bg-tertiary);
  border: 2px solid var(--color-accent);
}

.master-volume {
  margin-bottom: 1.5rem;
}

.master-volume-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.master-volume-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.btn-mute {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-mute:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
}

.btn-mute.muted {
  color: var(--color-accent);
  background: rgba(139, 30, 30, 0.15);
}

.volume-percentages {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Chaos Mode Toggle */
.chaos-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.chaos-label h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.chaos-label p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: 'Inter', sans-serif;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-border);
  transition: 0.3s;
  border-radius: 28px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: var(--color-text-secondary);
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--color-accent);
}

input:checked + .toggle-slider:before {
  transform: translateX(24px);
  background-color: white;
}

input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   EXPORT SECTION
   ============================================ */

.export-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--color-bg-tertiary);
  border-radius: 10px;
}

.export-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.export-row span:first-child {
  color: var(--color-text-muted);
}

.export-row span:last-child {
  color: var(--color-text-primary);
  font-weight: 500;
}

.btn-export {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-accent);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
}

.btn-export:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(139, 30, 30, 0.4);
}

.btn-export:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.export-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.loading-status {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(139, 30, 30, 0.1);
  border: 1px solid rgba(139, 30, 30, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-card);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon.success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
}

.modal-icon.error {
  background: rgba(139, 30, 30, 0.1);
  color: var(--color-accent);
}

.modal-icon.loading {
  background: rgba(139, 30, 30, 0.1);
  position: relative;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring circle {
  fill: none;
  stroke-width: 4;
}

.progress-ring .bg {
  stroke: var(--color-border);
}

.progress-ring .progress {
  stroke: var(--color-accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text-primary);
}

.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Cinzel', serif;
}

.modal p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.btn-modal {
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-modal:hover {
  background: var(--color-accent-hover);
}

/* ============================================
   HIDDEN CLASS
   ============================================ */

.hidden {
  display: none !important;
}

/* ============================================
   MIXER UI FIXES – SAFE PATCH
   (voeg dit onderaan toe)
   ============================================ */

/* Meer ruimte boven event triggers titel */
.section-title {
  margin-top: 3rem !important;
}

/* Volume en Pan label iets subtieler */
.slider-labels span,
.pan-label {
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: none;
  opacity: 0.55;
  font-weight: 500;
}

/* Volume slider thumb (rood) */
input[id^="vol-"]::-webkit-slider-thumb {
  background: var(--color-accent) !important;
  box-shadow: 0 0 10px rgba(139,30,30,0.6);
}

/* Pan slider thumb (blauw) */
input[id^="pan-"]::-webkit-slider-thumb {
  background: #3b82f6 !important;
  box-shadow: 0 0 10px rgba(59,130,246,0.6);
}

/* Checkbox kleur fix */
.event-export-toggle {
  accent-color: #8b1e1e !important;
}

/* Meer spacing tussen titel en events grid */
.events-grid {
  margin-top: 1.5rem !important;
}

.slider-label-top {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-weight: 600;
}
