/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Outfit:wght@300;400;500&display=swap');

:root {
    /* Color Palette - CHAMPAGNE & GOLD ORIGINAL */
    --color-bg: #F9F9F7;
    /* Warm Off-White */
    --color-text: #4A4A4A;
    /* Soft Black */
    --color-accent: #BFA05A;
    /* Muted Gold */
    --color-accent-hover: #9E8245;
    --color-card-bg: rgba(255, 255, 255, 0.7);
    --color-border: #E0E0E0;

    /* Spacing */
    --container-width: 600px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;

    /* Degradê Otimizado e Mais Visível */
    background: linear-gradient(135deg, #F9F9F7 0%, #F0E6D2 100%);
    /* Um degradê diagonal suave do Off-White para um Champagne mais visível */
}

h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin-top: 2rem;
    /* Um pouco mais longe do topo */
    margin-bottom: 3.5rem;
    /* O espaço que você pediu antes do texto */
    white-space: nowrap;
    overflow: visible;

    /* Lógica do Sublinhado Elegante */
    display: inline-block;
    /* Faz a caixa ter o tamanho exato do texto */
    position: relative;
}

/* A Linha Abaixo do Título */
h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    /* Linha fina e elegante */
    background-color: #2C2C2C;
    /* Mesma cor do texto */
    margin-top: 15px;
    /* Distância harmônica do texto */
    opacity: 0.8;
}

/* CORREÇÃO MOBILE: Evita que o texto saia da tela */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
        /* Fonte menor para caber */
        white-space: normal;
        /* Permite quebrar linha se precisar */
        word-wrap: break-word;
        line-height: 1.3;
    }
}

p {
    margin-bottom: var(--spacing-sm);
    text-align: center;
    font-size: 1rem;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
}

/* Container */
.container {
    width: 90%;
    max-width: var(--container-width);
    padding: var(--spacing-md);
    text-align: center;
    z-index: 10;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(191, 160, 90, 0.2);
    margin: 0.5rem;
}

.btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 160, 90, 0.3);
}

.btn-secondary,
.btn-outline {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--color-text);
    /* Borda escura elegante */
    color: var(--color-text);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn-secondary:hover,
.btn-outline:hover {
    background-color: var(--color-text);
    color: white;
}

/* Moon/Honeymoon Specifics */
.card {
    background: var(--color-card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: var(--spacing-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-top: var(--spacing-sm);
}

.pix-container {
    margin: var(--spacing-md) 0;
    text-align: center;
}

.qr-code {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    padding: 10px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pix-key-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: var(--spacing-sm);
}

.pix-key {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    word-break: break-all;
    font-size: 0.9rem;
    max-width: 100%;
}

.copy-btn {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background-color: var(--color-accent);
    color: white;
}

.highlight-text {
    font-style: italic;
    color: #777;
    margin-top: 10px;
    font-size: 0.95rem;
}

.footer-note {
    margin-top: var(--spacing-lg);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsiveness */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        width: 95%;
        padding: var(--spacing-sm);
    }

    .card {
        padding: var(--spacing-sm);
    }
}

/* --- MAGIA: Efeito de Pó Dourado (Golden Dust) --- */
#magic-dust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Deixa clicar através dele */
    z-index: -1;
    /* Fica atrás do texto */
    overflow: hidden;
}

.particle {
    position: absolute;
    /* Centro mais claro para brilhar */
    background: radial-gradient(circle, #FFF 10%, #BFA05A 60%, transparent 80%);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
    /* Glow/Brilho externo */
    box-shadow: 0 0 5px rgba(191, 160, 90, 0.8);
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    15% {
        opacity: 1;
        /* Brilho total logo que surge */
        transform: translateY(85vh) scale(1);
    }

    50% {
        opacity: 0.7;
        /* Mantém visível durante a subida */
    }

    100% {
        transform: translateY(-10vh) scale(0.2);
        opacity: 0;
    }
}