﻿.hoversss:hover {
    background-color: green;
}


.team-card {
    background: linear-gradient(35deg, #FF7F00 0%, #fff 100%);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 6px;
    text-align: center;
    color: white;
    transition: 0.3s;
}

.sponsor-wrapper {
    position: relative;
}

.headcss {
    border-radius: 10px;
    padding: 7px;
    margin-top: 10px;
    background: linear-gradient(35deg, #FF7F00 0%, #fff 100%);
}

.sponsor-badge {
    position: absolute;
    top: -18px;
    right: -5px;
    background: #ff1313;
    color: white;
    padding: 15px 18px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}


.team-stats div {
    background: #38749b;
    border-radius: 8px;
    padding: 3px 5px;
    font-size: 15px;
    margin-bottom: 5px;
}

.cssblack {
    color: black !important;
    font-weight: bold;
    font-size: 30px;
    text-shadow: 2px 2px #e6d4d4;
}

.master-team-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin-top: 20px;
}

    .master-team-table th {
        background: #003d80;
        color: #fff;
        padding: 10px;
        border: 1px solid #c7dfff;
        text-align: center;
    }

    .master-team-table td {
        padding: 10px;
        border: 1px solid #d5e3f5;
        text-align: center;
        background: #ffffff;
        font-weight: 600;
    }

.settab tr {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important
}

    .settab tr td {
        font-size: 21px !important;
    }

.divcdcd {
    background: url(https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?fit=fillmax&fm=jpg&ixid=M3wzNTY3MHwwfDF8YWxsfHx8fHx8fHx8MTcwMTAxMDQwOHw&ixlib=rb-4.0.3&q=75) no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Poppins', sans-serif;
}

.next-btn {
    background: #dc3030;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 16px !important;
    font-weight: 600;
    transition: 0.3s;
}

.view-btn {
    background: #3e3e8b !important;
    color: #fff;
    border: none;
    font-size: 16px !important;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.next-btn:hover {
    background: #0056b3;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .player-container {
        padding: 0 15px;
    }

    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 8px 12px;
    border-top: 1px solid #ddd;
}

.pagination-left,
.pagination-right,
.pagination-center {
    flex: 1;
    display: flex;
    align-items: center;
}

.pagination-left {
    justify-content: flex-start;
}

.pagination-center {
    justify-content: center;
    font-weight: 500;
    color: #333;
}

.pagination-right {
    justify-content: flex-end;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

.page-btn {
    background-color: #007bff;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease;
}

    .page-btn:hover {
        background-color: #0056b3;
    }

    .page-btn[disabled],
    .page-btn:disabled {
        background-color: #ccc;
        pointer-events: none;
    }

/* Player name */
.player-name {
    font-size: 32px;
    font-weight: 700;
    color: #0d47a1;
    text-align: center
}

/* Full screen overlay */
.overlay-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 17, 20, 0.95); /* semi-transparent background */
    z-index: 9999; /* high z-index to overlay everything */
    overflow-y: auto; /* scroll if content overflows */
    padding: 20px;
    display: none;
}

/* Inner content responsive */
.overlay-content {
    margin: 0 auto;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    color: white;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FF7F00;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 123, 255, 0.3);
    transition: all 0.2s ease;
    margin: 6px 0 7px 0px;
    border-color: #FF7F00;
}

    .back-btn:hover {
        background: #0056b3;
        box-shadow: 0 4px 8px rgba(0, 86, 179, 0.4);
    }

section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0 !important;
    scroll-margin-top: 90px;
    overflow: clip;
}

@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: black !important
    }
}

.header {
    background-color: rgb(244 229 229 / 96%) !important;
}

.navmenu li:hover > a, .navmenu .active, .navmenu .active:focus {
    color: black;
}

.navmenu a, .navmenu a:focus {
    color: black;
}

h3 {
    color: var(--accent-color) !important;
    ;
}

.news-container {
    background: #f44336;
    color: white;
    padding: 10px;
    overflow: hidden;
    position: relative;
    font-weight: bold;
}

.news-text {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    will-change: transform;
    animation: scroll-left 12s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.navmenu ul li {
    background: linear-gradient( 35deg, #FF7F00 0%, #fff 100%);
    margin-bottom: 10px;
    border-radius: 10px;
    margin-left: 10px;
}

.header {
    padding: 0px !important;
}

.navmenu ul li:hover {
    background: linear-gradient(35deg, #0056b3 0%, #fff 100%);
}



.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}



.team-icon {
    width: 80px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin: 8px auto;
}


.team-red .team-icon {
    background: #dc3545;
}

.team-green .team-icon {
    background: #28a745;
}

.team-orange .team-icon {
    background: #ff7b00;
}

.team-name {
    background: linear-gradient(45deg, #ff3e00, #ef1a00e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    /* line-height: 25px; */
    color: #ff540c;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), 2px 2px 2px rgba(0, 0, 0, 0.2);
    /* letter-spacing: 2px; */
    font-weight: bold;
}

.logo-img {
    width: 100%;
    height: 100%;
    border-radius: 20%;
}

/* ==== PLAYER DETAILS ==== */
.player-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.player-box {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

    .player-box img {
        width: 250px;
        /* height: 120px; */
        border-radius: 10%;
        object-fit: cover;
        margin-bottom: 10px;
        border: 2px solid #007bff;
    }

.player-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1565c0;
    font-weight: 600;
    border: 1px solid #90caf9;
    border-radius: 8px;
    margin-top: 11px;
    padding: 5px 30px;
    font-size: 13px;
}

.player-desc {
    font-size: 14px;
    color: #555;
    margin: 10px 0 20px;
}

/* ==== SOLD PLAYERS ==== */
.sold-row {
    margin-top: 30px;
}

.sold-card {
    background: #f9fbff;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    text-align: center;
    padding: 10px;
    transition: 0.3s;
}

    .sold-card:hover {
        transform: translateY(-3px);
    }


/* Player card */
.player-card {
    background: #f9fbff;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e1e8ff;
    position: relative;
}

    .player-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

/* Player image section */
.player-top {
    background: linear-gradient(180deg, #FF7F00 0%, #fff 100%);
    padding: 7px;
    height: 120px;
}

.player-img {
    width: 130px;
    max-width: 170px;
    border-radius: 10px;
    border: 0px solid #2196f3;
    object-fit: cover;
}

.sold-top {
    background: linear-gradient(180deg, #FF7F00 0%, #fff 100%);
    padding: 7px;
    height: 140px;
}

.sold-img {
    width: 100%;
    max-width: 100px;
    border-radius: 10px;
    border: 0px solid #2196f3;
    object-fit: cover;
}

/* Player name */
.player-name {
    font-size: 15px;
    font-weight: 700;
    color: #0d47a1;
    text-align: center
}


.player-detail {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e3f2fd;
    padding: 1px 6px;
    margin: 5px 0;
    font-size: 14px !important;
    color: #333;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 3px;
}

    .player-detail i {
        color: #d4b512;
        font-size: 16px;
        min-width: 18px;
    }
/* Full screen overlay */
.overlay-panel {
    position: fixed;
    top: -15px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 17, 20, 0.95); /* semi-transparent background */
    z-index: 9999; /* high z-index to overlay everything */
    overflow-y: auto; /* scroll if content overflows */
    padding: 20px;
    display: none;
}


.sold-glow {
    animation: glow 1s ease-out;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px gold;
    }

    to {
        box-shadow: none;
    }
}
/* Fullscreen colorful flash background */
#celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #ff0066, #ff6600, #ffd700);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 999999;
    pointer-events: none;
}

.show-overlay {
    opacity: 0.70;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}
