
body { margin: 0; font-family: Arial, sans-serif; color: white; background-color: #121212; }
.gradient-header { background: linear-gradient(180deg, #9e0b0f, #000000); text-align: center; padding: 40px 20px 60px 20px; }
.gradient-footer { background: linear-gradient(180deg, #3c0000, #000000); text-align: center; padding: 20px; font-size: 14px; }
.logo { max-width: 200px; margin-bottom: 20px; }
h1, h2 { margin: 10px 0; }
p { margin: 5px 0; }

.welcome-text { color: #3399FF; font-size: 32px; }

.intro-text { margin: 10px 0; text-align: center; }
.intro-line1 { font-size: 24px; font-weight: bold; color: #3399FF; display: block; margin-bottom: 8px; }
.intro-line2 { font-size: 20px; color: white; display: block; }

.main-menu {
    background: linear-gradient(180deg, #000000, #1a1a1a);
    text-align: center;
    padding: 15px 0;
    margin-top: -10px; /* Adjust if needed to align with header bottom */
    border-top: 2px solid #9e0b0f; /* optional top line */
    border-bottom: 2px solid #9e0b0f; /* optional bottom line */
}

    .main-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 40px;
    }

    .main-menu li {
        display: inline;
    }

    .main-menu a {
        color: #f5b301;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        padding: 8px 12px;
        transition: color 0.3s;
    }

.about-us-section {
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 10px auto;
}
.about-us-section p {
    margin-bottom: 20px; /* space between paragraphs */
    font-size: 18px;
    line-height: 1.6;
    color: white;
}

.photo-section, .video-section, .vision-section {
    text-align: center;
    padding: 40px 20px;
    max-width: 1340px;
    margin: auto;
}
.about-us-section h2, .video-section h2, .vision-section h2 {
    color: #3399FF;
    font-size: 28px;
    margin-bottom: 30px;
}
.photo-section p, .video-section p,.vision-section p {
    font-size: 18px;
    line-height: 1.6;
    color: white;
}

.gallery-grid, .video-grid, .vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px; /* More horizontal spacing */
    row-gap: 30px; /* More vertical spacing  */
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    padding: 0;
}


@media (max-width: 768px) {
    .gallery-grid, .video-grid,.vision-grid{
        grid-template-columns: 1fr;
    }
    .video-row iframe {
        width: 100%;
        height: auto;
    }
    .gallery-caption {
        font-size: 14px;
    }
    .vision-caption {
        font-size: 14px;
    }
}

.gallery-item img,
.vision-item img,
.video-item iframe {
    width: 100%;
    max-width: 640px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    object-fit: cover;
}

.video-placeholder {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    background-color: #000;
    color: #f5b301; /* gold */
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #f5b301;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

html {
    scroll-behavior: smooth;
}

.back-button {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 60px;
}

.back-button a {
    color: #f5b301;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #f5b301;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}

.main-menu a:hover,
.back-button a:hover {
    color: #ff4d4d; /* bright red, or use #9e0b0f for your existing red */
}

@keyframes flashHighlight {
    0% {
        background-color: #9e0b0f;
        color: #000;
    }

    100% {
        background-color: transparent;
        color: #fff;
    }
}

.flash {
    animation: flashHighlight 0.4s ease;
    border-radius: 6px;
}
.game-logo {
    text-align: center;
    margin: 0px 0px 40px 0px /* vertical spacing above and below */
}

    .game-logo img {
        width: 100%;
        max-width: 640px;
        height: auto;
        display: inline-block;
    }

/* 
.rotating-text {
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
    */

.rotating-text {
    opacity: 0;
    transition: opacity 0.5s linear; /* has to match that milliseconds in script to be smooth*/
    min-height: 42px;
    font-size: 18px;
    text-align: center;
    color: #3399FF;
}

    .rotating-text.visible {
        opacity: 1;
    }