:root {
    --primary: #ff85a2; /* Soft Pink */
    --primary-glow: rgba(255, 133, 162, 0.3);
    --gold: #d4af37;
    --bg: #fff5f7;
    --surface: rgba(255, 255, 255, 0.8);
    --border: rgba(255, 133, 162, 0.15);
    --text: #4a1a25;
    --text-muted: #8b5e68;
    --radius: 20px;
    --font: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    overflow: hidden;
    line-height: 1.6;
}

/* Splash Screen */
#splash {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 1s, visibility 1s;
}

#splash.gone { opacity: 0; visibility: hidden; pointer-events: none; }

.splash-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

.splash-title { font-family: var(--font-serif); font-size: 2rem; color: var(--text); margin-bottom: 10px; font-weight: 700; }
.splash-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 40px; max-width: 300px; margin-left: auto; margin-right: auto; }

.splash-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px var(--primary-glow);
    font-family: var(--font);
    letter-spacing: 1px;
}

/* Invite Main */
.invite {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100svh;
}

.invite-bg {
    position: fixed;
    inset: 0;
    background-image: url('../img/bg_invite.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.invite-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,245,247,0.1) 0%, rgba(255,245,247,0.7) 50%, rgba(255,245,247,0.95) 100%);
    z-index: -1;
}

.invite-body {
    padding: 60px 24px 40px;
    overflow-y: auto;
    height: 100svh;
}

.invite-body::-webkit-scrollbar { display: none; }

/* FAB Music */
.fab-music {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.fab-music.playing { background: var(--primary); color: #fff; animation: pulseSoft 2s infinite; }

@keyframes pulseSoft {
    0% { box-shadow: 0 0 0 0 var(--primary-glow); }
    70% { box-shadow: 0 0 0 10px rgba(255, 133, 162, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 133, 162, 0); }
}

/* Dossier Photo */
.hero-photo-dossier {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    background: #fff;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(74, 26, 37, 0.15);
    overflow: visible;
}

.hero-photo-dossier img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.dossier-stamp {
    position: absolute; bottom: 0; right: 0;
    background: var(--gold); color: #fff;
    font-family: var(--font);
    font-size: 0.65rem; padding: 5px 12px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

/* Typography */
.tag { font-family: var(--font-serif); font-size: 0.75rem; font-weight: 700; font-style: italic; letter-spacing: 2.5px; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; display: block; }
.hero-name { font-family: var(--font-script); font-size: 4.5rem; line-height: 1; color: var(--text); margin-bottom: 5px; }
.hero-age { font-family: var(--font-serif); font-size: 1.4rem; color: var(--text-muted); font-weight: 400; letter-spacing: 3px; }

.moms-badge {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 20px;
    letter-spacing: 2px;
}

/* Sections */
section { margin-bottom: 40px; width: 100%; text-align: center; }

/* Timer */
.label-sm { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); letter-spacing: 2px; margin-bottom: 15px; text-transform: uppercase; }
.timer-row { display: flex; justify-content: center; gap: 20px; font-family: var(--font-serif); color: var(--text); }
.t-block { display: flex; flex-direction: column; align-items: center; }
.t-block span { font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.t-block small { font-size: 0.65rem; text-transform: uppercase; color: var(--text-muted); font-family: var(--font); font-weight: 600; }
.t-sep { font-size: 1.8rem; opacity: 0.3; align-self: center; margin-bottom: 15px; }

/* Info */
.info-row {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.info-row i { font-size: 1.2rem; color: var(--primary); }
.info-content strong { display: block; font-size: 0.65rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.info-content span { font-size: 1rem; font-weight: 600; color: var(--text); }

/* Buttons */
.section-actions { display: flex; flex-direction: column; gap: 12px; }
.btn { width: 100%; padding: 20px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.3s; font-family: var(--font); letter-spacing: 0.5px; border: none; }
.btn-solid { background: var(--primary); color: #fff; box-shadow: 0 10px 20px var(--primary-glow); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text-muted); font-size: 0.8rem; text-decoration: underline; font-weight: 400; }

/* Footer */
.invite-footer { 
    padding-top: 25px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
}
.invite-footer p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; }
.invite-footer a { color: var(--primary); text-decoration: none; font-weight: 700; }
.btn-cta-viral { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); opacity: 0.7; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* Modals */
.modal { position: fixed; inset: 0; background: rgba(74, 26, 37, 0.4); z-index: 1000; opacity: 0; visibility: hidden; transition: 0.4s; display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(8px); }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { background: #fff; width: 100%; max-width: 380px; padding: 50px 24px 35px; position: relative; text-align: center; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; }
.modal-ico { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.modal-box h3 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 10px; color: var(--text); }
.modal-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 25px; }
.modal-list { text-align: left; list-style: none; margin-bottom: 30px; }
.modal-list li { padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.9rem; display: flex; align-items: center; gap: 12px; }
.modal-list li i { color: var(--primary); font-size: 0.8rem; }
.pix-box { background: #fafafa; padding: 20px; border-radius: 20px; border: 1px solid #eee; }
.pix-box p { font-size: 0.8rem; color: var(--text-muted); }
.pix-box code { display: block; margin: 12px 0 20px; color: var(--text); font-size: 1.2rem; font-weight: 700; font-family: var(--font); }
.btn-sm { padding: 14px; font-size: 0.8rem; }

/* Grid Transport */
.location-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.loc-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; border-radius: 50px; font-weight: 700; font-size: 0.8rem; text-decoration: none; border: none; cursor: pointer; }
.loc-uber { background: #000; color: #fff; }
.loc-waze { background: #33ccff; color: #000; }
.loc-google { background: #34a853; color: #fff; }
.loc-copy { background: #f0f0f0; color: var(--text); border: 1px solid #ddd; }

/* Animation Classes */
.anim-in { opacity: 0; transform: translateY(30px); animation: fadeInUpSoft 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.d1 { animation-delay: 0.2s; }
.d2 { animation-delay: 0.4s; }
.d3 { animation-delay: 0.6s; }
.d4 { animation-delay: 0.8s; }

@keyframes fadeInUpSoft { to { opacity: 1; transform: translateY(0); } }

@media (max-height: 650px) {
    .invite-body { padding-top: 40px; }
    .hero-name { font-size: 3.5rem; }
    .hero-photo-dossier { width: 130px; height: 130px; margin-bottom: 20px; }
    section { margin-bottom: 25px; }
}
