/* Theme: Royal/Crown - Purple and gold regal theme */

.container {
    background: linear-gradient(135deg, rgba(25, 10, 50, 0.98), rgba(40, 15, 70, 0.98));
    border: 2px solid rgba(218, 165, 32, 0.5);
    box-shadow: 0 0 50px rgba(218, 165, 32, 0.3), inset 0 0 40px rgba(138, 43, 226, 0.1);
}

.tabs {
    background: rgba(30, 10, 60, 0.9);
    border-bottom: 2px solid rgba(218, 165, 32, 0.4);
}

.tab-btn {
    color: rgba(255, 255, 255, 0.6);
}

.tab-btn:hover {
    color: rgba(218, 165, 32, 0.9);
    background: rgba(138, 43, 226, 0.1);
}

.tab-btn.active {
    color: #daa520;
    background: rgba(138, 43, 226, 0.2);
    text-shadow: 0 0 15px rgba(218, 165, 32, 0.8);
}

.tab-btn.active::after {
    background: linear-gradient(90deg, transparent, #daa520, transparent);
    box-shadow: 0 0 15px #daa520;
}

.panel-header h2 {
    color: #daa520;
    background: linear-gradient(135deg, #daa520, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 25px rgba(218, 165, 32, 0.6);
}

.leaderboard-entry {
    background: rgba(40, 15, 70, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.leaderboard-entry:hover {
    background: rgba(138, 43, 226, 0.15);
    border-color: rgba(218, 165, 32, 0.5);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.3);
}

.rank-other {
    background: rgba(138, 43, 226, 0.15);
    color: #ba55d3;
    border: 1px solid rgba(138, 43, 226, 0.4);
}

.profile-pic {
    border: 2px solid rgba(218, 165, 32, 0.5);
}

.coins-amount {
    color: #daa520;
    text-shadow: 0 0 15px rgba(218, 165, 32, 0.6);
}

.leaderboard-panel::-webkit-scrollbar-thumb {
    background: rgba(138, 43, 226, 0.4);
}

.leaderboard-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 43, 226, 0.6);
}

/* Special styling for top 3 - extra royal treatment */
.rank-1, .rank-2, .rank-3 {
    position: relative;
}

.rank-1::before {
    content: '✨';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
