:root {
  color-scheme: light;
  --bg-1: #d9f5ff;
  --bg-2: #54bde8;
  --bg-3: #1582bd;
  --text: #0b1d2a;
  --muted: #536879;
  --card: rgba(255, 255, 255, 0.86);
  --card-strong: rgba(255, 255, 255, 0.94);
  --border: rgba(255, 255, 255, 0.7);
  --primary: #0f6d9d;
  --primary-dark: #075174;
  --danger: #d7193f;
  --shadow: 0 24px 70px rgba(8, 54, 87, 0.23);
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(255,255,255,0.08) 0 33%, transparent 33% 100%),
    radial-gradient(circle at top right, rgba(255,255,255,0.28), transparent 42%),
    linear-gradient(160deg, var(--bg-3), var(--bg-2) 46%, var(--bg-1));
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("../web_images/bg.png") center/cover no-repeat;
  opacity: 0.20;
  mix-blend-mode: screen;
}

a { color: var(--primary-dark); }

.page-shell {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0 28px;
  display: grid;
  gap: 22px;
  align-content: center;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: #061827;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 920px;
}

.lead {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(6, 24, 39, 0.76);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.logo {
  width: clamp(120px, 16vw, 210px);
  height: auto;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(8, 54, 87, 0.18);
}

.status-card,
.agenda-card {
  padding: clamp(24px, 5vw, 46px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.status-card.is-live {
  background: var(--card-strong);
  border-color: rgba(215, 25, 63, 0.24);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(15, 109, 157, 0.12);
  color: var(--primary-dark);
  font-weight: 800;
}

.status-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
}

.is-live .status-pill {
  background: rgba(215, 25, 63, 0.12);
  color: var(--danger);
}

.is-live .status-pill::before {
  box-shadow: 0 0 0 0 rgba(215, 25, 63, 0.48);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(215, 25, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(215, 25, 63, 0); }
}

.status-card h2,
.agenda-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.stream-time {
  margin: 18px 0 0;
  color: var(--primary-dark);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
}

.countdown {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 28px rgba(7, 81, 116, 0.24);
}

.button--secondary {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 81, 116, 0.13);
}

.redirect-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

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

.agenda-list {
  display: grid;
  gap: 12px;
}

.agenda-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.agenda-date {
  min-width: 76px;
  padding: 9px 10px;
  text-align: center;
  border-radius: 16px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.agenda-date span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
}

.agenda-title {
  margin: 0;
  font-weight: 850;
}

.agenda-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.agenda-link {
  font-weight: 800;
  white-space: nowrap;
}

.footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(6, 24, 39, 0.72);
  font-size: 0.95rem;
  text-align: center;
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 560px);
    padding: 24px 0;
    align-content: start;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .logo {
    justify-self: center;
    order: -1;
  }

  .status-card,
  .agenda-card {
    padding: 22px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .agenda-item {
    grid-template-columns: auto 1fr;
  }

  .agenda-link {
    grid-column: 2;
  }
}

.redirect-note--live {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(215, 25, 63, 0.10);
  color: var(--danger);
  border: 1px solid rgba(215, 25, 63, 0.22);
  font-weight: 850;
}
