@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Mono:wght@300;400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --cyan: #3BE2E2;
    --dark: #0a0a0a;
}

html, body {
    width: 100%; height: 100%;
    background: #000;
    overflow: hidden;
}
#player-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

#video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}

#vol-control {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(0,229,255,0.25);
    border-radius: 30px;
    padding: 8px 16px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s;
}
#vol-control.visible { opacity: 1; }

#mute-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    color: var(--cyan);
    transition: opacity 0.2s;
}
#mute-btn:hover { opacity: 0.7; }
#mute-btn svg { width: 18px; height: 18px; fill: var(--cyan); }

#vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 90px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.15);
    outline: none;
    cursor: pointer;
    background-image: linear-gradient(var(--cyan), var(--cyan));
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px; height: 13px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,229,255,0.7);
    cursor: pointer;
}

#vol-slider::-moz-range-thumb {
    width: 13px; height: 13px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 0 6px rgba(0,229,255,0.7);
    cursor: pointer;
}

#vol-slider::-moz-range-progress {
    background: var(--cyan);
    height: 3px;
    border-radius: 2px;
}

#waiting-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#waiting-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
}

.logo img {
    width: 120px;
    height: 120px;
    display: block;
}

.waiting-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 6vw, 52px);
    color: #fff;
    letter-spacing: 0.08em;
    line-height: 1;
}

.waiting-sub {
    font-family: 'DM Mono', monospace;
    font-size: clamp(11px, 2vw, 13px);
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.countdown-wrap {
    position: relative;
    width: 54px; height: 54px;
}

.countdown-wrap svg {
    transform: rotate(-90deg);
    width: 54px; height: 54px;
}

.countdown-wrap svg circle {
    fill: none;
    stroke-width: 2.5;
}

.countdown-track { stroke: rgba(255,255,255,0.1); }

.countdown-fill {
    stroke: var(--cyan);
    stroke-linecap: round;
    stroke-dasharray: 138.2;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 4px var(--cyan));
}
.countdown-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: #fff;
}