:root{
  --bg:#000;
  --panel: rgba(16,16,22,.72);
  --panel2: rgba(10,10,14,.72);
  --border: rgba(255,255,255,.10);
  --text:#f4f4f7;
  --muted: rgba(244,244,247,.70);
  --accent:#B38AFF;

  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius:16px;

  --topbar-h:64px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  padding-top:var(--topbar-h);
}

/* SIMPLE FAST BACKGROUND */
.bg{
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(700px 480px at 18% 18%, rgba(179,138,255,.12), transparent 62%),
    radial-gradient(700px 520px at 82% 75%, rgba(179,138,255,.08), transparent 64%),
    #000;
  overflow:hidden;
}
.glow{ display:none; }
.noise{
  position:absolute;
  inset:0;
  opacity:.045;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='1'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  pointer-events:none;
}

.wrap{ width:min(980px, calc(100% - 28px)); margin:0 auto; }

/* TOP BAR hide on scroll */
.top{
  position:fixed;
  top:0; left:0; right:0;
  height:var(--topbar-h);
  z-index:50;
  background: rgba(0,0,0,.78);
  border-bottom:1px solid rgba(255,255,255,.06);
  transform: translateY(0);
  transition: transform .18s ease;
  will-change: transform;
}
.top.is-hidden{ transform: translateY(-110%); }

.top-inner{
  height:var(--topbar-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{ display:flex; align-items:center; gap:10px; min-width:0; }
.logo{
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius:12px;
  background: rgba(179,138,255,.12);
  border:1px solid rgba(179,138,255,.35);
  box-shadow: 0 0 0 1px rgba(179,138,255,.10) inset;
}
.brand-text{ min-width:0; }
.title{ font-weight:800; letter-spacing:.02em; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sub{ font-size:11px; color:var(--muted); }

.nav{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.pill{
  padding:8px 10px;
  font-size:12px;
  color:var(--text);
  text-decoration:none;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  transition: transform .12s ease, border-color .15s ease, background .15s ease;
}
.pill:hover{
  transform: translateY(-1px);
  border-color: rgba(179,138,255,.45);
  background: rgba(179,138,255,.10);
}

.card{
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero{
  margin-top:18px;
  padding:16px;
  display:grid;
  grid-template-columns: 1.4fr .6fr;
  gap:16px;
}
.hero-kicker{
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: rgba(179,138,255,.9);
}
.hero-title{ margin:6px 0; font-size:22px; letter-spacing:.01em; }
.hero-desc{ margin:0; color:var(--muted); font-size:13px; line-height:1.35; }
.hero-actions{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }

.btn{
  border:1px solid rgba(179,138,255,.45);
  background: rgba(179,138,255,.14);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
  font-size:12px;
  text-decoration:none;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(179,138,255,.20);
  border-color: rgba(179,138,255,.70);
}
.btn:active{ transform: scale(.98); }
.btn.ghost{ background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.btn.ghost:hover{ border-color: rgba(179,138,255,.55); background: rgba(179,138,255,.08); }

.label{ display:block; font-size:11px; color:var(--muted); margin-bottom:8px; }
.select{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(0,0,0,.55);
  color:var(--text);
  border:1px solid rgba(255,255,255,.12);
  outline:none;
}
.select:focus{
  border-color: rgba(179,138,255,.70);
  box-shadow: 0 0 0 3px rgba(179,138,255,.18);
}
.hint{ margin-top:8px; font-size:11px; color:var(--muted); }

.grid{
  margin:14px 0 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.full{ grid-column: 1 / -1; }
.card > *{ padding:14px 14px 12px; }
.card .card-head{
  padding:14px 14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.card h2{ margin:0; font-size:14px; letter-spacing:.02em; }
.tag{
  font-size:11px;
  padding:5px 8px;
  border-radius:999px;
  border:1px solid rgba(179,138,255,.30);
  background: rgba(179,138,255,.10);
  color: rgba(244,244,247,.92);
}

.list{
  margin:10px 0 0;
  padding:0 14px 14px;
  list-style:none;
  display:grid;
  gap:8px;
}
.list li{
  padding:10px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  line-height:1.35;
  font-size:12.5px;
}
.list b{ color:#fff; }

/* GALLERY */
.shot{ padding:10px 14px 14px; }
.shot-stage{ position:relative; }

.shot-stage img{
  width:100%;
  max-height:520px;
  object-fit:contain;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.55);
  cursor: zoom-in;
  display:block;
}

/* Stylized left/right buttons */
.gbtn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:52px;
  height:52px;
  border-radius:999px;
  border:1px solid rgba(179,138,255,.55);
  background:
    radial-gradient(circle at 30% 25%, rgba(179,138,255,.22), transparent 60%),
    rgba(0,0,0,.62);
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  user-select:none;
  box-shadow:
    0 10px 22px rgba(0,0,0,.55),
    0 0 0 3px rgba(179,138,255,.08);
  transition: transform .12s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  opacity:.92;
}

.gbtn .chev{
  font-size:30px;
  line-height:1;
  transform: translateY(-1px);
  text-shadow: 0 0 10px rgba(179,138,255,.20);
}

.gbtn:hover{
  opacity:1;
  border-color: rgba(179,138,255,.85);
  background:
    radial-gradient(circle at 30% 25%, rgba(179,138,255,.32), transparent 60%),
    rgba(0,0,0,.66);
  transform: translateY(-50%) scale(1.03);
}

.gbtn:active{
  transform: translateY(-50%) scale(.98);
}

.gbtn.left{ left:12px; }
.gbtn.right{ right:12px; }
.gbtn.is-off{ display:none; }

.shot-meta{
  position:absolute;
  left:12px;
  right:12px;
  bottom:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.60);
}

.link{ color: rgba(179,138,255,.95); text-decoration:none; font-size:12px; }
.link:hover{ text-decoration:underline; }
.muted{ color:var(--muted); font-size:12px; }

.note{
  padding:10px 14px 0;
  color: rgba(244,244,247,.86);
  font-size:13px;
  line-height:1.45;
}
.stats{
  padding:12px 14px 14px;
  margin-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size:12px;
}

.foot{ padding:14px 0 26px; display:flex; justify-content:space-between; gap:12px; }

/* LIGHTBOX */
.lightbox{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:200;
}
.lightbox.show{ display:flex; }
.lightbox-backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.78); }

.lightbox-card{
  position:relative;
  width:min(980px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.65);
}
.lightbox-card img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  cursor: zoom-out;
}

.gbtn.lb.left{ left:14px; }
.gbtn.lb.right{ right:14px; }

.x{
  position:absolute;
  top:10px;
  right:10px;
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.55);
  color:#fff;
  cursor:pointer;
}
.x:hover{
  border-color: rgba(179,138,255,.55);
  background: rgba(179,138,255,.10);
}

@media (max-width: 760px){
  .hero{ grid-template-columns:1fr; }
  .grid{ grid-template-columns:1fr; }
  .gbtn{ width:46px; height:46px; }
  .gbtn .chev{ font-size:28px; }
}
/* ===== FORCE gallery buttons to be proper overlay (kills white default buttons) ===== */
.shot-stage,
.lightbox-card{
  position: relative !important;
}

#shotPrev, #shotNext, #lbPrev, #lbNext{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;

  width: 52px !important;
  height: 52px !important;
  border-radius: 999px !important;

  appearance: none !important;
  -webkit-appearance: none !important;
  background: rgba(0,0,0,.65) !important;
  color: #fff !important;

  border: 1px solid rgba(179,138,255,.75) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.55), 0 0 0 3px rgba(179,138,255,.10) !important;

  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
}

#shotPrev, #lbPrev{ left: 12px !important; }
#shotNext, #lbNext{ right: 12px !important; }

#shotPrev:hover, #shotNext:hover, #lbPrev:hover, #lbNext:hover{
  border-color: rgba(179,138,255,.95) !important;
  background: rgba(179,138,255,.12) !important;
}

#shotPrev:active, #shotNext:active, #lbPrev:active, #lbNext:active{
  transform: translateY(-50%) scale(.98) !important;
}

/* Keep the counter bar above the image */
.shot-meta{
  position: absolute !important;
  z-index: 4 !important;
}
