/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #313338; /* Fundo do Discord moderno */
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #dbdee1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    
    /* Proteção contra seleção */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    
    overflow: hidden; /* Garante que não haja barras de rolagem */
}

/* Vídeo de Fundo */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Garante que cubra a tela sem distorcer */
    opacity: 0.3; /* Opacidade baixa (30%) */
    filter: brightness(0.7); /* Deixa um pouco mais escuro para não ofuscar */
}

/* Animação de entrada do card */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* O Cartão Principal */
.discord-card {
    background-color: #000000; /* Fundo do card preto */
    width: 340px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(50, 50, 50, 0.2);
    overflow: hidden;
    position: relative;
    padding-bottom: 16px;
    border: 1px solid #1e1e1e;
    animation: fadeInUp 0.8s ease-out; /* Aplica a animação */
}

/* Banner colorido no topo */
.banner {
    background-color: #000000;
    height: 60px;
    width: 100%;
}

/* Container do Header (Avatar + Badges) */
.header {
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -34px;
    position: relative;
}

.avatar-wrapper {
    position: relative;
    transition: transform 0.3s ease;
}

.avatar-wrapper:hover {
    transform: scale(1.05); /* Zoom leve ao passar o mouse */
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid #000000;
    background-color: #000000;
    transition: box-shadow 0.3s ease;
}

/* Efeito de brilho no avatar ao passar o mouse */
.avatar-wrapper:hover .avatar {
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.6); /* Brilho azul discord */
}

/* Bolinha de Status (Online/Ocupado) */
.status-indicator {
    width: 20px;
    height: 20px;
    background-color: #23a559;
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
    right: 5px;
    border: 4px solid #000000;
}

/* Área de Emblemas */
.badges {
    background-color: #000000;
    border-radius: 8px;
    padding: 4px;
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.badge {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efeito de pulo nos badges */
.badge:hover {
    transform: translateY(-3px) scale(1.1);
}

.badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Informações de texto */
.user-info {
    padding: 12px 16px 16px;
    background-color: #000000;
    margin: 8px;
    border-radius: 8px;
}

.username-wrapper {
    font-size: 20px;
    font-weight: 600;
    color: #f2f3f5;
    margin-bottom: 4px;
}

.discriminator {
    color: #b5bac1;
    font-weight: 400;
}

.custom-status {
    font-size: 14px;
    color: #dbdee1;
    margin-bottom: 12px;
}

.divider {
    height: 1px;
    background-color: #1e1e1e;
    width: 100%;
    margin: 12px 0;
}

/* Títulos das seções (SOBRE MIM, etc) */
h3 {
    font-size: 12px;
    font-weight: 700;
    color: #b5bac1;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.about-me p {
    font-size: 14px;
    line-height: 1.4;
    color: #dbdee1;
    margin-bottom: 16px;
}

/* Conexões */
.connections {
    margin-bottom: 16px;
}

.connection-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.connection-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #0a0a0a;
    border: 1px solid #1e1e1e;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none; /* Remove sublinhado do link */
}

.connection-item:hover {
    background-color: #1e1e1e;
    border-color: #b5bac1;
    transform: translateY(-2px);
}

.connection-item i {
    color: #b9bbbe; /* Cinza do Discord */
    font-size: 18px;
    transition: color 0.2s;
}

.connection-item:hover i {
    color: #f2f3f5; /* Branco brilhante no hover */
}

/* Estilo do Convite */
.invite-section {
    margin-top: 10px;
}

.invite-card {
    background-color: #0a0a0a;
    border: 1px solid #1e1e1e;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.invite-card:hover {
    border-color: #23a559; /* Borda verde ao passar o mouse */
    background-color: #0f1012;
}

.invite-icon img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.invite-details {
    flex: 1;
}

.invite-name {
    font-size: 14px;
    font-weight: 600;
    color: #f2f3f5;
}

.invite-link {
    font-size: 12px;
    color: #b5bac1;
}

.join-btn {
    background-color: #23a559;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.join-btn:hover {
    background-color: #1d8d4b;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(35, 165, 89, 0.4);
}
