:root {
  --bg-deep: #0f1419;
  --bg-card: #1a2332;
  --bg-elevated: #243044;
  --accent: #7ec8a3;
  --accent-warm: #e8b86d;
  --accent-soft: #a8d5ba;
  --text: #f0f4f8;
  --text-muted: #94a3b8;
  --gradient-hero: linear-gradient(135deg, #1a2f3d 0%, #0f1419 45%, #1e3a2f 100%);
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-soft); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-warm); }

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(126, 200, 163, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), #3d7a5c);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.nav-main {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.nav-main a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-main a:hover { color: var(--text); }

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4a9d72);
  color: #0a1210;
  box-shadow: 0 8px 24px rgba(126, 200, 163, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #0a1210;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent-soft); }

.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(126, 200, 163, 0.12), transparent),
              radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232, 184, 109, 0.08), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(126, 200, 163, 0.15);
  border: 1px solid rgba(126, 200, 163, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent-soft);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero h1 span { color: var(--accent); }

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats dt { font-size: 1.75rem; font-weight: 700; color: var(--accent-warm); }
.hero-stats dd { font-size: 0.85rem; color: var(--text-muted); }

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
  background: var(--bg-card);
}

.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(15,20,25,0.85) 0%, transparent 50%);
}

.live-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #e63946;
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.live-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--bg-deep);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

/* Sections */
section { padding: 4rem 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-head h2 { font-size: 1.75rem; font-weight: 700; }
.section-head p { color: var(--text-muted); max-width: 28rem; }

.link-more { font-weight: 600; font-size: 0.95rem; white-space: nowrap; }

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.08);
  transition: transform 0.25s, border-color 0.25s;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 200, 163, 0.35);
}

.thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-elevated);
  overflow: hidden;
}

.thumb-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2d4a3e, #1a2332);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.thumb-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.75);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.video-card-body { padding: 1rem 1.1rem 1.25rem; }

.video-card h3 { font-size: 1rem; margin-bottom: 0.35rem; line-height: 1.35; }

.meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.2rem 0.55rem;
  background: rgba(126, 200, 163, 0.12);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--accent-soft);
}

/* Categories */
.categories {
  background: var(--bg-card);
  border-top: 1px solid rgba(148, 163, 184, 0.06);
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.cat-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  text-align: center;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--accent);
  background: rgba(126, 200, 163, 0.08);
}

.cat-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.cat-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.cat-card p { font-size: 0.8rem; color: var(--text-muted); }

/* Schedule */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.schedule-time {
  font-weight: 700;
  color: var(--accent-warm);
  min-width: 5rem;
}

.schedule-item h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.schedule-item p { font-size: 0.9rem; color: var(--text-muted); }

.badge-soon {
  padding: 0.35rem 0.75rem;
  background: rgba(232, 184, 109, 0.15);
  color: var(--accent-warm);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p { color: var(--text-muted); margin-bottom: 1rem; }

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.about-visual {
  border-radius: var(--radius);
  padding: 2rem;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid rgba(126, 200, 163, 0.2);
}

.quote {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.quote-author { font-size: 0.9rem; color: var(--accent-soft); }

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: #0a0e12;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social { display: flex; gap: 1rem; }

@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-main, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: block; }
  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    padding: 1rem 4vw;
    border-bottom: 1px solid rgba(148,163,184,0.15);
  }
  .schedule-item { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
