﻿/* Modern number pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pagination-number {
    display: flex;
    gap: 8px;
    background: #f1f1f1;
    padding: 10px 18px;
    border-radius: 30px;
}

.page-item {
    padding: 4px 9px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

    .page-item:hover {
        background: #FF7F00;
        color: white;
    }

.page-active {
    background: #7ed321;
    color: white;
    border-color: #7ed321;
}

.page-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.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;
}

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }
/* ===== Tournament Tabs ===== */
.tournament-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 25px;
    flex-wrap: wrap;
}

.tournament-tab {
    padding: 10px 22px;
    border-radius: 30px;
    background: #ffffff;
    border: 2px solid #FF7F00;
    color: #FF7F00;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

    .tournament-tab i {
        margin-right: 6px;
    }

    .tournament-tab:hover {
        background: #FF7F00;
        color: #fff;
    }

    .tournament-tab.active {
        background: #FF7F00;
        color: #fff;
        box-shadow: 0 5px 12px rgba(255,127,0,0.4);
    }


h4 {
    font-weight: 700;
    color: #ff7b00;
    letter-spacing: 1px;
}
/* Grid layout */
.grid-container {
    gap: 10px !important;
    grid-template-columns: repeat(auto-fill, minmax(153px, 2fr)) !important
}

/* 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 name */
.player-name {
    font-size: 22px;
    font-weight: 700;
    color: #0d47a1;
    margin: 10px 0 5px;
}

/* Role or tag (like “Indian”, “Captain”, etc.) */
.player-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #1565c0;
    font-weight: 600;
    border: 1px solid #90caf9;
    border-radius: 8px;
    margin-top: 11px;
    padding: 5px 7px;
    font-size: 13px;
}

/* Details section */
.player-details-grid {
    padding: 0px 0px !important;
    text-align: left !important
}



.player-detail i {
    color: #d4b512;
    font-size: 16px;
    min-width: 18px;
}


/* Optional: make value text stand out slightly */
.detail-label {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.detail-value {
    font-weight: 500;
    color: #222;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 10px 15px;
    border-top: 1px solid #ddd;
}

.page-btn {
    background: #FF7F00;
    color: #fff !important;
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s ease;
}

    .page-btn:hover {
        background: #0056b3;
    }

    .page-btn[disabled],
    .page-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.page-info {
    font-weight: 600;
    color: #333;
}

@media (max-width: 600px) {
    .player-details-grid {
        grid-template-columns: 1fr;
    }
}

.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: 10px 0 20px 15px;
}

    .back-btn:hover {
        background: #0056b3;
        box-shadow: 0 4px 8px rgba(0, 86, 179, 0.4);
    }

.gradient-text {
    background: linear-gradient(45deg, #ff3e00, #ef1a00e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 28px;
    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;
}
/* ===== AUCTION SECTION ===== */
.auction-wrapper {
    padding: 30px 15px;
    background: linear-gradient(135deg, #0b1c3f, #162a63);
}

.auction-card {
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #0e1b3d;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* LEFT */
.auction-media {
    position: relative;
}

    .auction-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ff0000;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255,0,0,0.6);
}

/* RIGHT */
.auction-content {
    padding: 35px;
    color: #fff;
}

.auction-badge {
    display: inline-block;
    background: #ff7f00;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.auction-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.auction-desc {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* BUTTONS */
.auction-actions {
    display: flex;
    gap: 14px;
    font-size: 21px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #ff7f00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

    .btn-primary:hover {
        background: #ff9800;
    }

.auction-meta {
    display: flex;
    align-items: center; /* vertical alignment */
    gap: 10px; /* space between icon & text */
    margin-bottom: 6px;
    font-size: 20px;
    color: white;
}

    .auction-meta i {
        width: 18px; /* same width for all icons */
        text-align: center;
        color: white;
        font-size: 16px;
    }

    .auction-meta span {
        line-height: 1.4;
    }

.btn-outline {
    border: 2px solid #ff7f00;
    color: #ff7f00;
    padding: 9px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

    .btn-outline:hover {
        background: #ff7f00;
        color: #fff;
    }

/* RESPONSIVE */
@media (max-width: 900px) {
    .auction-card {
        grid-template-columns: 1fr;
    }
}

.auction-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ff7b00;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

    .auction-btn i {
        font-size: 32px;
    }

.auction-media {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

    .auction-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* STAMP ON IMAGE */
.image-stamp {
    position: absolute;
    top: 1px;
    /* right: 15px; */
    width: 120px;
    height: 120px;
    background: rgba(255, 123, 0, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-15deg);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

    .image-stamp i {
        color: #fff;
        font-size: 79px;
    }

.blink-red {
    color: #fff;
    animation: redPulse 1.4s infinite;
}

@keyframes redPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8);
        opacity: 1;
    }

    50% {
        box-shadow: 0 0 15px 6px rgba(255, 0, 0, 0.6);
        opacity: 0.85;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
        opacity: 1;
    }
}

.team-card1 {
    background: linear-gradient(35deg, #05043d 0%, #3f406b 100%) !important;
}

.player-img {
    max-width: none !important
}

.team-top {
    height: 135px !important;
    padding: 20px;
    border-bottom-left-radius: 50% 40px;
    border-bottom-right-radius: 50% 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-yellow {
    background: #ffd100;
}

.bg-red {
    background: #cf1e21;
}

.bg-blue-light {
    background: #89d0ff;
}

.team-logo {
    height: 230px !important;
    object-fit: contain;
}

.team-bottom {
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.sponsor-wrapper {
    position: relative;
}

.sponsor-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #fff50b;
    color: black;
    padding: 10px 13px;
    border-radius: 50%;
    font-size: 17px;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.team-name {
    font-size: 24px !important;
}

.player-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 per row */
    gap: 15px;
}


@media (max-width: 992px) {
    .player-grid {
        grid-template-columns: repeat(3, 1fr); /* Tablet */
    }
}

@media (max-width: 768px) {
    .player-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobile */
    }
}

@media (max-width: 480px) {
    .player-grid {
        grid-template-columns: repeat(1, 1fr); /* Small Mobile */
    }
}

.sold-card {
    height: 420px; /* FIXED box height */
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 12px;
}

.player-img-wrapper {
    height: 430px !important; /* fixed image area */
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

    .player-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top; /* always crop from TOP */
    }

.player-info {
    margin-top: auto; /* PUSH TEXT TO BOTTOM */
    text-align: center;
}


.overlay-content {
    background: #f7f7f7 !important;
}

.setgg {
    color: white;
    background-color: #fa6701;
    font-family: emoji;
    font-weight: bold;
    width: 20%;
    position: absolute;
    z-index: 90000;
    margin-top: -17px;
    margin-left: 38%; /* margin-bottom: -27px; */
    padding: 3px;
    box-shadow: rgb(38, 57, 77) 1px 5px 7px 0px;
    border-radius: 10px;
}
/* MOBILE SIZE - ONLY CHANGE DETAILS BOX */
@media (max-width: 991px) {
    .setgg {
        width: 120px !important;
        margin-left: 82px !important;
    }
}

.team-bottom {
    padding: 12px;
}

.team-name {
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.team-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.team-col {
    font-size: 18px;
}

    .team-col span {
        display: block;
        font-weight: 700;
        font-size: 15px;
    }

    .team-col.left {
        text-align: left;
    }

    .team-col.right {
        text-align: right;
    }

.amount {
    color: #ff7b00;
}

.icon-col {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .icon-col i {
        color: #007bff;
        font-size: 16px;
    }

.sold span {
    color: #28a745;
}
