body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column; 
    min-height: 100vh;
    background-color: #f0f2f5;
    margin-bottom: 60px; 
}
    
header {
background-color: #20af52;
color: white;
padding: 1em;
text-align: center;
}

main {
flex-grow: 1;
padding: 2em;
}

.video-section h2 {
font-size: 2.5em;
margin-bottom: 0em;
text-align: center;
}

.video-section h1 {
    font-size: 1em;
    margin-bottom: 1em;
    text-align: center;
    font-weight: normal;
    }

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}

@media (max-width: 960px) {
    .video-grid {
        grid-template-columns: 1fr; 
    }
}

.video-item {
background-color: white;
border-radius: 8px;
padding: 1em;
box-shadow: 0 2px 5px rgba(0,0,0, 0.1);
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}

.video-item h3 { 
font-size: 1.5em;
margin-bottom: 0.0em;
margin: 0.5em 0; 
width: auto;
} 

.video-item h4 {
    font-size: 1em;  /* Smaller font */
    font-style: italic; /* Italicized */
    font-weight: normal; /* Remove bold */
    margin: 0.3em 0; /* Reduce spacing */
    color: #666; /* Optional: Light gray for subtlety */
}

.video-item p {
    margin-bottom: 1em; /* Add spacing for descriptions */
    font-size: 1em; /* Adjust font size for readability */
}

.video-thumbnail {
    margin-top: 1em; /* Add space between description and video */
    object-fit: cover;
    width: 100%;
    height: 350px;
    cursor: pointer; /* Indicate that it's clickable */
}

.video-item iframe {
margin-top: 1em;
width: 100%;
flex-grow: 1;
object-fit: cover;
height: 350px
}

footer {
background-color: #20af52;
color: white;
padding: 1.5em;
text-align: center;
bottom: 0; 
width: auto; 
}

a {
color: #e2ffe1;
}

.video-item.new-video {
position: relative;
}

.video-item.new-video::after { 
content: "MỚI";
position: absolute;
top: 10px; 
right: 10px;
background-color: #FF5733;
color: white;
padding: 0.3em 0.5em; 
border-radius: 4px; 
}

.video-item.new-video {
border: 3px solid #FFC300;
box-shadow: 0 0 10px rgba(255, 195, 0, 0.5);
}

.announcement-banner {
background-color: #FFC300;
color: #333;
text-align: center;
padding: 0.5em;
font-size: 1.2em
}

.ad-warning-banner {
    background-color: #61935c;
    color: #ffffff;
    text-align: center;
    padding: 0.5em;
    font-size: 1.2em
    }

.new-videos {
    margin-bottom: 3em; /* Adjust spacing as needed */
}

.newsletter-signup {    
    text-align: center; 
}

.form-container {
    max-width: 100%;
    overflow: hidden;
}

.form-container iframe {
    width: 100%; 
    height: 550px;
}


#continue-button {
    background-color: #008cba; /* Example color, adjust as needed */
    color: white;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
   
}

#continue-withremind-button {
    background-color: #008cba; /* Example color, adjust as needed */
    color: white;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 0.3em;   
}

.warning-box {
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centering */
    background-color: #f0f2f5;
    padding: 2em;
    text-align: center;
    z-index: 1000; /* Ensure it's on top of other content */
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.overlay {
    /* Existing styles (adjust as needed for positioning) */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    position: fixed;  /* Ensures it covers the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999; /* Ensure it's displayed on top of other elements */
    display: none; /* Initially hidden */
  }

.movie-section {
    background-color: #bae9ff; /* Light yellow background */
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.load-more-button, .show-less-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #20af52;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.load-more-button:hover, .show-less-button:hover {
    background-color: #198d42;
}

.hidden {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.video-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Space between buttons */
    margin-top: 20px;
}

.load-more-button, .show-less-button {
    padding: 12px 25px;
    font-size: 1.2em;
    background-color: #20af52;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.load-more-button:hover, .show-less-button:hover {
    background-color: #198d42;
}

.hidden {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.video-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Season Filter Dropdown */
.season-filter {
    text-align: center;
    margin-bottom: 15px;
}

.season-filter label {
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 10px;
}

#seasonSelect {
    padding: 8px 12px;
    font-size: 1em;
    border: 2px solid #20af52;
    border-radius: 5px;
    cursor: pointer;
}

#seasonSelect:focus {
    outline: none;
    border-color: #198d42;
}

.tab-buttons {
    text-align: center;
    margin-bottom: 10px;
}

.tab-buttons button {
    padding: 10px 15px;
    font-size: 1em;
    border: none;
    background-color: #20af52;
    color: white;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
    transition: 0.3s;
}

.tab-buttons button:hover {
    background-color: #198d42;
}

.content-section {
    display: none; /* Hide all sections by default */
}

.content-section.active {
    display: block; /* Show only the active section */
}

.section-nav {
    position: sticky;
    top: 0;
    background-color: white;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

.section-nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #20af52;
    font-weight: bold;
    font-size: 1.2em;
    transition: 0.3s;
}

.section-nav a:hover {
    color: #198d42;
}

html {
    scroll-behavior: smooth; /* Enables smooth scrolling */
}

.eula-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.eula-box {
    background: white;
    padding: 2em;
    max-width: 600px;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.eula-text-container {
    max-height: 300px;
    overflow-y: auto;
    background: #f9f9f9;
    padding: 1em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95em;
    line-height: 1.5em;
}

.eula-buttons {
    text-align: right;
}

.eula-buttons button {
    background-color: #20af52;
    color: white;
    padding: 10px 18px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.eula-buttons button:hover {
    background-color: #198d42;
}