/* ============================================================
   Kora Live — Layout: Header, Footer, Container
   ============================================================ */

/* ---- Container --------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header ------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 8px 20px -8px var(--primary);
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo span b  { color: var(--primary); }

/* Nav links */
.nav-links { display: none; gap: 28px; }
.nav-links a {
  position: relative;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: .2s;
}
.icon-btn:hover { background: var(--surface-2); transform: translateY(-1px); }
.icon-btn svg   { width: 18px; height: 18px; }

/* Language button — wider, shows label text */
.lang-btn { padding: 0 14px; width: auto; font-weight: 700; font-size: .85rem; gap: 6px; }

@media (min-width: 860px) { .nav-links { display: flex; } }

/* ---- Footer ------------------------------------------------ */
.footer {
  margin-top: 60px;
  padding: 50px 0 30px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.5fr 1fr 1fr;
  margin-bottom: 30px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
  color: var(--muted);
}
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer li a { color: var(--text); font-weight: 500; transition: color .2s; }
.footer li a:hover { color: var(--primary); }
.footer p { color: var(--muted); line-height: 1.6; margin-top: 10px; max-width: 360px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: .85rem;
}

.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  transition: .2s;
}
.socials a:hover { background: var(--grad); color: white; transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

/* ---- Mobile nav adjustments -------------------------------- */
@media (max-width: 640px) {
  .nav   { height: 60px; }
  .logo  { font-size: 1.1rem; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-mark svg { width: 20px; height: 20px; }
}
