/* Player Hero Card Styles */
.player-hero-card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: overlayFadeIn 0.3s ease-out;
}

.player-hero-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    border-radius: 30px;
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 3px solid rgba(102, 126, 234, 0.3);
    animation: cardSlideIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.player-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

/* Hero Photo */
.hero-photo-container {
    margin-bottom: 2rem;
    position: relative;
}

.hero-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: photoZoom 0.6s ease-out 0.2s both;
}

.hero-photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    margin: 0 auto;
    animation: photoZoom 0.6s ease-out 0.2s both;
}

.hero-photo-placeholder .initials {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Hero Info */
.hero-info {
    margin-bottom: 2rem;
    animation: textSlideUp 0.6s ease-out 0.4s both;
}

.hero-name {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin: 0;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-lastname {
    font-size: 2.5rem;
    font-weight: 700;
    color: #555;
    margin: 0.5rem 0;
}

.hero-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-purple-start);
    background: rgba(102, 126, 234, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Vote Type Display */
.vote-type-display {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: voteTypeSlideIn 0.6s ease-out 0.6s both;
}

.vote-type-icon img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.vote-type-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-purple-start);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: buttonsSlideIn 0.6s ease-out 0.8s both;
}

.confirm-btn, .cancel-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.confirm-btn {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    flex: 2;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.cancel-btn {
    background: linear-gradient(135deg, #ff5252, #f44336);
    color: white;
    flex: 1;
}

.cancel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 82, 82, 0.4);
}

.confirm-btn:active, .cancel-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes photoZoom {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes voteTypeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes buttonsSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .player-hero-card {
        padding: 2rem 1.5rem;
        max-width: 400px;
    }

    .hero-photo, .hero-photo-placeholder {
        width: 150px;
        height: 150px;
    }

    .hero-photo-placeholder .initials {
        font-size: 3rem;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-lastname {
        font-size: 2rem;
    }

    .hero-number {
        font-size: 1.5rem;
    }

    .vote-type-text {
        font-size: 1.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .confirm-btn, .cancel-btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .player-hero-card {
        width: 95%;
        padding: 1.5rem 1rem;
    }

    .hero-photo, .hero-photo-placeholder {
        width: 120px;
        height: 120px;
    }

    .hero-photo-placeholder .initials {
        font-size: 2.5rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-lastname {
        font-size: 1.5rem;
    }
}