/* ==========================================================================
   LAZZYSTUDIO - 1:1 WEBGL INFINITE CURL PHOTOGRAPHY ARCHIVE
   ========================================================================== */

body.photos-page {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: #060608;
  transition: background-color 300ms ease;
}

html.light body.photos-page {
  background-color: #e5e5e0;
}

/* WebGL Fullscreen Canvas */
.gallery-webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
  cursor: grab;
}

.gallery-webgl-canvas:active {
  cursor: grabbing;
}

/* Top-Left HUD Info Badge */
.photos-hud-info {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.photos-hud-title {
  font-family: var(--fonts-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colors-gray12);
  display: flex;
  align-items: center;
  gap: 8px;
}

.photos-hud-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--colors-focus);
}

.photos-hud-subtitle {
  font-family: var(--fonts-mono);
  font-size: 11px;
  color: var(--colors-gray10);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Center Bottom Floating Controls Hint */
.photos-controls-pill {
  position: fixed;
  top: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--fonts-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  z-index: 30;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 250ms ease, transform 250ms ease, background 200ms ease;
}

.photos-controls-pill:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}

html.light .photos-controls-pill {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #111111;
}

html.light .photos-controls-pill:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Fullscreen Floating Action Button */
.fullscreen-btn {
  all: unset;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 250ms ease, transform 200ms ease, border-color 200ms ease;
  touch-action: manipulation;
}

.fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.fullscreen-btn:active {
  transform: scale(0.95);
}

.fullscreen-btn .icon-exit {
  display: none;
}

.fullscreen-btn.active .icon-enter {
  display: none;
}

.fullscreen-btn.active .icon-exit {
  display: block;
}

html.light .fullscreen-btn {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #111111;
}

html.light .fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.95);
}

/* Hide native scrollbars */
::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .photos-controls-pill {
    display: none;
  }
  .photos-hud-info {
    top: 16px;
    left: 16px;
  }
  .fullscreen-btn {
    right: 16px;
    bottom: 84px;
    width: 38px;
    height: 38px;
  }
}
