/**
 * Jungle Theme - Tropischer Dschungel
 * Frische Gruentoene mit Orange-Akzenten
 * Kindgerechter Stil mit grossen, runden Elementen
 */

[data-theme="jungle"] {
  /* Hauptfarben - Tropisch & Frisch */
  --color-primary: #22c55e;
  --color-secondary: #f97316;
  --color-background: #ecfdf5;
  --color-surface: rgba(34, 197, 94, 0.15);
  --color-surface-hover: rgba(34, 197, 94, 0.25);
  --color-text: #14532d;
  --color-text-muted: rgba(20, 83, 45, 0.7);
  --color-panel-header: #14532d;

  /* Akzentfarben - Blumen & Tiere */
  --color-accent-1: #facc15;
  --color-accent-2: #fb923c;
  --color-accent-3: #38bdf8;
  --color-success: #22c55e;
  --color-danger: #ef4444;

  /* Grid/Sequencer */
  --color-grid-line: rgba(34, 197, 94, 0.45);
  --color-playhead: rgba(249, 115, 22, 0.35);
  --color-cell-occupied: rgba(250, 204, 21, 0.6);
  --color-cell-active: rgba(34, 197, 94, 0.65);
  --color-marker: #22c55e;
  --color-marker-corner: #facc15;

  /* Kindgerechte Border-Radius */
  --radius-panel: 26px;
  --radius-button: 18px;
  --radius-card: 22px;

  /* Weiche Schatten */
  --shadow-glow: 0 0 30px rgba(34, 197, 94, 0.3);
  --shadow-button: 0 6px 20px rgba(34, 197, 94, 0.25);
}

[data-theme="jungle"] body {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
}

/* Blaetter im Hintergrund */
[data-theme="jungle"] body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60px 80px at 5% 90%, rgba(34, 197, 94, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 80px 60px at 95% 85%, rgba(34, 197, 94, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50px 70px at 10% 10%, rgba(249, 115, 22, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 70px 50px at 90% 15%, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

[data-theme="jungle"] .btn-play {
  background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
  border-radius: 50%;
  box-shadow:
    0 8px 30px rgba(34, 197, 94, 0.4),
    inset 0 3px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="jungle"] .btn-play:hover {
  transform: scale(1.1);
  box-shadow:
    0 12px 40px rgba(34, 197, 94, 0.5),
    inset 0 3px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="jungle"] .btn-play.playing {
  background: linear-gradient(145deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 8px 35px rgba(249, 115, 22, 0.5);
  animation: jungle-bounce 0.8s ease-in-out infinite;
}

@keyframes jungle-bounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.05) rotate(-3deg); }
  75% { transform: scale(1.05) rotate(3deg); }
}

[data-theme="jungle"] .transport {
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-panel);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.15);
}

[data-theme="jungle"] .panel {
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-panel);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.1);
}

[data-theme="jungle"] .audio-init-btn {
  background: linear-gradient(145deg, #22c55e 0%, #facc15 50%, #f97316 100%);
  background-size: 200% 100%;
  border-radius: 50%;
  box-shadow:
    0 10px 40px rgba(34, 197, 94, 0.4),
    inset 0 3px 0 rgba(255, 255, 255, 0.3);
  animation: jungle-bounce 2s ease-in-out infinite;
}

/* Kindgerechte Button-Styles */
[data-theme="jungle"] .btn {
  border-radius: var(--radius-button);
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
}

[data-theme="jungle"] .btn:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(34, 197, 94, 0.3);
}

[data-theme="jungle"] .btn:active {
  transform: scale(0.97);
}

/* Grosse Touch-Targets */
[data-theme="jungle"] .btn-icon {
  min-width: 50px;
  min-height: 50px;
}

/* Freundliche Button-Farben */
[data-theme="jungle"] .btn-primary {
  background: linear-gradient(145deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

[data-theme="jungle"] .btn-secondary {
  background: rgba(34, 197, 94, 0.15);
  color: #14532d;
}

[data-theme="jungle"] .btn-success {
  background: linear-gradient(145deg, #f97316, #ea580c);
  color: white;
}
