/* Resetando padrões e definindo fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #e0e0e0; /* Cinza claro para o texto */
    background: #1a1a2e; /* Azul escuro quase preto */
    overflow-x: hidden; /* Evita scroll horizontal */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Garante que o body ocupe toda a altura da viewport */
    position: relative; /* Para o particles.js */
}

/* Partículas em movimento */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; /* Fica atrás do conteúdo */
    opacity: 0.7; /* Suaviza as partículas */
}

/* Container principal para centralizar o conteúdo */
.main-container {
    position: relative;
    z-index: 2; /* Fica acima das partículas */
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Permite que o container ocupe o espaço restante */
    width: 100%;
    max-width: 1200px; /* Limita a largura para melhor leitura */
    margin: 0 auto; /* Centraliza o container */
    padding: 20px;
}

/* Barra de navegação */
.navbar {
    width: 100%;
    background-color: rgba(26, 26, 46, 0.8); /* Cor de fundo da navbar, semi-transparente */
    padding: 15px 0;
    border-bottom: 1px solid #0f3460; /* Linha sutil na parte inferior */
    margin-bottom: 40px; /* Margem padrão para o conteúdo abaixo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para profundidade */
}

.nav-content {
    display: flex;
    justify-content: flex-end; /* Alinha o link à direita */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-link {
    color: #92a4b8; /* Cor mais suave para o link */
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
    background-color: #0f3460; /* Azul mais escuro no hover */
}

/* Conteúdo principal (genérico para ambas as páginas) */
.content {
    text-align: center;
    flex-grow: 1; /* Permite que o conteúdo ocupe o espaço restante */
    padding-bottom: 50px; /* Espaço antes do rodapé */
}

/* Botão de Download (agora também usado para 'Entre no Discord') */
.download-button,
.game-card-button { /* Inclui o botão do card de jogos */
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1f80ff, #0f3460);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 128, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
}

.download-button:hover,
.game-card-button:hover {
    background: linear-gradient(135deg, #0f3460, #1f80ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 128, 255, 0.6);
    color: white;
}

/* ESTILO PARA BOTÃO INDISPONÍVEL/DESATIVADO */
.download-button.unavailable,
.game-card-button.unavailable {
    background-color: #555; /* Cor cinza para indisponível */
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none; /* Desativa cliques */
    box-shadow: none;
    transform: none;
}
.download-button.unavailable:hover,
.game-card-button.unavailable:hover {
    background-color: #555; /* Mantém a cor cinza no hover */
    transform: none;
    box-shadow: none;
}


/* Rodapé */
.footer {
    width: 100%;
    background-color: rgba(26, 26, 46, 0.8); /* Mesma cor de fundo da navbar */
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    color: #92a4b8;
    margin-top: auto; /* Empurra o rodapé para o final da página */
    border-top: 1px solid #0f3460;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

/* --- Estilos para a página principal (index.html) --- */
.home-page .main-container {
    /* Remove justify-content e align-items aqui */
    /* Deixa o hero-content cuidar da centralização */
    min-height: 100vh;
    padding: 0; /* Remove padding que pode atrapalhar o posicionamento fixo da nav/footer */
}

.home-page .navbar,
.home-page .footer {
    width: 100%;
    position: fixed; /* Mudar para fixed para que o hero-content possa ocupar a tela toda */
    left: 0;
    z-index: 3;
}

.home-page .navbar {
    top: 0;
    margin-bottom: 0; /* Remove margem que pode criar espaço indesejado */
}

.home-page .footer {
    bottom: 0;
}

.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza verticalmente o próprio conteúdo */
    align-items: center; /* Centraliza horizontalmente o próprio conteúdo */
    text-align: center;
    max-width: 800px;
    margin: 0 auto; /* Centraliza o bloco do conteúdo principal */
    padding: 20px;
    height: 100vh; /* Ocupa a altura total da viewport */
    position: relative; /* Para z-index */
    z-index: 4;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    color: #1f80ff; /* AZUL vibrante para o título principal */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(31, 128, 255, 0.6); /* Sombra azul */
}

.hero-subtitle {
    font-size: 2em;
    font-weight: 600;
    color: #e0e0e0; /* Cinza claro para o subtítulo */
    margin-bottom: 15px;
    letter-spacing: 1.5px;
}

.hero-description {
    font-size: 1.2em;
    color: #b0b0b0; /* Cinza claro */
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

/* --- Estilos específicos para a página de Downloads (games grid) --- */

.downloads-section {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.downloads-header {
    margin-bottom: 4rem;
}

.downloads-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.downloads-subtitle {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.downloads-page-content {
    padding-top: 40px; /* Mais espaço no topo */
}

.downloads-page-content .page-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #1f80ff; /* AZUL vibrante para o título principal da downloads page */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(31, 128, 255, 0.4); /* Sombra azul */
}

.downloads-page-content .subtitle {
    font-size: 1.3em;
    color: #b0b0b0;
    margin-bottom: 50px;
}

.games-grid {
    display: grid;
    /* Ajuste para ter 3 colunas em telas maiores, ou 2, ou 1, e tamanho min/max */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Espaçamento entre os cards */
    max-width: 1200px; /* Largura máxima da grade de cards */
    margin: 0 auto; /* Centraliza a grade */
    padding: 20px;
}

.game-card {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.95), rgba(26, 26, 46, 0.95));
    border-radius: 16px;
    overflow: hidden; /* Garante que a imagem e a borda arredondada se encaixem */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(31, 128, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left; /* Alinha o texto à esquerda dentro do card */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Empurra o botão para baixo */
    position: relative; /* Para o status badge */
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-10px); /* Eleva o card no hover */
    box-shadow: 0 15px 40px rgba(31, 128, 255, 0.3),
                0 0 30px rgba(31, 128, 255, 0.2);
    border-color: rgba(31, 128, 255, 0.5);
}

.game-card-image {
    width: 100%;
    height: 200px; /* Altura padrão para as imagens */
    object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
    display: block;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    filter: brightness(0.85); /* Escurece um pouco a imagem */
    transition: filter 0.3s ease;
}

.game-card:hover .game-card-image {
    filter: brightness(1); /* Clareia a imagem no hover */
}

.game-card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Permite que o conteúdo ocupe o espaço restante */
    display: flex;
    flex-direction: column;
}

.game-card-content h4 {
    font-size: 1.4em;
    font-weight: 700;
    color: #e0e0e0; /* Branco para o título do jogo no card */
    margin-bottom: 0.75rem; /* Menor margem */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative; /* Para o status badge */
    padding-right: 25px; /* Espaço para a bolinha de status */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.game-card-content .status-dot {
    position: absolute;
    top: 5px; /* Ajuste a posição vertical */
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #0f3460; /* Borda da cor do card */
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.status-dot.online {
    background-color: #28a745; /* Verde */
}

.status-dot.offline {
    background-color: #dc3545; /* Vermelho */
}

.status-dot.manutencao { /* NOVO ESTILO PARA MANUTENÇÃO */
    background-color: #ffc107; /* Amarelo */
}


.game-card-content .version-info,
.game-card-content .update-info {
    font-size: 0.85em; /* Menor que a descrição */
    color: #92a4b8; /* Cor mais suave para metadados */
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.game-card-content p.description { /* Adicionei classe para diferenciar */
    font-size: 0.95em;
    color: #b0b0b0; /* Cinza mais claro para descrição */
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1; /* Permite que a descrição ocupe o espaço */
    white-space: pre-wrap; /* Preserva quebras de linha e espaços da descrição */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* O .game-card-button já usa .download-button, então basta adicionar a classe .unavailable no JS */

/* Media Queries para responsividade da grade de cards */
@media (max-width: 992px) {
    .downloads-title {
        font-size: 2.8rem;
    }
    
    .downloads-subtitle {
        font-size: 1.1rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .game-card-image {
        height: 180px;
    }
    .game-card-content h4 {
        font-size: 1.3em;
    }
    .game-card-content p {
        font-size: 0.85em;
    }
    .game-card-button {
        font-size: 1em;
        padding: 10px 15px;
    }
}

@media (max-width: 768px) {
    .downloads-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .downloads-title {
        font-size: 2.2rem;
    }
    
    .downloads-subtitle {
        font-size: 1rem;
    }
    
    .downloads-page-content .page-title {
        font-size: 2.2em;
    }
    .downloads-page-content .subtitle {
        font-size: 1.1em;
        margin-bottom: 40px;
    }
    .games-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
        max-width: 100%;
        padding: 0 15px;
    }
    .game-card-image {
        height: 200px; /* Pode aumentar um pouco para melhor visualização em mobile */
    }
    .hero-title {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    .hero-subtitle {
        font-size: 1.6em;
        margin-bottom: 10px;
    }
    .hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .download-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .downloads-section {
        padding-top: 90px;
        padding-bottom: 50px;
    }
    
    .downloads-title {
        font-size: 1.8rem;
    }
    
    .downloads-subtitle {
        font-size: 0.9rem;
    }
    
    .downloads-page-content .page-title {
        font-size: 1.8em;
    }
    .downloads-page-content .subtitle {
        font-size: 1em;
    }
    .game-card-content {
        padding: 1rem;
    }
    .game-card-content h4 {
        font-size: 1.2em;
    }
    .hero-title {
        font-size: 1.8em;
        letter-spacing: 1px;
    }
    .hero-subtitle {
        font-size: 1.3em;
    }
    .hero-description {
        font-size: 0.9em;
        margin-bottom: 25px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   NOVOS ESTILOS PARA DESIGN PROFISSIONAL
   ============================================ */

/* Navbar Customizada */
.custom-navbar {
    background: rgba(15, 52, 96, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #1f80ff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand-text {
    background: linear-gradient(135deg, #1f80ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: #e0e0e0 !important;
    font-weight: 600;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #1f80ff !important;
    background: rgba(31, 128, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #1f80ff, #00d4ff, #1f80ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    text-shadow: none;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #1f80ff, #0f3460);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 128, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(31, 128, 255, 0.6);
    background: linear-gradient(135deg, #0f3460, #1f80ff);
}

.btn-outline-primary {
    border: 2px solid #1f80ff;
    color: #1f80ff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #1f80ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(31, 128, 255, 0.6);
}

/* Animações */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Widget Discord Personalizado */
.discord-widget-container {
    position: relative;
    z-index: 3;
    margin-top: 0;
    width: 100%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.discord-widget {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.95), rgba(26, 26, 46, 0.95));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(31, 128, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    min-height: 400px;
    display: block !important;
    visibility: visible !important;
}

.discord-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(31, 128, 255, 0.4);
}

.discord-header {
    background: linear-gradient(135deg, #1f80ff, #0f3460);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.discord-icon {
    font-size: 2.5rem;
    color: white;
}

.discord-header-info {
    flex: 1;
}

.discord-server-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discord-members-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0 0 0;
    display: flex;
    align-items: center;
}

.discord-members-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(15, 52, 96, 0.3);
}

.discord-members-list::-webkit-scrollbar {
    width: 8px;
}

.discord-members-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.discord-members-list::-webkit-scrollbar-thumb {
    background: #1f80ff;
    border-radius: 4px;
}

.discord-members-list::-webkit-scrollbar-thumb:hover {
    background: #0f3460;
}

.discord-member-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(26, 26, 46, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.discord-member-item:hover {
    background: rgba(31, 128, 255, 0.1);
    border-left-color: #1f80ff;
    transform: translateX(5px);
}

.discord-member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid;
    object-fit: cover;
    position: relative;
}

.discord-member-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #0f3460;
    background: #7289da;
}

.discord-member-status.online {
    background: #43b581;
    box-shadow: 0 0 8px rgba(67, 181, 129, 0.6);
}

.discord-member-status.idle {
    background: #faa61a;
    box-shadow: 0 0 8px rgba(250, 166, 26, 0.6);
}

.discord-member-status.dnd {
    background: #f04747;
    box-shadow: 0 0 8px rgba(240, 71, 71, 0.6);
}

.discord-member-status.offline {
    background: #747f8d;
}

.discord-member-info {
    flex: 1;
    min-width: 0;
}

.discord-member-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

/* Cores dos nomes baseado no status */
.member-name-online {
    color: #43b581 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 5px rgba(67, 181, 129, 0.3);
}

.member-name-idle {
    color: #faa61a !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 5px rgba(250, 166, 26, 0.3);
}

.member-name-dnd {
    color: #f04747 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 5px rgba(240, 71, 71, 0.3);
}

.member-name-offline {
    color: #747f8d !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.discord-member-game {
    font-size: 0.8rem;
    color: #92a4b8;
    margin: 0.25rem 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.discord-member-voice {
    font-size: 0.8rem;
    color: #7289da;
    margin: 0.25rem 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.discord-member-voice i {
    color: #7289da;
    font-size: 0.75rem;
}

.discord-loading {
    text-align: center;
    padding: 2rem;
    color: #b0b0b0;
}

.discord-footer {
    padding: 1rem 1.5rem;
    background: rgba(15, 52, 96, 0.5);
    border-top: 1px solid rgba(31, 128, 255, 0.2);
}

.btn-discord-join {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-discord-join:hover {
    background: linear-gradient(135deg, #4752c4, #5865f2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
    color: white;
}

/* Features Section */
.features-section {
    position: relative;
    z-index: 2;
    background: rgba(15, 52, 96, 0.3);
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f80ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
}

.feature-card {
    background: rgba(15, 52, 96, 0.5);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(31, 128, 255, 0.2);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(31, 128, 255, 0.3);
    border-color: #1f80ff;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #1f80ff, #0f3460);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 20px rgba(31, 128, 255, 0.4);
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

/* Footer Section */
.footer-section {
    position: relative;
    z-index: 2;
    background: rgba(15, 52, 96, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    border-top: 1px solid rgba(31, 128, 255, 0.3);
    margin-top: 4rem;
}

.footer-section p {
    color: #92a4b8;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 128, 255, 0.2);
    border-radius: 50%;
    color: #1f80ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #1f80ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(31, 128, 255, 0.4);
}

/* Responsividade para o Widget Discord */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .discord-widget-container {
        margin-top: 3rem;
        display: block !important;
        visibility: visible !important;
    }
    
    .col-lg-4 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .discord-members-list {
        max-height: 300px;
    }
    
    .discord-widget-container {
        margin-top: 2rem;
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
    }
    
    .col-lg-4 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    .col-lg-8 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .discord-server-name {
        font-size: 1.1rem;
    }
    
    .discord-member-item {
        padding: 0.5rem;
    }
    
    .discord-member-avatar {
        width: 35px;
        height: 35px;
    }
}

/* ============================================
   ESTILOS DO CHAT (XAT)
   ============================================ */

.chat-section {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.chat-container {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.95), rgba(26, 26, 46, 0.95));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(31, 128, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    min-height: 600px;
}

.chat-header {
    background: linear-gradient(135deg, #1f80ff, #0f3460);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(31, 128, 255, 0.3);
}

.chat-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #43b581;
    box-shadow: 0 0 10px rgba(67, 181, 129, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: rgba(15, 52, 96, 0.3);
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #1f80ff;
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #0f3460;
}

.chat-welcome {
    text-align: center;
    padding: 3rem 1rem;
    color: #92a4b8;
}

.chat-welcome i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.chat-message {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid rgba(31, 128, 255, 0.3);
    transition: all 0.3s ease;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message:hover {
    background: rgba(26, 26, 46, 0.8);
    border-left-color: #1f80ff;
}

.chat-message.own-message {
    background: rgba(31, 128, 255, 0.15);
    border-left-color: #1f80ff;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-author {
    font-weight: 700;
    color: #1f80ff;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.message-time {
    font-size: 0.75rem;
    color: #92a4b8;
}

.message-content {
    color: #e0e0e0;
    line-height: 1.6;
    word-wrap: break-word;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.chat-input-container {
    padding: 1.5rem;
    background: rgba(15, 52, 96, 0.5);
    border-top: 1px solid rgba(31, 128, 255, 0.3);
}

.chat-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(31, 128, 255, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #e0e0e0;
    font-size: 1rem;
}

.chat-input:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #1f80ff;
    box-shadow: 0 0 10px rgba(31, 128, 255, 0.3);
    color: #e0e0e0;
    outline: none;
}

.chat-send-btn {
    background: linear-gradient(135deg, #1f80ff, #0f3460);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    background: linear-gradient(135deg, #0f3460, #1f80ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(31, 128, 255, 0.4);
}

/* Lista de Usuários Online */
.users-online-container {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.95), rgba(26, 26, 46, 0.95));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(31, 128, 255, 0.3);
    backdrop-filter: blur(10px);
    height: calc(100vh - 200px);
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.users-online-header {
    background: linear-gradient(135deg, #1f80ff, #0f3460);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(31, 128, 255, 0.3);
}

.users-online-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.users-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    color: white;
}

.users-online-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.users-online-list::-webkit-scrollbar {
    width: 6px;
}

.users-online-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.users-online-list::-webkit-scrollbar-thumb {
    background: #1f80ff;
    border-radius: 3px;
}

.users-loading,
.users-empty {
    text-align: center;
    padding: 2rem;
    color: #92a4b8;
}

.user-online-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(26, 26, 46, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.user-online-item:hover {
    background: rgba(26, 26, 46, 0.7);
    border-left-color: #1f80ff;
    transform: translateX(5px);
}

.user-online-item.current-user {
    background: rgba(31, 128, 255, 0.15);
    border-left-color: #1f80ff;
}

.user-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #43b581;
    box-shadow: 0 0 8px rgba(67, 181, 129, 0.6);
    flex-shrink: 0;
}

.user-name {
    flex: 1;
    color: #e0e0e0;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.user-badge {
    background: rgba(31, 128, 255, 0.3);
    color: #1f80ff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Modal do Chat */
.modal-content.chat-modal {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.98), rgba(26, 26, 46, 0.98)) !important;
    border: 2px solid rgba(31, 128, 255, 0.5) !important;
    border-radius: 16px !important;
    color: #e0e0e0 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(31, 128, 255, 0.3) !important;
    backdrop-filter: blur(15px) !important;
}

.modal-content.chat-modal .modal-header {
    background: linear-gradient(135deg, rgba(31, 128, 255, 0.3), rgba(15, 52, 96, 0.5)) !important;
    border-bottom: 2px solid rgba(31, 128, 255, 0.5) !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 1.5rem !important;
}

.modal-content.chat-modal .modal-title {
    color: #1f80ff !important;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    text-shadow: 0 0 10px rgba(31, 128, 255, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.modal-content.chat-modal .modal-body {
    background: rgba(15, 52, 96, 0.7) !important;
    padding: 2rem !important;
    color: #e0e0e0 !important;
}

.modal-content.chat-modal .modal-body p {
    color: #b0b0b0 !important;
    margin-bottom: 1rem !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
}

.modal-content.chat-modal .modal-body small {
    color: #92a4b8 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
}

.chat-name-input,
.modal-content.chat-modal .form-control {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 2px solid rgba(31, 128, 255, 0.5) !important;
    border-radius: 8px !important;
    color: #e0e0e0 !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
    transition: all 0.3s ease !important;
}

.chat-name-input:focus,
.modal-content.chat-modal .form-control:focus {
    background: rgba(0, 0, 0, 0.7) !important;
    border-color: #1f80ff !important;
    box-shadow: 0 0 20px rgba(31, 128, 255, 0.6), inset 0 0 10px rgba(31, 128, 255, 0.2) !important;
    color: #e0e0e0 !important;
    outline: none !important;
}

.chat-name-input::placeholder,
.modal-content.chat-modal .form-control::placeholder {
    color: #92a4b8 !important;
    opacity: 0.6 !important;
}

.modal-content.chat-modal .modal-footer {
    background: rgba(15, 52, 96, 0.7) !important;
    border-top: 2px solid rgba(31, 128, 255, 0.5) !important;
    border-radius: 0 0 16px 16px !important;
    padding: 1.5rem !important;
}

.chat-save-btn,
.modal-content.chat-modal .btn-primary {
    background: linear-gradient(135deg, #1f80ff, #0f3460) !important;
    border: none !important;
    color: white !important;
    padding: 0.75rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(31, 128, 255, 0.5) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.chat-save-btn:hover,
.modal-content.chat-modal .btn-primary:hover {
    background: linear-gradient(135deg, #0f3460, #1f80ff) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(31, 128, 255, 0.7) !important;
}

/* Overlay do modal mais escuro */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px) !important;
}

.modal-backdrop.show {
    opacity: 1 !important;
}

/* Garantir que o modal não fique claro */
#nameModal .modal-content {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.98), rgba(26, 26, 46, 0.98)) !important;
}

#nameModal .modal-dialog {
    z-index: 1055;
}

/* Responsividade do Chat */
@media (max-width: 992px) {
    .chat-container {
        height: calc(100vh - 150px);
        min-height: 500px;
    }
    
    .users-online-container {
        margin-top: 2rem;
        height: 400px;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .chat-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .chat-container {
        height: calc(100vh - 120px);
        min-height: 400px;
    }
    
    .chat-title {
        font-size: 1.2rem;
    }
    
    .users-online-container {
        height: 300px;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .chat-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .chat-messages {
        padding: 1rem;
    }
    
    .chat-input-container {
        padding: 1rem;
    }
    
    .message-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ============================================
   ESTILOS DO ADMINISTRADOR NA LISTA
   ============================================ */

.discord-admin-item {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(15, 52, 96, 0.5)) !important;
    border: 2px solid rgba(220, 53, 69, 0.4) !important;
    border-left: 4px solid #dc3545 !important;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.3),
                0 5px 15px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 1rem !important;
    position: relative;
    overflow: visible;
}

.discord-admin-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.4), rgba(255, 215, 0, 0.2));
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    animation: adminGlow 2s ease-in-out infinite;
}

@keyframes adminGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.discord-admin-item:hover {
    transform: translateX(5px) scale(1.02) !important;
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.5),
                0 8px 20px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(220, 53, 69, 0.6) !important;
}

.discord-admin-avatar {
    border: 3px solid #ffd700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6),
                0 0 30px rgba(220, 53, 69, 0.4) !important;
}

.discord-admin-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-crown-icon {
    font-size: 1.2rem;
    color: #ffd700;
    animation: crownGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    display: inline-block;
}

@keyframes crownGlow {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
        transform: scale(1) rotate(0deg);
    }
    50% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
        transform: scale(1.1) rotate(-3deg);
    }
}

.admin-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
    color: #dc3545;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.2rem 0.5rem;
    background: transparent !important;
    border: 2px solid rgba(220, 53, 69, 0.8);
    border-radius: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                 0 0 8px currentColor;
    animation: adminBadgePulse 1.5s ease-in-out infinite;
    white-space: nowrap;
    box-shadow: 0 0 10px currentColor;
}

@keyframes adminBadgePulse {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                     0 0 8px currentColor;
        box-shadow: 0 0 10px currentColor;
        transform: scale(1);
        opacity: 1;
    }
    50% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                     0 0 12px currentColor,
                     0 0 20px currentColor;
        box-shadow: 0 0 15px currentColor;
        transform: scale(1.05);
        opacity: 0.95;
    }
}

.discord-admin-item .discord-member-name {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Aplicar cores nos nomes dos admins também */
.discord-admin-item .member-name-online {
    color: #43b581 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(67, 181, 129, 0.4);
}

.discord-admin-item .member-name-idle {
    color: #faa61a !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(250, 166, 26, 0.4);
}

.discord-admin-item .member-name-dnd {
    color: #f04747 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(240, 71, 71, 0.4);
}

.discord-admin-item .member-name-offline {
    color: #747f8d !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Responsividade para o admin na lista */
@media (max-width: 768px) {
    .admin-crown-icon {
        font-size: 1rem;
    }
    
    .admin-badge {
        font-size: 0.65rem;
        letter-spacing: 1px;
        padding: 0.15rem 0.4rem;
    }
    
    .discord-admin-name {
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .admin-crown-icon {
        font-size: 0.9rem;
    }
    
    .admin-badge {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
    }
    
    .discord-admin-item {
        margin-bottom: 0.75rem !important;
    }
}

/* ============================================
   ESTILOS PARA FUNCIONALIDADES DO XAT
   ============================================ */

/* Rate Limit Counter */
.rate-limit-counter {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 600;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Aviso de Banimento */
.ban-warning {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.3), rgba(139, 0, 0, 0.3));
    border: 2px solid #dc3545;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ff6b6b;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: shake 0.5s;
}

.ban-warning i {
    font-size: 1.5rem;
    color: #dc3545;
}

#banTimeRemaining {
    color: #ffd700;
    font-weight: 900;
    font-size: 1.1rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Ações de Admin */
.admin-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(31, 128, 255, 0.3);
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.admin-actions .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

/* Botões de ação nas mensagens (admin) */
.message-admin-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-message {
    position: relative;
}

.chat-message:hover .message-admin-actions {
    opacity: 1;
}

.btn-admin-action {
    background: rgba(220, 53, 69, 0.8);
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    margin-left: 0.25rem;
}

.btn-admin-action:hover {
    background: #dc3545;
    transform: scale(1.1);
}

/* Nome de Admin no Chat */
.message-author.admin-name {
    color: #dc3545 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message-author.admin-name .admin-crown-icon {
    color: #ffd700;
    font-size: 0.9rem;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.message-author.admin-name .admin-badge {
    background: #dc3545;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: 0.25rem;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(220, 53, 69, 0.8);
    }
}

/* Usuários Online - Admin */
.user-online-item.admin-user {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.user-online-item.admin-user .user-name.admin-name {
    color: #dc3545;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-online-item.admin-user .admin-crown-icon {
    color: #ffd700;
    font-size: 0.9rem;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.user-online-item.admin-user .admin-badge {
    background: #dc3545;
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* Botão de mudar nome */
.btn-change-name {
    background: rgba(31, 128, 255, 0.3);
    border: 1px solid rgba(31, 128, 255, 0.5);
    color: #1f80ff;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    margin-left: auto;
}

.btn-change-name:hover {
    background: rgba(31, 128, 255, 0.5);
    transform: scale(1.1);
}

/* Input desabilitado quando banido */
.chat-input:disabled {
    background: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
    cursor: not-allowed;
    opacity: 0.6;
}

.chat-send-btn:disabled {
    background: rgba(220, 53, 69, 0.3);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsivo para funcionalidades do xat */
@media (max-width: 768px) {
    .ban-warning {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .admin-actions {
        flex-direction: column;
    }
    
    .message-admin-actions {
        position: static;
        opacity: 1;
        margin-top: 0.5rem;
        display: flex;
        justify-content: flex-end;
    }
}