:root {
  --bg: #080808;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --bg-dark: rgba(0, 0, 0, 0.28);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.48);
  --line: rgba(255, 255, 255, 0.1);
  --gold: #ffcf49;
  --gold-soft: rgba(255, 207, 73, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #080808;
  background:
    radial-gradient(circle at top, rgba(255, 207, 73, 0.05), transparent 25%),
    linear-gradient(180deg, #070707 0%, #0b0b0b 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(8, 8, 8, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 56px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, #fff0a8 100%);
  color: #000;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(255, 207, 73, 0.22);
  flex-shrink: 0;
}

.brand-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-soft);
  font-weight: 600;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.page-content {
  padding-top: 32px;
  padding-bottom: 48px;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: 30px;
}

.home-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}

.hero-main h1 {
  margin: 10px 0 0;
  font-size: clamp(2.55rem, 4.7vw, 4.45rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.lead {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.78;
}

.top-side-stack {
  display: grid;
  gap: 20px;
  align-content: stretch;
}

.compact-status-card,
.compact-schedule-card {
  padding: 24px;
}

.status-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.compact-status-card h2 {
  margin: 10px 0 0;
  font-size: 2.1rem;
  line-height: 1;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04);
}

.status-dot.is-online {
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.12);
}

.status-dot.is-offline {
  background: #f87171;
  box-shadow: 0 0 0 6px rgba(248, 113, 113, 0.12);
}

.status-mini-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mini-info {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-dark);
}

.mini-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-info strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  word-break: break-word;
}

.compact-schedule-list {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  margin-top: 18px;
  width: 100%;
}

.compact-schedule-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-dark);
  color: var(--text);
  font-weight: 700;
}

.eyebrow,
.text-sm-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(255, 207, 73, 0.22);
  color: #ffe39a;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.socials-label {
  width: fit-content;
  align-self: flex-start;
}

.card-label {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button-row,
.stream-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.btn-primary {
  background: var(--gold);
  color: #1b1b1b;
}

.btn.btn-primary:hover {
  background: #ffd65c;
  color: #111111;
}

.btn.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--line);
}

.btn.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.small-btn {
  min-height: 46px;
  padding: 0 18px;
}

.home-bottom-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: stretch;
}

.socials-panel,
.stream-panel {
  height: 100%;
}

.section-title-large {
  margin: 16px 0 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.socials-panel {
  display: flex;
  flex-direction: column;
}

.social-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  flex: 1;
}

.social-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.22);
  transition: 0.22s ease;
}

.social-item:hover {
  border-color: rgba(255, 207, 73, 0.28);
  transform: translateY(-2px);
}

.social-item strong {
  display: block;
  font-size: 1rem;
  color: var(--gold);
}

.social-item p {
  margin: 8px 0 0;
  color: var(--text-faint);
  line-height: 1.5;
}

.social-item span {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.social-item-disabled {
  opacity: 0.82;
}

.social-item-disabled:hover {
  transform: none;
}

/* ── Stream header with live badge ─────────────────────────────────────────── */
.stream-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  flex-shrink: 0;
  margin-top: 4px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  flex-shrink: 0;
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── Video player ───────────────────────────────────────────────────────────── */
.video-wrap {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  margin-top: 24px;
  aspect-ratio: 16 / 9;
}

.video-wrap iframe,
.video-wrap video,
.video-wrap .video-js {
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

/* Override Video.js skin to blend with dark theme */
.video-js {
  background: transparent;
}

.vjs-default-skin .vjs-big-play-button {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(0, 0, 0, 0.5);
}

.vjs-default-skin:hover .vjs-big-play-button {
  background: rgba(255, 207, 73, 0.15);
}

.embed-note {
  margin: 16px 0 0;
  color: var(--text-faint);
  line-height: 1.8;
}

/* ── Background glows ───────────────────────────────────────────────────────── */
.background-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
  z-index: -1;
}

.glow-1 {
  top: -100px;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translateX(-50%);
  background: rgba(255, 207, 73, 0.14);
}

.glow-2 {
  top: 30%;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.05);
}

.glow-3 {
  bottom: -100px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 207, 73, 0.08);
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .home-top-grid,
  .home-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 72px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.95rem;
  }

  .brand {
    gap: 20px;
  }

  .brand-text {
    font-size: 1.35rem;
  }

  .panel {
    padding: 22px;
  }

  .hero-main h1 {
    font-size: 2.7rem;
  }

  .social-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-row,
  .stream-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  html, body {
    min-height: 100%;
    overscroll-behavior-y: none;
  }

  .background-glow {
    display: none;
  }
}
