/* CRT Television player styles */

.video-page {
  padding: 2rem;
  text-align: center;
  font-family: 'IBM Plex Sans', sans-serif;
  width: 100%;
  max-width: 960px;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #eee;
}

.crt-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.crt-frame {
  background: #000;
  border: 12px solid #222;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 800px;
  position: relative;
  overflow: hidden;
}

.crt-screen {
  width: 100%;
  height: 100%;
  position: relative;
  background: radial-gradient(circle, #111, #000);
}

#player {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

#screen-overlay {
  color: #ccc;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 1rem;
}

.controls {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.controls button {
  background: #222;
  border: none;
  padding: 0.6rem 1.2rem;
  color: #eee;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.controls button:hover {
  background: #333;
}

#volumeSlider {
  width: 120px;
  accent-color: #aaa;
}