/* ===== Base ===== */
:root {
  --bg: #0b0d10;
  --panel: #12161b;
  --muted: #8b97a3;
  --text: #e6edf3;
  --accent: #66d9ef;
  --ring: rgba(102,217,239,0.25);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  background: linear-gradient(180deg, #0a0c10 0%, #0c1015 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }
.muted { color: var(--muted); }
.h2 { margin: 14px 0 6px; font-size: 22px; letter-spacing:.3px; }

/* ===== Header ===== */
header { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(8px); background: linear-gradient(180deg, rgba(11,13,16,0.85), rgba(11,13,16,0.65)); border-bottom: 1px solid rgba(255,255,255,0.06); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 36px; height: 36px; border-radius: 12px; background: radial-gradient(70% 70% at 30% 30%, #1f3a5a, #0b0d10); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,0.35); }
.logo svg { opacity: 0.8; }
.brand h1 { font-size: 18px; margin: 0; letter-spacing: 0.4px; }
.brand .sub { font-size:12px; margin-top:2px; }
.mainnav { display:flex; gap:18px; font-size:14px; }

/* ===== Filters ===== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { padding: 8px 14px; border-radius: 999px; font-size: 14px; cursor: pointer; background: var(--panel); color: var(--muted); border: 1px solid rgba(255,255,255,0.06); transition: transform .15s ease, color .15s ease, background .15s ease, border-color .15s ease; }
.chip:hover { transform: translateY(-1px); color: var(--text); border-color: rgba(255,255,255,0.12); }
.chip.active { background: rgba(102,217,239,0.08); color: var(--text); border-color: var(--ring); box-shadow: 0 0 0 4px var(--ring); }

/* ===== Gallery ===== */
.gallery { margin-top: 26px; display: grid; gap: 12px; grid-template-columns: repeat(12, 1fr); }
.card { position: relative; overflow: hidden; border-radius: 16px; background: #0f141a; border: 1px solid rgba(255,255,255,0.06); cursor: zoom-in; min-height: 160px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.12); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; left: 10px; top: 10px; font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,0.55); color: #dce7f3; border: 1px solid rgba(255,255,255,0.1); }
.titlebar { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); font-size: 13px; display: flex; justify-content: space-between; align-items: center; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; z-index: 50; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 16px; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lb-meta { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--muted); text-align: center; }
.lb-close, .lb-nav { position: fixed; top: 14px; right: 16px; display: flex; gap: 8px; }
.iconbtn { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: #eaf1f7; border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.iconbtn:hover { background: rgba(255,255,255,0.12); }
.nav-left { left: 16px; right: auto; top: 50%; transform: translateY(-50%); }
.nav-right { right: 16px; top: 50%; transform: translateY(-50%); }

/* ===== Footer ===== */
footer { margin-top: 40px; padding: 28px 0 40px; color: var(--muted); border-top: 1px solid rgba(255,255,255,0.07); }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.socials { display: flex; gap: 14px; }
.about-blurb { margin-top: 18px; }

/* ===== Responsive ===== */
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } .filters { gap: 8px; } }
