body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: linear-gradient(0deg, #ff8dc0 0%, #e0dcc3 100%);
    background-repeat: no-repeat;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: auto;
}
.container {
    padding: 20px;
    text-align: center;
    max-width: 1400px;
    width: 100%;
}
.logo {
    max-width: 300px;
    margin-bottom: 20px;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.video-container {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.download-section {
    padding: 0;
}
.download-section h3 {
    padding: 0;
}
.button-group {
    display: flex;
    justify-content: center;
    gap: 0;
}
.download-button {
    flex: 1;
    padding: 15px;
    text-align: center;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    font-size: 20px;
}
.download-button:first-child {
    border-bottom-left-radius: 12px;
    border-right: 1px solid #fff; /* Slight border to separate the buttons */
}
.download-button:last-child {
    border-bottom-right-radius: 12px;
}
.download-button:hover {
    background-color: #0056b3;
}
.expiration-info {
    margin-top: 20px;
    font-size: 16px;
    color: #fff;
    text-align: center;
}
.error-message {
    margin-top: 20px;
    padding: 20px;
    background-color: #ff4c4c;
    color: white;
    border-radius: 8px;
}
@media (max-width: 1400px) {
    .video-container {
        flex: 1 1 calc(45% - 20px);
        max-width: calc(45% - 20px);
    }
}
@media (max-width: 768px) {
    .video-container {
        flex: 1 1 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#spinner {
    width: 48px;
    height: 48px;
    position: relative;
}
#spinner::after,
#spinner::before {
    content: '';  
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #FFF;
    position: absolute;
    left: 0;
    top: 0;
    animation: animloader 2s linear infinite;
}
#spinner::after {
    animation-delay: 1s;
}

@keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}
