body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    
    /* BACKGROUND FIX START */
    background-color: #f4f4f9; 
    background-image: url("../backgroundWinter.jpg");
    /* Make the background image stay put */
    background-attachment: fixed; 
    /* Cover the entire viewport */
    background-size: cover; 
    /* Center the image */
    background-position: center;
    /* BACKGROUND FIX END */
    
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.video-title {
    color: #00407C; /* Logo Dark Blue */
    font-size: 2em;
    margin: 0 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #A3C6E5;
}

.meta-info {
    color: #666;
    font-size: 1.1em;
    margin-top: 5px;
    margin-bottom: 30px;
}

/* --- VIDEO PLAYER STYLING --- */
.video-wrapper {
    position: relative;
    width: 100%;
    /* Maintain 16:9 aspect ratio */
    padding-bottom: 56.25%; 
    height: 0;
    margin-bottom: 30px;
    background-color: black;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- BUTTON STYLING --- */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.modern-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* Primary Button (for Download) - Dark Blue */
.modern-button.primary {
    background-color: #00407C;
    color: white;
    border: 2px solid #00407C;
}

.modern-button.primary:hover {
    background-color: #0070B4; /* Slightly lighter blue on hover */
    border-color: #0070B4;
}

/* Outline Button (for Overview) - Light Blue */
.modern-button.outline {
    background-color: #E0F1FF; /* Light Blue background */
    color: #00407C; /* Logo Dark Blue text */
    border: 2px solid #A3C6E5; /* Medium Light Blue border */
}

.modern-button.outline:hover {
    background-color: #A3C6E5; /* Medium Light Blue hover background */
    color: #00407C;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .modern-button {
        margin: 5px 0;
    }
}

.quality-switch {
    text-align: right;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #333;
    display: flex;
    justify-content: flex-end; /* Align to the right */
    align-items: center;
    gap: 10px;
}

.quality-switch label {
    font-weight: 600;
}

.quality-switch select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #A3C6E5; /* Medium Light Blue Border */
    background-color: #E0F1FF; /* Light Blue Background */
    color: #00407C; /* Dark Blue Text */
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    appearance: none; /* Removes default OS styling */
    min-width: 150px;
}