/* =========================================
   1. VARIÁVEIS E TEMAS GERAIS
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800&display=swap');

:root {
    --primary-color: #B35EAF;
    --primary-hover: #9b4d97;

    --bg-color: #f7eff7;

    --card-bg: rgba(255, 255, 255, 0.92);
    --card-border: rgba(179, 94, 175, 0.3);

    --text-color: #2b2b2b;
    --subtitle-color: #666;

    --notice-bg: rgba(179, 94, 175, 0.08);
    --notice-text: #555;

    --footer-bg: rgba(255, 255, 255, 0.85);
    --footer-text: #444;
}


/* =========================================
   2. TEMA ESCURO
========================================= */

@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #d178cd;
        --primary-hover: #b35eaf;

        --bg-color: #121212;

        --card-bg: rgba(30, 24, 32, 0.85);
        --card-border: rgba(209, 120, 205, 0.35);

        --text-color: #f0e6f0;
        --subtitle-color: #bfa9be;

        --notice-bg: rgba(209, 120, 205, 0.12);
        --notice-text: #e0d0df;

        --footer-bg: rgba(25, 20, 27, 0.85);
        --footer-text: #d0c0ce;
    }
}


/* =========================================
   3. RESET E ESTRUTURA GERAL
========================================= */

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

html {
    overscroll-behavior: none;
}

body {
    background-image: url('fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--bg-color);

    font-family: 'Nunito', sans-serif;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 100vh;

    padding: 20px;

    color: var(--text-color);

    gap: 20px;
}


/* =========================================
   4. CARDS PRINCIPAIS
========================================= */

.card {
    background-color: var(--card-bg);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 35px 25px;

    border-radius: 24px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    max-width: 380px;
    width: 100%;

    border: 2px solid var(--card-border);
}


/* =========================================
   5. PERFIL
========================================= */

.profile-img {
    width: 100px;
    height: 100px;

    border-radius: 50%;

    margin-bottom: 15px;

    border: 3px solid var(--primary-color);

    box-shadow:
        0 4px 12px rgba(179, 94, 175, 0.25);

    object-fit: cover;
}

h1 {
    color: var(--primary-color);

    font-size: 1.7rem;

    margin-bottom: 6px;
}

.subtitle {
    color: var(--subtitle-color);

    font-size: 0.95rem;
    font-weight: 600;

    margin-bottom: 24px;
}


/* =========================================
   6. BOTÕES PRINCIPAIS
========================================= */

.buttons {
    display: flex;
    flex-direction: column;

    gap: 14px;
}

.btn {
    text-decoration: none;

    padding: 13px 20px;

    border-radius: 16px;

    font-size: 1rem;
    font-weight: 800;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: center;

    gap: 12px;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow:
        0 6px 18px rgba(179, 94, 175, 0.3);
}

.btn-text {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    text-align: left;

    gap: 2px;
}

.btn-title {
    line-height: 1.15;
}

.btn-sub {
    font-size: 0.72rem;
    font-weight: 700;

    opacity: 0.8;

    letter-spacing: 0.2px;

    line-height: 1.15;
}

.globe-icon,
.pix-icon {
    width: 22px;
    height: 22px;

    flex-shrink: 0;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;

    color: var(--primary-color);

    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(179, 94, 175, 0.08);
}


/* =========================================
   7. AVISOS
========================================= */

.notice-box {
    margin-top: 22px;

    padding: 14px 16px;

    background-color: var(--notice-bg);

    border: 1px solid var(--card-border);

    border-radius: 14px;

    text-align: left;
}

.notice-box p {
    font-size: 0.85rem;

    color: var(--notice-text);

    line-height: 1.45;

    font-weight: 600;
}

.notice-box strong {
    color: var(--primary-color);
}


/* =========================================
   8. FOOTER / CRÉDITOS
========================================= */

.footer-credits {
    padding: 14px 24px;

    background-color: var(--footer-bg);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 20px;

    font-size: 0.85rem;

    color: var(--footer-text);

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    border: 1px solid var(--card-border);

    max-width: 380px;
    width: 100%;
}

.footer-credits p {
    margin: 4px 0;

    line-height: 1.4;
}

.footer-credits a {
    color: var(--primary-color);

    text-decoration: none;

    font-weight: 800;
}

.footer-divider {
    border: none;

    border-top: 1px solid var(--card-border);

    margin: 10px auto;

    width: 80%;

    opacity: 0.6;
}

.copyright-text {
    font-size: 0.75rem;

    opacity: 0.85;
}
