/* ===== Reset básico e fontes ===== */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: rgba(0, 0, 0, 0.85); /* fundo preto transparente */
    color: #FFFFFF;                  /* texto branco para melhor contraste */
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar-inner .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
    background: rgba(0, 0, 0, 0.7); /* preto quase transparente */
    box-shadow: 0 2px 10px rgba(178, 136, 38, 0.5); /* sombra dourada suave */
    border-radius: 8px;
}

.brand img {
    width: 52px;
    cursor: pointer;
    filter: drop-shadow(0 0 6px #b28826); /* amarelo queimado para sombra */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand img:hover {
    transform: scale(1.18);
    filter: drop-shadow(0 0 9px #a66e00);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #f0d87f; /* dourado claro para contraste */
    text-shadow: 0 0 4px #b28826;
    user-select: none;
}

/* ===== CONTAINER PRINCIPAL DE INFORMAÇÕES DO SERVIDOR ===== */
.server-info {
    display: flex;
    flex-wrap: nowrap;                 /* mantém os cards na mesma linha */
    justify-content: center;
    gap: 18px;
    padding: 20px 15px;
    margin: 50px auto;
    max-width: 820px;
    background: rgba(0, 0, 0, 0.6); /* fundo preto transparente para container */
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(178, 136, 38, 0.5); /* sombra amarelo queimado */
    overflow-x: auto;                  /* scroll horizontal se necessário */
}

/* ===== CARTÕES DE INFORMAÇÃO ===== */
.info-card {
    flex: 0 0 260px;                 /* largura fixa */
    background: rgba(178, 136, 38, 0.15); /* amarelo queimado transparente */
    padding: 10px 14px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 12px rgba(178, 136, 38, 0.4); /* sombra amarela */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.6s forwards;
    color: #FFF8E7; /* texto dourado claro */
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }

.info-card:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 30px #a66e00cc, 0 0 38px #b28826aa;
}

/* ===== TÍTULOS DOS CARDS ===== */
.info-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f0d87f;  /* dourado claro */
    margin-bottom: 6px;
    text-shadow: 0 0 3px #a66e00;
}

/* ===== VALORES DOS CARDS ===== */
.info-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff; /* texto branco */
    text-shadow: 0 0 6px #b28826;
}

/* ===== RODAPÉ ===== */
footer {
    text-align: center;
    padding: 12px 0;
    font-size: 0.9rem;
    color: #b28826; /* amarelo queimado */
    border-top: 1px solid rgba(178, 136, 38, 0.4);
    margin-top: 30px;
    user-select: none;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 767px) {
    .navbar-inner .container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 15px;
        background: rgba(0,0,0,0.85);
    }
    .navbar-buttons {
        width: 100%;
        justify-content: center;
    }
    .registration-button {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 12px 0;
    }
    .server-status {
        font-size: 1rem;
        gap: 10px;
        color: #f0d87f;
    }
    .server-info {
        flex-wrap: wrap;           /* empilha no mobile */
        overflow-x: visible;
        max-width: 95vw;
        padding: 10px;
        margin: 30px auto;
    }
    .info-card {
        flex: 1 1 100%;
        margin-bottom: 14px;
        opacity: 1;                /* remove animação no mobile para fluidez */
        transform: none;
    }
}

/* ===== Outros elementos mantidos com cores ajustadas ===== */
.status-indicator {
    background: <?= $status_color ?>;
    box-shadow: 0 0 10px <?= $status_color ?>;
    animation: <?= ($status === 'Online') ? 'pulse-green 2.5s infinite ease-in-out' : 'none' ?>;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 5px #4EC0FF; } /* Azul glacial para um efeito mais imersivo */
    50% { box-shadow: 0 0 15px #4EC0FF; }
}

/* Botão Criar Conta */
.registration-button {
    font-weight: 700;
    padding: 8px 18px;
    font-size: 1rem;
    background: linear-gradient(135deg, #C66B28 0%, #8A5221 100%);
    color: #FFFFFF;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(198, 107, 40, 0.5);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.registration-button:hover,
.registration-button:focus {
    background: linear-gradient(135deg, #8A5221 0%, #C66B28 100%);
    box-shadow: 0 6px 16px rgba(138, 82, 33, 0.7);
    outline: none;
}

/* Outros ajustes responsivos mantidos como no original */


/* ===== CONTAINER PRINCIPAL DE INFORMAÇÕES DO SERVIDOR ===== */
.server-info {
    display: flex;
    flex-wrap: nowrap;                 /* mantém os cards na mesma linha */
    justify-content: center;
    gap: 18px;
    padding: 20px 15px;
    margin: 50px auto;
    max-width: 820px;
    background: rgba(240, 240, 216, 0.9); /* cinza bem clarinho puxando pro amarelo queimado transparente */
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(128, 0, 0, 0.25); /* sombra vinho */
    overflow-x: auto;                  /* scroll horizontal se necessário */
}

/* ===== CARTÕES DE INFORMAÇÃO ===== */
.info-card {
    flex: 0 0 260px;                 /* largura fixa */
    background: rgba(230, 230, 217, 0.85); /* branco transparente puxando pra cinza/amarelo claro */
    padding: 10px 14px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 8px rgba(178, 136, 38, 0.25); /* sombra amarelo queimado */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.6s forwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 20px #a66e00cc, 0 0 28px #b28826aa;
}

/* ===== TÍTULOS DOS CARDS ===== */
.info-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #222222;  /* preto mais suave */
    margin-bottom: 6px;
}

/* ===== VALORES DOS CARDS ===== */
.info-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: #000000; /* texto sempre preto */
    text-shadow: none;
}

/* ===== RODAPÉ ===== */
footer {
    text-align: center;
    padding: 12px 0;
    font-size: 0.9rem;
    color: #444444;
    border-top: 1px solid #ddd;
    margin-top: 30px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 767px) {
    .navbar-inner .container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 15px;
        background: rgba(255,255,255,0.95);
    }
    .navbar-buttons {
        width: 100%;
        justify-content: center;
    }
    .registration-button {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 12px 0;
    }
    .server-status {
        font-size: 1rem;
        gap: 10px;
        color: #000000;
    }
    .server-info {
        flex-wrap: wrap;           /* empilha no mobile */
        overflow-x: visible;
        max-width: 95vw;
        padding: 10px;
        margin: 30px auto;
    }
    .info-card {
        flex: 1 1 100%;
        margin-bottom: 14px;
        opacity: 1;                /* remove animação no mobile para fluidez */
        transform: none;
    }
}
.status-indicator {
    background: <?= $status_color ?>;
    box-shadow: 0 0 10px <?= $status_color ?>;
    animation: <?= ($status === 'Online') ? 'pulse-green 2.5s infinite ease-in-out' : 'none' ?>;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 5px #4EC0FF; } /* Azul glacial para um efeito mais imersivo */
    50% { box-shadow: 0 0 15px #4EC0FF; }
}

/* Navbar container */
.navbar-inner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Brand logo */
.brand img {
    height: 48px;
}

/* Container botão + contador */
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Botão Criar Conta */
.registration-button {
    font-weight: 700;
    padding: 8px 18px;
    font-size: 1rem;
    background: linear-gradient(135deg, #C66B28 0%, #8A5221 100%); /* Dourado queimado e bronze profundo */
    color: #FFFFFF;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(198, 107, 40, 0.5);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}
.registration-button:hover,
.registration-button:focus {
    background: linear-gradient(135deg, #8A5221 0%, #C66B28 100%);
    box-shadow: 0 6px 16px rgba(138, 82, 33, 0.7);
    outline: none;
}

/* Contador GRB discreto */
#grb-countdown-container {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #442A1E; /* Marrom queimado */
    user-select: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

#grb-countdown-container strong {
    color: #C66B28; /* Dourado queimado */
    font-weight: 700;
    margin-right: 8px;
    font-size: 1rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    user-select: none;
    text-shadow: 0 0 2px rgba(198, 107, 40, 0.7);
}

#grb-countdown {
    font-weight: 600;
    color: #1B1612; /* Pedra escura texturizada */
    font-family: 'Consolas, monospace';
    background: #A5DDF3; /* Gelo pálido para contraste suave */
    padding: 4px 8px;
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
    user-select: none;
    letter-spacing: 1.5px;
}

/* Responsivo */
@media (max-width: 480px) {
    .nav-right {
        gap: 14px;
    }
    .registration-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    #grb-countdown-container {
        font-size: 0.8rem;
    }
    #grb-countdown-container strong {
        margin-right: 4px;
        font-size: 0.85rem;
    }
    #grb-countdown {
        padding: 3px 6px;
        font-size: 0.85rem;
    }
}
