/* ============================================
   Server Stats / Widgets Section - Kompakt
   ============================================ */

.server-stats {
    padding: 60px 0 40px;
    position: relative;
}

.widgets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

/* Discord Widget - Kompakt */
.discord-widget-custom {
    background: linear-gradient(135deg, #1e1f2c, #13141f);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(88, 101, 242, 0.2);
    transition: all 0.3s ease;
}

.discord-widget-custom:hover {
    transform: translateY(-3px);
    border-color: #5865F2;
    box-shadow: 0 10px 25px -8px rgba(88, 101, 242, 0.2);
}

.discord-widget-header {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.discord-widget-header i {
    font-size: 1.3rem;
}

.discord-widget-header h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
}

.discord-widget-header span {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-left: auto;
}

.discord-widget-body {
    padding: 14px;
}

.discord-channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}

.discord-channel {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    color: #A6AAB5;
    font-size: 0.7rem;
}

.discord-channel i {
    font-size: 0.65rem;
    width: 16px;
}

.discord-channel i.fa-hashtag { color: #5865F2; }
.discord-channel i.fa-headphones { color: #2ecc71; }
.discord-channel i.fa-volume-off { color: #e67e22; }

.discord-members h4 {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6C7080;
    margin-bottom: 8px;
}

.discord-member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 80px;
    overflow-y: auto;
}

.discord-member {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(88, 101, 242, 0.08);
    padding: 3px 8px 3px 5px;
    border-radius: 20px;
    font-size: 0.65rem;
    color: #A6AAB5;
}

.discord-member-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #5865F2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: #fff;
    overflow: hidden;
}

.discord-widget-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.discord-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #5865F2;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.discord-join-btn:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

/* Top.gg Widget - Kompakt */
.topgg-widget-custom {
    background: linear-gradient(135deg, #1a1b2e, #0f1120);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(245, 175, 25, 0.15);
    transition: all 0.3s ease;
    text-align: center;
}

.topgg-widget-custom:hover {
    transform: translateY(-3px);
    border-color: #F5AF19;
    box-shadow: 0 10px 25px -8px rgba(245, 175, 25, 0.15);
}

.topgg-header {
    background: linear-gradient(135deg, #F5AF19, #E09E14);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a2e;
}

.topgg-header i {
    font-size: 1.3rem;
}

.topgg-header h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
}

.topgg-body {
    padding: 16px;
}

.topgg-bot-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #F5AF19, #E09E14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topgg-bot-icon i {
    font-size: 1.6rem;
    color: #1a1a2e;
}

.topgg-bot-name {
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #F5AF19, #F7C948);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.topgg-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 16px 0;
}

.topgg-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #F5AF19;
}

.topgg-stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6C7080;
}

.topgg-owner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(245, 175, 25, 0.08);
    border-radius: 20px;
    margin: 12px 0 0;
    font-size: 0.7rem;
    color: #A6AAB5;
}

.topgg-owner i {
    color: #F5AF19;
    font-size: 0.7rem;
}

.topgg-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.topgg-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #F5AF19, #E09E14);
    color: #1a1a2e;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.topgg-vote-btn:hover {
    transform: translateY(-2px);
    gap: 8px;
}

.loading-spinner-mini {
    display: flex;
    justify-content: center;
    color: #6C7080;
    font-size: 0.7rem;
    padding: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .widgets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .discord-channels {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .discord-member-list {
        max-height: 100px;
    }

    .discord-join-btn,
    .topgg-vote-btn {
        min-height: 44px;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {
    .server-stats {
        padding: 40px 0 20px;
    }
    
    .discord-widget-header,
    .topgg-header {
        padding: 10px 14px;
    }
    
    .discord-widget-header i,
    .topgg-header i {
        font-size: 1.1rem;
    }
    
    .discord-widget-header h3,
    .topgg-header h3 {
        font-size: 0.8rem;
    }
    
    .discord-widget-body {
        padding: 10px;
    }
    
    .discord-channel {
        font-size: 0.65rem;
        padding: 4px 6px;
    }
    
    .discord-member {
        font-size: 0.6rem;
        padding: 2px 6px 2px 4px;
    }
    
    .topgg-bot-icon {
        width: 40px;
        height: 40px;
    }
    
    .topgg-bot-icon i {
        font-size: 1.2rem;
    }
    
    .topgg-bot-name {
        font-size: 0.85rem;
    }
    
    .topgg-stat-value {
        font-size: 1.1rem;
    }
    
    .topgg-stat-label {
        font-size: 0.55rem;
    }
}