/* Importação de fontes do Google Fonts - você pode escolher outras */
@import url(https://kingbot.hostmybotprojects.net/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@300;400;500;700&display=swap);

:root {
    --bg-dark: #1a1a1a;
    --bg-card: #2c2c2c;
    --text-light: #f5f5f5;
    --text-secondary: #cccccc;
    
    /* 👑 COR DOURADO/BRONZE E GRADIENTE 👑 */
    --accent-gold: #c28e23; /* Tom bronze-dourado da sua logo */
    --accent-gold-light: #e6c152; /* Tom mais claro para o pico do brilho */
    --accent-gold-dark: #a8791c; /* Tom mais escuro para o hover */
    
    /* GRADIENTE: Usa a cor base, clareia no meio e volta para a cor base */
    --gradient-gold: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    
    --discord-blue: #5865f2;
    --discord-blue-dark: #4752c4;
    --red-danger: #f04747;
    --green-success: #43b581;
    --orange-warning: #faa61a;
    --border-dark: #444;
}

html {
  /* Força a barra de rolagem vertical a SEMPRE aparecer */
  overflow-y: scroll;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: var(--bg-dark);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8em;
    color: var(--accent-gold); 
    text-decoration: none;
}

.logo img {
    height: 75px; 
    margin-right: 10px;
}

header nav {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

header nav a {
    color: var(--text-light);
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--accent-gold-light); /* Cor de destaque no hover */
}

.nav-buttons .btn {
    margin-left: 10px;
    padding: 10px 20px;
    font-weight: 600;
}

/* Main Content Styling */
main {
    flex: 1; /* Garante que o main ocupe o espaço restante */
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
    padding: 20px 0;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-bottom: 20px;
}

/* APLICAÇÃO DO GRADIENTE NO TEXTO (h1 e h2) */
h1, h2 {
    background: var(--gradient-gold);
    /* Propriedades para recortar o fundo (gradiente) no formato do texto */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* H3 e outros títulos menores mantêm a cor sólida para melhor contraste */
h3 {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--text-light); 
}

p {
    color: var(--text-secondary);
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 25px;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    /* APLICAÇÃO DO GRADIENTE NOS BOTÕES */
    background: var(--gradient-gold);
    color: var(--bg-dark); 
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn:hover {
    /* No hover, usamos a cor sólida mais escura para dar profundidade */
    background: var(--accent-gold-dark); 
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--discord-blue);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--discord-blue-dark);
}

/* Specific Home Page Sections */
.hero-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0a0a0a 100%);
    border-bottom: 2px solid var(--accent-gold); 
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(194, 142, 35, 0.5); 
}

.hero-section p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.3em;
    line-height: 1.8;
}

.hero-buttons .btn {
    margin: 0 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 25px;
    background: var(--bg-card);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.feature-item img {
    height: 180px; 
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-top: 0;
    color: var(--accent-gold); /* H3 com cor sólida */
}

.feature-item p {
    font-size: 1em;
    color: var(--text-secondary);
}

/* Status Page Styling */
.status-indicator {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-online { background-color: var(--green-success); }
.status-offline { background-color: var(--red-danger); }
.status-latency { background-color: var(--orange-warning); }

.status-grid {
    /* CORREÇÃO: Força 4 colunas de largura igual para telas grandes */
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-top: 30px;
}

/* CORREÇÃO: Estilo para o item K/D que deve ocupar o centro da segunda linha */
.status-grid .status-item.full-width {
    /* Ocupa 2 das 4 colunas */
    grid-column: 2 / span 2; 
    
    /* Faz o item esticar para ocupar o espaço de 2 colunas */
    justify-self: stretch; 
    
    /* Limita o tamanho do card em telas muito largas */
    max-width: 500px; 
    
    /* Centraliza o card na horizontal dentro da área de 2 colunas */
    margin: 0 auto; 
}


.status-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.status-item h4 {
    margin-top: 0;
    color: var(--accent-gold); 
    font-size: 1.2em;
}

.status-item p {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-light);
    margin: 10px 0 0 0;
}
.status-item small {
    color: var(--text-secondary);
    font-size: 0.9em;
}


/* Premium Page Styling */
.pricing-plans {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; 
    margin-top: 40px;
}

.plan-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 350px;
    max-width: 90%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card.popular {
    border-color: var(--accent-gold); 
    transform: scale(1.03);
}

.plan-card.popular .ribbon {
    position: absolute;
    /* Ajustes para esticar a fita e centralizar sobre o canto */
    top: 30px;       /* Empurra um pouco para baixo */
    right: -100px;   /* Puxa para a direita, centralizando-a sobre o canto */
    
    /* Usa o gradiente dourado/bronze */
    background: var(--gradient-gold); 
    color: var(--bg-dark);
    padding: 8px 0;  /* Padding vertical ajustado */
    font-weight: 700;
    font-size: 1em;
    text-align: center;
    
    transform: rotate(45deg); /* Mantém a rotação de 45 graus */
    width: 300px; /* **Largura maior para garantir a cobertura de ponta a ponta** */
    
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10; /* Garante que fique acima da borda */
}


.plan-card h3 {
    font-size: 2em;
    color: var(--accent-gold); 
    margin-bottom: 15px;
}

.plan-card .price {
    font-size: 3em;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.plan-card .price small {
    font-size: 0.5em;
    color: var(--text-secondary);
    font-weight: 400;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.plan-card ul li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1.05em;
}

.plan-card ul li:before {
    content: '✅'; 
    margin-right: 10px;
    font-size: 0.9em;
}

.plan-card .btn {
    width: 100%;
    margin-top: 20px;
}

/* Footer Styling */
footer {
    background: #000;
    color: var(--text-secondary);
    text-align: center;
    padding: 2em 0;
    margin-top: auto; 
    border-top: 1px solid var(--border-dark);
}

footer p {
    margin: 0;
    color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        padding: 10px 0;
    }

    header nav {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav a {
        margin: 5px 10px;
    }

    .nav-buttons {
        display: flex; 
        align-items: center;
        margin-top: 15px;
    }
    
    .hero-section {
        padding: 60px 15px;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    .hero-buttons .btn {
        margin: 10px 5px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Ajuste para o mobile: 1 coluna */
    .status-grid {
        grid-template-columns: 1fr; 
    }
    .status-grid .status-item.full-width {
        grid-column: span 1; /* Ocupa apenas 1 coluna no mobile */
        justify-self: stretch;
        max-width: none;
        margin: 0; /* Remove a margem auto */
    }

    .plan-card {
        width: 100%;
    }
}