/* === BruhTV Main Layout === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --republic-red: #c8001a;
  --dark-navy: #1a1a2e;
  --gold: #e8d44d;
  --terminal-green: #00ff41;
  --white: #ffffff;
  --overlay-bg: rgba(0, 0, 0, 0.75);
  --border-color: rgba(200, 0, 26, 0.6);
  --font-mono: 'Share Tech Mono', 'Courier New', monospace;
  --font-heading: 'Orbitron', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: var(--font-mono);
  color: var(--white);
  cursor: none;
}

body:hover {
  cursor: default;
}

/* === Layering === */
#video-layer,
#standby-layer,
#overlay-layer,
#crt-overlay,
#unmute-prompt {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#video-layer { z-index: 1; }
#standby-layer { z-index: 2; }
#overlay-layer { z-index: 10; pointer-events: none; }
#crt-overlay { z-index: 20; pointer-events: none; }
#unmute-prompt { z-index: 50; }

/* === Video Layer === */
#main-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: none;
}

#main-video.active {
  display: block;
}

/* === Standby Card === */
#standby-layer {
  display: flex;
  flex-direction: column;
  background: #000;
}

#standby-layer.hidden {
  display: none;
}

.standby-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.color-bars {
  display: flex;
  height: 40%;
  width: 100%;
}

.color-bars .bar {
  flex: 1;
}

.standby-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dark-navy);
  padding: 2rem;
}

.gar-emblem {
  font-size: 5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: pulse-glow 3s ease-in-out infinite;
}

.standby-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.5em;
  text-shadow: 0 0 20px rgba(232, 212, 77, 0.5);
}

.standby-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--republic-red);
  letter-spacing: 0.3em;
  margin-top: 0.5rem;
}

.standby-divider {
  width: 300px;
  height: 2px;
  background: var(--republic-red);
  margin: 1.5rem 0;
  box-shadow: 0 0 10px var(--republic-red);
}

.standby-message {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.4em;
  animation: blink-text 2s ease-in-out infinite;
}

.standby-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2em;
  margin-top: 1rem;
}

/* === Unmute Prompt === */
.unmute-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  pointer-events: auto;
}

.unmute-overlay.hidden {
  display: none;
  pointer-events: none;
}

.unmute-box {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 1rem 2rem;
  letter-spacing: 0.2em;
  animation: blink-text 1.5s ease-in-out infinite;
}

/* === Animations === */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes blink-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
