/* Rafa Dashboard - Modern Design with BLACK BACKGROUND */

/* GLOBAL STYLES - BLACK THEME */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000 !important; /* PRETO TOTAL */
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVIGATION */
nav {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(88, 101, 242, 0.3);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5865f2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #5865f2;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #5865f2;
}

/* BUTTONS */
.btn {
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* CARDS */
.card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* DASHBOARD SPECIFIC */
.dashboard-header {
    text-align: center;
    padding: 40px 0;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.user-info-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #5865f2;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.server-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 101, 242, 0.5);
}

.server-icon img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.server-icon-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

/* PREMIUM PAGE */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.pricing-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(88, 101, 242, 0.5);
}

.pricing-card-popular {
    border: 2px solid #5865f2;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.pricing-price {
    text-align: center;
    margin: 20px 0;
}

.pricing-price .price {
    font-size: 3rem;
    font-weight: bold;
    color: #5865f2;
}

.features-list {
    list-style: none;
    margin: 20px 0;
}

.features-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i.fa-check {
    color: #43b581;
}

.features-list i.fa-times {
    color: #f04747;
}

/* BADGES */
.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-owner {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.badge-admin {
    background: rgba(88, 101, 242, 0.2);
    color: #5865f2;
}

.tier-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
    display: inline-block;
}

.tier-badge.tier-free {
    background: #6c757d;
}

.tier-badge.tier-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tier-badge.tier-3 {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
}

/* STATS */
.quick-stats {
    margin-top: 40px;
}

.stats-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card-small {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card-small i {
    font-size: 2rem;
    color: #5865f2;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5865f2;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    color: #5865f2;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
}

.empty-state p {
    color: #aaa;
    margin-bottom: 20px;
}