:root {
  --bg: #0f172a;
  --surface: #111827;
  --surface-2: #1f2937;
  --text: #e5e7eb;
  --muted: #cbd5e1;
  --brand: #22c55e;
  --brand-2: #06b6d4;
  --accent: #f59e0b;
  --max: 1120px;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: radial-gradient(circle at 15% 10%, #1e293b, var(--bg));
  color: var(--text);
}

a {
  color: #7dd3fc;
}

a:hover {
  color: #bae6fd;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #facc15;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  z-index: 1000;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.86);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid #64748b;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.4rem 0.65rem;
  border-radius: 10px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(34, 197, 94, 0.16);
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.card {
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.86), rgba(17, 24, 39, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.2;
}

.lead {
  color: var(--muted);
}

.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #06251b;
}

.btn-secondary {
  background: transparent;
  border-color: #60a5fa;
  color: #dbeafe;
}

.chip {
  display: inline-block;
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.85rem;
}

section {
  padding: 1.4rem 0;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.schedule-list li {
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.video-card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.5);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.video-card span {
  display: inline-block;
  margin: 0.7rem;
  border: 1px solid rgba(125, 211, 252, 0.6);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: #e2e8f0;
  background: rgba(14, 116, 144, 0.35);
}

.video-card:hover span {
  background: rgba(14, 116, 144, 0.6);
}

.links-list {
  margin: 0;
  padding-left: 1.2rem;
}

.links-list li + li {
  margin-top: 0.35rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: var(--muted);
}

.fine {
  font-size: 0.9rem;
}

.prose h1,
.prose h2,
.prose h3 {
  line-height: 1.3;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  background: #0b1220;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.consent-panel {
  position: fixed;
  z-index: 60;
  inset: auto 1rem 1rem 1rem;
  background: #111827;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.6rem 0;
}

.embed-placeholder {
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 12px;
  padding: 0.8rem;
  color: var(--muted);
  min-height: 220px;
  background:
    linear-gradient(rgba(2, 6, 23, 0.55), rgba(2, 6, 23, 0.75)),
    url("../images/video-placeholder.svg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.5rem;
}

.embed-placeholder a {
  align-self: flex-start;
  color: #f8fafc;
  background: rgba(14, 116, 144, 0.6);
  border: 1px solid rgba(125, 211, 252, 0.6);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
}


@media (max-width: 960px) {
  .hero-grid,
  .grid-2,
  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: rgba(15, 23, 42, 0.97);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    padding: 0.85rem 1rem 1rem;
    display: grid;
    gap: 0.3rem;
  }
}
