:root {
  --bg: #07080b;
  --bg-2: #0e1015;
  --panel: #12151b;
  --line: #1f242e;
  --text: #e9ecf1;
  --muted: #8a93a3;
  --teal: #1fae96;
  --teal-dim: #167a6a;
  --red: #ff2d4f;
  --blue: #2f5bff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Bebas Neue', 'Impact', sans-serif; letter-spacing: .04em; font-weight: 400; margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

/* ambient neon glow, like the studio lighting in the photos */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 0% 0%, rgba(255,45,79,.14), transparent 70%),
    radial-gradient(60vw 60vh at 100% 10%, rgba(47,91,255,.16), transparent 70%),
    radial-gradient(50vw 40vh at 50% 110%, rgba(31,174,150,.10), transparent 70%);
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(7,8,11,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.9rem; letter-spacing: .12em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--teal); }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600;
  transition: .2s;
}
.nav ul a:hover, .nav ul a.active { color: var(--text); background: var(--panel); }
.nav ul a.active { box-shadow: inset 0 -2px 0 var(--teal); }

/* hero */
.hero {
  position: relative; min-height: 78vh;
  display: flex; align-items: flex-end;
  padding: clamp(24px, 5vw, 64px);
  overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  opacity: .75;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 4%, rgba(7,8,11,.35) 55%, rgba(7,8,11,.7));
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: .3em; font-size: .78rem; font-weight: 700; }
.hero h1 { font-size: clamp(5rem, 18vw, 13rem); line-height: .85; margin: 8px 0 14px; text-shadow: 0 0 40px rgba(47,91,255,.4); }
.hero p { color: #c3c9d4; font-size: 1.1rem; max-width: 520px; margin: 0 0 24px; }
.paws { display: inline-block; transform: rotate(-12deg); }

.btn {
  display: inline-block; border: 1px solid var(--teal); background: var(--teal); color: #031512;
  padding: 11px 24px; border-radius: 999px; font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  font-family: inherit; transition: .2s;
}
.btn:hover { box-shadow: 0 0 24px rgba(31,174,150,.5); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: #3a4150; }
.btn.ghost:hover { border-color: var(--teal); box-shadow: none; }
.btn.danger { background: transparent; border-color: var(--red); color: var(--red); }
.btn.danger:hover { background: var(--red); color: #fff; box-shadow: 0 0 20px rgba(255,45,79,.4); }
.btn.small { padding: 6px 14px; font-size: .7rem; }

/* gallery */
.section { padding: clamp(32px, 6vw, 80px) clamp(16px, 4vw, 48px); max-width: 1500px; margin: 0 auto; }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.section-head .count { color: var(--muted); font-size: .85rem; letter-spacing: .1em; }

.grid { columns: 4 260px; column-gap: 16px; }
.tile {
  break-inside: avoid; margin: 0 0 16px; position: relative; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tile img { width: 100%; height: auto; transition: transform .5s; }
.tile:hover { transform: translateY(-3px); border-color: var(--teal-dim); box-shadow: 0 10px 40px rgba(31,174,150,.18); }
.tile:hover img { transform: scale(1.03); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); font-size: .88rem;
  opacity: 0; transition: .25s;
}
.tile:hover figcaption { opacity: 1; }
.empty { color: var(--muted); text-align: center; padding: 80px 0; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(4,5,7,.95);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox img { max-height: 90vh; max-width: min(92vw, 1100px); border-radius: 10px; box-shadow: 0 0 80px rgba(47,91,255,.25); }
.lightbox .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--text);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; transition: .2s;
}
.lb-btn:hover { background: var(--teal); color: #031512; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; }
.lb-next { right: 18px; top: 50%; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; min-height: 70vh; }
.about.no-photo { grid-template-columns: minmax(0, 760px); }
.about-photo img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 0 80px rgba(255,45,79,.18), 0 0 120px rgba(47,91,255,.15); }
.about h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: .95; margin: 8px 0 24px; }
.about p { font-size: 1.1rem; color: #cfd4de; margin: 0 0 1.1em; }

footer { text-align: center; color: var(--muted); font-size: .8rem; padding: 40px 16px 48px; border-top: 1px solid var(--line); letter-spacing: .1em; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--teal); }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .grid { column-gap: 10px; columns: 2 140px; }
  .tile { margin-bottom: 10px; }
}

/* ---------- admin ---------- */
.admin-wrap { max-width: 1300px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 80px; }
.login-box {
  max-width: 400px; margin: 12vh auto; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; text-align: center;
}
.login-box h1 { font-size: 2.6rem; margin-bottom: 6px; }
.login-box p { color: var(--muted); margin: 0 0 20px; }
input[type=text], input[type=password], textarea, select {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid #2a303c; border-radius: 10px;
  padding: 11px 14px; font: inherit; margin-bottom: 14px;
}
input:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,174,150,.2); }
textarea { min-height: 280px; resize: vertical; }
label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.msg { min-height: 1.4em; font-size: .9rem; margin: 6px 0 0; }
.msg.err { color: var(--red); } .msg.ok { color: var(--teal); }

.tabs { display: flex; gap: 8px; margin: 18px 0 24px; flex-wrap: wrap; }
.tabs button {
  background: transparent; color: var(--muted); border: 1px solid var(--line);
  padding: 9px 20px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; font-size: .78rem;
}
.tabs button.active { background: var(--panel); color: var(--text); border-color: var(--teal); }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

.dropzone {
  border: 2px dashed #2f3644; border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted);
  transition: .2s; margin-bottom: 20px; cursor: pointer;
}
.dropzone.over { border-color: var(--teal); background: rgba(31,174,150,.07); color: var(--text); }
.dropzone strong { color: var(--text); }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar .spacer { flex: 1; }
.stat { color: var(--muted); font-size: .85rem; }

.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.acard { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; position: relative; }
.acard .thumb { aspect-ratio: 3/4; width: 100%; object-fit: cover; transition: .2s; }
.acard.off .thumb { filter: grayscale(1) brightness(.35); }
.acard.sel { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.acard .badge {
  position: absolute; top: 8px; left: 8px; font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  padding: 3px 9px; border-radius: 999px; background: var(--teal); color: #031512; text-transform: uppercase;
}
.acard.off .badge { background: #3a4150; color: var(--text); }
.acard .cover-tag { position: absolute; top: 38px; left: 8px; background: var(--red); color: #fff; font-size: .65rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .1em; }
.acard .check { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; accent-color: var(--teal); cursor: pointer; }
.acard .row { display: flex; gap: 6px; padding: 8px; flex-wrap: wrap; }
.acard .row .btn { flex: 1; text-align: center; padding: 6px 4px; }
.acard input.cap { margin: 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); font-size: .82rem; padding: 8px 10px; }

.toggle { position: relative; display: inline-flex; width: 46px; height: 26px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle span { position: absolute; inset: 0; background: #3a4150; border-radius: 999px; cursor: pointer; transition: .2s; }
.toggle span::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.toggle input:checked + span { background: var(--teal); }
.toggle input:checked + span::before { transform: translateX(20px); }
.acard .vis { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 0; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 760px; }
.pick { display: flex; gap: 8px; flex-wrap: wrap; max-height: 260px; overflow: auto; margin-bottom: 14px; padding: 4px; }
.pick img { width: 64px; height: 84px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; opacity: .6; }
.pick img.on { border-color: var(--teal); opacity: 1; }
