.player-card {
    background: linear-gradient(180deg, #121927 0%, #0a0d14 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.player-number-bg {
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 9rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
    z-index: 2;
    letter-spacing: -5px;
}

.player-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}

.player-card:hover .player-photo {
    transform: scale(1.05);
}

.player-info-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%);
    padding: 40px 10px 15px;
    text-align: center;
    z-index: 3;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.player-card:hover .player-info-strip {
    transform: translateY(-80px);
    /* Sube un poco cuando aparecen las stats */
}

.player-name {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
}

.player-name .first {
    font-weight: 400;
}

.player-name .last {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.player-position {
    color: #ddd;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 4px;
    letter-spacing: 1px;
}

.player-stats {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(10, 13, 20, 0.95);
    backdrop-filter: blur(5px);
    z-index: 4;
    padding: 0 15px 15px;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.player-card:hover .player-stats {
    bottom: 0;
}

.stats-divider {
    width: 90%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 auto 12px;
}

.stat-label {
    font-size: 0.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.stat-val {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 2px;
}

.stat-season {
    font-size: 0.55rem;
    color: #aaa;
    font-weight: 700;
}

.stat-season span {
    color: #ffc107;
    /* Color dorado */
}

.player-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
    z-index: 2;
}
