/* ===========================
   GKTW PORTFOLIO — style.css
   Horizontal scroll redesign
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg: #08090d;
  --bg2: #0d0f15;
  --accent: #34d399;
  --accent2: #38bdf8;
  --white: #f0f0f2;
  --muted: #52566a;
  --dim: #252733;
  --border: rgba(255,255,255,0.07);
  --radius: 18px;
  --font: 'Quicksand', sans-serif;
  --mono: 'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
@media (hover: none) { html, body { cursor: auto; overflow-x: auto; overflow-y: hidden; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: none; border: none; background: none; font-family: var(--font); }
ul { list-style: none; }

/* ---- CUSTOM CURSOR ---- */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: screen;
  will-change: transform;
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(52,211,153,0.4);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .28s, height .28s, border-color .28s;
  will-change: transform;
}
body.cur-hover .cursor-dot { width: 12px; height: 12px; background: var(--accent); }
body.cur-hover .cursor-ring { width: 50px; height: 50px; border-color: rgba(52,211,153,0.55); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ---- HORIZONTAL SCROLL WRAPPER ---- */
.h-scroll {
  display: flex;
  width: max-content;
  height: 100vh;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}

/* ---- PANEL BASE ---- */
.panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- NAV ---- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 52px;
  z-index: 10;
}
.nav-logo {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.brand-name { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

/* ---- PANEL HERO ---- */
.panel-hero {
  background: var(--bg);
}
.panel-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,0.05) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 0 52px;
  padding-top: 80px;
}
.hero-left { flex: 0 0 auto; max-width: 480px; }
.hero-right { flex: 1; display: flex; justify-content: center; align-items: center; }

/* status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  margin-bottom: 20px;
}
.status-badge.open { color: var(--accent); border-color: rgba(52,211,153,0.22); }
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}
.status-badge.open .status-dot { background: var(--accent); }

.hero-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(52,211,153,0.5);
  margin-bottom: 10px;
}
.hero-title {
  font-family: var(--font);
  font-size: clamp(3.2rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--white);
}
.gradient-text {
  background: linear-gradient(90deg, var(--accent), #5eead4, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 32px;
}
.hero-btns {
  display: flex;
  gap: 12px;
}
.btn-main {
  padding: 13px 26px;
  background: var(--accent);
  color: #080910;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-main:hover {
  background: #6ee7b7;
  box-shadow: 0 0 28px rgba(52,211,153,0.3);
}
.btn-main:active { transform: scale(0.96); }
.btn-ghost {
  padding: 13px 26px;
  border: 1px solid rgba(255,255,255,0.1);
  color: #a1a1aa;
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.22); color: var(--white); }
.btn-ghost:active { transform: scale(0.96); }

/* Hero image */
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  animation: float 5s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.hero-img-glow {
  position: absolute; inset: -4px;
  background: linear-gradient(135deg, rgba(52,211,153,0.12), rgba(56,189,248,0.1));
  filter: blur(18px);
  z-index: 0; border-radius: var(--radius);
}
#hero-img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.img-badge {
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
}

/* Scroll arrow */
.scroll-arrow {
  position: absolute;
  bottom: 32px; right: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  animation: pulse-opacity 2.5s ease-in-out infinite;
}
.arrow-line {
  width: 40px; height: 1px;
  background: linear-gradient(to right, var(--dim), rgba(52,211,153,0.4));
}
@keyframes pulse-opacity {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ---- WORK PANELS ---- */
.panel-work {
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px;
}
.work-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}
.work-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 12px;
}
.work-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.1;
}
.work-year {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
}
.work-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.work-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  transition: opacity 0.5s;
}
.panel-work:hover .work-img-wrap img { opacity: 0.28; }
.work-info {
  position: relative;
  z-index: 1;
}
.work-card-inner {
  position: relative;
  z-index: 2;
  max-width: 400px;
}
.work-divider {
  width: 36px; height: 2px;
  background: var(--accent);
  margin: 16px 0;
  border-radius: 2px;
}

/* ---- ABOUT PANEL ---- */
.panel-about {
  background: var(--bg);
  display: flex;
  align-items: center;
}
.about-inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 80px 52px 52px;
  gap: 60px;
}
.about-left { flex: 0 0 380px; }
.about-right { flex: 1; display: flex; align-items: center; justify-content: center; }

.panel-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.panel-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.about-bio {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.skill-tag {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: border-color .2s, color .2s;
}
.skill-tag:hover { border-color: rgba(52,211,153,0.3); color: var(--accent); }

.about-img-stack {
  position: relative;
  width: 340px; height: 340px;
}
.about-img-stack .simg {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.about-img-stack .simg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-img-stack .simg:nth-child(1) {
  width: 240px; height: 160px;
  top: 0; left: 0;
  transform: rotate(-4deg);
}
.about-img-stack .simg:nth-child(2) {
  width: 200px; height: 150px;
  top: 80px; left: 100px;
  transform: rotate(3deg);
  z-index: 2;
}
.about-img-stack .simg:nth-child(3) {
  width: 180px; height: 130px;
  top: 170px; left: 30px;
  transform: rotate(-2deg);
  z-index: 1;
}
.about-img-stack:hover .simg:nth-child(1) { transform: rotate(-6deg) translateY(-6px); }
.about-img-stack:hover .simg:nth-child(2) { transform: rotate(5deg) translateY(-4px); }
.about-img-stack:hover .simg:nth-child(3) { transform: rotate(-3deg) translateY(-8px); }

/* ---- COMMISSION PANEL ---- */
.panel-commission {
  background: var(--bg2);
  display: flex;
  align-items: center;
}
.comm-inner {
  padding: 80px 52px 52px;
  max-width: 500px;
}
.comm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  margin-bottom: 24px;
}
.comm-badge.open { color: var(--accent); border-color: rgba(52,211,153,0.22); }
.comm-badge.open .status-dot { background: var(--accent); }
.comm-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: border-color .2s, color .2s, transform .15s;
  text-transform: capitalize;
}
.social-link:hover { border-color: rgba(52,211,153,0.3); color: var(--accent); }
.social-link:active { transform: scale(0.96); }
.social-link svg { width: 14px; height: 14px; }
.no-social {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
}
.footer-note {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.06em;
}

/* ---- PANEL INDICATORS ---- */
.panel-dots {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 50;
}
.pdot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--dim);
  border: none;
  cursor: none;
  transition: all 0.3s;
}
.pdot.active {
  width: 20px;
  background: var(--accent);
}

/* ---- MOBILE FALLBACK ---- */
@media (max-width: 768px) {
  html, body { overflow: auto; }
  .h-scroll {
    flex-direction: column;
    width: 100%;
    height: auto;
    transform: none !important;
    transition: none;
  }
  .panel { width: 100%; height: auto; min-height: 100svh; }
  .hero-content { flex-direction: column; gap: 36px; padding: 80px 24px 40px; }
  .about-inner { flex-direction: column; padding: 80px 24px 40px; gap: 40px; }
  .about-left { flex: unset; }
  .comm-inner { padding: 80px 24px 40px; }
  .panel-work { padding: 80px 24px 40px; }
  .nav { padding: 24px; }
  .scroll-arrow { display: none; }
  .panel-dots { display: none; }
  .about-img-stack { width: 280px; height: 260px; }
}

/* ---- VIEW MORE BUTTON ---- */
.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: background .25s, border-color .25s, color .25s, transform .15s, box-shadow .25s;
  cursor: none;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.04);
}
.btn-view-more:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #080910;
  box-shadow: 0 0 24px rgba(52,211,153,0.35);
  transform: translateY(-2px);
}
.btn-view-more:active { transform: scale(0.96); }

/* ---- GALLERY OVERLAY ---- */
#gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 9, 13, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
#gallery-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Back button */
.gallery-back {
  position: absolute;
  top: 36px; left: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  cursor: none;
  transition: color .2s, border-color .2s, background .2s, transform .15s;
  z-index: 10;
}
.gallery-back:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.07);
}
.gallery-back:active { transform: scale(0.96); }

/* Scroll container */
.gallery-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(52,211,153,0.3) transparent;
  padding: 0 48px;
  cursor: grab;
}
.gallery-scroll-wrap:active { cursor: grabbing; }
.gallery-scroll-wrap::-webkit-scrollbar { height: 3px; }
.gallery-scroll-wrap::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll-wrap::-webkit-scrollbar-thumb { background: rgba(52,211,153,0.25); border-radius: 2px; }

.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 20px 0 20px;
  align-items: center;
}

/* Gallery items */
.gitem {
  position: relative;
  flex-shrink: 0;
  width: 60vw;
  max-width: 760px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: var(--bg2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  transform: scale(0.93) rotateZ(-1deg);
  opacity: 0.55;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), opacity 0.5s, box-shadow 0.4s;
  cursor: none;
}
.gitem:nth-child(even) { transform: scale(0.93) rotateZ(0.8deg); }
.gitem-active,
.gitem:hover {
  transform: scale(1) rotateZ(0deg) !important;
  opacity: 1;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(52,211,153,0.12);
}
.gitem img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.gitem:hover img { transform: scale(1.03); }
.gitem-info {
  padding: 20px 24px 22px;
  background: linear-gradient(to bottom, transparent, rgba(8,9,13,0.9));
  position: absolute;
  bottom: 0; left: 0; right: 0;
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.35s, opacity 0.35s;
}
.gitem:hover .gitem-info, .gitem-active .gitem-info {
  transform: translateY(0);
  opacity: 1;
}
.gitem-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 5px;
}
.gitem-title {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.gitem-year {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

/* Gallery scroll hint */
.gallery-scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  animation: pulse-opacity 2.5s ease-in-out infinite;
}
.gallery-hint-line {
  width: 36px; height: 1px;
  background: linear-gradient(to right, var(--dim), rgba(52,211,153,0.4));
}

/* Block h-scroll interaction while gallery is open */
body.gallery-open #hscroll { pointer-events: none; }
body.gallery-open .panel-dots { opacity: 0; pointer-events: none; }

/* =============================================
   PANEL GALLERY — In-panel horizontal scroll
   Overlay fade out, gallery horizontal muncul
   ============================================= */

/* Fade out the dark overlay on the panel */
.work-img-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(8, 9, 13, 0.72);
  transition: background 0.3s ease, opacity 0.6s ease !important;
}
.work-img-overlay.fade-out {
  opacity: 0 !important;
  background: transparent !important;
}

/* Background image reveals more when gallery opens */
.work-img-wrap img {
  transition: opacity 0.5s, transform 0.5s !important;
}
.work-bg-img.revealed {
  opacity: 1 !important;
  transform: scale(1.04) !important;
  filter: brightness(0.85) saturate(1.1) !important;
}

/* Hide the work card text when gallery opens */
.work-card-inner {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.work-card-inner.hidden-for-gallery {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* Gallery container inside the panel */
.panel-gallery {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: grab;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(8,9,13,0.4) 100%);
}
.panel-gallery.open {
  opacity: 1;
  pointer-events: all;
}

/* Slides container — full panel */
.pg-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Individual slide — full bg */
.pg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.pg-slide.active {
  opacity: 1;
  z-index: 1;
}
.pg-slide.slide-out-left {
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
}
.pg-slide.slide-out-right {
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
}
.pg-slide.slide-in-right,
.pg-slide.slide-in-left {
  opacity: 0;
  z-index: 2;
}
.pg-slide.slide-active {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.pg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient vignette bawah agar teks terbaca */
.panel-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(8,9,13,0.85) 0%,
    rgba(8,9,13,0.2) 40%,
    transparent 70%
  );
}

/* Gallery header */
.pg-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 52px;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(8,9,13,0.75) 50%, transparent);
  pointer-events: none;
}
.pg-header button { pointer-events: all; }
.pg-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  padding: 9px 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(8,9,13,0.6);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .15s;
  backdrop-filter: blur(10px);
}
.pg-back:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.07);
}
.pg-back:active { transform: scale(0.96); }
.pg-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.pg-hint {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  animation: pulse-opacity 2.5s ease-in-out infinite;
}

/* Info bar — bottom left, di atas vignette */
.pg-info-bar {
  position: absolute;
  bottom: 52px;
  left: 52px;
  right: 52px;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}
.pg-info-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pg-info-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
}
.pg-info-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.05;
  margin: 0;
}
.pg-info-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 380px;
  margin-top: 4px;
}
.pg-counter {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.1em;
}

/* Dots navigation */
.pg-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  pointer-events: all;
}
.pg-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.pg-dot.active {
  background: var(--accent2);
  width: 24px;
}

/* Block h-scroll when gallery open */
body.viewer-open #hscroll { pointer-events: none; }
body.viewer-open .panel-dots { opacity: 0; pointer-events: none; transition: opacity 0.3s; }

/* Mobile */
@media (max-width: 768px) {
  .pg-header { padding: 20px 24px; }
  .pg-info-bar { bottom: 40px; left: 24px; right: 24px; }
  .pg-info-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

