:root {
  --primary: #3996e4;
  --primary-dark: #2478c4;
  --blue-950: #0a2f4f;
  --flag-green: #009241;
  --flag-green-dark: #007536;
  --ink: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --bg: #f2f7fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 47, 79, 0.08);
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: Manrope, "Segoe UI", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
}

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

p,
h1 {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--white);
  color: #555;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding: 8px 0;
}

.topbar-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.topbar-contacts a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.topbar-hours {
  margin: 0;
  max-width: 520px;
  text-align: right;
  font-size: 13px;
}

.site-header {
  background: var(--white);
}

.header-bar {
  display: flex;
  align-items: center;
  padding: 16px 0;
}

.logo-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 11px 12px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.logo-card-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.logo-card-text {
  display: flex;
  flex-direction: column;
}

.logo-card-kicker {
  color: var(--flag-green-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-card-city {
  color: var(--primary);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.site-nav {
  background: var(--flag-green-dark);
  color: var(--white);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 48px;
  font-weight: 600;
}

.site-nav a:hover {
  text-decoration: underline;
}

.nav-current {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--white);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.live-pill[data-state="live"] .dot {
  background: #ff5a4f;
  box-shadow: 0 0 0 0 rgba(255, 90, 79, 0.7);
  animation: pulse 1.6s infinite;
}

.live-pill[data-state="connecting"] .dot,
.live-pill[data-state="starting"] .dot {
  background: #ffe08a;
}

main {
  flex: 1;
  padding: 36px 0 56px;
}

.page-intro {
  margin-bottom: 22px;
}

.eyebrow {
  color: var(--flag-green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 4px 0 6px;
  color: var(--blue-950);
  font-family: var(--display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.page-intro p:last-child {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.player-card {
  overflow: hidden;
  border: 1px solid rgba(10, 47, 79, 0.08);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--blue-950);
}

video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #061826;
}

.overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--white);
  background: rgba(10, 47, 79, 0.72);
}

.overlay[hidden] {
  display: none;
}

.overlay-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
}

.overlay-detail {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.82);
}

.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn-light {
  background: var(--white);
  color: var(--blue-950);
}

.site-footer {
  color: var(--white);
  background:
    radial-gradient(1200px 320px at 12% 20%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(900px 280px at 88% 80%, rgba(0, 146, 65, 0.22), transparent 50%),
    linear-gradient(115deg, #3996e4 0%, #2478c4 42%, #0a2f4f 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: 36px 0 28px;
}

.footer-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-city {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.footer-hours,
address {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
}

.footer-bottom {
  background: rgba(10, 47, 79, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.footer-bottom .container {
  padding: 14px 0;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(255, 90, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 79, 0);
  }
}

@media (max-width: 800px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .topbar-inner,
  .player-bar,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    display: flex;
  }

  .topbar-hours {
    max-width: none;
    text-align: left;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 0;
  }

  .live-pill {
    margin-left: 0;
  }

  h1 {
    font-size: 32px;
  }

  .logo-card-city {
    font-size: 24px;
  }
}
