:root {
    --primary: #c62828; /* Vermelho Flamengo */
    --primary-glow: rgba(198, 40, 40, 0.4);
    --bg: #050505;
    --surface: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: #999;
    --radius: 20px;
    --font: 'Outfit', sans-serif;
    --font-display: 'Bungee', cursive;
}

/* --- Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { background: var(--bg); color: var(--text); font-family: var(--font); overflow: hidden; }

/* --- Splash --- */
#splash {
    position: fixed; inset: 0; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000; transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
#splash.fade-out { opacity: 0; visibility: hidden; transform: scale(1.1); }
.splash-inner { text-align: center; padding: 20px; }
.splash-icon { 
    font-size: 4rem; color: var(--primary); margin-bottom: 20px; 
    animation: breathe 2s ease-in-out infinite; 
    filter: drop-shadow(0 0 15px var(--primary-glow));
}
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } }
.splash-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 10px; color: var(--primary); }
.splash-sub { opacity: 0.6; margin-bottom: 30px; font-weight: 300; }
.splash-btn { 
    background: var(--primary); border: none; padding: 18px 40px; 
    border-radius: 50px; color: #fff; font-family: var(--font);
    font-weight: 700; cursor: pointer; transition: 0.3s;
    box-shadow: 0 10px 30px var(--primary-glow);
}

/* --- Layout Principal --- */
.invite { position: relative; min-height: 100vh; display: flex; justify-content: center; }
.invite.hidden { display: none; }
.invite-bg {
    position: fixed; inset: 0;
    background: url('../img/bg_invite.webp') center/cover no-repeat;
    z-index: -2;
}
.invite-overlay {
    position: fixed; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 50%, rgba(5,5,5,1) 95%);
    z-index: -1;
}
.invite-body {
    width: 100%; max-width: 480px; margin: 0 auto;
    padding: 60px 25px 40px; overflow-y: auto; height: 100vh;
    scrollbar-width: none; -ms-overflow-style: none;
}
.invite-body::-webkit-scrollbar { display: none; }

/* --- FAB Música --- */
.fab-music {
    position: fixed; top: 20px; right: 20px;
    width: 45px; height: 45px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border);
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 100; backdrop-filter: blur(10px);
}
.fab-music.playing { animation: pulse-audio 2s infinite; border-color: var(--primary); }
@keyframes pulse-audio { 0% { box-shadow: 0 0 0 0 var(--primary-glow); } 70% { box-shadow: 0 0 0 15px rgba(198, 40, 40, 0); } 100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0); } }

/* --- Hero --- */
.section-hero { text-align: center; margin-bottom: 40px; }
.hero-photo-dossier {
    width: 140px; height: 140px; margin: 0 auto 20px;
    background: #111; border: 3px solid var(--border);
    padding: 6px; border-radius: 10px; transform: rotate(-2deg);
    position: relative; box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
.hero-photo-dossier img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.dossier-stamp {
    position: absolute; bottom: -10px; right: -10px;
    background: var(--primary); color: #fff; padding: 4px 10px;
    font-size: 0.7rem; font-weight: 800; border-radius: 5px; transform: rotate(10deg);
}
.tag { font-size: 0.75rem; font-weight: 700; opacity: 0.6; letter-spacing: 2px; text-transform: uppercase; }
.hero-name { font-family: var(--font-display); font-size: 4rem; color: var(--primary); margin: 10px 0; line-height: 1; filter: drop-shadow(0 0 10px var(--primary-glow)); }
.hero-age { font-size: 1.5rem; font-weight: 800; opacity: 0.9; }

/* --- Timer --- */
.section-timer { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 25px; text-align: center; margin-bottom: 30px; backdrop-filter: blur(10px); }
.timer-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 15px; }
.t-block { display: flex; flex-direction: column; }
.t-block span { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.t-block small { font-size: 0.6rem; opacity: 0.5; text-transform: uppercase; margin-top: 5px; }
.t-sep { font-size: 1.5rem; opacity: 0.3; font-weight: 300; padding-bottom: 15px; }

/* --- Info --- */
.section-info { margin-bottom: 35px; }
.info-row { display: flex; align-items: center; gap: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 15px; backdrop-filter: blur(10px); }
.info-row i { font-size: 1.4rem; color: var(--primary); width: 25px; text-align: center; }
.info-txt { display: flex; flex-direction: column; }
.info-txt strong { font-size: 1.1rem; margin-bottom: 2px; }
.info-txt span { font-size: 0.9rem; opacity: 0.6; }

/* --- Ações --- */
.section-actions { display: flex; flex-direction: column; gap: 15px; margin-bottom: 50px; }
.btn { 
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 18px; border-radius: 50px; font-family: inherit; font-weight: 700;
    font-size: 0.9rem; text-decoration: none; cursor: pointer; border: none; transition: 0.3s;
}
.btn-solid { background: var(--primary); color: #fff; box-shadow: 0 10px 25px var(--primary-glow); }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: #fff; }
.btn-ghost { background: var(--surface); border: 1px solid var(--border); color: #fff; }
.btn:active { transform: scale(0.98); }

/* --- Footer --- */
.invite-footer { text-align: center; padding-bottom: 20px; }
.invite-footer p { font-size: 0.8rem; opacity: 0.4; margin-bottom: 15px; }
.invite-footer a { color: inherit; text-decoration: none; font-weight: 700; }
.btn-cta-viral { font-size: 0.8rem; font-weight: 700; color: var(--primary) !important; opacity: 0.6; transition: 0.3s; }
.btn-cta-viral:hover { opacity: 1; }

/* --- Modais --- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(10px); }
.modal.active { opacity: 1; visibility: visible; }
.modal-box { background: #111; border: 1px solid var(--border); border-radius: 30px; width: 100%; max-width: 400px; padding: 40px 30px; text-align: center; position: relative; transform: translateY(20px); transition: 0.4s; }
.modal.active .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; opacity: 0.5; }
.modal-ico { font-size: 3rem; color: var(--primary); margin-bottom: 25px; display: block; }
.modal-desc { opacity: 0.6; font-size: 0.9rem; margin-bottom: 30px; line-height: 1.5; }
.pix-box { 
    background: #000; padding: 20px; border-radius: 20px; 
    border: 1px dashed var(--primary); 
    display: flex; flex-direction: column; align-items: center; 
}
.pix-box code { display: block; font-size: 1.1rem; color: var(--primary); margin: 10px 0 20px; word-break: break-all; }
.btn-sm { padding: 12px 20px; font-size: 0.8rem; }
.location-options { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.loc-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; border-radius: 15px; text-decoration: none; font-weight: 700; font-size: 0.8rem; border: none; transition: 0.2s; }
.loc-uber { background: #000; color: #fff; border: 1px solid #333; }
.loc-waze { background: #33ccff; color: #000; }
.loc-google { background: #34a853; color: #fff; }
.loc-copy { background: #222; color: #fff; }

/* --- Animações --- */
.reveal { opacity: 0; transform: translateY(30px); animation: revealUp 0.8s cubic-bezier(0.4, 0, 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 revealUp { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 370px) {
    .hero-name { font-size: 3.2rem; }
}
