@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700&family=Oswald:wght@300;400;600&display=swap');

/* ── Hidden utility ─────────────────────────────────── */
.hidden { display: none !important; }

/* ══ Amp Wrapper & Hamburger Menu ════════════════════ */
.amp-wrapper {
  position: relative;
  width: 100%;
  max-width: 1060px; /* Adapts to max amp-body width */
  margin: 0 auto;
}

.amp-menu-toggle {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  z-index: 100;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.amp-menu-toggle:hover {
  background: rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.2);
}

.amp-menu-toggle span {
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.3s;
}

.amp-selector-dropdown {
  position: absolute;
  top: 60px;
  left: 14px;
  background: rgba(25, 20, 15, 0.95);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 99;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  min-width: 220px;
  transition: opacity 0.2s, transform 0.2s;
  transform-origin: top left;
}

.amp-selector-dropdown.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  display: flex !important; /* overrides standard .hidden to allow transition */
}

.amp-select-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: rgba(255,255,255,0.5);
}

.amp-select-btn:hover {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}

.amp-select-btn.active {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}

.asb-brand {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.asb-model {
  font-family: 'Oswald', sans-serif;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Active Marshall buttons — gold accent */
.amp-select-btn[data-target^="jcm"].active {
  background: linear-gradient(135deg, rgba(200,160,30,0.3), rgba(160,120,10,0.2));
  border-color: rgba(200,160,30,0.5);
  box-shadow: 0 2px 8px rgba(160,120,10,0.3), inset 0 1px 0 rgba(220,180,60,0.2);
}

/* Active Fender button — silverface blue accent */
.amp-select-btn[data-target="fender"].active {
  background: linear-gradient(135deg, rgba(100,140,200,0.3), rgba(60,100,160,0.2));
  border-color: rgba(100,150,220,0.5);
  box-shadow: 0 2px 8px rgba(60,100,180,0.3), inset 0 1px 0 rgba(140,180,255,0.2);
}

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

/* ── Page ── Warm studio floor ──────────────────────────── */
body {
  background: #c8bfaa;
  background-image:
    radial-gradient(ellipse at 70% 0%,   #d4c9b0 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, #b8ae98 0%, transparent 50%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  padding: 24px;
  color: #2a2218;
}

/* ── Amp Body ── Cream/Oxford Tolex ─────────────────────── */
.amp-body {
  width: 100%;
  max-width: 960px;
  background: #e8e0cc;
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 2px, rgba(0,0,0,0.012) 2px, rgba(0,0,0,0.012) 4px);
  border-radius: 12px;
  box-shadow:
    0 0 0 4px #c8b890,
    0 0 0 8px #b0a070,
    0 30px 80px rgba(0,0,0,0.35),
    0 8px 20px rgba(0,0,0,0.2);
  overflow: hidden;
}

/* ── Grille Cloth ── Oxblood/Tan woven ─────────────────── */
.grille-wrapper {
  padding: 24px 24px 0;
}

.grille {
  background: #9c846a;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 2px, rgba(0,0,0,0.08) 2px, rgba(0,0,0,0.08) 3px),
    repeating-linear-gradient(90deg,  transparent, transparent 2px, rgba(0,0,0,0.06) 2px, rgba(0,0,0,0.06) 3px),
    repeating-linear-gradient(45deg,  transparent, transparent 5px, rgba(255,255,255,0.04) 5px, rgba(255,255,255,0.04) 6px);
  border-radius: 8px 8px 0 0;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #7a6450;
  border-bottom: none;
}

.speaker-shadow {
  position: absolute;
  top: 50%;
  width: 110px;
  height: 110px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 55%, transparent 80%);
  border: 2px solid rgba(0,0,0,0.2);
}
.speaker-shadow.left  { left: 80px; }
.speaker-shadow.right { right: 80px; }

.grille-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 2;
}

.fender-script {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 44px;
  color: #fff8e8;
  letter-spacing: -1px;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.4),
    0 0 20px rgba(255, 240, 180, 0.5),
    0 2px 8px rgba(0,0,0,0.5);
  line-height: 1;
}

.model-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,248,230,0.7);
  margin-top: 2px;
}

/* ── Control Panel ── Brushed Aluminum / Silverface ─────── */
.control-panel {
  background: linear-gradient(180deg,
    #d8d4cc 0%,
    #c8c4bc 30%,
    #c0bcb4 60%,
    #c8c4bc 100%
  );
  /* Brushed metal texture */
  background-image:
    linear-gradient(180deg, #d8d4cc 0%, #c0bcb4 50%, #c8c4bc 100%),
    repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(255,255,255,0.18) 1px, rgba(255,255,255,0.18) 2px);
  border-top: 3px solid #b0a898;
  border-bottom: 2px solid #b8b0a0;
  display: flex;
  align-items: stretch;
  padding: 0 20px;
  min-height: 200px;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.6),
    inset 0 -2px 4px rgba(0,0,0,0.1);
}

.panel-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  gap: 12px;
  flex-shrink: 0;
}

.panel-section.channel-section { flex: 1; }
.panel-section.vibrato-section { flex-shrink: 0; }

.panel-divider {
  width: 1px;
  background: linear-gradient(180deg,
    transparent 5%,
    rgba(0,0,0,0.15) 20%,
    rgba(255,255,255,0.5) 22%,
    rgba(0,0,0,0.12) 24%,
    rgba(0,0,0,0.12) 75%,
    transparent 95%
  );
  margin: 12px 0;
  flex-shrink: 0;
}

.section-label {
  font-size: 8px;
  letter-spacing: 4px;
  color: #5a5248;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 600;
}

/* ── Knobs ── Dark on Light ──────────────────────────────── */
.knob-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.knob-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.knob-label {
  font-size: 8px;
  letter-spacing: 2.5px;
  color: #3a3028;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 600;
}

.knob-widget {
  width: 52px;
  height: 52px;
  position: relative;
  cursor: ns-resize;
  flex-shrink: 0;
}

.knob-widget.large {
  width: 64px;
  height: 64px;
}

.knob-body {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 35% 30%, #5a5248, #2a2420 65%, #1a1410);
  border-radius: 50%;
  border: 2px solid #1a1410;
  box-shadow:
    inset 0 2px 5px rgba(255,255,255,0.15),
    inset 0 -2px 4px rgba(0,0,0,0.7),
    0 4px 14px rgba(0,0,0,0.45),
    0 2px 4px rgba(0,0,0,0.35),
    0 0 0 1px rgba(0,0,0,0.25);
  position: relative;
  transition: box-shadow 0.12s;
}

.knob-body:active,
.knob-widget:hover .knob-body {
  box-shadow:
    inset 0 2px 5px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.7),
    0 4px 18px rgba(0,0,0,0.5),
    0 0 0 2px rgba(180, 140, 60, 0.55),
    0 0 10px rgba(200, 160, 60, 0.2);
}

.knob-indicator {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 10px;
  background: linear-gradient(180deg, #ffe480, #c89820);
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(220, 180, 30, 0.6);
}

.knob-widget.large .knob-indicator {
  top: 10px;
  height: 12px;
}

/* Tick marks */
.tick {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 4px;
  background: rgba(0,0,0,0.25);
  margin-left: -1px;
  transform-origin: 0px -18px;
  border-radius: 1px;
}

/* ── Switches ───────────────────────────────────────────── */
.switch-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.switch-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}

.panel-switch:hover { background: rgba(0,0,0,0.06); }

.switch-label {
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  color: #5a5048;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 600;
}

.switch-indicator {
  width: 28px;
  height: 14px;
  background: #b0a890;
  border: 1px solid #9a9080;
  border-radius: 3px;
  position: relative;
  transition: all 0.2s;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.switch-indicator::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  top: 1px;
  left: 1px;
  background: #e0d8c8;
  border-radius: 2px;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.panel-switch[data-state="on"] .switch-indicator {
  background: #b8d4a8;
  border-color: #78a868;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 0 6px rgba(80, 180, 60, 0.25);
}

.panel-switch[data-state="on"] .switch-indicator::after {
  transform: translateX(14px);
  background: #4caf50;
  box-shadow: 0 1px 4px rgba(60, 150, 50, 0.5);
}

.toggle-switch {
  font-family: 'Oswald', sans-serif;
  font-size: 8px;
  letter-spacing: 2.5px;
  color: #5a5048;
  background: #c8c0b0;
  border: 1px solid #a89880;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15), inset 0 1px 1px rgba(255,255,255,0.4);
}

.toggle-switch:hover {
  background: #d0c8b8;
  border-color: #907858;
  color: #2a2010;
}

.toggle-switch.active {
  background: #c8e0b8;
  border-color: #6aaa50;
  color: #307020;
  box-shadow: 0 0 8px rgba(80, 180, 60, 0.3), inset 0 1px 1px rgba(255,255,255,0.4);
}

/* ── Jewel Lamp ─────────────────────────────────────────── */
.jewel-lamp-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.jewel-lamp {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c8a898;
  border: 2px solid #a88070;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: all 0.4s;
}

.jewel-lamp.on {
  background: radial-gradient(circle at 35% 30%, #ff9944, #cc4400);
  border-color: #ff6622;
  box-shadow:
    0 0 8px rgba(255, 120, 40, 0.9),
    0 0 20px rgba(255, 100, 20, 0.6),
    0 0 40px rgba(255, 80, 10, 0.3);
  animation: lampPulse 4s ease-in-out infinite;
}

@keyframes lampPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255,120,40,0.8), 0 0 20px rgba(255,100,20,0.5), 0 0 35px rgba(255,80,10,0.25); }
  50%       { box-shadow: 0 0 14px rgba(255,150,60,1.0), 0 0 32px rgba(255,120,40,0.7), 0 0 55px rgba(255,100,20,0.3); }
}

.lamp-label {
  font-size: 8px;
  letter-spacing: 2px;
  color: #7a7060;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Power Section ──────────────────────────────────────── */
.power-section { gap: 16px; }

.input-select-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.panel-label { font-size: 8px; letter-spacing: 2px; color: #7a7060; text-transform: uppercase; font-weight: 600; }
.panel-label.small { font-size: 7px; }

.device-select {
  background: #c0b8a8;
  border: 1px solid #a09080;
  color: #3a3028;
  border-radius: 4px;
  padding: 3px 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 8px;
  letter-spacing: 1px;
  cursor: pointer;
  max-width: 110px;
  appearance: none;
  transition: border-color 0.2s;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}

.device-select:hover { border-color: #807060; }

/* ── Oscilloscope ───────────────────────────────────────── */
.visualizer-wrapper {
  background: #d4ccb8;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 2px solid #b8b0a0;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.5);
}

#oscilloscope {
  flex: 1;
  height: 80px;
  border-radius: 6px;
  background: #1a1c14;
  border: 2px solid #8a8068;
  box-shadow:
    inset 0 0 24px rgba(0,20,0,0.6),
    0 2px 6px rgba(0,0,0,0.25);
  display: block;
}

.level-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.vu-bar {
  width: 12px;
  height: 60px;
  background: #b8b0a0;
  border: 1px solid #9a9080;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.vu-fill {
  width: 100%;
  height: 0%;
  background: #44cc44;
  border-radius: 2px;
  transition: height 0.05s, background 0.1s;
}

.vu-label {
  font-size: 7px;
  letter-spacing: 2px;
  color: #7a7060;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Status Bar ─────────────────────────────────────────── */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  border-top: 1px solid #b8b0a0;
  background: #ccc4b0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

#statusText {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #5a5248;
  font-family: 'Oswald', monospace;
}

.version-badge {
  font-size: 8px;
  letter-spacing: 2px;
  color: #9a9080;
  text-transform: uppercase;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 700px) {
  .control-panel { flex-wrap: wrap; padding: 12px; }
  .speaker-shadow { display: none; }
  .knob-row { gap: 12px; }
  .knob-widget { width: 44px; height: 44px; }
  .pedalboard { flex-wrap: wrap; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   PEDALBOARD
═══════════════════════════════════════════════════════════ */

.pedalboard-wrapper {
  background: #c8bfa8;
  border-top: 2px solid #b0a890;
  padding: 16px 24px 20px;
}

.pedalboard-title {
  font-size: 8px;
  letter-spacing: 4px;
  color: #7a7060;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pedalboard-title::before,
.pedalboard-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.12);
}

/* The board surface */
.pedalboard {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #2a2016;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 3px, rgba(255,255,255,0.025) 3px, rgba(255,255,255,0.025) 4px),
    repeating-linear-gradient(90deg,  transparent, transparent 6px, rgba(255,255,255,0.015) 6px, rgba(255,255,255,0.015) 7px);
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.5),
    inset 0 -2px 4px rgba(255,255,255,0.04),
    0 4px 12px rgba(0,0,0,0.3);
  overflow-x: auto;
}

/* Signal flow arrow between pedals */
.chain-arrow {
  color: #5a5040;
  font-size: 18px;
  flex-shrink: 0;
  padding: 0 2px;
  opacity: 0.7;
}

/* ── Pedal Base ─────────────────────────────────────────── */
.pedal {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  padding: 10px 10px 8px;
  width: 130px;
  flex-shrink: 0;
  position: relative;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.6),
    0 1px 3px rgba(0,0,0,0.4),
    inset 0 1px 1px rgba(255,255,255,0.15);
  transition: transform 0.15s, opacity 0.2s;
  cursor: grab;
}

.pedal:active { cursor: grabbing; }
.pedal:hover { transform: translateY(-2px); }
.pedal.dragging {
  opacity: 0.5;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 16px 24px rgba(0,0,0,0.4);
}
.pedalboard.drag-over {
  background-color: rgba(255,255,255,0.02);
}

/* ── ISP Decimator Noise Gate (Chrome) ────────────────────── */
.pedal.decimator {
  background: linear-gradient(160deg, #f0f0f0 0%, #d8d8d8 40%, #a8a8a8 100%);
  border: 2px solid #888;
}

/* ── Boss CS-3 (Yellow) ─────────────────────────────────── */
.pedal.cs3 {
  background: linear-gradient(160deg, #f5d050 0%, #d8a820 60%, #c49018 100%);
  border: 2px solid #a07010;
}

/* ── Ibanez TS9 (Green) ─────────────────────────────────── */
.pedal.ts9 {
  background: linear-gradient(160deg, #6ab050 0%, #4a8838 60%, #3a7028 100%);
  border: 2px solid #2a5820;
}

/* ── TC Electronic Delay (Light grey) ───────────────────── */
.pedal.tc-delay {
  background: linear-gradient(160deg, #f0ece4 0%, #ddd8cc 60%, #ccc8bc 100%);
  border: 2px solid #aaa498;
}

/* ── TC Ditto Looper ────────────────────────────────────── */
.pedal.tc-looper {
  background: linear-gradient(160deg, #445 0%, #2a2c30 40%, #1a1c20 100%);
  border: 2px solid #111;
  width: 90px;
}
.tc-looper-icon {
  font-size: 24px;
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
}

/* ── Pedal Header ───────────────────────────────────────── */
.pedal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 6px;
}

.pedal-brand {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.decimator .pedal-brand { color: rgba(0,0,0,0.8); font-size: 8px; }
.cs3 .pedal-brand   { color: rgba(0,0,0,0.55); }
.ts9 .pedal-brand   { color: rgba(255,255,255,0.7); }
.tc-delay .pedal-brand { color: #3a6aaa; }
.tc-looper .pedal-brand { display: none; } /* Ditto usually has just icon */

/* LED indicator */
.pedal-led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #330000;
  border: 1px solid rgba(0,0,0,0.3);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
  transition: all 0.2s;
  flex-shrink: 0;
}

.pedal-led.on {
  background: radial-gradient(circle at 35% 30%, #ff6060, #cc0000);
  box-shadow: 0 0 6px rgba(255,60,60,0.9), 0 0 12px rgba(200,0,0,0.5);
}

/* ── Pedal Model Name ────────────────────────────────────── */
.pedal-model {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}
.decimator .pedal-model { color: #111; font-family: 'Oswald', sans-serif; font-style: normal; font-size: 14px; letter-spacing: 1px; }
.cs3 .pedal-model      { color: rgba(0,0,0,0.6); }
.ts9 .pedal-model      { color: rgba(255,255,255,0.9); }
.tc-delay .pedal-model { color: #2a5a90; }
.tc-looper .pedal-model { color: #ddd; font-family: 'Oswald', sans-serif; font-style: normal; font-size: 15px; letter-spacing: 2px; }

.pedal-type {
  font-size: 7px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.6;
  font-weight: 600;
}
.decimator .pedal-type { color: #333; margin-bottom: 2px; }
.cs3 .pedal-type      { color: #2a1800; }
.ts9 .pedal-type      { color: #fff; }
.tc-delay .pedal-type { color: #3a3028; }
.tc-looper .pedal-type { color: #888; letter-spacing: 2px; }

/* ── Small Knobs (pedal) ─────────────────────────────────── */
.pedal-knobs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 6px;
  margin-bottom: 10px;
  width: 100%;
}

.pedal-knob-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  user-select: none;
}

.pedal-knob-group span {
  font-size: 7px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.decimator .pedal-knob-group span { color: #222; }
.cs3 .pedal-knob-group span      { color: rgba(0,0,0,0.55); }
.ts9 .pedal-knob-group span      { color: rgba(255,255,255,0.8); }
.tc-delay .pedal-knob-group span { color: #3a3028; }
.tc-looper .pedal-knob-group span { color: #aaa; }

/* Small knob widget variant */
.knob-widget.pedal-knob {
  width: 38px;
  height: 38px;
}

.knob-widget.pedal-knob .knob-body {
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.12),
    inset 0 -2px 3px rgba(0,0,0,0.6),
    0 3px 8px rgba(0,0,0,0.5),
    0 0 0 1px rgba(0,0,0,0.2);
}

.knob-widget.pedal-knob .knob-indicator {
  top: 6px;
  height: 8px;
  width: 2px;
}

.knob-widget.pedal-knob .tick {
  transform-origin: 0px -13px;
}

/* ── Footswitch ──────────────────────────────────────────── */
.pedal-switch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(0,0,0,0.3);
  cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #555, #222 70%, #111);
  box-shadow:
    0 4px 10px rgba(0,0,0,0.6),
    0 2px 4px rgba(0,0,0,0.5),
    inset 0 1px 3px rgba(255,255,255,0.1);
  transition: all 0.1s;
  position: relative;
  margin-top: 2px;
}

.pedal-switch::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.pedal-switch:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.7), inset 0 2px 4px rgba(0,0,0,0.4);
}

.pedal-switch.active {
  background: radial-gradient(circle at 35% 30%, #444, #1a1a1a 70%, #111);
  box-shadow: 0 2px 8px rgba(0,0,0,0.8), inset 0 2px 4px rgba(0,0,0,0.5);
}

/* ── TC Banner Stripe ────────────────────────────────────── */
.tc-stripe {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1a5aaa, #2a80cc, #1a5aaa);
  border-radius: 2px;
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════
   MARSHALL THEME — Black Tolex + Gold Panel
═══════════════════════════════════════════════════════════ */

.amp-body[data-amp^="jcm"] {
  background: #111;
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 4px);
  box-shadow:
    0 0 0 4px #1e1e1e,
    0 0 0 8px #0a0a0a,
    0 30px 80px rgba(0,0,0,0.6),
    0 8px 20px rgba(0,0,0,0.4);
}

/* ── Marshall Grille ── Black with subtle texture ─── */
.amp-body[data-amp^="jcm"] .grille {
  background: #0c0c0c;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 2px, rgba(255,255,255,0.04) 2px, rgba(255,255,255,0.04) 3px),
    repeating-linear-gradient(90deg,  transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 3px);
  border-color: #1a1a1a;
  height: 160px;
}

.amp-body[data-amp^="jcm"] .speaker-shadow {
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.6) 55%, transparent 80%);
}

.amp-body[data-amp^="jcm"] .amp-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 48px;
  color: #fff;
  letter-spacing: -1px;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.6),
    0 0 30px rgba(200,160,30,0.4),
    0 2px 8px rgba(0,0,0,0.8);
}

.amp-body[data-amp^="jcm"] .amp-model-label {
  color: rgba(220,180,60,0.75);
  letter-spacing: 5px;
}

/* ── Marshall Control Panel ── Brushed Gold ────────── */
.amp-body[data-amp^="jcm"] .control-panel {
  background:
    linear-gradient(180deg, #c8a030 0%, #a07c18 40%, #b89020 70%, #c8a030 100%),
    repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(255,255,255,0.1) 1px, rgba(255,255,255,0.1) 2px);
  border-top: 3px solid #8a6810;
  border-bottom: 2px solid #7a5808;
  box-shadow:
    inset 0 2px 4px rgba(255,220,80,0.3),
    inset 0 -2px 4px rgba(0,0,0,0.3);
}

/* ── Marshall Labels ── White silkscreen ─────────── */
.amp-body[data-amp^="jcm"] .section-label {
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.amp-body[data-amp^="jcm"] .knob-label {
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}

.amp-body[data-amp^="jcm"] .lamp-label {
  color: rgba(255,255,255,0.7);
}

.amp-body[data-amp^="jcm"] .switch-label {
  color: rgba(255,255,255,0.85);
}

.amp-body[data-amp^="jcm"] .panel-label {
  color: rgba(255,255,255,0.7);
}

.amp-body[data-amp^="jcm"] .panel-switch:hover {
  background: rgba(0,0,0,0.15);
}

.amp-body[data-amp^="jcm"] .switch-indicator {
  background: #7a5808;
  border-color: #5a3c04;
}

.amp-body[data-amp^="jcm"] .switch-indicator::after {
  background: #d4b060;
}

.amp-body[data-amp^="jcm"] .panel-switch[data-state="on"] .switch-indicator {
  background: #a84830;
  border-color: #882010;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2), 0 0 8px rgba(200,60,30,0.4);
}

.amp-body[data-amp^="jcm"] .panel-switch[data-state="on"] .switch-indicator::after {
  background: #ff4422;
  box-shadow: 0 1px 4px rgba(200,40,20,0.6);
}

.amp-body[data-amp^="jcm"] .toggle-switch {
  background: #8a6010;
  border-color: #5a3c08;
  color: rgba(255,255,255,0.85);
  box-shadow: 0 1px 3px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,200,80,0.2);
}

.amp-body[data-amp^="jcm"] .toggle-switch:hover {
  background: #9a7018;
  border-color: #6a4c10;
  color: #fff;
}

.amp-body[data-amp^="jcm"] .toggle-switch.active {
  background: #881a08;
  border-color: #cc2200;
  color: #ffccbb;
  box-shadow: 0 0 10px rgba(200,40,10,0.4), inset 0 1px 1px rgba(255,120,80,0.2);
}

.amp-body[data-amp^="jcm"] .panel-divider {
  background: linear-gradient(180deg,
    transparent 5%,
    rgba(0,0,0,0.4) 20%,
    rgba(255,200,80,0.25) 22%,
    rgba(0,0,0,0.3) 24%,
    rgba(0,0,0,0.3) 75%,
    transparent 95%
  );
}

.amp-body[data-amp^="jcm"] .device-select {
  background: #7a5808;
  border-color: #5a3c04;
  color: rgba(255,255,255,0.9);
}

/* ── Marshall Jewel Lamp ── Red ─────────────────── */
.amp-body[data-amp^="jcm"] .jewel-lamp {
  background: #440000;
  border-color: #661010;
}

.amp-body[data-amp^="jcm"] .jewel-lamp.on {
  background: radial-gradient(circle at 35% 30%, #ff5533, #cc1100);
  border-color: #ff2200;
  box-shadow:
    0 0 8px rgba(255,60,20,0.9),
    0 0 20px rgba(220,40,10,0.6),
    0 0 40px rgba(200,20,0,0.3);
}

/* ── Knob gold accent on hover (Marshall) ────────── */
.amp-body[data-amp^="jcm"] .knob-body:active,
.amp-body[data-amp^="jcm"] .knob-widget:hover .knob-body {
  box-shadow:
    inset 0 2px 5px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.7),
    0 4px 18px rgba(0,0,0,0.5),
    0 0 0 2px rgba(200,150,30,0.7),
    0 0 12px rgba(200,150,30,0.3);
}

/* ── Marshall Pedalboard ─────────────────────────── */
.amp-body[data-amp^="jcm"] .pedalboard-wrapper {
  background: #161008;
  border-top-color: #2a1e08;
}

.amp-body[data-amp^="jcm"] .pedalboard-title {
  color: #8a7040;
}

.amp-body[data-amp^="jcm"] .visualizer-wrapper {
  background: #1a1408;
  border-top-color: #2a1e08;
}

.amp-body[data-amp^="jcm"] .status-bar {
  background: #111008;
  border-top-color: #2a1e08;
}

.amp-body[data-amp^="jcm"] #statusText {
  color: rgba(255,200,80,0.7);
}

.amp-body[data-amp^="jcm"] .version-badge {
  color: rgba(255,180,40,0.45);
}

/* ── Channel labels (clean/lead indicators) ─────── */
.channel-label.clean-label {
  color: inherit;
  position: relative;
  padding-left: 12px;
}
.channel-label.clean-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #44cc44;
  box-shadow: 0 0 4px rgba(40,200,40,0.6);
}

.channel-label.lead-label {
  color: inherit;
  position: relative;
  padding-left: 12px;
}
.channel-label.lead-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff3322;
  box-shadow: 0 0 4px rgba(220,40,20,0.6);
}

/* Channel switch button — visible state */
.channel-switch {
  min-width: 70px;
}

/* ── Layout Adjustments for Dense Marshall Panels ── */
.amp-body[data-amp^="jcm"] {
  max-width: 1060px; /* Slight width expansion for multi-channel amps */
}

.amp-body[data-amp="jcm900"] .panel-section,
.amp-body[data-amp="jcm2000"] .panel-section {
  padding: 16px 12px;
}

.amp-body[data-amp="jcm900"] .knob-row,
.amp-body[data-amp="jcm2000"] .knob-row {
  gap: 12px;
}

/* JCM2000 has 15+ controls, requires smaller knobs to fit */
.amp-body[data-amp="jcm2000"] .control-panel {
  padding: 0 10px;
}
.amp-body[data-amp="jcm2000"] .panel-section {
  padding: 16px 8px;
}
.amp-body[data-amp="jcm2000"] .knob-row {
  gap: 8px;
}
.amp-body[data-amp="jcm2000"] .knob-widget {
  width: 44px; height: 44px;
}
.amp-body[data-amp="jcm2000"] .knob-widget.large {
  width: 56px; height: 56px;
}
.amp-body[data-amp="jcm2000"] .knob-label {
  font-size: 7px;
  letter-spacing: 1.5px;
}

/* ── Body transition on amp switch ──────────────── */
.amp-body {
  transition: background 0.4s, box-shadow 0.4s, max-width 0.4s;
}

.amp-body .control-panel {
  transition: background 0.4s;
}

/* ═══════════════════════════════════════════════════════════
   ORANGE THEME — Orange Tolex + White Panel
   - "Hieroglyphs" labels style
═══════════════════════════════════════════════════════════ */

.amp-body[data-amp^="o"] {
  background: #f58220;
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(0,0,0,0.06) 3px, rgba(0,0,0,0.06) 6px);
  box-shadow:
    0 0 0 4px #d46810,
    0 0 0 8px #a44808,
    0 30px 80px rgba(0,0,0,0.4),
    0 8px 20px rgba(0,0,0,0.3);
}

/* ── Orange Grille ── Tan/Woven ─── */
.amp-body[data-amp^="o"] .grille {
  background: #d4b888;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 1px, rgba(0,0,0,0.12) 1px, rgba(0,0,0,0.12) 2px),
    repeating-linear-gradient(90deg,  transparent, transparent 1px, rgba(0,0,0,0.1) 1px, rgba(0,0,0,0.1) 2px);
  border-color: #a89060;
  height: 150px;
}

.amp-body[data-amp^="o"] .speaker-shadow {
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.15) 55%, transparent 80%);
}

.amp-body[data-amp^="o"] .amp-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 52px;
  color: #333;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.amp-body[data-amp^="o"] .amp-model-label {
  color: rgba(0,0,0,0.6);
  letter-spacing: 4px;
}

/* ── Orange Control Panel ── White/Powder Coat ────────── */
.amp-body[data-amp^="o"] .control-panel {
  background: #f0f0f0;
  background-image:
    linear-gradient(180deg, #fafafa 0%, #eeeeee 40%, #e0e0e0 70%, #f0f0f0 100%);
  border-top: 3px solid #ccc;
  border-bottom: 2px solid #bbb;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.8),
    inset 0 -1px 2px rgba(0,0,0,0.1);
}

/* Hieroglyphs / Symbols style labels */
.amp-body[data-amp^="o"] .section-label {
  color: #c44000;
  font-size: 14px; /* symbols are larger */
  font-family: sans-serif;
  font-weight: 900;
}

.amp-body[data-amp^="o"] .knob-label {
  color: #333;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

/* Orange Specific Toggle Switch Style: Brushed Aluminum Toggle */
.amp-body[data-amp^="o"] .toggle-switch {
  background: #ddd;
  border-color: #999;
  color: #333;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15), inset 0 1px 1px rgba(255,255,255,0.8);
}

.amp-body[data-amp^="o"] .toggle-switch.active {
  background: #eee;
  border-color: #777;
  color: #000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2), inset 0 1px 1px rgba(255,255,255,1);
}

/* Orange Metal Toggle Visual Style */
.amp-body[data-amp^="o"] .panel-switch .switch-indicator {
  background: #ccc;
  border-radius: 2px;
}
.amp-body[data-amp^="o"] .panel-switch .switch-indicator::after {
  background: #888;
  border-radius: 1px;
}

/* Active Selector Button for Orange models */
.amp-select-btn[data-target="ocrush35"].active,
.amp-select-btn[data-target="oscrush100"].active,
.amp-select-btn[data-target="odarkterror"].active {
  background: linear-gradient(135deg, rgba(245,130,32,0.4), rgba(200,80,10,0.25));
  border-color: rgba(245,130,32,0.6);
  box-shadow: 0 2px 8px rgba(200,80,10,0.3), inset 0 1px 0 rgba(255,180,100,0.2);
}

/* Orange status bar colors */
.amp-body[data-amp^="o"] .status-bar {
  background: #e47820;
  border-top-color: #d46810;
}
.amp-body[data-amp^="o"] #statusText { color: #fff; }
.amp-body[data-amp^="o"] .version-badge { color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════════════════════════
   DARK TERROR OVERRIDE — Black Chassis + White Graphics
═══════════════════════════════════════════════════════════ */
.amp-body[data-amp="odarkterror"] {
  background: #1a1a1e;
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(255,255,255,0.02) 3px, rgba(255,255,255,0.02) 6px);
  box-shadow:
    0 0 0 4px #111,
    0 0 0 8px #050505,
    0 30px 80px rgba(0,0,0,0.6),
    0 8px 20px rgba(0,0,0,0.5);
}
.amp-body[data-amp="odarkterror"] .grille {
  background: #222;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 1px, rgba(255,255,255,0.04) 1px, rgba(255,255,255,0.04) 2px),
    repeating-linear-gradient(90deg,  transparent, transparent 1px, rgba(255,255,255,0.03) 1px, rgba(255,255,255,0.03) 2px);
  border-color: #333;
}
.amp-body[data-amp="odarkterror"] .speaker-shadow {
  background: radial-gradient(circle, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 55%, transparent 80%);
}
.amp-body[data-amp="odarkterror"] .amp-logo {
  color: #f0f0f0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.amp-body[data-amp="odarkterror"] .amp-model-label {
  color: rgba(255,255,255,0.5);
}
.amp-body[data-amp="odarkterror"] .control-panel {
  background: #2a2a2e;
  background-image: linear-gradient(180deg, #333 0%, #2a2a2e 40%, #222 70%, #2a2a2e 100%);
  border-top: 3px solid #444;
  border-bottom: 2px solid #1a1a1a;
}
.amp-body[data-amp="odarkterror"] .section-label {
  color: #f58220;
}
.amp-body[data-amp="odarkterror"] .knob-label {
  color: #ccc;
}
.amp-body[data-amp="odarkterror"] .status-bar {
  background: #1a1a1e;
  border-top-color: #333;
}
.amp-body[data-amp="odarkterror"] #statusText { color: #aaa; }
.amp-select-btn[data-target="odarkterror"].active {
  background: linear-gradient(135deg, rgba(40,40,45,0.8), rgba(20,20,25,0.6));
  border-color: rgba(100,100,100,0.5);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(80,80,80,0.3);
}
