/* ============ Reset + base ============ */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
a { color: #fff; text-decoration: none; }
.subtle { opacity: .8; font-size: .95em; }

/* ============ Animated page backgrounds (per page) ============ */
body {
  min-height: 100vh;
  background-size: 400% 400%;
  animation: lunakoWave 16s ease infinite;
}
@keyframes lunakoWave {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* exact palettes per page */
.page-home   { background-image: linear-gradient(-45deg, #86003e, #550329, #7a0036, #5f1033); }
.page-admin  { background-image: linear-gradient(-45deg, #291750, #3f1c6b, #2f1e60, #4a2680); }
.page-mod    { background-image: linear-gradient(-45deg, #570f0f, #801a13, #6b1212, #92211a); }
.page-login  { background-image: linear-gradient(-45deg, #9700de, #00d5dc, #6b41e5, #14b8c4); }
.page-socials{ background-image: linear-gradient(-45deg, #019795, #116c6a, #00a6a3, #0d5f5d); }

/* --- NAV: split left/right, sticky bar --- */
.nav{
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 12px 16px;
  background: rgba(0,0,0,.35); color:#fff; backdrop-filter: blur(4px);
  border-bottom: 3px solid rgba(255,255,255,.08);
}
.nav a{ color:#fff; text-decoration:none; font-weight:600; }
.nav a:hover{ opacity:.85; }
.nav-left,.nav-right{ display:flex; gap:18px; align-items:center; }

/* --- CONTAINER: wider, tighter to left --- */
.container{ max-width: 1400px; margin: 0 auto; padding: 12px; }

/* Home two-column layout: make schedule a bit skinnier but on left */
.container.grid-2{
  display: grid;
  grid-template-columns: 1.35fr 1fr;   /* schedule column is narrower than before */
  gap: 18px;
  padding: 12px;
}

/* Cards/sections */
.section{
  color:#fff;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,.18);
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 10px 0;
}
.section h2 { margin: 0 0 10px; }

/* Panels grid (admin/mod) */
.panels { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.panel  { background: rgba(0,0,0,.22); padding:14px; border-radius:10px; }

/* Buttons / inputs */
.btnbar { display:flex; gap:12px; justify-content:center; align-items:center; flex-wrap:wrap; }
.btn    { background:#191b24; color:#fff; border:0; padding:10px 14px; border-radius:10px; cursor:pointer; font-weight:600; }
.btn:disabled{ opacity:.5; cursor:not-allowed; }
.input, select { background:#191b24; color:#fff; border:0; padding:10px 12px; border-radius:10px; }

/* Lists */
#scheduleList { padding-left: 18px; }

/* Responsive */
@media (max-width: 900px){
  .container.grid-2 { grid-template-columns: 1fr; }
}
