/* ==========================================================================
   Retro Cyberpunk Pixel Theme - axellyuu.my.canva.site Replica
   ========================================================================== */

:root {
  --cyan: #00ffff;
  --magenta: #ff00ff;
  --purple: #a855f7;
  --dark-bg: #090912;
  --card-bg: rgba(30, 26, 42, 0.84);
  --card-border: rgba(255, 255, 255, 0.16);
  --btn-bg: rgba(60, 56, 72, 0.65);
  --btn-hover-bg: rgba(85, 72, 115, 0.78);
  --text-white: #ffffff;
  --font-pixel: 'SCR-N Seven', 'Silkscreen', 'VT323', monospace;
  --font-serif: 'Playfair Display Local', 'Playfair Display', Georgia, serif;
  --transition-smooth: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-color: #0b0918;
  color: var(--text-white);
  font-family: var(--font-serif);
  overflow: hidden;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Glow & Container - Fits 100% of Mobile Viewport */
.app-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #050409;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* Ambient Cyber Scanline Overlay */
.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2; /* Behind .screen (z-index: 10) */
  background: linear-gradient(
    rgba(18, 16, 26, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  opacity: 0.18;
}

/* Phone / Canvas Screen Container (Fills Mobile 100% Edge-to-Edge) */
.canva-device {
  width: 100%;
  height: 100%;
  max-width: 100%;
  position: relative;
  border-radius: 0;
  border: none;
  overflow: hidden;
  background-color: #0b0918;
}

/* Wide Desktop Preview Frame: only on wide desktop monitors with hover/mouse */
@media (min-width: 850px) and (hover: hover) {
  .app-wrapper {
    padding: 16px;
    background: radial-gradient(circle at 50% 30%, #1a1236 0%, #080611 100%);
  }
  .canva-device {
    max-width: 420px;
    height: min(94dvh, 860px);
    border-radius: 36px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
      0 25px 60px rgba(0, 0, 0, 0.85),
      0 0 40px rgba(0, 255, 255, 0.15),
      0 0 60px rgba(255, 0, 255, 0.1);
  }
}

/* Canvas Viewport with Animated Seamless Looping Background */
.canvas-viewport {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #140d28;
  background-image: url('../assets/images/background.gif?v=20260911b');
  background-image: image-set(
    url('../assets/images/background.webp?v=20260911b') type('image/webp'),
    url('../assets/images/background.gif?v=20260911b') type('image/gif')
  );
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* CRT Screen Vignette Effect */
.canvas-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 65%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Screen Layouts (SPA Panels)
   ========================================================================== */

.screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding-top: max(clamp(8px, 1.5vh, 16px), env(safe-area-inset-top));
  padding-right: max(clamp(8px, 2.5vw, 14px), env(safe-area-inset-right));
  padding-bottom: max(clamp(6px, 1.2vh, 12px), env(safe-area-inset-bottom));
  padding-left: max(clamp(8px, 2.5vw, 14px), env(safe-area-inset-left));
  opacity: 1;
  overflow: hidden;
}

.screen.active {
  display: flex !important;
  opacity: 1 !important;
  animation: screenFadeIn 0.12s ease-out forwards;
}

@keyframes screenFadeIn {
  from {
    opacity: 0.75;
  }
  to {
    opacity: 1;
  }
}

/* ==========================================================================
   Screen 0: Home Page
   ========================================================================== */

.screen-home {
  justify-content: flex-end;
  padding-bottom: max(clamp(48px, 7.8vh, 70px), env(safe-area-inset-bottom));
  overflow: visible !important;
}

.home-menu {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vh, 14px);
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  z-index: 5;
}

/* Cyber Glitch Buttons */
.cyber-btn {
  position: relative;
  width: 100%;
  height: clamp(50px, 7.4vh, 64px);
  background: var(--btn-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--card-border);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* Glitch Typography */
.glitch-text {
  font-family: var(--font-pixel);
  font-size: 1.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-shadow: 
    -2px 0 var(--cyan),
    2px 0 var(--magenta);
  position: relative;
  display: inline-block;
  transition: text-shadow 0.2s ease;
  line-height: 1;
}

/* Themed Cyber Hover Effects */
.cyber-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(0, 255, 255, 0.25), 
    rgba(255, 0, 255, 0.25), 
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cyber-btn:hover {
  background: var(--btn-hover-bg);
  border-color: var(--cyan);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 255, 255, 0.5),
    inset 0 0 16px rgba(255, 0, 255, 0.35);
}

.cyber-btn:hover::before {
  transform: translateX(100%);
}

.cyber-btn:hover .glitch-text {
  text-shadow: 
    -3px 0 var(--cyan),
    3px 0 var(--magenta),
    0 0 10px rgba(255, 255, 255, 0.8);
  animation: glitch-jitter 0.22s infinite alternate;
}

.cyber-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

@keyframes glitch-jitter {
  0% { transform: translate(0); }
  25% { transform: translate(-1.5px, 1px); }
  50% { transform: translate(1.5px, -1px); }
  75% { transform: translate(-1px, -0.5px); }
  100% { transform: translate(1px, 0.5px); }
}

/* Music / Audio Controller in Bottom Left */
.audio-widget {
  position: relative;
  bottom: -21px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  z-index: 20;
}

.audio-ctrl-btn {
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(30, 25, 45, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.audio-ctrl-btn img,
.audio-ctrl-btn svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  transition: var(--transition-smooth);
}

.audio-ctrl-btn:hover {
  border-color: var(--magenta);
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(255, 0, 255, 0.6);
}

.audio-ctrl-btn.playing {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.7);
}

.audio-ctrl-btn.playing::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  opacity: 0;
  animation: pulse-ring-gpu 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring-gpu {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Sound Tooltip / Indicator (Disamping tombol, muncul bentar aja) */
.audio-indicator {
  position: absolute;
  left: 54px;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  color: var(--cyan);
  background: rgba(10, 8, 20, 0.85);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.35);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.audio-indicator.show {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Screen 1, 2, 3, 4: Interior Card Views (Anggota, Materi, Tentang, TM Detail)
   ========================================================================== */

.card-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--card-border);
  border-radius: clamp(16px, 2.5vh, 24px);
  box-shadow: 
    0 18px 45px rgba(0, 0, 0, 0.65),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  position: relative;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.card-header {
  padding: clamp(6px, 1.3vh, 12px) 14px clamp(3px, 0.7vh, 6px);
  text-align: center;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-title {
  font-family: var(--font-pixel);
  font-size: clamp(1.45rem, 3.2vh, 2.1rem);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 
    -2px 0 var(--cyan),
    2px 0 var(--magenta);
  line-height: 1.1;
}

.card-body {
  padding: clamp(4px, 1vh, 12px) clamp(8px, 2.2vw, 14px);
  overflow: hidden !important;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Back Button (Pixel Chunky Arrow at Bottom Left) */
.back-btn-container {
  height: clamp(36px, 5.2vh, 46px);
  display: flex;
  align-items: center;
  padding-left: 4px;
  flex-shrink: 0;
}

.back-btn {
  width: clamp(40px, 6.2vh, 50px);
  height: clamp(32px, 5vh, 42px);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: var(--transition-smooth);
}

.back-btn svg {
  width: clamp(28px, 4.4vh, 36px);
  height: clamp(28px, 4.4vh, 36px);
  fill: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  transition: var(--transition-smooth);
}

.back-btn:hover {
  transform: translateX(-4px);
}

.back-btn:hover svg {
  fill: var(--cyan);
  filter: 
    drop-shadow(0 0 10px rgba(0, 255, 255, 0.8))
    drop-shadow(-2px 0 var(--magenta));
}

.back-btn:active {
  transform: translateX(-6px) scale(0.95);
}





/* ==========================================================================
   Content Components: Tentang (Pop-up Menyesuaikan Isi / Auto-Fit Content)
   ========================================================================== */

#screen-tentang .card-container {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  margin: auto 0;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 255, 255, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

#screen-tentang .card-body {
  flex: 0 0 auto;
  height: auto;
  padding: clamp(14px, 2.4vh, 22px) clamp(12px, 3vw, 20px);
  overflow: visible !important;
}

.tentang-content-wrapper {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8vh, 16px);
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
}

.tentang-text {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 1.75vh, 1.05rem);
  line-height: clamp(1.45, 2.2vh, 1.7);
  color: #ffffff;
  text-align: justify;
  text-justify: inter-word;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Content Components: Anggota (Scrollable, Rata Kiri, Font Lebih Jelas)
   ========================================================================== */

#screen-anggota .card-body {
  padding: 8px 6px 8px 12px;
  overflow: hidden;
}

.anggota-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: flex-start;
  flex: 1;
  min-height: 0;
  width: 100%;
  padding: 4px 6px 4px 2px;
  gap: 10px;
  overflow-y: auto !important;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

/* Custom Sleek Scrollbar */
.anggota-list::-webkit-scrollbar {
  width: 5px;
}

.anggota-list::-webkit-scrollbar-track {
  background: rgba(20, 18, 30, 0.4);
  border-radius: 6px;
}

.anggota-list::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.45);
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 255, 0.25);
}

.anggota-list::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.anggota-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: center;
  gap: 3px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.anggota-item:hover {
  background: rgba(0, 255, 255, 0.07);
  border-color: rgba(0, 255, 255, 0.35);
  transform: translateX(4px);
}

.anggota-nama {
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 2.2vh, 1.25rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: left;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  word-break: break-word;
}

.anggota-nim {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 1.75vh, 1rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: left;
}

/* ==========================================================================
   Content Components: Materi (7 TM Buttons Fit-Fill Zero Scroll)
   ========================================================================== */

.materi-grid {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  flex: 1;
  min-height: 0;
  gap: clamp(3px, 0.8vh, 7px);
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 2px 0;
  overflow: hidden !important;
}

.tm-pill-btn {
  width: 100%;
  height: clamp(34px, 5.2vh, 46px);
  background: var(--btn-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  flex-shrink: 1;
}

.tm-pill-btn:hover {
  background: var(--btn-hover-bg);
  border-color: var(--cyan);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(0, 255, 255, 0.45);
}

.tm-pill-code {
  font-family: var(--font-pixel);
  font-size: clamp(1.2rem, 2.7vh, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* ==========================================================================
   Content Components: Detail TM (Resume & Infografis Mahasiswa)
   ========================================================================== */

/* ==========================================================================
   Content Components: Detail TM (Tampilan Foto Penuh, Bebas Scroll)
   ========================================================================== */

.tm-card-photo-container {
  overflow: hidden !important;
}

.tm-photo-body {
  padding: clamp(6px, 1.2vh, 12px) clamp(8px, 2vw, 14px);
  overflow: hidden !important;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* TM Photo Slide Container (Zero Scroll, Responsive 1 or Multi-photo Slider) */
.tm-slider-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden !important;
  border-radius: clamp(10px, 1.8vh, 16px);
  background: rgba(14, 10, 24, 0.7);
  border: 1.5px solid rgba(0, 255, 255, 0.28);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.6),
    inset 0 0 16px rgba(0, 255, 255, 0.08);
  display: flex;
  align-items: stretch;
}

.tm-slider-track {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.tm-slide-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  padding: 4px;
}

.tm-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: clamp(8px, 1.5vh, 12px);
  pointer-events: none;
  display: block;
  transition: transform 0.2s ease;
}

.tm-slide-item:hover .tm-slide-img {
  transform: scale(1.015);
}

/* Nav Arrows (Prev and Next floating on Left & Right) */
.tm-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(44px, 6.2vh, 52px);
  height: clamp(44px, 6.2vh, 52px);
  background: rgba(10, 8, 22, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0, 255, 255, 0.35);
  border-radius: 50%;
  color: #ffffff;
  opacity: 0.65;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.tm-slide-arrow:focus,
.tm-slide-arrow:focus-visible {
  outline: none;
}

.tm-slider-container.has-multiple .tm-slide-arrow {
  display: flex;
}

.tm-slide-arrow.prev {
  left: clamp(8px, 1.5vw, 14px);
}

.tm-slide-arrow.next {
  right: clamp(8px, 1.5vw, 14px);
}

/* Brief tactile blue flash on press, then immediately returns back */
.tm-slide-arrow.flash-active {
  opacity: 1 !important;
  background: rgba(0, 255, 255, 0.32) !important;
  border-color: var(--cyan) !important;
  color: var(--cyan) !important;
  box-shadow: 0 0 22px rgba(0, 255, 255, 0.75) !important;
  transform: translateY(-50%) scale(1.08) !important;
  transition: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .tm-slide-arrow:hover:not(.flash-active) {
    opacity: 0.9;
    border-color: rgba(0, 255, 255, 0.6);
    color: var(--cyan);
  }
}

.tm-slide-arrow:disabled {
  opacity: 0.2;
  pointer-events: none;
}

.tm-slide-arrow svg {
  width: clamp(24px, 3.2vh, 28px);
  height: clamp(24px, 3.2vh, 28px);
  stroke: currentColor;
}

/* Slide Indicator Counter Badge (e.g. 1 / 2) */
.tm-slide-indicator {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(10, 8, 20, 0.85);
  border: 1px solid rgba(0, 255, 255, 0.4);
  padding: 3px 9px;
  border-radius: 10px;
  pointer-events: none;
  letter-spacing: 0.06em;
  z-index: 15;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  display: none;
}

.tm-slider-container.has-multiple .tm-slide-indicator {
  display: block;
}

/* ==========================================================================
   Modal Lightbox: Fullscreen ChatGPT Style (Free Cubit & Tombol Back Saja)
   ========================================================================== */

.zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  opacity: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  background: #000000;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.zoom-modal-backdrop {
  position: absolute;
  inset: 0;
  background: #000000;
  pointer-events: none;
}

/* Tombol Back Sederhana Floating di Pojok Kiri Atas (Like ChatGPT) */
.zoom-back-btn {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  width: clamp(42px, 6vh, 48px);
  height: clamp(42px, 6vh, 48px);
  border-radius: 50%;
  background: rgba(32, 28, 48, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  z-index: 50;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
  transition: var(--transition-smooth);
}

.zoom-back-btn:hover {
  background: rgba(0, 255, 255, 0.22);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.55);
}

.zoom-back-btn:active {
  transform: scale(0.92);
}

/* Interactive Viewport Area */
.zoom-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 15;
  cursor: grab;
  touch-action: none;
}

.zoom-viewport.dragging {
  cursor: grabbing;
}

.zoom-drag-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  will-change: transform;
}

/* Fullscreen Active Image - Bebas dari Embel-Embel / Border */
.zoom-active-image {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center center;
  box-shadow: none;
  border-radius: 0;
  border: none;
}
