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

:root {
    --turquoise: #5BC0DE;
    --white: #ffffff;
    --dark: #2C3E50;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background-color: #000000;
}

.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #000000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-background video,
.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
}

.video-background video {
    pointer-events: none;
}

.video-background iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    z-index: 5;
}

.video-background video.fade-out,
.video-background iframe.fade-out {
    opacity: 0;
}

.header {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 100;
}

.logo img {
    height: 80px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.8;
}

.social-icons {
    position: absolute;
    top: 30px;
    right: 40px;
    display: flex;
    gap: 25px;
    align-items: center;
    z-index: 100;
}

.social-icons a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a svg {
    width: 36px;
    height: 36px;
}

.social-icons a:hover {
    color: var(--turquoise);
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    max-width: 1700px;
    padding: 0 20px;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.category-overlay.fade-out {
    opacity: 0;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.category-btn {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    padding: 15px 35px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.category-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-btn.active {
    background-color: var(--turquoise);
    border-color: var(--turquoise);
    color: var(--white);
}

.playback-controls {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.playback-controls.hidden {
    display: none;
}

.playback-controls.fade-out {
    opacity: 0;
}

.control-btn {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn svg {
    width: 24px;
    height: 24px;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.control-btn:active {
    background-color: var(--turquoise);
    border-color: var(--turquoise);
    color: var(--white);
}

@media (max-width: 768px) {
    .header {
        top: 20px;
        left: 25px;
    }

    .logo img {
        height: 60px;
    }

    .social-icons {
        right: 25px;
        gap: 20px;
    }

    .social-icons a svg {
        width: 24px;
        height: 24px;
    }

    .category-buttons {
        gap: 12px;
    }

    .category-btn {
        font-size: 0.75rem;
        padding: 12px 25px;
    }

    .control-btn {
        width: 45px;
        height: 45px;
    }

    .control-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        top: 15px;
        left: 20px;
    }

    .logo img {
        height: 50px;
    }

    .social-icons {
        right: 20px;
        gap: 15px;
    }

    .social-icons a svg {
        width: 22px;
        height: 22px;
    }

    .category-btn {
        font-size: 0.7rem;
        padding: 10px 20px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }

    .control-btn svg {
        width: 18px;
        height: 18px;
    }
}
