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

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 20px;
}

.page-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px 30px;
}

.content-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
    margin: auto 0;
}

header {
    padding: 5px;
    text-align: center;
    margin-bottom: 5px;
    width: 100%;
}

header h1 {
    font-size: 26px;
    color: #999;
    font-weight: 100;
    letter-spacing: 25px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding-right: 25px;
    width: 100%;
}

/* Add Poppins font with light weight */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300&display=swap');

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

footer {
    text-align: center;
    color: #666;
    font-size: 12px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 200;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .page-container {
        margin: 0 10px;
    }

    header,
    footer {
        padding: 4px;
    }

    header h1 {
        font-size: 18px;
    }
}

.video-container {
    position: relative;
    width: 100%;
    max-width: min(100%, calc(100vh - 200px) * 16/9);
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
    margin: 0;
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #f0f0f0;
    object-fit: contain;
}

.controls {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.1));
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.controls.hidden {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.control-btn {
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.8);
}

.play-icon,
.pause-icon {
    width: 40px;
    height: 40px;
    fill: #555;
}

.play-icon {
    margin-left: 5px;
}

.seekbar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.seekbar-wrapper {
    position: relative;
    width: 100%;
}

.seekbar {
    width: 100%;
    height: 2px;
    -webkit-appearance: none;
    background: rgba(136, 136, 136, 0.3);
    border-radius: 1px;
    outline: none;
    cursor: pointer;
}

.seekbar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #888;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.seekbar::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #666;
}

.seekbar-tooltip {
    position: absolute;
    bottom: 20px;
    left: 0;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.seekbar:hover+.seekbar-tooltip,
.seekbar:active+.seekbar-tooltip {
    opacity: 1;
}

.time-display {
    color: white;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    min-width: 40px;
    text-align: center;
}

.seekbar::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.seekbar::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: #333;
}

.download-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.download-btn,
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid;
    border-radius: 20px;
    background-color: transparent;
    font-size: 13px;
    font-weight: 300;
    cursor: pointer;
    width: 140px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border-color: #777777;
    color: #777777;
    transition: all 0.6s ease-in-out;
}

.download-btn::before,
.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    transition: all 0.6s ease-in-out;
    z-index: -1;
}

.download-btn::after,
.contact-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            transparent 25%,
            rgba(255, 255, 255, 0.3) 35%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0.3) 65%,
            transparent 75%,
            transparent);
    transform: translateX(-120%) translateY(-100%) rotate(45deg);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.download-btn:hover::before,
.contact-btn:hover::before {
    background-color: #444444;
    box-shadow:
        inset 0 0 50px rgba(255, 255, 255, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes shine {
    0% {
        opacity: 0;
        transform: translateX(-120%) translateY(-100%) rotate(45deg);
    }

    20% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    45% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: translateX(120%) translateY(100%) rotate(45deg);
    }
}

.download-btn:hover::after,
.contact-btn:hover::after {
    animation: shine 2s ease-in-out infinite;
}

.download-btn:hover,
.contact-btn:hover {
    color: white;
    border-color: #BBBBBB;
    box-shadow:
        0 0 25px rgba(255, 255, 255, 0.25),
        0 0 35px rgba(255, 255, 255, 0.2),
        0 0 45px rgba(255, 255, 255, 0.15);
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 15px rgba(255, 255, 255, 0.4);
}

.download-icon,
.contact-icon {
    fill: currentColor;
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 1;
    transition: fill 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.fullscreen-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fullscreen-icon {
    width: 24px;
    height: 24px;
    fill: #555;
}