/* --- Configurações Globais e Variáveis --- */
:root {
    --bg-color: #f8f9fa;       /* Um branco-gelo muito suave */
    --text-color: #212529;     /* Preto suave */
    --button-bg: #ffffff;      /* Botões brancos */
    --button-border: #dee2e6;  /* Borda cinza clara */
    --button-hover-bg: #f1f3f5; /* Hover suave */
    --banner-bg: #343a40;      /* Banner escuro */
    --banner-text: #ffffff;    /* Texto do banner branco */
}

/* --- Reset Básico e Estilo do Body --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    box-sizing: border-box; /* Garante que o padding não quebre o layout */
}

/* --- Container Principal --- */
.container {
    width: 100%;
    max-width: 600px; /* Largura máxima para modo "Linktree" */
    text-align: center;
    padding: 1rem;
}

/* --- Cabeçalho (Perfil) --- */
.profile {
    margin-bottom: 2.5rem;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--button-border);
}

.profile h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

/* --- Estilo dos Links/Botões --- */
.links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* Espaçamento entre os botões */
}

.link-button {
    display: block;
    background-color: var(--button-bg);
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 1.15rem;
    border: 2px solid var(--button-border);
    border-radius: 8px; /* Cantos arredondados */
    
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.link-button:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-2px); /* Efeito sutil de elevação */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* --- Rodapé --- */
footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #6c757d; /* Cinza mais claro */
}

footer p {
    margin: 0.3rem 0;
}

/* --- Banner de Cookies --- */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Começa escondido */
    left: 0;
    width: 100%;
    background-color: var(--banner-bg);
    color: var(--banner-text);
    z-index: 1000;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

/* Classe 'show' que será adicionada via JS */
.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    flex-direction: column; /* Empilha em telas pequenas */
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

.cookie-button {
    background-color: #ffffff;
    color: #222222;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap; /* Evita que o texto quebre */
    transition: background-color 0.2s ease;
}

.cookie-button:hover {
    background-color: #e9ecef;
}

/* --- Responsividade --- */

/* Ajustes para telas maiores (como tablets e desktops) */
@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row; /* Lado a lado em telas maiores */
        padding: 1.25rem 2rem;
    }

    .cookie-content p {
        text-align: left;
    }
}