/* =========================================================
   KangJJ.live v1.0 — Core Styles
   Dark, broadcast-style, mobile-first
   ========================================================= */

:root {
  --bg: #0b0d10;
  --panel: #141720;
  --text: #e8eaf0;
  --muted: #9aa1b2;
  --accent: #e10600; /* LIVE red */
  --border: #232737;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ================= Header ================= */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(11, 13, 16, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo span {
  color: var(--muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* ================= Navigation ================= */

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.hamburger {
  display: none;
}

/* ================= Hero ================= */

.hero {
  padding: 70px 18px 50px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(225,6,0,0.15), transparent 55%);
}

.hero h1 {
  font-size: 2rem;
  margin-top: 12px;
}

.hero p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1rem;
}

.badge-live {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* ================= Main ================= */

.container {
  padding: 24px 18px 60px;
  max-width: 1000px;
  margin: auto;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
}

.card h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.muted {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* ================= Audio ================= */

audio {
  width: 100%;
  margin-top: 8px;
}

/* ================= Video ================= */

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  background: black;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ================= Schedule ================= */

.schedule {
  list-style: none;
  margin-top: 10px;
}

.schedule li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}

/* ================= Footer ================= */

.footer {
  text-align: center;
  padding: 30px 16px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* ================= Mobile ================= */

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 60px;
    right: 0;
    background: var(--panel);
    flex-direction: column;
    width: 220px;
    height: calc(100% - 60px);
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--border);
  }

  .nav.show {
    transform: translateX(0);
  }

  .hamburger {
    display: inline-block;
  }
}