/* Galaxy Photo Orbit – Stylesheet */

.gpo-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: #000008;
    cursor: grab;
    border-radius: 4px;
}

.gpo-container:active { cursor: grabbing; }

.gpo-canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* ── Scroll hint ─────────────────────────────── */
.gpo-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(160, 200, 255, 0.55);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
    animation: gpo-pulse 2.5s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes gpo-pulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1;   }
}

/* ── Lightbox ────────────────────────────────── */
.gpo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.gpo-lightbox.gpo-hidden { display: none !important; }

.gpo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        rgba(0,0,30,0.96) 0%,
        rgba(0,0,0,0.99)  100%);
    cursor: pointer;
}

.gpo-lightbox-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
}

.gpo-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow:
        0 0 40px rgba(100, 160, 255, 0.5),
        0 0 120px rgba(60,  100, 255, 0.25),
        0 0 0 1px rgba(100, 160, 255, 0.15);
    animation: gpo-lb-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes gpo-lb-in {
    from { transform: scale(0.7) translateY(30px); opacity: 0; }
    to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

.gpo-lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: 1px solid rgba(100,160,255,0.3);
    color: rgba(160,200,255,0.8);
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.gpo-lightbox-close:hover {
    background: rgba(100,160,255,0.15);
    color: #fff;
    border-color: rgba(100,160,255,0.8);
}

/* Decorative stars inside lightbox */
.gpo-lightbox-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 0;
    z-index: -1;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
    .gpo-container { height: 420px; }
    .gpo-scroll-hint { display: none; }
}
