/* Football Club Manager Plugin Styles */

/* General Styles */
.fcm-container {
    max-width: 100%;
    margin: 0 auto;
}

.fcm-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2c5282;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.fcm-button:hover {
    background-color: #2a4a7a;
    color: white;
    text-decoration: none;
}

.fcm-button-primary {
    background-color: #3182ce;
}

.fcm-button-primary:hover {
    background-color: #2c5282;
}

/* Next Match Widget */
.fcm-next-match {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fcm-next-match h3 {
    margin: 0 0 15px 0;
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.fcm-match-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.fcm-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    margin: 10px auto;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

.fcm-live-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
    text-decoration: none;
    color: white;
}

.fcm-live-pulse {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

.fcm-live-text {
    letter-spacing: 1px;
    font-weight: 800;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.8);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.fcm-match-live {
    border-color: #ef4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
}


.fcm-match-date {
    font-size: 1rem;
    color: #475569;
    margin-top: 8px;
    font-weight: 500;
}

.fcm-match-time {
    font-weight: 700;
    margin-left: 12px;
    color: #1e3a8a;
}

.fcm-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
}

.fcm-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 40%;
}

.fcm-team-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.fcm-team-logo:hover {
    transform: scale(1.05);
}

.fcm-team-name {
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #1e293b;
}

.fcm-match-vs {
    font-weight: 800;
    font-size: 1.5rem;
    color: #3b82f6;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fcm-match-venue {
    text-align: center;
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.fcm-match-venue i {
    color: #3b82f6;
    margin-right: 5px;
}

.fcm-match-competition {
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fcm-no-match {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 20px;
    font-size: 1rem;
}

/* Standings Table */
.fcm-standings {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.fcm-standings-header {
    background-color: #2d3748;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcm-standings-header h3 {
    margin: 0;
    font-size: 18px;
}

.fcm-competition-name {
    font-size: 14px;
    opacity: 0.8;
}

.fcm-standings-table-wrapper {
    overflow-x: auto;
}

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

.fcm-standings-table th,
.fcm-standings-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.fcm-standings-table th {
    background-color: #f7fafc;
    font-weight: 600;
    color: #2d3748;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fcm-standings-table tbody tr:hover {
    background-color: #f7fafc;
}

.fcm-club {
    text-align: left !important;
    min-width: 150px;
}

.fcm-club-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fcm-club-logo-small {
    width: 24px;
    height: 24px;
    object-fit: contain;

/* Enhanced Next Match styles (migrated from inline) */
.fcm-next-match { text-align: center; padding: 24px; }
.fcm-match-teams { display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:1000px; margin:20px auto; }
.fcm-team { flex:1; display:flex; flex-direction:column; align-items:center; }
.fcm-team-logo { max-width:140px; height:auto; display:block; margin:0 auto 10px; }
.fcm-team-name { margin-top:8px; font-weight:700; }
.fcm-match-vs { flex:0 0 80px; font-size:20px; font-weight:700; color:#51606b; }
.fcm-match-date { margin-bottom:12px; font-size:18px; color:#51606b; }
.fcm-match-venue { margin-top:12px; color:#6b7a83; }
@media(max-width:720px){ .fcm-match-teams{flex-direction:column;gap:10px;} .fcm-match-vs{order:0} }
}

.fcm-club-name {
    font-weight: 500;
}

.fcm-points {
    font-weight: 700;
    color: #2c5282;
}

.fcm-goal-diff.positive {
    color: #38a169;
}

.fcm-goal-diff.negative {
    color: #e53e3e;
}

.fcm-form-indicators {
    display: flex;
    gap: 2px;
}

.fcm-form-indicator {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.fcm-form-indicator.fcm-win {
    background-color: #38a169;
}

.fcm-form-indicator.fcm-draw {
    background-color: #718096;
}

.fcm-form-indicator.fcm-loss {
    background-color: #e53e3e;
}

/* Recent Matches */
.fcm-recent-matches {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.fcm-recent-matches h3 {
    margin: 0 0 15px 0;
    color: #2d3748;
    font-size: 18px;
    text-align: center;
}

.fcm-matches-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fcm-match-item {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 15px;
}

.fcm-match-item .fcm-match-date {
    text-align: center;
    font-size: 12px;
    color: #718096;
    margin-bottom: 10px;
}

.fcm-match-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.fcm-match-result .fcm-team {
    flex-direction: row;
    max-width: 45%;
}

.fcm-match-result .fcm-team.fcm-away {
    flex-direction: row-reverse;
}

.fcm-match-result .fcm-team-logo-small {
    width: 24px;
    height: 24px;
    margin: 0 8px;
}

.fcm-score {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 18px;
    color: #2d3748;
}

.fcm-score-separator {
    color: #718096;
}

/* Sponsors Grid */
.fcm-sponsors {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.fcm-sponsors h3 {
    margin: 0 0 20px 0;
    color: #2d3748;
    font-size: 18px;
    text-align: center;
}

.fcm-sponsors-grid {
    display: grid;
    gap: 20px;
    align-items: center;
}

.fcm-columns-2 .fcm-sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.fcm-columns-3 .fcm-sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.fcm-columns-4 .fcm-sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.fcm-columns-6 .fcm-sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.fcm-sponsor-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fcm-sponsor-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.fcm-sponsor-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fcm-sponsor-logo {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.fcm-sponsor-name {
    font-weight: 600;
    color: #2d3748;
    margin-top: 10px;
    display: block;
}

.fcm-sponsor-description {
    font-size: 14px;
    color: #718096;
    margin-top: 8px;
    line-height: 1.4;
}

.fcm-sponsor-main {
    border-color: #3182ce;
    background-color: #ebf8ff;
}

/* Sponsors Slider */
.fcm-sponsors-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.fcm-sponsors-track {
    display: flex;
    gap: 40px;
    animation: scroll-fcm-sponsors 30s linear infinite;
    align-items: center;
}

.fcm-sponsors-track:hover {
    animation-play-state: paused;
}

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

.fcm-sponsors-slider .fcm-sponsor-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-width: 200px;
    height: 160px;
    gap: 12px;
}

.fcm-sponsors-slider .fcm-sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.fcm-sponsors-slider .fcm-sponsor-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    gap: 12px;
}

.fcm-sponsors-slider .fcm-sponsor-logo {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.fcm-sponsors-slider .fcm-sponsor-item:hover .fcm-sponsor-logo {
    filter: grayscale(0%);
}

.fcm-sponsors-slider .fcm-sponsor-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 768px) {
    .fcm-sponsors-track {
        gap: 25px;
    }
    
    .fcm-sponsors-slider .fcm-sponsor-item {
        min-width: 160px;
        height: 140px;
        padding: 20px 15px;
    }
    
    .fcm-sponsors-slider .fcm-sponsor-logo {
        max-width: 110px;
        max-height: 65px;
    }
    
    .fcm-sponsors-slider .fcm-sponsor-name {
        font-size: 0.85rem;
    }
}

/* Vertical Sponsors Slider */
.fcm-sponsors-vertical {
    max-height: 600px;
    overflow: hidden;
}

.fcm-sponsors-track-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scroll-fcm-sponsors-vertical 25s linear infinite;
}

.fcm-sponsors-track-vertical:hover {
    animation-play-state: paused;
}

@keyframes scroll-fcm-sponsors-vertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.fcm-sponsors-vertical .fcm-sponsor-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 130px;
    width: 100%;
}

.fcm-sponsors-vertical .fcm-sponsor-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.fcm-sponsors-vertical .fcm-sponsor-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.fcm-sponsors-vertical .fcm-sponsor-logo {
    max-width: 90%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.fcm-sponsors-vertical .fcm-sponsor-item:hover .fcm-sponsor-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .fcm-sponsors-vertical {
        max-height: 500px;
    }
    
    .fcm-sponsors-vertical .fcm-sponsor-item {
        min-height: 110px;
        padding: 20px 15px;
    }
    
    .fcm-sponsors-vertical .fcm-sponsor-logo {
        max-height: 80px;
    }
}

.fcm-sponsor-official {
    border-color: #38a169;
    background-color: #f0fff4;
}

/* VIP Signup */
.fcm-vip-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.fcm-vip-signup h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 700;
}

.fcm-vip-benefits {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.fcm-membership-type {
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.fcm-membership-type h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.fcm-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fcm-benefits-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.fcm-benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #68d391;
    font-weight: 700;
}

.fcm-vip-contact {
    margin-top: 20px;
}

.fcm-vip-contact p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fcm-match-teams {
        flex-direction: column;
        gap: 10px;
    }
    
    .fcm-team {
        max-width: 100%;
    }
    
    .fcm-match-vs {
        order: 2;
        margin: 10px 0;
    }
    
    .fcm-away-team {
        order: 3;
    }
    
    .fcm-standings-table {
        font-size: 14px;
    }
    
    .fcm-standings-table th,
    .fcm-standings-table td {
        padding: 8px 4px;
    }
    
    .fcm-club-info {
        flex-direction: column;
        gap: 4px;
    }
    
    .fcm-match-result {
        flex-direction: column;
        gap: 10px;
    }
    
    .fcm-match-result .fcm-team {
        max-width: 100%;
        text-align: center;
    }
    
    .fcm-sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .fcm-columns-4 .fcm-sponsors-grid,
    .fcm-columns-6 .fcm-sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .fcm-vip-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .fcm-next-match,
    .fcm-standings,
    .fcm-recent-matches,
    .fcm-sponsors,
    .fcm-vip-signup {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .fcm-team-logo {
        width: 40px;
        height: 40px;
    }
    
    .fcm-live-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin: 8px auto;
    }
    
    .fcm-live-pulse {
        width: 8px;
        height: 8px;
    }
    
    .fcm-sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .fcm-sponsor-item {
        padding: 10px;
    }
    
    .fcm-sponsor-logo {
        max-height: 40px;
    }
}

/* No Data States */
.fcm-no-data {
    text-align: center;
    color: #718096;
    font-style: italic;
    padding: 40px 20px;
    background-color: #f7fafc;
    border-radius: 6px;
}

/* Loading States */
.fcm-loading {
    text-align: center;
    padding: 20px;
    color: #718096;
}

.fcm-loading:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #3182ce;
    border-radius: 50%;
    animation: fcm-spin 1s linear infinite;
    margin-left: 10px;
}

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

/* Players Grid */
.fcm-players {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 0;
}

.fcm-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.fcm-player-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.fcm-player-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.fcm-player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fcm-player-card:hover::before {
    opacity: 1;
}

.fcm-player-photo {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Placeholder for players without photo */
.fcm-player-photo.fcm-no-photo {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    position: relative;
}

.fcm-player-photo.fcm-no-photo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' opacity='0.3'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}

.fcm-player-photo:not(.fcm-no-photo)::before {
    display: none !important;
}

.fcm-player-photo.fcm-no-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.fcm-player-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.fcm-player-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.fcm-player-card:hover .fcm-player-photo img {
    transform: scale(1.1);
}

.fcm-player-info {
    padding: 20px;
    position: relative;
    background: white;
}

.fcm-player-number {
    position: absolute;
    top: -35px;
    right: 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
    border: 4px solid white;
    z-index: 2;
    transition: all 0.3s ease;
}

.fcm-player-card:hover .fcm-player-number {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.5);
}

.fcm-player-name {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    padding-right: 75px;
    min-height: 50px;
}

.fcm-player-position {
    display: inline-block;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    border: 1px solid #93c5fd;
}

.fcm-player-club {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.fcm-player-club::before {
    content: '⚽';
    font-size: 16px;
}

/* Players without photo */
.fcm-player-card:not(:has(.fcm-player-photo)) .fcm-player-info {
    padding-top: 80px;
}

.fcm-player-card:not(:has(.fcm-player-photo)) .fcm-player-number {
    top: 20px;
    right: 50%;
    transform: translateX(50%);
    width: 90px;
    height: 90px;
    font-size: 38px;
}

.fcm-player-card:not(:has(.fcm-player-photo)):hover .fcm-player-number {
    transform: translateX(50%) rotate(360deg) scale(1.1);
}

.fcm-player-card:not(:has(.fcm-player-photo)) .fcm-player-name {
    padding-right: 0;
    text-align: center;
    margin-top: 20px;
}

.fcm-player-card:not(:has(.fcm-player-photo)) .fcm-player-position {
    display: block;
    text-align: center;
}

.fcm-player-card:not(:has(.fcm-player-photo)) .fcm-player-club {
    justify-content: center;
}

/* Responsive Design for Players */
@media (max-width: 1200px) {
    .fcm-players-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fcm-players-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 18px;
    }
    
    .fcm-player-photo {
        height: 220px;
    }
    
    .fcm-player-number {
        width: 55px;
        height: 55px;
        font-size: 24px;
        top: -30px;
    }
    
    .fcm-player-name {
        font-size: 18px;
        padding-right: 65px;
        min-height: 45px;
    }
    
    .fcm-player-info {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .fcm-players {
        padding: 0 5px;
        margin: 0 0 30px 0;
    }
    
    .fcm-players-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0;
        width: 100%;
    }
    
    .fcm-player-photo {
        height: 420px;
    }
    
    .fcm-player-card {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
    
    .fcm-player-info {
        padding: 20px;
    }
    
    .fcm-player-number {
        width: 65px;
        height: 65px;
        font-size: 28px;
        top: -35px;
        right: 20px;
    }
    
    .fcm-player-name {
        font-size: 20px;
        padding-right: 75px;
        min-height: 50px;
    }
    
    .fcm-player-position {
        font-size: 15px;
        margin-top: 8px;
    }
    
    .fcm-player-club {
        font-size: 14px;
        margin-top: 8px;
    }
}