/* TV Controls panel */
.knob {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle at 35% 35%, #4a3540, #1a0d15);
  border-radius: 50%;
  border: 2px solid #3d2535;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.1);
  transition: transform 0.2s;
}

.knob::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 3px;
  height: 14px;
  background: var(--neon-yellow);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(212,255,0,0.8);
}

.knob:active { transform: scale(0.95); }

.knob-label {
  font-family: 'VT323', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  letter-spacing: 1px;
}

/* Base para botones físicos estilo años 90 */
.power-btn, .cinema-btn, .fs-btn, .ch-btn, .zap-btn {
  width: 42px;
  height: 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.08s;
  box-shadow:
    0 4px 0 var(--btn-shadow-deep, #0a0408),
    0 5px 8px rgba(0,0,0,0.7),
    inset 0 1px 1px rgba(255,255,255,0.08),
    inset 0 -1px 1px rgba(0,0,0,0.5);
}

.power-btn:active, .cinema-btn:active, .fs-btn:active, .ch-btn:active, .zap-btn:active {
  transform: translateY(3px);
  box-shadow:
    0 1px 0 var(--btn-shadow-deep, #0a0408),
    0 2px 4px rgba(0,0,0,0.7),
    inset 0 1px 3px rgba(0,0,0,0.5);
}

/* Línea grabada común */
.power-btn::after, .cinema-btn::after, .fs-btn::after, .ch-btn::after, .zap-btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 10%;
  width: 80%; height: 1px;
  background: rgba(255,255,255,0.08);
  transform: translateY(-50%);
  pointer-events: none;
}

/* Power button */
.power-btn { background: linear-gradient(to bottom, #3a2030, #1a0d15); }
.power-btn::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff2d55;
  box-shadow: 0 0 4px #ff2d55, 0 0 10px rgba(255,45,85,0.8);
  animation: led-pulse 2.5s ease-in-out infinite;
}
.power-btn:hover { background: linear-gradient(to bottom, #4a2840, #2a1525); }

/* Cinema button */
.cinema-btn { 
  background: linear-gradient(to bottom, #1a2a2a, #0d1414); 
  --btn-shadow-deep: #040808;
  font-size: 0;
}
.cinema-btn::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00FFFF;
  box-shadow: 0 0 4px #00FFFF, 0 0 10px rgba(0,255,255,0.8), 0 0 20px rgba(0,255,255,0.4);
  animation: led-cyan-pulse 2s ease-in-out infinite;
}
.cinema-btn:hover { background: linear-gradient(to bottom, #223a3a, #102020); }

@keyframes led-cyan-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px #00FFFF, 0 0 10px rgba(0,255,255,0.8), 0 0 20px rgba(0,255,255,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 6px #00FFFF, 0 0 14px rgba(0,255,255,0.9), 0 0 28px rgba(0,255,255,0.5); }
}

/* Fullscreen button */
.fs-btn { 
  background: linear-gradient(to bottom, #2a2a1a, #141408); 
  --btn-shadow-deep: #080804;
  font-size: 0;
}
.fs-btn::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #D4FF00;
  box-shadow: 0 0 4px #D4FF00, 0 0 10px rgba(212,255,0,0.7);
}
.fs-btn:hover { background: linear-gradient(to bottom, #3a3a22, #202010); }

/* Channel buttons */
.ch-btn {
  background: linear-gradient(to bottom, #3a2a30, #1a0d15);
  color: var(--neon-cyan);
  font-family: 'VT323', monospace;
  font-size: 14px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.ch-btn:hover {
  background: linear-gradient(to bottom, #4a3540, #2a1525);
  box-shadow: 0 4px 0 #0a0408, 0 5px 8px rgba(0,0,0,0.7), inset 0 1px 1px rgba(255,255,255,0.12), inset 0 -1px 1px rgba(0,0,0,0.5);
}

/* Zapping Button */
.zap-btn {
  width: 38px;
  border-radius: 10px;
  background: linear-gradient(to bottom, #5a3520, #301010);
  color: var(--neon-yellow);
  font-family: 'VT323', monospace;
  font-size: 13px;
  letter-spacing: 1px;
}
.zap-btn:hover { background: linear-gradient(to bottom, #704525, #401515); }


/* TV legs/stand */
.tv-stand {
  width: 160px;
  height: 20px;
  background: linear-gradient(to bottom, #1e1018, #120a0f);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  margin: 0 auto;
  position: relative;
}

.tv-stand::before, .tv-stand::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 40px;
  height: 30px;
  background: linear-gradient(to bottom, #1e1018, #0d0710);
  border-radius: 0 0 8px 8px;
}

.tv-stand::before { left: 20px; }
.tv-stand::after { right: 20px; }

/* TV Controls Layout (Restored) */
.tv-controls {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 20px 0;
  gap: 0;
}

.tv-col {
  flex: 1;
  display: flex;
  align-items: center;
}

.channel-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0d0710;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
  border: 1px solid #2d1f27;
}

.channel-knob-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 20px;
}