/* --- Hall of Legends Styles --- */
@keyframes legend-glow {
    from {
        box-shadow: 0 0 20px -5px var(--cs-gold), 0 0 35px -10px var(--cs-gold), inset 0 0 15px -5px var(--cs-gold-dark);
    }
    to {
        box-shadow: 0 0 30px -5px var(--cs-gold), 0 0 50px -10px var(--cs-gold), inset 0 0 20px -5px var(--cs-gold-dark);
    }
}

@keyframes legend-shine {
    0% { transform: translateX(-150%) skewX(-30deg); opacity: 0.3; }
    100% { transform: translateX(150%) skewX(-30deg); opacity: 0; }
}

.legends-container {
    text-align: center;
    padding: 1em 0;
}

.legends-header .legends-icon {
    font-size: 4em;
    line-height: 1;
    filter: drop-shadow(0 0 15px var(--cs-gold));
}

.legends-header .cs-page-title {
    color: var(--cs-gold);
    text-shadow: 0 0 10px var(--cs-gold-dark);
}

.legends-intro {
    max-width: 700px;
    margin: 1em auto 3em auto;
    font-size: 1.1em;
    color: #ccc;
    line-height: 1.7;
}
html.cs-light .legends-intro {
    color: var(--cs-text-light-secondary);
}

.legends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2.5em;
}

.legend-card {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 2px solid var(--cs-gold);
    border-radius: 1.3em;
    overflow: hidden;
    animation: legend-glow 3s infinite alternate ease-in-out;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.legend-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.legend-card-link {
    display: block;
    padding: 2em 1.5em;
    text-decoration: none;
}

.legend-card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: legend-shine 3s infinite;
    animation-delay: 1s;
}

.legend-avatar-wrapper {
    padding: 8px;
    background: linear-gradient(145deg, #333, #111);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5em auto;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.7);
}

.legend-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--cs-gold);
    object-fit: cover;
}

.legend-name {
    font-family: 'Orbitron', sans-serif;
    color: var(--cs-gold);
    text-shadow: 0 0 8px var(--cs-gold-dark);
    margin: 0 0 0.5em 0;
    font-size: 1.4em;
}
html.cs-light .legend-name {
    color: var(--cs-gold-dark);
}

.legend-since {
    font-size: 0.9em;
    color: #aaa;
}

html.cs-light .legend-card {
    background: #fff;
    border-color: var(--cs-gold-dark);
}

.legends-empty {
    padding: 3em;
    background: rgba(0,0,0,0.2);
    border-radius: 1em;
    font-size: 1.2em;
    color: #aaa;
}