:root {
  --ink: #0b0d0f;
  --surface: #11161c;
  --surface-2: #19222b;
  --glow: #64f0ff;
  --accent: #ff9f1a;
  --accent-2: #e84a5f;
  --text: #e9f1f7;
  --muted: #9bb0c6;
  --grid: rgba(100, 240, 255, 0.08);
}

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

body {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 10%, rgba(255, 159, 26, 0.12), transparent 50%),
    radial-gradient(circle at 80% 0%, rgba(100, 240, 255, 0.12), transparent 45%),
    linear-gradient(135deg, #0b0d0f 0%, #0f1318 45%, #0b0d0f 100%);
  color: var(--text);
  font-family: "Space Mono", "IBM Plex Mono", "SFMono-Regular", monospace;
  padding: 32px 24px 48px;
}

.scanline {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(transparent 96%, rgba(100, 240, 255, 0.05) 98%);
  background-size: 100% 6px;
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: scan 10s linear infinite;
  z-index: 0;
}

@keyframes scan {
  0% { transform: translateY(0); }
  100% { transform: translateY(6px); }
}

.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.brand {
  max-width: 480px;
}

.logo {
  font-family: "Bebas Neue", "Oswald", "Impact", sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--glow);
  text-shadow: 0 0 18px rgba(100, 240, 255, 0.3);
}

.tag {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}

.auth {
  background: rgba(17, 22, 28, 0.8);
  border: 1px solid rgba(100, 240, 255, 0.2);
  padding: 16px;
  border-radius: 12px;
  min-width: 260px;
}

.auth label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.token-row {
  display: flex;
  gap: 8px;
}

input[type="password"] {
  flex: 1;
  background: var(--surface);
  border: 1px solid rgba(100, 240, 255, 0.2);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
}

button {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #1a0b00;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(255, 159, 26, 0.4);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.token-status {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(100, 240, 255, 0.15);
  border-radius: 16px;
  padding: 18px;
  min-height: 240px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.panel-header h2 {
  font-family: "Bebas Neue", "Oswald", "Impact", sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
}

.actions {
  display: flex;
  gap: 8px;
}

.now-content {
  border-left: 3px solid var(--glow);
  padding-left: 12px;
}

.now-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.now-meta {
  color: var(--muted);
  font-size: 14px;
}

.schedule-list,
.show-list {
  display: grid;
  gap: 10px;
}

.card {
  background: var(--surface-2);
  border: 1px solid rgba(100, 240, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
}

.card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.transcript-body {
  background: #0b0f14;
  color: #d9e6f2;
  border-radius: 12px;
  padding: 14px;
  font-size: 12px;
  max-height: 340px;
  overflow: auto;
  border: 1px solid rgba(100, 240, 255, 0.15);
}

.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  body {
    padding: 24px 16px 40px;
  }

  .panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
