.showreel-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
}

.showreel-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.showreel-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

.showreel-logo {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: block;
    width: min(38vw, 420px);
    max-height: 28vh;
    object-fit: contain;
    pointer-events: none;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 5px 24px rgba(0, 0, 0, .55));
}

@keyframes showreel-logo-disappear {
    to { opacity: 0; visibility: hidden; }
}

.showreel-logo--auto-hide {
    animation: showreel-logo-disappear .7s ease var(--showreel-logo-display-duration, 3s) forwards;
}

.showreel-hero-scroll {
    position: absolute;
    z-index: 3;
    right: 5vw;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.75;
}

.showreel-hero-scroll-line {
    display: block;
    width: 50px;
    height: 1px;
    background: currentColor;
}

.audio-control {
    position: absolute;
    z-index: 4;
    left: 5vw;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.audio-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.audio-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: scale(1.05);
}

.audio-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.audio-volume-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 130px;
}

.audio-volume-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    opacity: 0.8;
}

.audio-volume {
    width: 100%;
    height: 3px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
}

.audio-volume::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.audio-volume::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.audio-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.75;
}

@media (max-width: 768px) {
    .showreel-hero {
        min-height: 85vh;
    }

    .showreel-logo { width: min(58vw, 280px); max-height: 22vh; }
    .head-logo-edit-button { left: 24px; top: 74px; }


    .showreel-hero-scroll {
        right: 24px;
        bottom: 24px;
    }

    .audio-control {
        left: 24px;
        bottom: 24px;
    }

    .audio-volume-wrapper {
        width: 90px;
    }

    .audio-label {
        display: none;
    }

}

.head-logo-edit-button {
    position: absolute;
    z-index: 4;
    top: 24px;
    left: 5vw;
    padding: 8px 12px;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

.head-logo-preview {
    display: grid;
    min-height: 180px;
    padding: 24px;
    place-items: center;
    background: #080808;
    border: 1px solid rgba(255,255,255,.18);
}

.head-logo-preview img {
    display: block;
    max-width: min(100%, 420px);
    max-height: 180px;
    object-fit: contain;
}

.video-edit-button {
    position: absolute;
    z-index: 4;
    top: 24px;
    right: 5vw;
    padding: 8px 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.video-edit-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .head-logo-edit-button {
        top: 74px;
        left: 24px;
    }
}
