/* Enter gate + volume dock — Kreechures Alive */

.enter-gate {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    overflow: hidden;
    cursor: default;
    pointer-events: auto;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    transition: opacity .55s ease, visibility .55s ease;
}

.enter-gate.is-gone {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Full-screen frosted blur over the live site */
.enter-blur {
    position: absolute;
    inset: 0;
    pointer-events: none;
    backdrop-filter: blur(28px) saturate(1.1);
    -webkit-backdrop-filter: blur(28px) saturate(1.1);
    background: rgba(8, 4, 24, .55);
}

.enter-btn {
    position: relative;
    z-index: 1;
    border: 0;
    background: none;
    color: #fff;
    font-family: "Archivo Black", Impact, sans-serif;
    font-size: clamp(28px, 6vw, 48px);
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 12px 20px;
    cursor: pointer;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .55), 0 0 28px rgba(107, 58, 255, .45);
    transition: transform .18s ease, opacity .18s ease, letter-spacing .18s ease;
}

.enter-btn:hover {
    transform: scale(1.04);
    letter-spacing: .22em;
}

.enter-btn:active {
    transform: scale(.98);
    opacity: .85;
}

/* Volume dock — bottom right */
.volume-dock {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 99990;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 10px;
    border-radius: 999px;
    background: rgba(8, 4, 24, .78);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    color: #efe9ff;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    animation: volumeIn .45s ease .15s both;
}

.volume-dock[hidden] {
    display: none !important;
}

@keyframes volumeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.volume-mute {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(107, 58, 255, .22);
    color: #e8deff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
}

.volume-mute:hover {
    background: rgba(107, 58, 255, .4);
    transform: scale(1.05);
}

.volume-ico {
    display: block;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.volume-mute.is-muted .vol-mid,
.volume-mute.is-muted .vol-far {
    display: none;
}

.volume-mute.is-muted .vol-x {
    display: block;
}

.volume-mute:not(.is-muted) .vol-x {
    display: none;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 110px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6b3aff, #a78bff);
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(107, 58, 255, .45);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(107, 58, 255, .45);
    cursor: pointer;
}

.volume-value {
    width: 3ch;
    flex: 0 0 3ch;
    text-align: right;
    font-size: 11px;
    letter-spacing: .06em;
    color: rgba(232, 222, 255, .75);
}

@media (max-width: 640px) {
    .volume-dock {
        right: 12px;
        bottom: 86px;
    }
    .volume-slider {
        width: 84px;
    }
}

/* Lock page interaction while gate is up */
body.gate-locked {
    overflow: hidden !important;
}

body.gate-locked #root,
body.gate-locked #root *,
body.gate-locked canvas.webgl,
body.gate-locked .global-bg-container {
    pointer-events: none !important;
}

.nav-copyright {
    display: none !important;
}
