/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header Styling */
header {
    background-color: #222;
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

header .logo img {
    width: 150px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #ff6600;
    text-decoration: underline;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff6600;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero {
    background: linear-gradient(45deg, #ff6600, #ff9900);
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-in-out;
    animation-delay: 0.5s;
}

/* Keyframe Animation */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* First Annual Tournament Section */
.first-annual {
    background-color: #ff6600;
    color: white;
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 30px 0;
}

.first-annual h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

/* Poster Section with Animation */
.poster {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: posterAnimation 4s ease-in-out infinite alternate;
}

@keyframes posterAnimation {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Gallery Section */
.gallery {
    padding: 50px 20px;
    text-align: center;
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-in-out;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Adjusted to make images smaller */
    gap: 15px;  /* Reduced gap for a tighter layout */
    justify-items: center;
}

.gallery-images img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Updates Section */
.updates {
    padding: 50px 20px;
}

.updates .update-item {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-in-out;
}

.updates h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.updates .update-images {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 10px;
}

.updates .update-images img {
    max-width: 23%;
    height: auto;
    margin: 1%;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.updates .update-images img:hover {
    transform: scale(1.1);
}

/* Tournament Schedule Section */
.schedule-background {
    background: url('night.webp') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 50px;
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.schedule-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: -1;
}

.schedule-background h2,
.schedule-background p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.schedule-background table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.schedule-background th,
.schedule-background td {
    padding: 15px;
    text-align: center;
    border: 1px solid white;
}

.schedule-background th {
    background-color: rgba(0, 0, 0, 0.7);
    color: #ff6600;
}

.schedule-background td {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff6600;
}

/* Logo Animation */
.logo-animation {
    animation: logoZoom 1s ease-in-out;
}

@keyframes logoZoom {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    header .logo img {
        width: 120px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .poster {
        height: 40vh;
    }

    .poster-img {
        object-fit: cover;
    }

    .gallery-images {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .schedule-background {
        padding: 1.5em;
    }

    .schedule-background table {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .
