:root {
    --bg-main: #0B0A09;
    --bg-surface: #151311;
    --gold: #C5A059;
    --gold-light: #E8D5A5;
    --gold-dark: #8A6D3B;
    --text-primary: #FDFDF7;
    --text-secondary: #AAA499;
    --btn-primary-bg: #C5A059;
    --btn-primary-text: #0B0A09;
    --border-subtle: rgba(197, 160, 89, 0.15);
    --font-ui: 'Inter', sans-serif;
    
    /* Background Pattern + Gradient */
    --pattern-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%23C5A059' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' opacity='0.05'%3E%3C!-- Bag --%3E%3Cpath d='M20 25h12v18H20zM23 25c0-4 6-4 6 0' /%3E%3C!-- Gift --%3E%3Crect x='80' y='25' width='14' height='14' /%3E%3Cpath d='M87 25v14M80 32h14M87 25c-3-4-7-1-1 0M87 25c3-4 7-1 1 0' /%3E%3C!-- Cart --%3E%3Cpath d='M15 85h5l3 12h14l3-8h-18M25 101a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM34 101a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z' /%3E%3C!-- Tag --%3E%3Cpath d='M85 85l12-12v6l-12 12zM87 83.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2z' /%3E%3C/svg%3E");
    --bg-gradient: linear-gradient(135deg, #2B210F 0%, #3D2D06 50%, #1A1405 100%);
}

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

body {
    background-color: var(--bg-main);
    background-image: var(--pattern-svg), var(--bg-gradient);
    background-attachment: fixed;
    background-size: 150px 150px, auto;
    color: var(--text-primary);
    font-family: var(--font-ui);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
}

.app-wrap {
    width: 100%;
    max-width: 480px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Branding Top */
.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.avatar-container {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.brand-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-main);
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gold-light);
    margin-bottom: 0.2rem;
}

.brand-tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Main Content */
.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(20, 18, 16, 0.85); /* Slightly translucent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.2rem 1.2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.main-headline {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.sub-headline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

/* Action Block - Unifica Botões, Proof, Conversão e Escassez */
.action-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Buttons Typography & Structure */
.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.15rem 1.2rem;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-icon {
    margin-right: 8px;
    font-size: 1.15rem;
}

/* Frase de Escolha */
.choice-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1rem;
    width: 100%;
}

/* Botão 1 e 2 - Ambos com mesmo estilo */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--btn-primary-text);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
    margin-bottom: 0.4rem;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 200, 100, 0.25);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Frase de Conversão */
.conversion-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Prova Social */
.social-proof {
    background: transparent;
    font-size: 0.9rem;
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
    width: 100%;
}

.proof-icon {
    margin-right: 4px;
}

/* Botão 2 - Produtos (Mesmo Formato) */
.btn-secondary {
    background: linear-gradient(135deg, #DECCA4, #BAA473); 
    color: var(--btn-primary-text);
    box-shadow: 0 4px 15px rgba(186, 164, 115, 0.15);
    margin-bottom: 1.5rem;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(186, 164, 115, 0.25);
}

/* Scarcity */
.scarcity-block {
    text-align: center;
    width: 100%;
}

.scarcity-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.spots-counter {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

#spots-left {
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s;
}

/* Footer */
.app-footer {
    margin-top: 3rem;
    font-size: 0.75rem;
    color: #555;
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    width: max-content;
    max-width: 90vw;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.toast-msg {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}
