/* ============================================================
   MobiusLoop Showcase 79 – Styles
   ============================================================ */

.mobiusloop79-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0a0a14;
    border-radius: 12px;
    user-select: none;
    touch-action: none;
}

.mobiusloop79-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.mobiusloop79-canvas:active {
    cursor: grabbing;
}

/* ── Hint ──────────────────────────────────────────────── */
.mobiusloop79-hint {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s ease;
    font-family: system-ui, sans-serif;
    white-space: nowrap;
}
.mobiusloop79-hint.hidden {
    opacity: 0;
}

/* ── Lightbox ───────────────────────────────────────────── */
.mobiusloop79-lightbox {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    z-index: 100;
    animation: ml79-lb-in 0.28s cubic-bezier(0.22,1,0.36,1);
}

.mobiusloop79-lightbox[hidden] {
    display: none;
}

@keyframes ml79-lb-in {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.mobiusloop79-lb-img {
    max-width: 90%;
    max-height: 72%;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 0 60px rgba(120,80,255,0.4);
    animation: ml79-img-in 0.35s cubic-bezier(0.22,1,0.36,1);
}

@keyframes ml79-img-in {
    from { opacity: 0; transform: scale(0.88) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.mobiusloop79-lb-caption {
    color: rgba(255,255,255,0.72);
    font-family: system-ui, sans-serif;
    font-size: 13px;
    margin-top: 14px;
    letter-spacing: 0.04em;
    text-align: center;
    max-width: 80%;
}

.mobiusloop79-lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.mobiusloop79-lb-close:hover { background: rgba(255,255,255,0.22); }

.mobiusloop79-lb-prev,
.mobiusloop79-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.mobiusloop79-lb-prev { left: 16px; }
.mobiusloop79-lb-next { right: 16px; }
.mobiusloop79-lb-prev:hover,
.mobiusloop79-lb-next:hover { background: rgba(255,255,255,0.22); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .mobiusloop79-wrap { border-radius: 0; }
    .mobiusloop79-lb-prev { left: 6px; }
    .mobiusloop79-lb-next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .mobiusloop79-canvas { animation: none !important; }
}
