/* =========================================================
   SEAN'S SIZZLES: retro CRT picker
   ========================================================= */

:root {
  --bg: #16110d;
  --bg-2: #1f1712;
  --wood: #3c2a1e;
  --wood-light: #5a3d29;
  --cream: #f3e9d8;
  --orange: #ff6a3d;
  --teal: #2ec4c4;
  --amber: #ffb84d;
  --screen-black: #0a0a0a;
  --text-dim: #cbb99f;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at 50% 0%, var(--bg-2), var(--bg) 70%);
  color: var(--cream);
}

img { max-width: 100%; }

button, input { font-family: inherit; }

/* ---------------------------------------------------------
   GATE / ACCESS SCREEN
--------------------------------------------------------- */
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gate-tv {
  width: min(480px, 100%);
}

.gate-screen-inner {
  position: relative;
  background: var(--screen-black);
  border: 10px solid #232323;
  border-radius: 18px;
  box-shadow:
    0 0 0 4px #0d0d0d,
    0 30px 60px rgba(0,0,0,0.6),
    inset 0 0 60px rgba(0,0,0,0.9);
  padding: 48px 32px;
  overflow: hidden;
}

.gate-static {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.6) 0px, transparent 1px, transparent 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0px, transparent 2px);
  animation: staticShift 0.3s steps(4) infinite;
  pointer-events: none;
}

@keyframes staticShift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.gate-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.gate-logo {
  width: min(240px, 70%);
  height: auto;
  margin: 0 auto 4px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(46,196,196,0.25));
}

.gate-sub {
  margin: 0 0 28px;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.gate-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--amber);
}

.gate-input {
  width: 100%;
  max-width: 260px;
  text-align: center;
  letter-spacing: 0.3em;
  padding: 12px 14px;
  border-radius: 6px;
  border: 2px solid #333;
  background: #111;
  color: var(--cream);
  font-size: 16px;
}

.gate-input:focus {
  outline: none;
  border-color: var(--teal);
}

.gate-button {
  margin-top: 6px;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: var(--orange);
  color: #1a0f08;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.gate-button:hover { background: var(--amber); transform: translateY(-1px); }

.gate-error {
  color: #ff5b5b;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 4px 0 0;
}

.gate.shake { animation: shake 0.3s; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.gate-tv-base {
  height: 16px;
  width: 70%;
  margin: 0 auto;
  background: linear-gradient(#1c1c1c, #050505);
  border-radius: 0 0 12px 12px;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
.site-header {
  text-align: center;
  padding: 40px 20px 10px;
}

.brand-logo {
  width: min(320px, 80%);
  height: auto;
  margin: 0 auto;
  display: block;
}

.brand-tagline {
  color: var(--text-dim);
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------
   TV CONSOLE
--------------------------------------------------------- */
.tv-console {
  max-width: 760px;
  margin: 30px auto 10px;
  padding: 0 20px;
}

.tv-shell {
  background: linear-gradient(155deg, var(--wood-light), var(--wood) 60%, #2a1c13);
  border-radius: 26px;
  padding: 22px 22px 16px;
  box-shadow:
    0 25px 50px rgba(0,0,0,0.55),
    inset 0 0 0 2px rgba(255,255,255,0.04);
  position: relative;
}

.tv-vents {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 34px;
  height: 60px;
  background-image: repeating-linear-gradient(180deg, rgba(0,0,0,0.5) 0 4px, transparent 4px 8px);
  border-radius: 4px;
  opacity: 0.6;
}

.screen-bezel {
  background: #0c0c0c;
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--screen-black);
  border-radius: 8px;
  overflow: hidden;
}

.player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: black;
  object-fit: contain;
}

.screen-standby {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-dim);
  z-index: 2;
}

.standby-bars {
  width: 70%;
  height: 40%;
  background: repeating-linear-gradient(
    90deg,
    #c0c0c0 0 12%, #c0a000 12% 24%, #00a0c0 24% 36%,
    #00a000 36% 48%, #a000a0 48% 60%, #a00000 60% 72%,
    #0000a0 72% 84%, #202020 84% 100%
  );
  opacity: 0.25;
  border-radius: 4px;
}

.standby-text {
  letter-spacing: 0.25em;
  font-size: 13px;
  margin: 0;
  color: var(--cream);
}

.standby-sub {
  font-size: 11px;
  letter-spacing: 0.15em;
  margin: 0;
  color: var(--amber);
}

.bn-watermark {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 5;
  width: 54px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.8));
}

.scanlines {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.18) 0px,
    rgba(0,0,0,0.18) 1px,
    transparent 2px,
    transparent 3px
  );
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.screen-glass {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.10), transparent 45%),
              radial-gradient(circle at 80% 90%, rgba(0,0,0,0.35), transparent 50%);
}

.channel-static {
  position: absolute;
  inset: 0;
  z-index: 7;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.7) 0px, transparent 1px, transparent 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0px, transparent 2px);
  opacity: 0;
  pointer-events: none;
}

.channel-static.active {
  opacity: 1;
  animation: staticShift 0.25s steps(3) infinite;
}

.on-air {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
  font-size: 10px;
  letter-spacing: 0.15em;
  background: #b41f1f;
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.on-air.live { opacity: 1; }

.control-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px 4px;
}

.control-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.power-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4a4a4a;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.3) inset;
}

.power-dot.on {
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.control-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.channel-readout {
  font-family: "Courier New", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--amber);
  background: #000;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}

.tv-legs {
  height: 18px;
  width: 60%;
  margin: 0 auto;
  background: linear-gradient(#2a1c13, #16110d);
  border-radius: 0 0 8px 8px;
}

/* ---------------------------------------------------------
   CHANNEL CHANGER
--------------------------------------------------------- */
.channel-changer {
  max-width: 760px;
  margin: 26px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}

.channel-btn {
  background: linear-gradient(160deg, #2a2a2a, #151515);
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 8px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.channel-btn:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
}

.channel-btn:active { transform: translateY(0); }

.channel-btn .ch-num {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.channel-btn .ch-name {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.channel-btn.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 8px 18px rgba(255,106,61,0.25);
  background: linear-gradient(160deg, #3a2620, #201410);
}

/* ---------------------------------------------------------
   INFO PANEL
--------------------------------------------------------- */
.info-panel {
  max-width: 720px;
  margin: 10px auto 50px;
  padding: 26px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}

.info-empty {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

.info-genre {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.info-title {
  margin: 0 0 12px;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.info-logline {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.6;
  font-size: 15px;
}

.info-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

.info-deck {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
}

.info-deck:hover { border-color: var(--orange); }

.info-download-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}
.info-download-arrow {
  width: 40px;
  height: 26px;
  color: var(--teal);
  opacity: 0.75;
  flex-shrink: 0;
  animation: nudgeArrow 1.8s ease-in-out infinite;
}
@keyframes nudgeArrow {
  0%, 100% { transform: translateX(0) translateY(0); opacity: 0.55; }
  50% { transform: translateX(4px) translateY(-2px); opacity: 0.9; }
}
.info-download-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.info-download {
  color: var(--teal);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
}
.info-download:hover { border-color: var(--teal); }
.info-download-note {
  margin: 0;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.site-footer {
  text-align: center;
  padding: 20px;
  color: #6b5c49;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.footer-note {
  margin-top: 6px;
  opacity: 0.75;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 760px) {
  .tv-console { margin: 20px auto 8px; }
  .info-panel { margin: 10px auto 40px; }
}

@media (max-width: 640px) {
  .site-header { padding: 28px 16px 8px; }
  .gate { padding: 16px; }
  .gate-screen-inner { padding: 36px 22px; }
  .info-panel { padding: 20px 18px; }
  .control-deck { padding: 10px 4px 2px; }
}

@media (max-width: 520px) {
  .tv-shell { padding: 14px 10px 10px; }
  .tv-vents { width: 24px; height: 44px; top: 12px; right: 14px; }
  .channel-changer { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .channel-btn { padding: 13px 8px; min-height: 44px; }
  .info-title { font-size: 1.35rem; }
  .info-logline { font-size: 14px; }
  .info-links { gap: 14px; }
  .info-download-arrow { width: 32px; height: 22px; }
}

@media (max-width: 380px) {
  .gate-screen-inner { padding: 28px 16px; }
  .gate-logo { width: 78%; }
  .brand-logo { width: 88%; }
  .channel-changer { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .channel-btn .ch-name { font-size: 11.5px; }
  .control-label { display: none; }
  .info-panel { padding: 16px 14px; }
}

@media (max-width: 520px) and (orientation: landscape) {
  .site-header { padding: 12px 16px 4px; }
  .brand-logo { width: 160px; }
  .tv-console { margin: 10px auto 6px; }
}
