* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #E6B325;
    --dark-bg: #0F1B2E;
    --navy: #1A2942;
    --text-gray: #9CA3AF;
    --text-light: #D1D5DB;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0F1B2E;
    color: #ffffff;
    min-height: 100vh;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3.5rem;
    background-color: #0A1219;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header {
    position: relative;
    z-index: 40;
}

.site-nav {
    position: relative;
    gap: 1.5rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.trophy-icon {
    font-size: 2.5rem;
}

.logo-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 3px;
    color: #E6B325;
    line-height: 1;
    font-weight: 400;
}

.logo-text p {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #9CA3AF;
    text-transform: uppercase;
    margin-top: 0.1rem;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(230, 179, 37, 0.5);
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    cursor: pointer;
}

.menu-toggle-icon {
    width: 22px;
    height: 22px;
    fill: #E6B325;
    display: block;
}
.nav-links ul {
    display: flex;
    gap: 1.5rem;   
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #E6B325;
}

.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
    color: #E6B325;
}

.header-auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-auth-buttons .login-btn,
.header-auth-buttons .register-btn {
    background: #E6B325;
    color: #000000 !important;
    padding: 0.65rem 1.8rem;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: none;
    transition: all 0.3s ease;
}

.header-auth-buttons .login-btn:hover,
.header-auth-buttons .register-btn:hover {
    background: #F4C542;
    transform: translateY(-1px);
}

.user-menu {
    position: relative;
}

.user-menu-toggle {
    background: transparent;
    border: 1px solid rgba(230, 179, 37, 0.5);
    color: #E6B325;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.user-menu-toggle::after {
    content: "▾";
    font-size: 0.85rem;
    opacity: 0.7;
}

.user-menu-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0rem);
    min-width: 190px;
    background: #0A1219;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 30;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
}

.user-menu:hover .user-menu-dropdown,
.user-menu:focus-within .user-menu-dropdown {
    display: flex;
}

.user-menu.is-open .user-menu-dropdown {
    display: flex;
}

.user-menu-dropdown a {
    display: block;
    color: #D1D5DB;
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.user-menu-dropdown a:hover {
    color: #E6B325;
    background: rgba(230, 179, 37, 0.08);
}


.login-btn {
    background: #E6B325;
    color: #000000 !important;
    padding: 0.65rem 1.8rem;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #F4C542;
    transform: translateY(-1px);
}

.login-mobile {
    display: none;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    background: linear-gradient(180deg, #0F1B2E 0%, #1A2942 100%);
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C99D2E;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5.5rem;
    background: linear-gradient(90deg, #E6B325 0%, #F4A623 50%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-size: 1.05rem;
    color: #9CA3AF;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 3.5rem;
}

.grid-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(230, 179, 37, 0.25);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Button */
.cta-section {
    text-align: center;
    padding: 2.5rem 0 4rem;
}

.register-btn {
    background: #E6B325;
    color: #000000;
    padding: 1.1rem 3.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(230, 179, 37, 0.4);
}

.register-btn:hover {
    background: #F4C542;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 179, 37, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .image-grid {
        padding: 0 2rem;
    }
}

@media (max-width: 968px) {
    nav {
        padding: 1.2rem 2rem;
    }

    .nav-links {
        gap: 1.2rem;
    }

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

    .hero-title {
        font-size: 3.5rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .logo-text h1 {
        font-size: 1.4rem;
    }

    .logo-text p {
        font-size: 0.55rem;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: absolute;
        left: 0;
        right: 0;
        top: 4.2rem;
        background: #0A1219;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 1rem;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        display: none;
        z-index: 20;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
        line-height: 1.4;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        line-height: 200%;
    }

    body.menu-open .nav-links {
        display: flex;
    }

    .login-desktop {
        display: none;
    }

    .login-mobile {
        display: block;
    }

    .header-auth-buttons {
        display: none;
    }

    .account-mobile {
        display: block;
    }

    .header-auth-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .user-menu {
        width: 100%;
    }

    .user-menu-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .user-menu-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 0.4rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .register-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .image-grid {
        padding: 0 1rem;
    }
}

/* WooCommerce My Account */
.woocommerce-account .site-content,
.woocommerce-account .content-area,
.woocommerce-account .woocommerce {
    width: 100%;
}

.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 2.5rem auto 4rem;
    padding: 0 3.5rem;
}

.woocommerce-account .entry-header {
    text-align: center;
    margin-bottom: 1.6rem;
    padding-top: 1.5rem;
}

.woocommerce-account .entry-title {
    margin-bottom: 0;
}

.woocommerce-account #secondary {
    display: none;
}

.woocommerce-account .content-area,
.woocommerce-account .site-main {
    width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #0A1219;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem;
    margin: 1.2rem 0 2rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: #9CA3AF;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    color: #E6B325;
    border-color: rgba(230, 179, 37, 0.35);
    background: rgba(230, 179, 37, 0.08);
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    color: #000;
    background: #E6B325;
    border-color: #E6B325;
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: rgba(26, 41, 66, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
}

body.cpl-my-players .woocommerce-account .woocommerce-MyAccount-content {
    background: transparent;
    border: none;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-content.cpl-my-players-content {
    background: transparent;
    border: none;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    color: #ffffff;
}

.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content label {
    color: #D1D5DB;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: #E6B325;
}

.woocommerce-account .woocommerce-MyAccount-content input,
.woocommerce-account .woocommerce-MyAccount-content textarea,
.woocommerce-account .woocommerce-MyAccount-content select {
    background: #0A1219;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    padding: 0.65rem 0.8rem;
}

.woocommerce-account .woocommerce-MyAccount-content .show-password-input {
    display: none !important;
}

.woocommerce-account .woocommerce-form-row {
    margin-bottom: 1.1rem;
}

.woocommerce-account .woocommerce-form-row label {
    display: block;
    margin-bottom: 0.65rem;
}

.woocommerce-account .woocommerce-form-row .required {
    color: #E6B325;
}

.woocommerce-account .woocommerce-MyAccount-content h3 {
    margin-bottom: 1.2rem;
}

.woocommerce-account .woocommerce-MyAccount-content fieldset {
    margin: 1rem 0 1.6rem;
    padding: 1.2rem 1.4rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
    padding: 0 0.6rem;
    margin-left: 0.2rem;
    color: #D1D5DB;
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button,
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"] {
    background: #E6B325;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
    background: rgba(230, 179, 37, 0.12);
    border: 1px solid rgba(230, 179, 37, 0.4);
    color: #E6B325;
    border-radius: 12px;
}

.woocommerce-account .players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
}

.woocommerce-account .player-card {
    background: #0A1219;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.woocommerce-account .player-card h4 {
    color: #ffffff;
}

.woocommerce-account .player-card p {
    color: #9CA3AF;
}

.woocommerce-account .player-card a {
    background: #E6B325;
    color: #000;
    border-radius: 6px;
    padding: 0.45rem 0.8rem;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.4px;
}

@media (max-width: 640px) {
    .woocommerce-account .woocommerce {
        padding: 0 1rem;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }
}

/* Standings Page */
/* Main Content */
        .main-content {
            max-width: 1300px;
            margin: 3rem auto;
            padding: 0 3.5rem;
        }

        /* Page Title */
        .page-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .title-icon {
            font-size: 2.5rem;
            color: #E6B325;
        }

        .page-title h1 {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 3rem;
            letter-spacing: 3px;
            color: #ffffff;
            font-weight: 400;
        }

        /* Points Table */
        .points-table-container {
            background: rgba(26, 41, 66, 0.9);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
        }

        .points-table {
            width: 100%;
            border-collapse: collapse;
        }

        .points-table thead {
            background: rgba(15, 27, 46, 0.8);
        }

        .points-table th {
            padding: 1.2rem 1.5rem;
            text-align: left;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #9CA3AF;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .points-table th:first-child {
            width: 40%;
        }

        .points-table th:not(:first-child) {
            text-align: center;
        }

        .points-table tbody tr {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: background-color 0.2s ease;
        }

        .points-table tbody tr:hover {
            background: rgba(230, 179, 37, 0.05);
        }

        .points-table td {
            padding: 1.5rem 1.5rem;
            color: #D1D5DB;
            font-size: 1rem;
        }

        .points-table td:not(:first-child) {
            text-align: center;
            font-weight: 500;
        }

        .cpl-pagination{
            background: none;
        }

        /* Team Cell */
        .team-cell {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .team-rank {
            font-size: 1.1rem;
            font-weight: 600;
            color: #6B7280;
            min-width: 30px;
        }

        .team-logo {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

        .team-name {
            font-size: 1.05rem;
            font-weight: 600;
            color: #ffffff;
        }

        /* Colored Stats */
        .stat-won {
            color: #10B981;
            font-weight: 600;
        }

        .stat-lost {
            color: #EF4444;
            font-weight: 600;
        }

        .stat-nrr {
            color: #60A5FA;
            font-weight: 600;
        }

        .stat-points {
            color: #E6B325;
            font-weight: 700;
            font-size: 1.1rem;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .main-content {
                padding: 0 2rem;
            }

            .page-title h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 968px) {
.page-title h1 {
                font-size: 2rem;
            }

            .points-table th,
            .points-table td {
                padding: 1rem 0.8rem;
                font-size: 0.85rem;
            }

            .team-logo {
                width: 32px;
                height: 32px;
            }

            .team-name {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 640px) {
.main-content {
                padding: 0 1rem;
            }

            .page-title h1 {
                font-size: 1.8rem;
            }

            .points-table th,
            .points-table td {
                padding: 0.8rem 0.5rem;
                font-size: 0.75rem;
            }

            .team-rank {
                font-size: 0.9rem;
            }

            .team-logo {
                width: 28px;
                height: 28px;
            }

            .team-name {
                font-size: 0.85rem;
            }
        }

/* Matches Page */
/* Main Content */
        .main-content {
            max-width: 1140px;
            margin: 2rem auto;
            padding: 0 1.5rem;
        }

        /* Section Headers */
        .section-header {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1.5rem;
        }

        .section-icon {
            font-size: 1.2rem;
        }

        .section-header.results .section-icon {
            color: #10B981;
        }

        .section-header.fixtures .section-icon {
            color: #E6B325;
        }

        .section-header h2 {
            font-size: 0.95rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .section-header.results h2 {
            color: #10B981;
        }

        .section-header.fixtures h2 {
            color: #E6B325;
        }

        /* Match Card */
        .match-card {
            background: rgba(26, 41, 66, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 1.2rem 1.5rem;
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            transition: all 0.3s ease;
        }

        .match-card:hover {
            background: rgba(26, 41, 66, 0.6);
            border-color: rgba(230, 179, 37, 0.3);
            transform: translateX(4px);
        }

        .team-left {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex: 1;
            gap: 0.8rem;
        }

        .team-right {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            flex: 1;
            gap: 0.8rem;
        }

        .team-logo {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .team-name {
            font-size: 0.95rem;
            font-weight: 600;
            color: #ffffff;
        }

        .team-left .team-name {
            text-align: right;
        }

        .team-right .team-name {
            text-align: left;
        }

        .match-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.3rem;
            min-width: 120px;
            flex-shrink: 0;
        }

        .match-date {
            font-size: 0.75rem;
            color: #E6B325;
            font-weight: 600;
        }

        .match-venue {
            font-size: 0.65rem;
            color: #9CA3AF;
            font-weight: 500;
        }

        .match-result {
            font-size: 0.7rem;
            color: #E6B325;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .match-winner {
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.85);
            font-weight: 500;
        }

        .match-details {
            font-size: 0.6rem;
            color: #6B7280;
            font-weight: 400;
        }

        .vs-separator {
            font-size: 0.85rem;
            color: #6B7280;
            font-weight: 600;
            margin: 0 0.5rem;
        }

        /* TBD Matches */
        .tbd-match {
            justify-content: center;
            gap: 2rem;
        }

        .tbd-team {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .tbd-text {
            font-size: 1.1rem;
            font-weight: 700;
            color: #6B7280;
            letter-spacing: 2px;
        }

        /* Responsive Design */
        @media (max-width: 640px) {
.main-content {
                padding: 0 1rem;
            }

            .match-card {
                padding: 1rem;
                flex-direction: column;
                gap: 1rem;
            }

            .team-left,
            .team-right {
                width: 100%;
                justify-content: space-between;
            }

            .match-info {
                width: 100%;
                order: -1;
            }
        }

/* Teams Page */
/* Main Content */
        .main-content {
            max-width: 1400px;
            margin: 3rem auto;
            padding: 0 2.5rem;
        }

        /* Teams Grid */
        .teams-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        /* Team Card */
        .team-card {
            background: rgba(30, 47, 71, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 1.5rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .team-card:hover {
            background: rgba(30, 47, 71, 0.7);
            border-color: rgba(230, 179, 37, 0.3);
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        }

        /* Team Header */
        .team-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .team-logo {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .team-name {
            font-size: 1.15rem;
            font-weight: 700;
            color: #ffffff;
        }

        /* Separator Line */
        .team-separator {
            height: 2px;
            background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.3) 100%);
            margin-bottom: 1rem;
        }

        /* Team Content Area */
        .team-content {
            background: rgba(15, 27, 46, 0.6);
            border-radius: 8px;
            padding: 1.5rem;
            min-height: 180px;
        }


        .team-players-title {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(255, 255, 255, 0.65);
            margin-bottom: 8px;
        }

        .team-players-list {
            list-style: none;
            margin: 0;
            padding: 0;
            columns: 2;
            column-gap: 18px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .team-players-list li {
            break-inside: avoid;
            padding: 2px 0;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .teams-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .main-content {
                padding: 0 1.5rem;
                margin: 2rem auto;
            }

            .teams-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
        }

/* Register Page */
        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

/* Form Section */
        .form-section {
            background: rgba(26, 41, 66, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2.5rem;
        }

        .form-header {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 2rem;
        }

        .form-icon {
            font-size: 1.8rem;
            color: #E6B325;
        }

        .form-header h1 {
            font-size: 1.8rem;
            font-weight: 700;
            color: #E6B325;
        }

        .success-message {
            background: rgba(16, 185, 129, 0.15);
            border: 1px solid rgba(16, 185, 129, 0.4);
            color: #D1FAE5;
            padding: 0.8rem 1rem;
            border-radius: 10px;
            margin-bottom: 1.2rem;
            font-weight: 600;
        }

        .cpl-popup-overlay {
            position: fixed;
            inset: 0;
            background: rgba(2, 6, 23, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            padding: 1.5rem;
        }

        .cpl-popup {
            background: #0F1B2E;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 14px;
            padding: 1.25rem 1.5rem;
            max-width: 480px;
            width: 100%;
            color: #E5E7EB;
            position: relative;
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
        }

        .cpl-popup.success {
            border-color: rgba(16, 185, 129, 0.6);
        }

        .cpl-popup.error {
            border-color: rgba(239, 68, 68, 0.6);
        }

        .cpl-popup-message {
            font-size: 0.95rem;
            font-weight: 600;
            line-height: 1.4;
        }

        .cpl-popup-close {
            position: absolute;
            top: 0.4rem;
            right: 0.6rem;
            background: transparent;
            border: none;
            color: #9CA3AF;
            font-size: 1.4rem;
            cursor: pointer;
        }

        .cpl-popup-close:hover {
            color: #ffffff;
        }

/* WooCommerce Login Styling */
        .woocommerce-account .woocommerce-form-login {
            background: #0F1B2E;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 14px;
            padding: 2rem;
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
        }

        .woocommerce-account .woocommerce-form-login input[type="text"],
        .woocommerce-account .woocommerce-form-login input[type="password"] {
            background: #0B1526;
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #ffffff;
        }

        .woocommerce-account .woocommerce-form-login input[type="text"]:focus,
        .woocommerce-account .woocommerce-form-login input[type="password"]:focus {
            border-color: #E6B325;
            box-shadow: 0 0 0 2px rgba(230, 179, 37, 0.15);
        }

        .woocommerce-account .woocommerce-form-login button[type="submit"] {
            background: linear-gradient(135deg, #9B7D4A 0%, #C89B5A 50%, #A67C52 100%);
            border: none;
            color: #000000;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 1px;
        }

        .woocommerce-account .woocommerce-form-login .cpl-login-register-link {
            margin-top: 1rem;
            color: #9CA3AF;
        }

        .woocommerce-account .woocommerce-form-login .cpl-login-register-link a {
            color: #E6B325;
            font-weight: 600;
        }

        /* Form Grid */
        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.2rem;
            margin-bottom: 1.2rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        label {
            font-size: 0.85rem;
            color: #9CA3AF;
            font-weight: 500;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="date"],
        textarea,
        select {
            background: #0F1B2E;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 0.9rem 1rem;
            color: #ffffff;
            font-size: 0.95rem;
            font-family: 'Roboto', sans-serif;
            transition: all 0.3s ease;
        }

        input[type="file"] {
            color: #D1D5DB;
        }

        input[type="text"]:focus,
        input[type="email"]:focus,
        input[type="tel"]:focus,
        input[type="date"]:focus,
        textarea:focus,
        select:focus {
            outline: none;
            border-color: #E6B325;
            box-shadow: 0 0 0 2px rgba(230, 179, 37, 0.1);
        }

        textarea {
            min-height: 100px;
            resize: vertical;
        }

        /* Section Headers */
        .section-header {
            font-size: 0.75rem;
            color: #60A5FA;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            font-weight: 600;
            margin: 1.5rem 0 1rem;
        }

        /* Checkboxes */
        .checkbox-group {
            display: flex;
            gap: 3rem;
            margin: 1rem 0;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .checkbox-item input[type="checkbox"] {
            width: 20px;
            height: 20px;
            cursor: pointer;
        }

        .checkbox-item label {
            color: #D1D5DB;
            cursor: pointer;
        }

        /* File Upload */
        .file-upload {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 0.5rem;
        }

        .file-label {
            font-size: 0.75rem;
            color: #60A5FA;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: block;
        }

        .upload-btn {
            background: #E6B325;
            color: #000000;
            padding: 0.7rem 1.5rem;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.85rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .upload-btn:hover {
            background: #F4C542;
        }

        .upload-btn.green {
            background: #10B981;
        }

        .upload-btn.green:hover {
            background: #059669;
        }

        .file-status {
            color: #6B7280;
            font-size: 0.85rem;
        }

        /* Declaration Box */
        .declaration-box {
            background: #0F1B2E;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 1.2rem;
            margin: 1.5rem 0;
            max-height: 120px;
            overflow-y: auto;
        }

        .declaration-header {
            color: #E6B325;
            font-size: 0.75rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            font-weight: 700;
            margin-bottom: 0.8rem;
        }

        .declaration-box p {
            font-size: 0.8rem;
            color: #9CA3AF;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        /* Agreement Checkbox */
        .agreement {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin: 1.5rem 0;
        }

        .agreement input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        .agreement label {
            color: #D1D5DB;
            font-size: 0.85rem;
            cursor: pointer;
        }

        /* Submit Button */
        .submit-btn {
            width: 100%;
            background: linear-gradient(135deg, #9B7D4A 0%, #C89B5A 50%, #A67C52 100%);
            color: #000000;
            padding: 1.2rem;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(155, 125, 74, 0.4);
        }

        /* Payment Section */
        .payment-section {
            background: #ffffff;
            border-radius: 20px;
            padding: 2.5rem;
            height: fit-content;
            position: sticky;
            top: 2rem;
        }

        .payment-header {
            text-align: center;
            font-size: 1.2rem;
            font-weight: 700;
            color: #000000;
            margin-bottom: 2rem;
            letter-spacing: 1px;
        }

        .qr-container {
            border: 2px dashed #D1D5DB;
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .qr-code {
            width: 100%;
            max-width: 280px;
            margin: 0 auto;
        }

        .payment-name {
            font-weight: 700;
            color: #000000;
            font-size: 1rem;
            margin-top: 1rem;
        }

        .payment-info {
            background: #F3F4F6;
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1rem;
        }

        .payment-info p {
            color: #000000;
            font-weight: 600;
            font-size: 0.9rem;
            text-align: center;
        }

        .upi-id {
            background: #ffffff;
            border: 1px solid #D1D5DB;
            border-radius: 8px;
            padding: 0.8rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .upi-id p {
            color: #374151;
            font-size: 0.85rem;
            font-family: monospace;
        }

        .registration-fee {
            background: #FEF3C7;
            border-radius: 8px;
            padding: 1rem;
            text-align: center;
        }

        .registration-fee p {
            color: #92400E;
            font-weight: 700;
            font-size: 1rem;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .container {
                grid-template-columns: 1fr;
            }

            .payment-section {
                position: relative;
                top: 0;
            }
        }

        @media (max-width: 640px) {
            .form-section,
            .payment-section {
                padding: 1.5rem;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .checkbox-group {
                flex-direction: column;
                gap: 1rem;
            }
        }

        /* Custom Scrollbar */
        .declaration-box::-webkit-scrollbar {
            width: 8px;
        }

        .declaration-box::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
        }

        .declaration-box::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
        }

        .declaration-box::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.3);
        }

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #0A1219 0%, #0F1B2E 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #D1D5DB;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3.5rem 3.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-brand h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 3px;
    color: #E6B325;
    margin: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-trophy {
    font-size: 2rem;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 0.95rem;
}

.footer-tagline {
    margin-top: 0.8rem;
    line-height: 1.6;
}

.site-footer h4 {
    color: #E6B325;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a,
.footer-contact a,
.footer-social a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
    color: #E6B325;
}

.footer-contact p {
    margin: 0 0 0.5rem;
}

.social-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-player-count {
    margin: 0 0 1rem;
    color: #9CA3AF;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.footer-cta {
    display: inline-block;
    background: #E6B325;
    color: #000000 !important;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-cta:hover {
    background: #F4C542;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 1.4rem 1rem 2rem;
    color: #9CA3AF;
    font-size: 0.85rem;
}

@media (max-width: 1100px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        padding: 3rem 2rem 2rem;
    }
}

@media (max-width: 700px) {
    .footer-inner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem 1.5rem;
    }
}
.account-mobile {
    display: none;
}

/* Players List Page */
.players-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.player-row {
    background: rgba(26, 41, 66, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
}

.player-row:hover {
    background: rgba(26, 41, 66, 0.6);
    border-color: rgba(230, 179, 37, 0.3);
    transform: translateX(4px);
}

.player-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.player-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(230, 179, 37, 0.9), rgba(155, 125, 74, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-initial {
    color: #0A1219;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.player-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.players-empty {
    color: #9CA3AF;
}

.cpl-players-toast {
    position: fixed;
    top: 88px;
    right: 20px;
    z-index: 100000;
    min-width: 240px;
    max-width: min(420px, calc(100vw - 2rem));
    padding: 0.75rem 0.95rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cpl-players-toast--success {
    background: rgba(16, 185, 129, 0.92);
    color: #f0fdf4;
}

.cpl-players-toast--error {
    background: rgba(239, 68, 68, 0.94);
    color: #fef2f2;
}

.cpl-players-toast.is-hidden {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.cpl-player-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 18, 25, 0.7);
}

.cpl-player-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(26, 41, 66, 0.45);
    color: #d8dfec;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cpl-player-tab:hover {
    color: #E6B325;
    border-color: rgba(230, 179, 37, 0.45);
}

.cpl-player-tab.is-active {
    background: linear-gradient(135deg, #E6B325 0%, #F4C542 60%, #D8A812 100%);
    border-color: rgba(230, 179, 37, 0.75);
    color: #0A1219;
}

.players-state-card {
    margin: 1.5rem 0 0;
    padding: 1.8rem 1.6rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(120% 160% at 10% 0%, rgba(230, 179, 37, 0.2) 0%, rgba(230, 179, 37, 0) 50%),
        linear-gradient(150deg, rgba(10, 18, 25, 0.96) 0%, rgba(15, 27, 46, 0.96) 100%);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.players-state-eyebrow {
    margin: 0 0 0.45rem;
    color: #E6B325;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.players-state-card h1,
.players-state-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.2;
    letter-spacing: 0.4px;
}

.players-state-card p {
    margin: 0.85rem 0 0;
    color: #c9d1df;
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 60ch;
}

.players-state-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1.2rem;
    padding: 0.72rem 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(230, 179, 37, 0.7);
    background: linear-gradient(135deg, #E6B325 0%, #F4C542 50%, #D8A812 100%);
    color: #0A1219;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 10px 24px rgba(230, 179, 37, 0.3);
}

.players-state-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    color: #0A1219;
}

.players-state-button:focus-visible {
    outline: 2px solid rgba(230, 179, 37, 0.95);
    outline-offset: 2px;
}

.cpl-not-found.cpl-not-found--players {
    width: min(960px, calc(100% - 2rem));
    margin: 2.2rem auto 3.2rem;
}

.cpl-not-found.cpl-not-found--players .players-state-card {
    margin-top: 0;
}

@media (max-width: 640px) {
    .player-row {
        padding: 0.9rem 1rem;
    }

    .player-name {
        font-size: 0.95rem;
    }

    .players-state-card {
        padding: 1.3rem 1.1rem;
        border-radius: 14px;
    }

    .players-state-card p {
        font-size: 0.92rem;
    }

    .cpl-player-tabs {
        width: 100%;
        border-radius: 14px;
        gap: 0.45rem;
    }

    .cpl-player-tab {
        flex: 1 1 calc(50% - 0.45rem);
        border-radius: 10px;
        padding: 0.58rem 0.75rem;
    }

    .cpl-players-toast {
        left: 1rem;
        right: 1rem;
        top: 74px;
        min-width: 0;
        max-width: none;
    }

}

/* Players Table */
.players-table-container {
    margin-top: 1.5rem;
}

.players-table thead th {
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.players-table thead th:first-child {
    width: 70px;
}

.players-table thead th:nth-child(2) {
    text-align: left;
}

.players-table thead th:nth-child(3) {
    text-align: left;
}

.players-table .player-cell {
    display: flex;
    align-items: left;
}

.players-table .player-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(230, 179, 37, 0.9), rgba(155, 125, 74, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
}

.players-table .player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.players-table .player-initial {
    color: #0A1219;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
}

.players-table .player-name-cell {
    color: #ffffff;
    font-weight: 600;
    text-align: left !important;
}

.players-table .player-team-cell {
    color: #9CA3AF;
    font-weight: 500;
    text-align: left !important;
}

.players-table .player-skill-cell {
    color: #D1D5DB;
    font-weight: 500;
    text-align: left;
}

.players-table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.players-table .cpl-player-row {
    cursor: pointer;
    transition: background 0.2s ease;
}

.players-table .cpl-player-row:hover,
.players-table .cpl-player-row:focus-visible {
    background: rgba(230, 179, 37, 0.08);
    outline: none;
}

.players-table thead th,
.players-table tbody td {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 1.5rem !important;
}

.players-table thead th:last-child,
.players-table tbody td:last-child {
    border-right: none;
}

/* Pagination */
.cpl-pagination {
    margin-top: 1.6rem;
    display: flex;
    justify-content: center;
}

.cpl-pagination ul {
    list-style: none;
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(26, 41, 66, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.cpl-pagination li {
    margin: 0;
}

.cpl-pagination a,
.cpl-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    padding: 0 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(10, 18, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.cpl-pagination a:hover {
    background: rgba(26, 41, 66, 0.8);
    border-color: rgba(230, 179, 37, 0.45);
    color: #E6B325;
}

.cpl-pagination .current {
    background: #E6B325;
    color: #0A1219;
    border-color: rgba(230, 179, 37, 0.8);
}

.cpl-player-modal-open {
    overflow: hidden;
}

.cpl-player-modal-overlay[hidden] {
    display: none !important;
}

.cpl-player-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 25, 0.78);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    backdrop-filter: blur(3px);
}

.cpl-player-modal {
    width: min(980px, 100%);
    max-height: min(86vh, 900px);
    overflow: auto;
    background: #0F1B2E;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 1.4rem 1.4rem 1.2rem;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.cpl-player-modal-layout {
    display: grid;
    grid-template-columns: minmax(250px, 320px) 1fr;
    gap: 1.2rem;
    align-items: start;
}

.cpl-player-modal-left {
    background: rgba(10, 18, 25, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.9rem;
}

.cpl-player-hero {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(230, 179, 37, 0.9), rgba(155, 125, 74, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
}

#cpl-player-modal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#cpl-player-modal-initial {
    font-size: 4rem;
    font-weight: 800;
    color: #0A1219;
}

.cpl-player-identity {
    margin-top: 0.85rem;
}

.cpl-player-identity h4 {
    margin: 0 0 0.2rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.2;
}

.cpl-player-modal-subtitle {
    margin: 0;
    color: #D1D5DB;
    font-size: 0.95rem;
}

.cpl-player-modal-right {
    background: rgba(10, 18, 25, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.9rem;
}

.cpl-player-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.75rem;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.cpl-player-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1rem;
    margin-bottom: 1.05rem;
}

.cpl-player-modal-grid p {
    margin: 0;
    background: rgba(10, 18, 25, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    color: #D1D5DB;
    font-size: 0.96rem;
}

.cpl-player-modal-grid strong {
    color: #ffffff;
}

.cpl-player-assign-form {
    display: grid;
    gap: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 0.9rem;
}

.cpl-player-assign-form label {
    color: #ffffff;
}

.cpl-player-assign-form select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #0A1219;
    color: #ffffff;
    padding: 0.7rem 0.8rem;
}

.cpl-player-assign-form .button {
    width: max-content;
    border: 0 !important;
    border-radius: 10px !important;
    padding: 0.72rem 1.25rem !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    color: #0A1219 !important;
    background: linear-gradient(135deg, #E6B325 0%, #F4C542 55%, #D8A812 100%) !important;
    box-shadow: 0 8px 18px rgba(230, 179, 37, 0.35) !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cpl-player-assign-form .button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 12px 24px rgba(230, 179, 37, 0.42) !important;
}

.cpl-player-assign-form .button:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(230, 179, 37, 0.3) !important;
}

.cpl-player-assign-form .button:focus-visible {
    outline: 2px solid rgba(230, 179, 37, 0.95);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .players-table thead {
        display: none;
    }

    .players-table,
    .players-table tbody,
    .players-table tr,
    .players-table td {
        display: block;
        width: 100%;
    }

    .players-table tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0.8rem 0;
    }

    .players-table td {
        padding: 0.4rem 0;
    }

    .players-table .player-name-cell,
    .players-table .player-team-cell {
        padding-left: 48px;
    }

    .cpl-player-modal {
        width: 100%;
        max-height: 90vh;
        padding: 1rem;
    }

    .cpl-player-modal-layout {
        grid-template-columns: 1fr;
    }

    .cpl-player-hero {
        aspect-ratio: 16 / 10;
    }

    #cpl-player-modal-initial {
        font-size: 3rem;
    }

    .cpl-player-modal-grid {
        grid-template-columns: 1fr;
    }
}
