body {
    font-family: 'Tangerine', cursive; /* Decorative font for headings */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(to bottom, #ff9933, #ffff66); /* Warm gradient */
    color: #b30000; /* Dark red for text */
}

h1 {
    font-family: 'Tangerine', cursive; /* Decorative font for headings */
    text-align: center;
    margin-bottom: 20px;
    font-size: 48px;
}

#player {
    width: 95%; /* Responsive width */
    max-width: 640px; /* Max width on larger screens */
    height: auto; /* Maintain aspect ratio */
    border: 5px solid #ffcc66; /* Gold border */
    border-radius: 10px; /* Rounded corners */
}

/* Maintain aspect ratio for YouTube player */
#player::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

#player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#nextButton {
    background-color: #ffcc66; /* Gold background */
    color: #b30000; /* Dark red text */
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px; /* Rounded corners */
    font-family: 'Times New Roman', serif;
}

#nextButton:hover {
    background-color: #ffbb33; /* Slightly darker gold on hover */
}

footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: #b30000; /* Dark red for link */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    #player {
        width: 100%;
        border: none;
        border-radius: 0;
    }
    #nextButton {
        font-size: 14px;
    }
}
