:root {
    --bg-overlay: rgba(0, 0, 0, 0.4);
    --card-bg: #fffbf2;
    --primary-blue: #091c45;
    --text-main: #333333;
    --font-family: 'Poppins', sans-serif;
    --radius-card: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('assets/bg-blur.jpg') no-repeat center center/cover;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(15px);
    z-index: -1;
}

.container {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px; /* Aumentei um pouco para caber o botão final */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (min-width: 500px) {
    .container {
        min-height: auto;
        border-radius: var(--radius-card);
        margin: 20px;
        overflow: hidden;
    }
}

.header-image {
    width: 100%;
    height: 180px;
    background: url('assets/banner.jpg') center/cover;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    margin-top: -50px;
    object-fit: cover;
    z-index: 2;
}

.profile-info {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 25px;
}

.profile-info h1 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 800;
}

.profile-info p {
    font-size: 0.9rem;
    color: #666;
}

.links-area {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- 1. AJUSTE DE HIERARQUIA DOS BOTÕES PRINCIPAIS (Substitua as classes antigas por estas) --- */

.link-btn {
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 12px 15px; /* Reduzi levemente o padding vertical */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.2s;
    /* Se quiser botões quadrados como na referência das prévias, tire o border-radius abaixo */
    border-radius: 4px; 
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    /* AQUI ESTÁ O AJUSTE DE ÊNFASE */
    font-weight: 900;     /* Muito mais negrito */
    font-size: 1.2rem;    /* Maior */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 2px;   /* Espaço pequeno entre título e subtítulo */
}

/* Estilo para o subtítulo (o texto abaixo do botão) */
.link-btn span {
    font-size: 0.75rem;   /* Bem menor */
    font-weight: 400;     /* Fonte normal (não negrito) */
    opacity: 0.85;        /* Levemente transparente para tirar o foco */
    letter-spacing: 0px;
}

.btn-icon {
    width: 28px; /* Ícone levemente maior para acompanhar o texto */
    height: 28px;
    border-radius: 4px;
}


/* --- 2. NOVO ESTILO PARA A SEÇÃO DE PRÉVIAS (Adicione ao final do CSS) --- */

.previas-container {
    width: 90%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.previas-label {
    font-size: 1.1rem;
    color: var(--primary-blue); /* Ou preto #333 */
    margin-bottom: 8px;
    font-weight: 600;
}

.previas-custom-btn {
    display: flex;
    align-items: center;
    width: 100%;
    height: 70px; /* Altura fixa para ficar igual à foto */
    background: linear-gradient(90deg, #1f2b4a 0%, #303d66 100%); /* Gradiente azul escuro */
    text-decoration: none;
    border: 1px solid #4a5a8a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden; /* Garante que a imagem não saia da borda */
    border-radius: 2px; /* Quase quadrado, como na print */
    transition: transform 0.2s;
}

.previas-custom-btn:hover {
    transform: scale(1.02);
}

.previas-thumb {
    height: 100%; /* Ocupa toda altura do botão */
    width: 70px;  /* Largura fixa (quadrado) */
    object-fit: cover;
    border-right: 1px solid rgba(255,255,255,0.2); /* Linha divisória sutil */
}

.previas-text {
    flex: 1; /* Ocupa o resto do espaço */
    text-align: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* --- INÍCIO DA NOVA GALERIA CARROSSEL --- */

.gallery-title {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #333;
    text-align: center; /* Centraliza o texto e o emoji */
    width: 100%; /* Garante que o container ocupe a linha toda */
}

/* --- SUBSTITUA O BLOCO .gallery-grid POR ESTE --- */
.gallery-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    width: 90%; /* Largura corrigida para alinhar com os botões */
    margin: 0 auto 20px auto; /* Centraliza o carrossel horizontalmente */
    
    /* Mantém o funcionamento do scroll */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Mantém a barra de rolagem escondida */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Esconder a barra de rolagem (Continuação) */
.gallery-grid::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    /* flex: 0 0 auto impede que as imagens encolham para caber na tela */
    flex: 0 0 auto; 
    width: 45%; /* Define que cada foto ocupa 45% da largura do container (mostra 2 e um pedaço da terceira) */
    aspect-ratio: 3/4; /* Mantém o formato retrato */
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: start; /* Define onde a rolagem "trava" */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /*Uma sombra leve pra destacar */
}
/* --- FIM DA NOVA GALERIA CARROSSEL --- */

/* --- ESTILO "STEALTH" (CAMUFLAGEM) PARA O INDEX --- */

/* Fundo cinza técnico, sem imagens */
body.stealth-mode {
    background: #f1f2f5; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* O cartão parece um aviso de sistema */
.security-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    max-width: 420px;
    width: 95%;
    text-align: center;
    border: 1px solid #d1d5db;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6; /* Azul sistema */
    border-radius: 50%;
    margin: 0 auto 20px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.security-title {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 10px;
    font-weight: 600;
}

.security-text {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 25px;
}

/* Botão que parece um botão de sistema/verificação */
.verify-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.verify-btn:hover {
    background-color: #2563eb;
}

.fake-id {
    margin-top: 30px;
    font-size: 0.7rem;
    color: #9ca3af;
    font-family: monospace;
}