:root {
  --bg: #000000;
  --panel: #050505;
  --muted: #9aa4b2;
  --neon-blue: #39f;
  --neon-purple: #9b59ff;
  --neon-red: #ff3b6b;
  --glass: rgba(255, 255, 255, 0.02);
}

/* Reset & base */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, #000 0%, #040404 60%);
  color: #e7eef8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

/* Page layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
  backdrop-filter: blur(6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.12), 0 0 18px var(--neon-blue);
  transform: translateZ(0);
}

.brand h1 {
  font-size: 22px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Nav */
nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all .18s ease;
}

nav a:hover {
  color: #fff;
  transform: translateY(-2px);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

/* Primary CTA */
.cta-primary {
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  color: #041226;
  font-weight: 700;
  box-shadow: 0 6px 30px rgba(155, 89, 255, 0.12), 0 0 14px var(--neon-blue);
  border: none;
  cursor: pointer;
}

/* Main / shell */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
}

.shell {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* Player card */
.player-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 40px rgba(57, 153, 255, 0.03);
}

/* Player area */
.player {
  width: 100%;
  height: 480px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.025);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.8), 0 0 36px rgba(155, 89, 255, 0.04) inset;
  background:
    radial-gradient(800px 120px at 10% 0%, rgba(155, 89, 255, 0.06), transparent 12%),
    radial-gradient(600px 120px at 90% 100%, rgba(255, 59, 107, 0.04), transparent 12%),
    linear-gradient(180deg, #040404, #080808);
}

/* Poster / placeholder inside player */
.player .poster {
  width: 92%;
  height: 92%;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  color: #dfeeff;
  background-image: linear-gradient(90deg, rgba(60, 60, 60, 0.05), rgba(0, 0, 0, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.7);
}

.poster h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.poster p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Play button (center) */
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 8px 30px rgba(57, 153, 255, 0.12),
    0 0 28px rgba(57, 153, 255, 0.22),
    0 0 80px rgba(155, 89, 255, 0.06);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: transform .12s ease;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

/* Play triangle */
.play-icon {
  width: 0;
  height: 0;
  border-left: 18px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
}

/* Right controls column */
.controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 28px;
}

/* Generic card used in controls */
.card {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Form elements */
label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.input,
select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  color: #f6fbff;
  font-size: 14px;
}

.row {
  display: flex;
  gap: 10px;
}

.row .input {
  flex: 1;
}

/* Button variants */
.btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

.btn-blue {
  background: linear-gradient(90deg, var(--neon-blue), #60a5fa);
  color: #041226;
  box-shadow: 0 10px 40px rgba(57, 153, 255, 0.12), 0 0 24px rgba(57, 153, 255, 0.18);
}

.btn-purple {
  background: linear-gradient(90deg, var(--neon-purple), #6f42c1);
  color: #041226;
  box-shadow: 0 10px 40px rgba(155, 89, 255, 0.12), 0 0 24px rgba(155, 89, 255, 0.18);
}

.btn-red {
  background: linear-gradient(90deg, var(--neon-red), #ff6b95);
  color: #041226;
  box-shadow: 0 10px 40px rgba(255, 59, 107, 0.12), 0 0 24px rgba(255, 59, 107, 0.18);
}

/* Filler text section */
.filler {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 20px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .player {
    height: 360px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 12px;
  }
  .player {
    height: 260px;
  }
  .brand h1 {
    font-size: 14px;
  }
}

/* Subtle animated neon background */
.neon-lines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0.06;
  background-image:
    radial-gradient(800px 80px at 10% 10%, var(--neon-purple), transparent 10%),
    radial-gradient(600px 80px at 90% 90%, var(--neon-red), transparent 8%),
    radial-gradient(700px 120px at 50% 20%, var(--neon-blue), transparent 9%);
  z-index: 0;
}
