header {
    background-color: #1b2530;
    height: 60px;
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #2a3a4a;
}

.header-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.heading {
    color: #00f0ff;
    display: block;
    font-size: 1rem;
    background-color: #0a1929;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
    border: 1px solid #00c3ff;
    margin: 0;
    white-space: nowrap;
    line-height: 1.5;
}

.dropdown {
    position: relative;
    display: inline-block;
}
    
.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: #1a3a5f;
    color: #ffffff;
    border: 1px solid #2a5a8f;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    gap: 8px;
    font-weight: 500;
}
    
.dropdown-toggle:hover {
    background-color: #0f3460;
}
    
.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: #1a2a3a;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 5px;
    border: 1px solid #2a3a4a;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
    
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
    
.dropdown-item {
    padding: 12px 20px;
    color: #f0f0f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    background: transparent;
}
    
.dropdown-item:hover {
    background: rgba(0, 174, 255, 0.1);
    color: #00aeff;
    border-left: 3px solid #00aeff;
    padding-left: 17px;
}
    
    .dropdown-item i {
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }


.nav__icon {
    font-size: 2rem;
}

h1 {
    background-color: hsla(244, 16%, 92%, 0.6);
    border: 2px solid hsla(244, 16%, 92%, 0.75);
    text-align: center;
    backdrop-filter: blur(20px);
    padding: 20px;
    top: 10px;
    border-radius: 1rem;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

#dataTable {
    font-weight: bold;
    border-collapse: collapse;
}

#dataTable thead {
    font-size: 12px;
    font-weight: lighter;
    background-color: #431c1c;
}

#dataTable th,
#dataTable td {
    border: 2px solid #370b0b;
    padding: 5px;
    font-size: 12px;
    text-align: center;
}

.performancedata {
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
    height: max-content;
}

.dateSelection {
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 10px;
    padding: 10px;
}

.tablebox {
    text-align: center;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.label10 {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input1 {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 40%;
    margin: 10px;
    box-sizing: border-box;
}

.fetchdata {
    text-align: center;
    margin-bottom: 10px;
}

footer {
    text-align: center;
    margin: 10px 10px 5px;
    padding: 8px 5px;
    background: transparent;
    border-radius: 4px;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
        border: none;
    }
    
.copyright {
    margin: 0;
    padding: 4px 0;
    color: #d8d8d8;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0.3px;
    text-shadow: none;
    background: transparent;
    border-radius: 0;
    position: relative;
    opacity: 0.7;
}
    
.copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 174, 255, 0.2), transparent);
    transition: 0.5s;
}
    
.copyright:hover::before {
    left: 100%;
}

@media only screen and (min-width: 750px) {
        .card6 {
            width: 90%;
            max-width: 800px;
            margin: 15px auto;
            padding: 10px 15px;
        }

        .copy-button {
            float: right;
            padding: 10px;
            color: #FFF;
            border: none;
            margin-right: 30%;
            font-size: 15px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 15px;
            width: 150px;
            background-color: #228401;
            box-shadow: 0 15px 8px rgba(0, 0, 0, 0.2);
        }

        .download-button {
            float: left;
            padding: 10px;
            color: #FFF;
            border: none;
            margin-left: 30%;
            font-size: 13px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 15px;
            width: 150px;
            background-color: rgb(143, 10, 10);
            box-shadow: 0 15px 8px rgba(0, 0, 0, 0.2);
        }

        span {
            color: rgb(7, 69, 73);
            font-size: 15px;
            font-style: italic;
            font-weight: bold;
        }

    }


    .nav {
        height: var(--header-height);
        display: flex;
        z-index: 1;
        justify-content: space-between;
        align-items: center;
    }

    .nav__img {
        width: 25px;
        border-radius: 50%;
    }

    .nav__icon {
        font-size: 40px;
        color: red;
    }


    /* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.splash-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.splash-content {
    text-align: center;
    color: #fff;
    margin-top: 2px;
}

.splash-content h2 {
    font-size: 25px;
    margin-bottom: 10px;
    animation: fadeOut 2s ease forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.loading-text {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
}

.loading-icon {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes spin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

    .copy-button {
        float: right;
        padding: 10px;
        color: #FFF;
        border: none;
        font-size: 15px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 15px;
        width: 150px;
        background-color: #228401;
        box-shadow: 0 15px 8px rgba(0, 0, 0, 0.2);
    }

    .download-button {
        float: left;
        padding: 10px;
        color: #FFF;
        border: none;
        font-size: 13px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 15px;
        width: 150px;
        background-color: rgb(143, 10, 10);
        box-shadow: 0 15px 8px rgba(0, 0, 0, 0.2);
    }

    .fixed-textbox {
        position: fixed;
        display: none;
        bottom: 20px;
        left: 20px;
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 5px;
    }

.card6 {
    width: 95%;
    max-width: 800px;
    margin: 10px auto;
    padding: 10px;
    background: none;
    border-radius: 8px;
    overflow: hidden;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    z-index: 100;
    align-items: center;
}

.popup-overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    z-index: 101;
    align-items: center;
}

.popup-container {
    background-color: #786b6b;
    width: 80%;
    height: 70%;
    max-width: 800px;
    overflow-y: auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.popup-container2 {
    background-color: #79747c;
    width: 95%;
    height: 80%;
    max-width: 800px;
    overflow-y: auto;
    padding: 10px;
    border-radius: 10px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    background: rgb(160, 45, 0);
    border: none;
    font-size: 20px;
    cursor: pointer;
}


.close-btn2 {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    background: rgb(160, 45, 0);
    border: none;
    font-size: 20px;
    cursor: pointer;
}

form {
    width: 90%;
    margin: auto;
    text-align: center;
}

.table1 {
        width: 278px;
        margin-top: 5px;
        display: block;
        font-weight: bolder;
        border-collapse: collapse;
        margin-right: auto;
        margin-left: auto;
    }

.table1 input {
    width: 55px;
    padding: 8px 5px 0;
    color: rgb(191, 43, 32);
    background-color: rgb(202, 243, 243);
    font-weight: bolder;
    font-size: 18px;
}

.table1 th,
.table1 td {
    border: 2px solid #370b0b;
    padding: 7px;
    width: 70px;
    text-align: center;
}

.table1 thead {
    background-color: #dfcfcf;
}

button {
        background-color: #4c13a8;
        color: white;
        padding: 10px;
        font-size: 15px;
        font-weight: bolder;
        cursor: pointer;
        border-radius: 5px;
    }

button:hover {
    background-color: #45a049;
}

.selectedate {
    display: flex;
    font-size: 18px;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.selectedate select {
    width: fit-content;
    padding: 10px;
    background-color: aliceblue;
    color: rgb(95, 12, 12);
    margin-left: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

:root {
    --primary: #2A2A2A;
    --accent: #FBBF24;
    --neon: #00FF9D;
    --text: #F3F4F6;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at center, #02091a, #031d07);
    color: var(--text);
    min-height: 100vh;
    margin: 0;
    line-height: 1.5;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    padding: 1.25rem;
    max-width: 1200px;
    margin: 50px auto 0;
    width: 100%;
    box-sizing: border-box;
}

.player_card {
    background: linear-gradient(145deg, #2A2A2A 0%, #1A1A1A 100%);
    border-radius: 6px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(251, 191, 36, 0.1);
    transform: translateY(0);
}
    
   
.player_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FBBF24, #F59E0B, #FBBF24);
    background-size: 200% 100%;
    animation: gradient 3s ease infinite;
}
    
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
    
.player_card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(73, 55, 8, 0.1);
}

.player_info {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.player_photo {
    flex: 0 0 35%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transform: translateZ(0);
}
    
.player_photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 30%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}
    
.player_photo img {
    width: 100%;
    height: 100%;
    max-height: 250px;
    border-radius: 8px;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.4, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
    
.player_card:hover .player_photo img {
    transform: scale(1.15);
}
    
.player_card:hover .player_photo::after {
    opacity: 0.8;
}

.player_details {
    flex: 1;
    padding: 0.8rem;
    overflow-y: auto;
}

.player_name {
    color: var(--accent);
    font-size: 1.4rem;
    margin: 0.5rem 0 1rem;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}
    
.player_name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
    
.player_card:hover .player_name::after {
    width: 100%;
}

.player_role {
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.2rem;
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
}
    
.player_card:hover .player_role {
    background: rgba(0, 0, 0, 0.35);
    transform: translateX(5px);
}

.player_role p {
    color: #7dd3fc;
    display: inline;
    margin-left: 0.3rem;
    font-size: 0.9em;
}

.social_links {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}

.social_icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1px solid rgba(251, 191, 36, 0.2);
    transform: translateY(0);
}

.social_icon:hover {
    background: rgba(251, 191, 36, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.2);
}
    
.social_icon i {
    transition: transform 0.3s ease;
    font-size: 25px;
}
    
.social_icon:hover i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 0.25rem;
        gap: 0.5rem;
        margin: 60px auto 0;
        width: 100%;
    }
    .card6 {
        width: 98%;
        margin: 4px auto;
        padding: 6px 8px;
        border-radius: 4px;
    }
    .player_card {
        flex-direction: row;
        align-items: flex-start;
        padding: 8px;
        gap: 8px;
    }
    .player_info {
        flex-direction: row;
        text-align: left;
        width: 100%;
        gap: 8px;
    }
    .player_photo {
        width: 80px;
        min-width: 80px;
        height: 120px;
        margin: 4px 0 0 0;
        border-radius: 6px;
        overflow: hidden;
        position: relative;
        transform: translateZ(0);
    }
        
    .player_photo::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 30%);
        pointer-events: none;
        transition: opacity 0.3s ease;
        }
    .player_photo img {
        position: absolute;
        height: 100%;
        width: auto;
        left: 50%;
        transform: translateX(-50%) scale(1);
        object-fit: cover;
        border-radius: 4px;
        transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.4, 1);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
        
    .player_card:hover .player_photo img {
        transform: translateX(-50%) scale(1.15);
    }
        
    .player_card:hover .player_photo::after {
        opacity: 0.8;
    }
    .player_details {
        width: 100%;
        padding: 0;
        overflow: hidden;
    }
    .player_name {
        font-size: 1rem;
        margin: 0 0 4px 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .player_role {
        font-size: 0.8rem;
        padding: 6px 8px;
        margin: 0 0 6px 0;
    }
    .social_links {
        gap: 6px;
    }
    .social_icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .player_photo img {
        max-height: 250px;
    }

    .player_details {
        padding: 0.8rem;
    }

    .player_name {
        text-align: center;
    }

    .social_links {
        justify-content: center;
    }
    }

@media (min-width: 768px) {
    .player_card {
        flex-direction: row;
        align-items: center;
    }

    .player_photo {
        flex: 0 0 150px;
    }

    .player_photo img {
        max-height: 200px;
    }

    .player_details {
        padding: 1.5rem 1rem;
    }

    .player_name {
        font-size: 1.6rem;
    }
    }

.player_card.expanded {
    transform: scale(1.05);
    z-index: 100;
    box-shadow: 0 0 50px rgba(28, 141, 49, 0.4);
}