    *{
        box-sizing: border-box;
    }
    body{
        padding: 0px;
        margin: 0px;
    }
    .navbar-1{
        background-color: #007BFF;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .navbar-a1{
        padding: 0px 10px;
        line-height: 25px;
        color: whitesmoke;
        font-family: "Michroma", sans-serif;
        font-weight: 800;
        font-style: normal;
        font-size: 14PX;
        text-decoration: none;
        margin: 0px 15px;
        transition: all .3s ease-in;
    }
    .navbar-a1:hover{
        background-color: whitesmoke;
        color: #007BFF;
    }
    .login{
        color: whitesmoke;  
        border: 2px solid whitesmoke; 
        border-radius: 50%; 
        font-size: 12px;
        padding: 4px;
        margin-right: 10px;
    }
    .search-box {
        position: relative;
        width: fit-content;
        height: 40px;
    }

    .search-input {
        width: 0;
        opacity: 0;
        padding: 12px 10px 10px 10px; /* space for icon */
        border: none;
        margin-left: 20px;
        border-radius: 20px;
        transition: width 0.4s ease, opacity 0.4s ease;
        font-size: 14px;
        outline: none;
        background-color: transparent;
        color: whitesmoke;
    }

    .search-input::placeholder {
        color: whitesmoke;
        font-family: "Michroma", sans-serif;
        font-weight: 800;
        font-style: normal;
        font-size: 14PX;
    }

    .search-icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: whitesmoke;
        font-size: 16px;
        pointer-events: none; /* lets clicks go to input */ 
    }

    /* On hover, expand input */
    .search-box:hover .search-input {
        width:150px;
        opacity: 1;
    }
    .navbar-main{
        background: linear-gradient(to right, #0056b3, #007BFF);
        /* background: linear-gradient(to right, #0D1B2A, #007BFF); */
        /* background: linear-gradient(to right, #2F4F4F, #007BFF); */
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        border-top: 1px solid transparent;
        /* padding: 0px 20px; */
    }
    .navbar-a2 {
        padding: 0px 10px;
        line-height: 25px;
        color: whitesmoke;
        font-family: "Michroma", sans-serif;
        font-weight: 800;
        font-style: normal;
        font-size: 14px;
        text-decoration: none;
        margin: 0 5px;
        transition: all 0.3s ease-in;
        text-transform: uppercase;
    }

    .navbar-a2:hover {
        background-color: whitesmoke;
        color: #0056b3; 
        cursor: pointer;
    }
    .navbar-wrapper {
        position: relative;
        height: 100px;
    }

    .logo-centered {
        display: block;
        position: absolute;
        position: fixed;
        left: 10px;
        top: 6.5%; /* since .navbar-1 is 50px height */
        transform: translateY(-50%);
        z-index: 1000;
        width: 300px;
        height: auto;
        animation: pulseGlow 5s ease-in-out infinite;

    }@keyframes pulseGlow {
    0%, 100% {
        transform: translateY(-50%) scale(1) rotate(-1deg);
        filter: brightness(0) saturate(100%) invert(1) drop-shadow(0 0 0px rgba(255, 255, 255, 0));
        
    }
    50% {
        transform: translateY(-50%) scale(1.05) rotate(1deg);
        filter: brightness(0) saturate(100%) invert(1) drop-shadow(0 0 12px rgba(0, 180, 255, 0.8));
        
    }
    }
    .navbar-1,
.navbar-main {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999; /* ensures it stays on top of other content */
}

.navbar-main {
  top: 50px; /* push it below .navbar-1 which is 50px high */
}

    /* Hide hamburger and mobile nav by default on large screens */
    .hamburger-menu {
        display: none;
        font-size: 24px;
        color: white;
        background-color: rgba(0, 180, 255, 0.8);
        padding: 5px;
        border-radius: 5px;
        cursor: pointer;
        position: absolute;
        position: fixed;
        top: 10px;
        right: 20px;
        z-index: 20;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        background: linear-gradient(to right, #0056b3, #007BFF);
        position: absolute;
        top: 50px;
        right: 0;
        width: 100%;
        z-index: 15;
    }

    .mobile-nav a {
        color: whitesmoke;
        padding: 10px;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .mobile-nav a:hover {
        background-color: whitesmoke;
        color: #007BFF;
    }

    .mobile-nav .search-box {
        margin: 10px;
    }

    .mobile-nav .search-input {
        width: 100% !important;
        opacity: 1 !important;
        background: transparent;
        border-bottom: 1px solid whitesmoke;
    }

    /* Show hamburger & hide navbars on small screens */
    @media screen and (max-width: 1024px) {
        .navbar-1,
        .navbar-main {
        display: none;
        }
        .hamburger-menu {
        display: block;
        }

    /* When checkbox is checked, show mobile nav */
        .menu-toggle:checked + .hamburger-menu + .mobile-nav {
        display: flex;
        }
    }
    @media screen and (max-width: 1024px) {
        .logo-centered {
        top: 30px;
        width: 250px;  /* smaller width for tablets/laptops */
        height: auto;  /* maintain aspect ratio */
        }
        .navbar-wrapper{
            height: 0px;
        }
    }

    @media screen and (max-width: 768px) {
        .logo-centered {
        top: 25px;
        width: 200px;   /* even smaller for tablets */
        height: 200px;
        }
        
        .navbar-wrapper{
            height: 0px;
        }
    }

    @media screen and (max-width: 480px) {
        .logo-centered {
        top: 25px;
        width: 150px;   /* smallest size for mobiles */
        left: 0px;
        }
        
        .navbar-wrapper{
            height: 0px;
        }
    }




    .live-cover {
        position: relative;
        height: 86.1vh;
        overflow: hidden;
    }

    .live-cover video {
        position: absolute;
        top: 0px;
        width: 100%;
        height: 100vh;
        object-fit: cover;
        /* filter: brightness(0.6); */
        filter: contrast(1.2) brightness(0.8) grayscale(1);
        z-index: 1;
        animation: zoomVideo 15s ease-in-out infinite alternate;
    }
    @keyframes zoomVideo {
        0% {
        transform: scale(1);
        }
        100% {
        transform: scale(1.05);
        }
    }
    .overlay-gradient {
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
        z-index: 2;
    }
    .live-cover {
        position: relative;
        height: 86.1vh;
        overflow: hidden;
    }

    .live-cover video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        object-fit: cover;
        filter: contrast(1.2) brightness(0.8) grayscale(1);
        z-index: 1;
    }

    .cover-content {
        position: absolute;
        bottom: 40px;
        left: 40px;
        z-index: 2;
        color: white;
    }

    .academy-name {
        font-size: 2.8rem;
        font-family: "Chakra Petch", sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        margin: 0;
    }

    .cover-line {
        width: 300px;
        border: none;
        border-top: 3px solid #ffffff;
        margin: 10px 0;
    }

    .cover-text {
        font-size: 1.5rem;
        font-family: "Chakra Petch", sans-serif;
        margin: 0;
    }
    /* Default styles remain the same as you provided */

    /* Adjust cover content for smaller screens */
    @media screen and (max-width: 1024px) {
        .live-cover {
        height: 100vh;
        }
        .live-cover video {
        height: 100vh;
        }
        .cover-content {
        bottom: 20px;
        left: 20px;
        }
        .academy-name {
        font-size: 2rem;
        }
        .cover-line {
        width: 200px;
        }
        .cover-text {
        font-size: 1.2rem;
        }
    }

    @media screen and (max-width: 768px) {
        .live-cover {
        height: 100vh;
        }
        .live-cover video {
        height: 100vh;
        }
        .cover-content {
        bottom: 15px;
        left: 15px;
        }
        .academy-name {
        font-size: 1.8rem;
        }
        .cover-line {
        width: 150px;
        }
        .cover-text {
        font-size: 1rem;
        }
    }

    @media screen and (max-width: 480px) {
        .live-cover {
        height: 100vh;
        }
        .live-cover video {
        height: 100vh;
        }
        .cover-content {
        bottom: 10px;
        left: 10px;
        }
        .academy-name {
        font-size: 1.5rem;
        }
        .cover-line {
        width: 100px;
        }
        .cover-text {
        font-size: 0.9rem;
        }
    }


    .news-heading {
        font-size: 2rem;
        background: linear-gradient(to right, #00419b, #00cfff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
        font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
        font-weight: 900;
        font-style: normal;
    }
    .news-schedule .news-heading {
        font-size: 2rem;
        color: #00419b;
        letter-spacing: 1px;
        font-family: "Montserrat", sans-serif;
        font-weight: 900;
        margin-bottom: 2rem;
        text-transform: uppercase;
    }

    .hero-section {
        display: flex;
        justify-content: center;
        overflow-x: auto;
        gap: 40px;
        padding: 20px;
        /* background: #000; */
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .news-section {
        position: relative;
        z-index: 1;
        padding: 60px 20px;
        overflow: hidden;
        background-color: black;
    }

    .news-section::before {
        content: "";
        position: absolute;
        width: 300%;
        height: 300%;
        top: -100%;
        left: -100%;
        background: linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%),
                    linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%);
        background-size: 50px 50px;
        animation: gridMove 30s linear infinite;
        z-index: 0;
    }

    .news-section > * {
        position: relative;
        z-index: 2;
    }

    @keyframes gridMove {
        0% { transform: translate(0, 0); }
        100% { transform: translate(50px, 50px); }
    }

    @keyframes gridMove {
        0% { transform: translate(0, 0); }
        100% { transform: translate(50px, 50px); }
    }



    .card {
        position: relative;
        flex: 0 0 300px;
        overflow: hidden;
        border-radius: 10px;
        transition: transform 0.3s ease, z-index 0.3s;
        cursor: pointer;
    }

    .card:hover {
        transform: scale(1.05);
        z-index: 1;
    }

    .card img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }
    .card:hover img {
        transform: scale(1.05);
    }

    .caption {
        position: absolute;
        font-family: "Bentham", serif;
        font-weight: 400;
        font-style: normal;
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 10px;
        text-align: center;
        font-size: 1.1rem;
        font-weight: bold;
        color: white;
        background: linear-gradient(to right, rgba(0, 65, 155, 0.8), rgba(0, 207, 255, 0.8));
        border-radius: 8px;
        transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        text-shadow 0.3s ease;
        transform: scale(0.95);
        backdrop-filter: blur(2px);
    }

    .card:hover .caption {
        transform: scale(1.05);
        box-shadow: 0 0 12px rgba(0, 200, 255, 0.5);
        text-shadow: 0 0 6px #00cfff, 0 0 10px #00419b;
    }
    /* For mobile devices */
    @media (max-width: 767px) {
        .hero-section {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        /* overflow-x: auto; */
        gap: 20px;
        }

        .card {
        flex: 0 0 auto;
        width: 250px;
        }

        .card img {
        height: 300px;
        }
    }

    /* For tablets */
    @media (min-width: 768px) and (max-width: 1023px) {
        .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 30px;
        }

        .card {
        flex: 0 0 auto;
        width: 500px;
        }

        .card img {
        height: 400px;
        }
    }

    /* For laptops and above */
    @media (min-width: 1024px) {
        .hero-section {
        display: flex;
        flex-wrap: nowrap;
        /* overflow-x: auto; */
        gap: 40px;
        }

        .card {
        flex: 0 10 auto;
        width: 300px;
        }

        .card img {
        height: 450px;
        }
    }


    .match-schedule {
        background-color: black;
        color: white;
        text-align: center;
        position: relative;
        z-index: 1;
        padding: 10px 20px;
        overflow: hidden;
    }

    .match-schedule::before {
        content: "";
        position: absolute;
        width: 300%;
        height: 300%;
        top: -93%;
        left: -82%;
        background: linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%),
                    linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%);
        background-size: 50px 50px;
        animation: gridMove 30s linear infinite;
        z-index: 0;
    }

    .match-schedule > * {
        position: relative;
        z-index: 2;
    }

    @keyframes gridMove {
        0% { transform: translate(0, 0); }
        100% { transform: translate(50px, 50px); }
    }


    .section-title {
        font-size: 2rem;
        background: linear-gradient(to right, #00419b, #00cfff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
        font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
        font-weight: 900;
        font-style: normal;
    }
    .match-schedule .section-title {
        font-size: 2rem;
        color: #00419b;
        letter-spacing: 1px;
        font-family: "Montserrat", sans-serif;
        font-weight: 900;
        margin-bottom: 2rem;
        text-transform: uppercase;
    }


    .match-carousel {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding: 10px 0;
        scroll-behavior: smooth;
    }

    .match-card {
        min-width: 260px;
        background: #111;
        border-left: 5px solid #00cfff;
        padding: 20px;
        border-radius: 6px;
        flex-shrink: 0;
        opacity: 0.95;
    }

    .match-date {
        font-size: 1rem;
        color: #ccc;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .teams {
        font-size: 1.2rem;
        font-weight: bold;
        margin: 12px 0;
    }

    .team {
        color: #fff;
    }

    .vs {
        margin: 0 8px;
        color: #00cfff;
    }

    .match-time,
    .match-location {
        font-size: 0.95rem;
        color: #aaa;
        margin-top: 4px;
    }

    .match-carousel {
        display: flex;
        gap: 20px;
        padding: 10px 0;
        scroll-behavior: smooth;
        animation: scroll-carousel 60s linear infinite;
        width: max-content;
    }

    .match-schedule:hover .match-carousel {
        animation-play-state: paused;
    }

    @keyframes scroll-carousel {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }


    .youtube-wrapper {
        position: relative;
        z-index: 1;
        padding: 60px 40px;
        margin: 0 auto;
        /* max-width: 960px; */
        background-color: black;
        overflow: hidden;
    }

    .youtube-wrapper::before {
        content: "";
        position: absolute;
        width: 300%;
        height: 300%;
        top: -7%;
        left: -100%;
        background: linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%), 
                    linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%);
        background-size: 50px 50px;
        animation: gridMove 30s linear infinite;
        z-index: -1;
    }

    @keyframes gridMove {
        0% { 
            transform: translate(0, 0); 
        }
        100% { 
            transform: translate(50px, 50px); 
        }
    }

    .section-heading {
        font-size: 2rem;
        background: linear-gradient(to right, #00419b, #00cfff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
        font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
        font-weight: 900;
        font-style: normal;
    }

    .video-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
        align-items: flex-start;
    }

    .video-thumbnail {
        position: relative;
        cursor: pointer;
        overflow: hidden;
        border-radius: 12px;
        max-width: 560px;
    }

    .video-thumbnail img {
        width: 100%;
        display: block;
        border-radius: 12px;
    }

    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 80px;
        height: 80px;
        background: #00cfff url('https://cdn-icons-png.flaticon.com/512/727/727245.png') center/40% no-repeat;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: background 0.3s ease;
    }

    details[open] .video-thumbnail {
        display: none;
    }

    .youtube-frame {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        width: 560px;
    }

    .youtube-frame iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
    @media (max-width:767px) {
        .youtube-frame{
            width: 300px;
        }
    }

    .video-description {
        max-width: 500px;
        color: #fff;
        font-family: "Montserrat", sans-serif;
    }

    .video-description h3 {
        margin-top: 30%;
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #00cfff;
    }

    .video-description p {
        font-size: 1.5rem;
        color: #ccc;
    }

    .warriors-section {
        padding: 40px 20px;
        background: #0a0a23;
        color: #00ffff;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
        font-weight: 900;
        margin-bottom: 30px;
        letter-spacing: 2px;
    }

    .warrior-grid {
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: flex-end;
        height: 400px;
    }

    .player {
        flex: 0 0 120px;
        height: 100%;
        background: var(--img) no-repeat center / cover;
        border-radius: 10px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.4);
        transition: 0.4s ease-in-out;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .player:hover {
        flex: 0 0 240px;
        transform: translateY(-20px);
        box-shadow: 0 5px 25px #00ffff44;
    }

    .overlay {
        background: linear-gradient(to top, #000000cc, transparent);
        padding: 15px;
        opacity: 0;
        visibility: hidden;
        transition: 0.4s ease;
        text-align: left;
        font-size: 1rem;
    }
    .overlay h3,
    .overlay p {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    }


    .player:hover .overlay {
        opacity: 1;
        visibility: visible;
    }

    .label {
        background-color: #111827;
        text-align: center;
        padding: 10px;
        font-weight: bold;
        font-size: 1.1rem;
        color: #00ffff;
        position: relative;
        z-index: 1;
    }
    .warriors-section {
        position: relative;
        z-index: 1;
        padding: 60px 20px;
        overflow: hidden;
        background-color: black;
    }

    .warriors-section::before {
        content: "";
        position: absolute;
        width: 300%;
        height: 300%;
        top: -100%;
        left: -100%;
        background: linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%),
                    linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%);
        background-size: 50px 50px;
        animation: gridMove 30s linear infinite;
        z-index: 0;
    }

    .warriors-section > * {
        position: relative;
        z-index: 2;
    }

    @keyframes gridMove {
        0% { 
            transform: translate(0, 0); 
        }
        100% { 
            transform: translate(50px, 50px); 
        }
    }
    
/* Responsive media queries */
@media (min-width: 769px) and (max-width: 1024px) {
    .warrior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    height: auto;
    justify-items: center;
    }

    .player {
    flex: 0 0 auto;
    width: 100%;
    max-width: 220px;
    height: 300px;
    }

    .player:hover {
    flex: 0 0 auto;
    transform: translateY(-10px);
    }

    .overlay {
    font-size: 1rem;
    }

    .label {
    font-size: 1rem;
    padding: 10px;
    }
}

@media (max-width: 768px) {
    .warrior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    height: auto;
    justify-items: center;
    }

    .player {
    flex: 0 0 auto;
    width: 100%;
    max-width: 180px;
    height: 250px;
    }

    .player:hover {
    flex: 0 0 auto;
    transform: translateY(-8px);
    }

    .overlay {
    font-size: 0.9rem;
    }

    .label {
    font-size: 1rem;
    padding: 8px;
    }
}

@media (max-width: 480px) {
    .section-title {
    font-size: 1.5rem;
    }

    .warrior-grid {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: auto;
    }

    .player {
    width: 100%;
    max-width: 300px;
    height: 320px;
    }

    .player:hover {
    flex: 0 0 auto;
    transform: translateY(-5px);
    }

    .overlay {
    font-size: 0.85rem;
    }

    .label {
    font-size: 0.9rem;
    }
}
    .honours-section {
        padding: 60px 20px;
        background-color: #0a0a0a;
        color: white;
        text-align: center;
        position: relative;
        z-index: 1;
        overflow: hidden;
    }

    .honours-section::before {
        content: "";
        position: absolute;
        top: -20%;
        left: -10%;
        width: 300%;
        height: 300%;
        background: 
            linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%),
            linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%);
        background-size: 50px 50px;
        animation: gridMove 40s linear infinite;
        z-index: -1;
    }

    @keyframes gridMove {
        0% {
        background-position: 0 0, 25px 25px;
        }
        100% {
        background-position: 100px 100px, 125px 125px;
        }
    }

    .honours-section > * {
        position: relative;
        z-index: 2;
    }

    .honours-title {
        font-size: 2rem;
        background: linear-gradient(to right, #00cfff, #00419b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-family: "Montserrat", sans-serif;
        font-weight: 900;
        margin-bottom: 40px;
    }

    .honours-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .trophy-card {
        width: 200px;
        height: 260px;
        perspective: 1000px;
    }

    .trophy-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 0.8s;
        transform-style: preserve-3d;
    }

    .trophy-card:hover .trophy-inner {
        transform: rotateY(180deg);
    }

    .trophy-front, .trophy-back {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 12px;
        backface-visibility: hidden;
        overflow: hidden;
        box-shadow: 0 0 10px rgba(0, 207, 255, 0.3);
    }

    .trophy-front {
        background: linear-gradient(145deg, #003366, #004b8d);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .trophy-front img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .trophy-front h4 {
        font-size: 1.1rem;
        color: #ffffff;
    }

    .trophy-back {
        background-color: #00263a;
        color: white;
        transform: rotateY(180deg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px;
        text-align: center;
    }

    .trophy-back h4 {
        margin-bottom: 10px;
        font-size: 1.2rem;
        color: #00cfff;
    }

    .trophy-back p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
/* BOUNCE EFFECT */
@keyframes bounce {
    0% { 
        transform: translateY(0); 
    }
    50% {  
        transform: translateY(-20px);  
    }
    100% { 
        transform: translateY(0); 
    }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.jersey-section {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    background: black;
}

.jersey-section::before {
    content: "";
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%),
                linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
    z-index: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.card-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cards {
    position: relative;
    border-radius: 8px;
    height: 350px;
    width: 300px;
    background-size: 95%;
    background-position: center;
    box-shadow: 0 0 80px -10px black;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.cards:hover {
    transform: perspective(600px) rotateX(10deg) rotateY(10deg) scale(1.07);
}

.footer {
    position: absolute;
    height: 80px;
    width: 100%;
    bottom: 0;
}

.info {
    padding-left: 20px;
    opacity: 0;
    transform: rotateX(90deg);
    transform-origin: bottom;
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.cards:hover .info {
    opacity: 1;
    transform: rotateX(0deg);
    transform: translateY(0);
}

.name {
    font-weight: bolder;
    margin-right: 15px;
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: rgba(0,0,0,0.5);
    color: black;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.job {
    margin-top: 10px;
    text-align: center;
    color: black;
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.cards:hover .name, 
.cards:hover .job {
    color: #007BFF;
    text-shadow: 0 0 8px #007BFF;
}

@media (max-width: 600px) {
    .card-row {
    flex-direction: column;
    gap: 20px;
    }

    .cards {
    width: 90vw;
    height: auto;
    aspect-ratio: 3 / 4; /* maintain ratio */
    max-width: 400px;
    }
}

/* Tablet: two columns */
@media (min-width: 601px) and (max-width: 992px) {
    .card-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    }

    .cards {
    flex: 0 0 calc(50% - 30px);
    max-width: 400px;
    height: auto;
    aspect-ratio: 3 / 4;
    }
}

/* Laptop and above: three columns */
@media (min-width: 993px) {
    .card-row {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 40px;
    }

    .cards {
    flex: 0 0 300px;
    height: 350px; /* fixed height */
    }
}
/* Grid Move Background Animation */
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.sponsors-section {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    background: black;
}

.sponsors-section::before {
    content: "";
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%),
                linear-gradient(45deg, rgba(0, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(0, 255, 255, 0.05) 75%);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
    z-index: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 150px;
    position: relative;
    z-index: 1;
}

.sponsor-logo {
    flex: 1 1 150px;
    max-width: 100px;
    /* filter: brightness(80%) saturate(0); light grey */
    opacity: 0.5 ;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.sponsor-logo:hover {
    /* filter: brightness(120%) saturate(100%) hue-rotate(200deg); blue tint */
    opacity: 1;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .sponsor-logo {
    flex: 1 1 120px;
    max-width: 140px;
    }
}

@media (max-width: 480px) {
    .sponsor-logo {
    flex: 1 1 1 1 1 10%;
    max-width: 20%;
    }
}
.site-footer {
    background-color: #007BFF;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    width: 200px;
    height: 200px;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-social li {
    display: inline;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #007BFF;
    background-color: white;
    padding: 5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007BFF;
    background-color: white;
    padding: 3px;
}

.site-footer p {
    margin-top: 10px;
    font-size: 0.8rem;
    color: white;
}
/* Responsive footer for mobile, tablet, and laptop */
@media (max-width: 768px) {
    .footer-logo img {
    width: 120px;
    height: 120px;
    }

    .footer-social {
    flex-wrap: wrap;
    gap: 15px;
    }

    .footer-social a {
    font-size: 1rem;
    }

    .footer-links {
    flex-direction: column;
    gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-logo img {
    width: 100px;
    height: 100px;
    }

    .footer-social {
    flex-direction: row;
    gap: 10px;
    }

    .footer-social a {
    font-size: 1rem;
    }

    .footer-links {
    flex-direction: column;
    gap: 10px;
    }

    .footer-links a {
    font-size: 0.8rem;
    }

    .site-footer p {
    font-size: 0.7rem;
    }
}

