/* ========================================
   HALL OF FAME - CSS SEPARADO
   ======================================== */

/* Container Principal */
.hall-of-fame {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #ffd700;
    border-radius: 8px;
    padding: 12px;
    margin: 12px auto;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Header Section */
.hof-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.hof-icon {
    font-size: 25px;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.hof-header h2 {
    margin: 0;
    color: #ffd700;
    font-size: 17px;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 
                 0 0 20px rgba(255, 215, 0, 0.6);
    letter-spacing: 1px;
}

.hof-header p {
    margin: 3px 0 0 0;
    color: #c0c0c0;
    font-size: 9px;
    font-style: italic;
}

/* Podium Grid - Layout Horizontal */
.hof-podium {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

/* Player Cards */
.hof-player-card {
    position: relative;
    flex: 1;
    min-width: 0;
    background: rgba(20, 20, 40, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hof-player-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hof-player-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.5);
    border-color: #ffd700;
}

.hof-player-card:hover::before {
    opacity: 1;
}

/* Rank-specific styles */
.hof-player-card.rank-gold {
    border-color: #ffd700;
    border-width: 4px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 215, 0, 0.05) 100%);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.7), 
                0 15px 40px rgba(0, 0, 0, 0.5);
}

.hof-player-card.rank-gold:hover {
    box-shadow: 0 0 70px rgba(255, 215, 0, 0.9), 
                0 20px 60px rgba(255, 215, 0, 0.5);
    transform: translateY(-15px) scale(1.05);
}

.hof-player-card.rank-silver {
    border-color: #c0c0c0;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2) 0%, rgba(192, 192, 192, 0.05) 100%);
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.4);
}

.hof-player-card.rank-bronze {
    border-color: #cd7f32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2) 0%, rgba(205, 127, 50, 0.05) 100%);
    box-shadow: 0 0 30px rgba(205, 127, 50, 0.4);
}

/* Confetti Container */
.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.confetti-piece {
    position: absolute;
    top: -50px;
    font-size: 14px;
    animation: fall 6s linear infinite;
    opacity: 0.75;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
}

/* Rank Badge */
.hof-rank {
    position: relative;
    z-index: 2;
    font-size: 22px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 6px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.rank-gold .hof-rank {
    font-size: 29px;
    animation: pulse 2s ease-in-out infinite, sparkle 3s ease-in-out infinite;
}

/* Sprite Container */
.hof-sprite {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    width: 80px;
    height: 80px;
}

.hof-sprite img {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.rank-gold .hof-sprite img {
    animation: pulse 2s ease-in-out infinite;
}

.hof-player-card:hover .hof-sprite img {
    transform: scale(1.15) rotate(5deg);
}

/* Player Info */
.hof-info {
    position: relative;
    z-index: 2;
    margin: 10px 0;
}

.hof-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.rank-gold .hof-name {
    color: #ffd700;
    font-size: 18px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 
                 0 0 15px rgba(255, 215, 0, 0.6);
}

.hof-vocation {
    font-size: 12px;
    color: #a0a0a0;
    font-style: italic;
    margin-bottom: 3px;
}

.hof-guild {
    font-size: 11px;
    color: #8b8bff;
    margin-top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

/* Stats Section */
.hof-stats {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.hof-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.stat-label {
    font-size: 7px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.rank-gold .stat-value {
    color: #ffd700;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes sparkle {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 1)) brightness(1.3);
    }
}

@keyframes fall {
    0% {
        top: -50px;
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        top: 110%;
        opacity: 0;
        transform: translateX(30px) rotate(360deg);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .hof-podium {
        gap: 10px;
    }
    
    .hof-player-card {
        padding: 15px;
    }
    
    .hof-sprite {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 768px) {
    .hof-podium {
        flex-direction: column;
        gap: 20px;
    }
    
    .hof-player-card {
        max-width: 100%;
    }
    
    .hof-header h2 {
        font-size: 24px;
    }
    
    .hof-icon {
        font-size: 36px;
    }
}
