:root {
    --primary: #ffffff;
    --secondary: #e31b23; /* Vermelho Corinthians */
    --bg-dark: #000000;
    --glass: rgba(20, 20, 20, 0.9);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Bungee', cursive;
}

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

body {
    background: var(--bg-dark);
    font-family: var(--font-main);
    color: var(--text);
    overflow: hidden;
    height: 100vh;
}

/* --- SPLASH SCREEN --- */
#splash {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

#splash.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: 0.8s;
}

.splash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    max-width: 320px;
}

.splash-icon {
    font-size: 5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.3));
}

.splash-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.1;
}

.splash-sub {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
}

.splash-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

/* --- MAIN LAYOUT --- */
.invite {
    position: relative;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.invite.hidden { display: none; }

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

.invite-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.95));
    z-index: -1;
}

.invite-body {
    padding: 80px 25px 50px;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.fab-music {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: #fff;
    z-index: 100;
}

/* Hero Section */
.section-hero { text-align: center; margin-bottom: 50px; width: 100%; }

.hero-photo-dossier {
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 25px;
    padding: 8px;
    margin: 0 auto 30px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

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

.dossier-stamp {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
}

.tag { font-size: 0.65rem; letter-spacing: 3px; opacity: 0.6; text-transform: uppercase; }
.hero-name { font-family: var(--font-heading); font-size: 4rem; color: #fff; line-height: 0.9; margin: 20px 0; letter-spacing: -1px; }
.hero-age { font-family: var(--font-heading); font-size: 2.2rem; color: var(--secondary); }

/* Timer */
.section-timer {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    width: 100%;
    padding: 30px 20px;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 30px;
    backdrop-filter: blur(15px);
}

.label-sm { font-size: 0.7rem; letter-spacing: 2px; opacity: 0.5; margin-bottom: 20px; text-transform: uppercase; }
.timer-row { display: flex; justify-content: center; gap: 10px; align-items: center; width: 100%; }
.t-block span { font-family: var(--font-heading); font-size: 1.8rem; line-height: 1; }
.t-block small { font-size: 0.55rem; opacity: 0.4; display: block; margin-top: 5px; text-transform: uppercase; }
.t-sep { font-size: 1.2rem; color: var(--secondary); padding-bottom: 12px; }

@keyframes pulse-audio {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0.8; }
}
.fab-music.playing { animation: pulse-audio 1s infinite alternate; border-color: var(--secondary); }

/* Info */
.section-info { width: 100%; margin-bottom: 40px; }
.info-row {
    background: var(--glass);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.info-row i { color: var(--secondary); font-size: 1.5rem; }
.info-text strong { display: block; font-family: var(--font-heading); font-size: 1rem; }
.info-text span { font-size: 0.9rem; opacity: 0.8; }

/* Actions */
.section-actions { width: 100%; display: flex; flex-direction: column; gap: 15px; }
.btn { font-family: var(--font-heading); padding: 20px; border-radius: 15px; border: none; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; transition: 0.3s; }
.btn-solid { background: #fff; color: #000; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.btn-outline { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-ghost { background: var(--glass); color: #fff; font-size: 0.9rem; border: 1px solid var(--glass-border); opacity: 0.8; }

/* --- MODALS --- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.modal.active { opacity: 1; visibility: visible; }

.modal-box {
    background: #111;
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal.active .modal-box { transform: scale(1); }

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
}

.modal-ico { font-size: 3rem; color: var(--secondary); margin-bottom: 20px; }
.modal-desc { font-size: 0.95rem; opacity: 0.7; margin: 15px 0 25px; line-height: 1.5; }

.modal-list { list-style: none; text-align: left; margin-bottom: 30px; }
.modal-list li { font-size: 0.95rem; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.modal-list li i { color: var(--secondary); font-size: 0.8rem; }

.pix-box { background: #000; padding: 25px; border-radius: 20px; border: 1px dashed var(--glass-border); }
#pixCode { display: block; color: var(--secondary); font-size: 0.85rem; word-break: break-all; margin: 10px 0 15px; font-family: monospace; }

.location-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.loc-btn {
    text-decoration: none; padding: 18px; border-radius: 15px; font-size: 0.9rem;
    display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; background: #1a1a1a; transition: 0.3s;
}

.loc-google { background: #4285F4; }
.loc-waze { background: #33ccff; }
.loc-uber { background: #000; border: 1px solid #333; }
.loc-copy { background: #333; }

/* --- FOOTER DISCRETO AGENCIA WILL --- */
.btn-cta-viral {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    border: none !important;
    padding: 10px !important;
    font-size: 0.7rem !important;
    color: var(--primary) !important;
    text-decoration: none;
    margin-top: 10px;
    opacity: 0.5;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.btn-cta-viral:hover, .btn-cta-viral:active { opacity: 1; transform: translateY(-2px); }

.invite-footer { width: 100%; margin: 60px auto 30px; text-align: center; padding-bottom: 40px; }
.invite-footer p { font-size: 0.65rem; opacity: 0.3; margin-bottom: 8px; letter-spacing: 1px; }

/* Animations */
.anim-in { opacity: 0; transform: translateY(30px); }
.invite:not(.hidden) .anim-in { animation: fadeIn 0.8s forwards; }
.d1 { animation-delay: 0.2s !important; }
.d2 { animation-delay: 0.4s !important; }
.d3 { animation-delay: 0.6s !important; }
.d4 { animation-delay: 0.8s !important; }

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