/* ═══════════════════════════════════════════════
   3D VORTEX GALERIE — Stylesheet
   ═══════════════════════════════════════════════ */

.vortex-galerie-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    font-family: 'Georgia', serif;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.vortex-galerie-wrapper:active {
    cursor: grabbing;
}

.vortex-canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

/* ── UI Overlay ─────────────────────────────── */
.vortex-ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.vortex-title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(14px, 2.5vw, 22px);
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(180, 120, 255, 0.8), 0 0 40px rgba(180, 120, 255, 0.4);
    white-space: nowrap;
    backdrop-filter: none;
}

.vortex-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    letter-spacing: 0.15em;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.vortex-hint-desktop { display: block; }
.vortex-hint-mobile  { display: none;  }

@media (pointer: coarse) {
    .vortex-hint-desktop { display: none;  }
    .vortex-hint-mobile  { display: block; }
}

.vortex-sensor-btn {
    pointer-events: all;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(120, 60, 200, 0.75);
    color: #fff;
    border: 1px solid rgba(200, 150, 255, 0.5);
    border-radius: 30px;
    padding: 14px 32px;
    font-size: 15px;
    letter-spacing: 0.05em;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 30px rgba(180, 100, 255, 0.4);
}

.vortex-sensor-btn:hover {
    background: rgba(150, 80, 240, 0.9);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 50px rgba(180, 100, 255, 0.7);
}

.vortex-image-label {
    position: absolute;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(180, 120, 255, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
    white-space: nowrap;
}

.vortex-image-label.visible {
    opacity: 1;
}

/* ── Loading Screen ─────────────────────────── */
.vortex-loading {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: opacity 0.8s ease;
}

.vortex-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.vortex-spinner {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(180, 100, 255, 0.2);
    border-top-color: rgba(180, 100, 255, 0.9);
    border-radius: 50%;
    animation: vortexSpin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes vortexSpin {
    to { transform: rotate(360deg); }
}

.vortex-loading-text {
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}
