/* ══════════════════════════════════════════════════════════
   GlassPrism28 – Styles
   All class names contain "28"
══════════════════════════════════════════════════════════ */

/* ── Widget wrapper ──────────────────────────────────── */
.gp28-canvas-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 4px;
  background: #060a14;
  user-select: none;
  -webkit-user-select: none;
}

/* ── Canvas ──────────────────────────────────────────── */
.gp28-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}
.gp28-canvas:active {
  cursor: grabbing;
}

/* ── Hint overlay ────────────────────────────────────── */
.gp28-hint28 {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-family: system-ui, sans-serif;
  letter-spacing: 0.04em;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.6s ease;
}

.gp28-hint-icon28 {
  font-size: 15px;
  color: rgba(140, 200, 255, 0.9);
  animation: gp28-spin28 4s linear infinite;
}

@keyframes gp28-spin28 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.gp28-hint-text28 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Lightbox ────────────────────────────────────────── */
.gp28-lightbox28 {
  position: fixed;
  inset: 0;
  z-index: 99928;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gp28-lightbox28[hidden] {
  display: none;
}

.gp28-lb-backdrop28 {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 20, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gp28-lb-inner28 {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp28-lb-img28 {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 40px 100px rgba(0,0,0,0.8),
    0 0 60px rgba(80,160,255,0.15);
  object-fit: contain;
}

.gp28-lb-close28 {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gp28-lb-close28:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.1);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .gp28-canvas-wrap {
    height: 340px;
  }
  .gp28-hint28 {
    font-size: 10px;
    bottom: 12px;
  }
}
@media (max-width: 480px) {
  .gp28-canvas-wrap {
    height: 260px;
    border-radius: 0;
  }
}

/* ── Elementor editor frame ──────────────────────────── */
.elementor-editor-active .gp28-canvas-wrap {
  pointer-events: none;
}
