* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background-color: #1a1a1a;
    border-bottom: 2px solid #ff69b4;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 50px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.5));
}

nav {
    display: flex;
    align-items: center;
}

.home-button {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: #ffffff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.home-button:hover {
    background: linear-gradient(135deg, #ff1493, #ff69b4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.6);
}

.home-button:active {
    transform: translateY(0);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.video-wrapper {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
    contain: layout;
}

.video-placeholder {
    min-height: 500px;
    width: 100%;
    max-width: 100%;
    background-color: #1a1a1a;
    border: 2px solid rgba(255, 105, 180, 0.15);
    box-sizing: border-box;
}

.video-placeholder-error {
    background-color: rgba(255, 105, 180, 0.08);
}

.video-wrapper video {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.3);
    background-color: #1a1a1a;
    border: 2px solid rgba(255, 105, 180, 0.2);
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 2rem;
    color: #ff69b4;
    display: none;
}

.loading-indicator.active {
    display: block;
}

.spinner {
    border: 4px solid rgba(255, 105, 180, 0.3);
    border-top: 4px solid #ff69b4;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-indicator p {
    font-size: 1.1rem;
    color: #ffffff;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    border-top: 2px solid #ff69b4;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 -2px 10px rgba(255, 105, 180, 0.3);
}

footer p {
    color: #ffffff;
    font-size: 1rem;
}

footer .footer-link {
    color: #ff69b4;
    text-decoration: none;
    margin-top: 0.5rem;
    display: inline-block;
}

footer .footer-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .site-logo {
        height: 40px;
        max-width: 200px;
    }

    .home-button {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .video-wrapper {
        min-height: 400px;
    }

    .video-wrapper video {
        max-height: 70vh;
    }
}

