:root {
  --bg: #08111b;
  --surface: rgba(8, 17, 27, 0.82);
  --surface-strong: #0e1823;
  --surface-soft: #122230;
  --line: rgba(255, 255, 255, 0.12);
  --text: #edf4fa;
  --muted: #a4bacb;
  --brand-blue: #1e95d5;
  --brand-blue-soft: #4cb5e8;
  --brand-orange: #ff6c21;
  --success: #7df0a3;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(30, 149, 213, 0.18), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(255, 108, 33, 0.18), transparent 28%),
    linear-gradient(180deg, #07101a 0%, #08111b 38%, #0b1622 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead,
.section-heading p,
.subtle,
.stream-note,
.resident-card__body p,
.auth-card__meta p {
  color: var(--muted);
  line-height: 1.6;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand__text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 100%);
  color: #fff;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.text-link {
  color: var(--brand-blue-soft);
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 480px);
  min-height: 100vh;
}

.login-stage {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.login-stage__image,
.hero-section__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-stage__backdrop,
.hero-section__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.1), rgba(8, 17, 27, 0.18) 24%, rgba(8, 17, 27, 0.72) 62%, rgba(8, 17, 27, 0.94) 100%),
    linear-gradient(180deg, rgba(6, 11, 17, 0.62) 0%, rgba(6, 11, 17, 0.84) 100%),
    linear-gradient(90deg, rgba(8, 17, 27, 0.97) 0%, rgba(8, 17, 27, 0.86) 38%, rgba(8, 17, 27, 0.54) 68%, rgba(8, 17, 27, 0.38) 100%);
}

.login-stage__content {
  position: relative;
  z-index: 1;
  width: min(600px, calc(100% - 48px));
  padding: 44px 38px 52px;
  margin: 0 auto;
  margin-left: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 17, 27, 0.86) 0%, rgba(8, 17, 27, 0.76) 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
}

.login-stage h1,
.hero-section h1 {
  margin: 0 0 18px;
  max-width: 9.5ch;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.login-stage .lead,
.login-stage .value-list li,
.login-stage .brand__text {
  color: rgba(255, 255, 255, 0.92);
}

.login-stage .lead {
  max-width: 42ch;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
}

.login-stage .eyebrow,
.login-stage .value-list {
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

.value-list {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  position: relative;
  padding-left: 24px;
  color: #dbe7f1;
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 100%);
}

.auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 34, 48, 0.95) 0%, rgba(9, 18, 27, 0.95) 100%);
  box-shadow: var(--shadow);
}

.auth-card h2,
.section-heading h2,
.resident-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 20px;
}

.auth-tab {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.auth-tab.is-active {
  background: rgba(30, 149, 213, 0.18);
  border-color: rgba(76, 181, 232, 0.35);
}

.auth-panel {
  display: none;
}

.auth-panel.is-active {
  display: block;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.95rem;
  font-weight: 600;
}

.field input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.field input::placeholder {
  color: rgba(237, 244, 250, 0.42);
}

.auth-card__meta {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  background: rgba(6, 12, 18, 0.7);
}

.site-header__inner,
.section-heading,
.content-section,
.hero-section__content,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
}

.hero-section {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
}

.hero-section__content {
  position: relative;
  z-index: 1;
  padding: 130px 0 120px;
}

.hero-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.content-section {
  padding: 90px 0;
}

.content-section--stream {
  padding-top: 72px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.stream-layout,
.song-card,
.twitch-layout {
  display: grid;
  gap: 24px;
}

.stream-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.stream-card,
.song-card,
.placeholder-panel,
.resident-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 34, 48, 0.94) 0%, rgba(9, 18, 27, 0.94) 100%);
  box-shadow: var(--shadow);
}

.stream-card,
.placeholder-panel,
.resident-card,
.song-card {
  padding: 24px;
}

.stream-card__status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 700;
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--brand-orange);
  box-shadow: 0 0 0 0 rgba(255, 108, 33, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 108, 33, 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(255, 108, 33, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 108, 33, 0);
  }
}

.audio-player {
  width: 100%;
}

.stream-tech {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 14px;
}

.stream-tech div,
.song-meta div {
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.stream-tech dt,
.song-meta dt {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stream-tech dd,
.song-meta dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.stream-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 100%;
}

.stream-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.stream-visual__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(8, 17, 27, 0.76);
  backdrop-filter: blur(14px);
}

.song-card {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
}

.song-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(30, 149, 213, 0.2), rgba(255, 108, 33, 0.15));
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.song-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.affiliate-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.affiliate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.placeholder-panel {
  display: grid;
  gap: 10px;
  min-height: 220px;
  place-content: center;
  text-align: center;
}

.placeholder-panel strong {
  font-size: 1.2rem;
}

.placeholder-panel span {
  color: var(--muted);
  line-height: 1.6;
}

.placeholder-panel--dark {
  background:
    radial-gradient(circle at top, rgba(30, 149, 213, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(9, 18, 27, 0.98) 0%, rgba(11, 20, 31, 0.98) 100%);
}

.twitch-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.resident-card__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(30, 149, 213, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(10, 19, 30, 1) 0%, rgba(9, 18, 27, 1) 100%);
}

.resident-card__image {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.resident-card__logo {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(220px, 38%);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.resident-card__body {
  padding-top: 20px;
}

.site-footer {
  padding: 26px 0 40px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1100px) {
  .login-layout,
  .stream-layout,
  .song-card,
  .twitch-layout {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    padding-top: 0;
  }

  .login-stage__content {
    margin-left: auto;
  }

  .song-card {
    justify-items: start;
  }

  .song-cover {
    width: min(100%, 260px);
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    align-items: flex-start;
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
  }

  .login-stage__content,
  .hero-section__content,
  .content-section,
  .section-heading,
  .site-footer {
    width: min(100vw - 24px, 100%);
  }

  .login-stage__content,
  .hero-section__content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .login-stage__content {
    width: min(100% - 24px, 100%);
    padding: 28px 20px 34px;
  }

  .content-section,
  .section-heading,
  .site-footer {
    width: min(1180px, calc(100vw - 24px));
  }

  .auth-shell {
    padding: 12px;
  }

  .auth-card {
    padding: 20px;
  }

  .auth-tabs,
  .stream-tech,
  .song-meta {
    grid-template-columns: 1fr;
  }

  .hero-section__actions,
  .affiliate-links {
    flex-direction: column;
  }

  .button,
  .affiliate-link {
    width: 100%;
  }
}
