
.sidebar-content {
    padding: 5px;
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    padding: 2px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: background-color 0.2s;
    cursor: pointer;
    background: rgba(30, 33, 40, 0.5);
    border: 1px solid #2f3336;
}

.user-profile:hover {
    background-color: #1d1f23;
    border-color: #6c5ce7;
}

.user-avatar {
    width: 80px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 5px;
    box-shadow: none;
    background: none;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}


.user-info {
    flex-grow: 1;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.user-handle {
    font-size: 0.9rem;
    color: #71767b;
}

.user-stats {
    display: flex;
    margin-top: 8px;
}

.stat {
    display: flex;
    align-items: center;
    margin-right: 16px;
    font-size: 0.85rem;
    color: #71767b;
}

.stat-value {
    font-weight: 700;
    color: #e7e9ea;
    margin-left: 4px;
}

.vp-stat .stat-value {
    color: #6c5ce7;
    font-weight: 800;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2f3336;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #e7e9ea;
    display: flex;
    align-items: center;
}

.section-title i {
    color: #6c5ce7;
    margin-right: 10px;
}

.view-all {
    color: #6c5ce7;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

/* Trending Battles */
.trending-section {
    margin-bottom: 25px;
    flex-grow: 1;
}

.battle-list {
    list-style: none;
}

.battle-item {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    background-color: rgba(30, 33, 40, 0.6);
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid #2f3336;
}

.battle-item:hover {
    background-color: rgba(40, 43, 50, 0.8);
    transform: translateX(4px);
    border-color: #6c5ce7;
}

.battle-topic {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e7e9ea;
    line-height: 1.4;
}

.battle-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #71767b;
    margin-bottom: 12px;
}

.battle-meta {
    display: flex;
    align-items: center;
}

.battle-status {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 8px;
}

.status-live {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    animation: pulse 1.5s infinite;
}

.status-soon {
    background: rgba(255, 204, 0, 0.2);
    color: #ffcc00;
}

.battle-progress {
    display: flex;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-for {
    height: 100%;
    background: linear-gradient(to right, #6c5ce7, #a29bfe);
}

.progress-against {
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #71767b;
}

.progress-label {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.label-for {
    color: #6c5ce7;
}

/* Top Vawulators */
.leaderboard-section {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #2f3336;
}

.leaderboard-list {
    list-style: none;
}

.leader-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    background-color: rgba(30, 33, 40, 0.6);
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid #2f3336;
}

.leader-item:hover {
    background-color: rgba(40, 43, 50, 0.8);
    transform: translateY(-3px);
    border-color: #6c5ce7;
}

.leader-rank {
    font-size: 0.9rem;
    font-weight: 800;
    color: #71767b;
    margin-right: 12px;
    min-width: 20px;
    text-align: center;
}

.rank-1 {
    color: #ffcc00;
}

.rank-2 {
    color: #c0c0c0;
}

.rank-3 {
    color: #cd7f32;
}

.leader-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    margin-right: 12px;
}

.leader-info {
    flex-grow: 1;
    min-width: 0;
}

.leader-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #e7e9ea;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leader-title {
    font-size: 0.75rem;
    color: #6c5ce7;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leader-points {
    font-weight: 800;
    color: #6c5ce7;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* Scrollbar styling */
.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: rgba(30, 33, 40, 0.5);
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.5);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: rgba(108, 92, 231, 0.8);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .sidebar-container {
        min-width: 260px;
    }
    
    .battle-topic {
        font-size: 0.95rem;
    }
    
    .leader-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar-container {
        width: 100%;
        height: auto;
        min-height: 50vh;
    }
    
    .content-area {
        min-height: 50vh;
    }
}

