@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@600;700;800&display=swap');

:root {
  --bg: #07111f;
  --ink: #f4f7fb;
  --muted: #9bb0c9;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #1f6feb;
  --accent-bright: #4da3ff;
  --glow: rgba(31, 111, 235, 0.45);
  --font-display: Sora, 'Segoe UI', sans-serif;
  --font-body: Manrope, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.9;
  }
}

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  overflow-y: visible;
  padding: 28px clamp(20px, 4vw, 56px) 48px;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(31, 111, 235, 0.28), transparent 60%),
    radial-gradient(700px 480px at 92% 8%, rgba(77, 163, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #07111f 0%, #0a1628 48%, #07111f 100%);
}

.glow,
.glow-right {
  pointer-events: none;
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  animation: pulse-glow 6s ease-in-out infinite;
}

.glow {
  width: 280px;
  height: 280px;
  top: 18%;
  left: 8%;
  background: var(--glow);
}

.glow-right {
  width: 360px;
  height: 360px;
  top: 8%;
  right: -4%;
  background: rgba(77, 163, 255, 0.22);
  animation-delay: 1.4s;
}

.top {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(28px, 6vh, 64px);
  animation: rise-in 0.7s ease both;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: min(70vh, 640px);
}

.copy {
  animation: rise-in 0.8s ease both;
  animation-delay: 0.08s;
}

.title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 12vw, 7.5rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.tagline {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 600;
  color: var(--accent-bright);
}

.lead {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.98rem;
  background: linear-gradient(180deg, #3d8dff 0%, #1f6feb 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(31, 111, 235, 0.35);
}

.visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 28px 12px 36px;
  min-height: min(72vw, 380px);
  animation: rise-in 0.9s ease both;
  animation-delay: 0.16s;
}

.orb {
  position: absolute;
  width: min(70vw, 360px);
  height: min(70vw, 360px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(circle at 50% 55%, rgba(31, 111, 235, 0.55), transparent 68%);
  filter: blur(8px);
  animation: pulse-glow 5.5s ease-in-out infinite;
}

.icon {
  position: relative;
  width: min(58vw, 280px);
  height: auto;
  border-radius: 28%;
  animation: float-soft 5.5s ease-in-out infinite;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.45));
}

.download {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 10vh, 96px);
  max-width: 560px;
  animation: rise-in 0.8s ease both;
  animation-delay: 0.24s;
}

.download-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.download-text,
.note,
.muted {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.path {
  color: var(--accent-bright);
  font-weight: 600;
}

.footer {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-page,
.live-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(31, 111, 235, 0.22), transparent 60%),
    radial-gradient(700px 480px at 92% 18%, rgba(77, 163, 255, 0.12), transparent 55%),
    var(--bg);
}

.profile-wrap {
  width: min(100%, 420px);
}

.profile-wrap--wide {
  width: min(100%, 640px);
  display: grid;
  gap: 28px;
}

.profile-card,
.live-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 28px;
  animation: rise-in 0.55s ease both;
}

.profile-card .avatar {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 20px;
}

.profile-card .fallback,
.live-host-avatar.fallback,
.live-cover.fallback,
.archive-thumb.fallback {
  display: grid;
  place-items: center;
  background: #1b2b44;
  font-size: 40px;
  font-weight: 700;
  color: var(--accent-bright);
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.profile-card h1,
.live-body h1 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
}

.handle {
  margin: 10px 0 0;
  color: var(--muted);
}

.profile-actions,
.live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #4da3ff 0%, #1f6feb 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 111, 235, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-bright);
  border: 1px solid rgba(77, 163, 255, 0.35);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
}

.back {
  margin: 22px 0 0;
}

.back a {
  color: var(--accent-bright);
  font-weight: 600;
}

.live-wrap {
  width: min(100%, 560px);
}

.live-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.live-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #122033;
}

.live-cover.fallback {
  font-size: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(77, 163, 255, 0.35), transparent 45%),
    linear-gradient(160deg, #13253d, #0b1626);
}

.live-body {
  padding: 28px 24px 32px;
}

.live-body h1 {
  font-size: clamp(1.55rem, 4vw, 2rem);
}

.status-pill {
  display: inline-flex;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-live {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}

.status-away {
  background: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
}

.status-scheduled {
  background: rgba(77, 163, 255, 0.16);
  color: var(--accent-bright);
}

.status-ended {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.live-host {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 600;
}

.live-host-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
}

.live-host-avatar.fallback {
  font-size: 16px;
}

.live-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.live-stats .dot {
  opacity: 0.55;
}

.replay-player {
  margin-top: 20px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.replay-label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.replay-player audio {
  width: 100%;
}

.archive h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.archive-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.archive-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(77, 163, 255, 0.35);
}

.archive-thumb,
.archive-thumb img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: #122033;
}

.archive-thumb.fallback {
  font-size: 0;
}

.archive-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.archive-meta strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.archive-meta span {
  color: var(--muted);
  font-size: 0.86rem;
}

.archive-badge {
  display: inline-flex;
  margin-top: 4px;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(77, 163, 255, 0.14);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
  }

  .visual {
    order: -1;
    padding-top: 12px;
    padding-bottom: 20px;
    min-height: min(68vw, 320px);
  }

  .title {
    font-size: clamp(3.6rem, 18vw, 5.2rem);
  }
}
