:root {
    --primary: #E53935;
    --primary-glow: rgba(229, 57, 53, 0.35);
    --secondary: #FDD835;
    --secondary-glow: rgba(253, 216, 53, 0.35);
    --bg: #0A0A1A;
    --surface: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --text: #F5F5F5;
    --text-muted: #AAA;
    --radius: 20px;
    --font: 'Outfit', sans-serif;
    --font-display: 'Bungee', cursive;
}

* {
    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; /* Controlado pela splash */
    line-height: 1.6;
}

/* --- SPLASH SCREEN --- */
#splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    transition: opacity .6s, visibility .6s;
}

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

.splash-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: var(--secondary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: breathe 2.5s ease-in-out infinite;
}

.splash-icon i {
    font-size: 2.2rem;
    color: var(--secondary);
}

.splash-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--secondary);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.splash-sub {
    color: var(--text-muted);
    font-size: .95rem;
    margin-bottom: 32px;
}

.splash-btn {
    background: var(--primary);
    color: #FFF;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 0 0 30px var(--primary-glow);
    transition: transform .2s, box-shadow .2s;
}

.splash-btn:active {
    transform: scale(.96);
}

@keyframes breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(253, 216, 53, 0.2); }
    50% { transform: scale(1.08); box-shadow: 0 0 40px 10px rgba(253, 216, 53, 0.2); }
}

/* --- INVITE STRUCTURE --- */
.invite {
    position: relative;
    width: 100vw;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invite.hidden {
    display: none !important;
}

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

.invite-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(10, 10, 26, 0.5) 0%,
        rgba(10, 10, 26, 0.75) 50%,
        rgba(10, 10, 26, 0.95) 100%
    );
}

.invite-body {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 50px 24px 30px;
    text-align: center;
    overflow-y: auto;
    max-height: 100svh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

/* --- HERO SECTION --- */
.hero-photo-dossier {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 24px;
    background: #111;
    border: 3px solid rgba(255, 255, 255, 0.1);
    padding: 6px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(0, 0, 0, 0.4);
    transform: rotate(-2deg);
    border-radius: 4px;
}

.hero-photo-dossier::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid var(--primary);
    opacity: 0.8;
    border-radius: 4px;
}

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

.dossier-stamp {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--secondary);
    color: #311b92;
    font-family: var(--font-display);
    font-size: 0.65rem;
    padding: 4px 10px;
    transform: rotate(12deg);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 1px;
}

.tag {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 15vw, 5rem);
    color: var(--secondary);
    line-height: .9;
    text-shadow: 3px 3px 0 var(--primary), 0 0 30px var(--secondary-glow);
    margin-bottom: 6px;
}

.hero-name-img {
    max-width: 280px;
    width: 85%;
    height: auto;
    margin: 10px auto 20px;
    filter: drop-shadow(0 0 15px var(--secondary-glow));
}

.hero-age {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 6vw, 2.2rem);
    letter-spacing: 4px;
    color: var(--text);
    opacity: .9;
}

/* --- TIMER SECTION --- */
.section-timer {
    margin: 40px 0 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.label-sm {
    font-size: .6rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

.timer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.t-block {
    text-align: center;
    min-width: 50px;
}

.t-block span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--secondary);
    line-height: 1;
}

.t-block small {
    font-size: .6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.t-sep {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary);
    opacity: .4;
}

/* --- INFO SECTION --- */
.section-info {
    margin-bottom: 36px;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 0;
    font-size: .95rem;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row i {
    color: var(--secondary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* --- ACTIONS SECTION --- */
.section-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    letter-spacing: .5px;
    transition: transform .15s, filter .2s;
}

.btn:active {
    transform: scale(.97);
}

.btn-solid {
    background: var(--primary);
    color: #FFF;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

/* --- MUSIC CONTROL --- */
.fab-music {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: .3s;
}

.fab-music.playing {
    color: var(--secondary);
    border-color: rgba(253, 216, 53, 0.4);
    box-shadow: 0 0 15px var(--secondary-glow);
}

/* --- MODALS --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal.open {
    display: flex;
}

.modal-box {
    background: #0D0D1F;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px 24px 32px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-ico {
    color: var(--secondary);
    font-size: 3rem;
    margin-bottom: 20px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: .9rem;
    margin-bottom: 24px;
}

.modal-list {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.modal-list li {
    padding: 12px 0;
    font-size: .9rem;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-list i {
    color: var(--secondary);
    font-size: .8rem;
}

.pix-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 16px;
    margin-top: 10px;
}

.pix-box p {
    font-size: .75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

#pixCode {
    display: block;
    background: #000;
    color: var(--secondary);
    padding: 10px;
    font-size: .8rem;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
}

.btn-sm {
    padding: 12px;
    font-size: .75rem;
}

/* --- TRANSPORT GRID --- */
.location-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.loc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 12px;
    border-radius: 14px;
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    border: none;
}

.loc-uber { background: #000; color: #FFF; border: 1px solid rgba(255,255,255,0.1); }
.loc-waze { background: #33CCFF; color: #000; }
.loc-google { background: #34A853; color: #FFF; }
.loc-copy { background: var(--surface); color: var(--text); border: 1px solid var(--border); }

/* --- FOOTER --- */
.invite-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.invite-footer p {
    font-size: .7rem;
    color: var(--text-muted);
}

.invite-footer a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
}

/* --- ANIMATIONS --- */
.anim-in {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.4s; }

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

/* --- RESPONSIVIDADE --- */
@media (max-height: 700px) {
    .invite-body { padding-top: 30px; }
    .hero-name { font-size: 3.5rem; }
    .hero-photo-dossier { width: 120px; height: 120px; margin-bottom: 15px; }
    .section-timer { margin: 25px 0 20px; padding: 15px; }
}


.commercial-footer a { color: var(--primary); text-decoration: none; }






.commercial-footer a { color: #fff; text-decoration: none; }




/* --- FOOTER (WILL V3) --- */
.commercial-footer { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; opacity: 0.8; margin-top: 40px; text-align: center; }
.commercial-footer p { font-size: 0.6rem; margin-bottom: 5px; opacity: 0.5; color: #fff; }
.commercial-footer a { color: #fff; text-decoration: none; }
.cta-footer { display: block; font-size: 0.75rem; color: var(--primary, #ffd700) !important; font-weight: 700; margin-top: 5px; text-decoration: none; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }


.pix-box { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.pix-box .btn { margin: 0 auto; min-width: 200px; }



.btn-cta-viral {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--primary);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.8rem !important;
    color: var(--primary) !important;
    text-decoration: none;
    margin-top: 15px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-viral:active {
    background: var(--primary);
    color: #000 !important;
    transform: scale(0.95);
}

.btn-cta-viral i {
    color: var(--primary);
}

.btn-cta-viral {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--primary);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.8rem !important;
    color: var(--primary) !important;
    text-decoration: none;
    margin-top: 15px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-viral:active {
    background: var(--primary);
    color: #000 !important;
    transform: scale(0.95);
}

.btn-cta-viral i {
    color: var(--primary);
}

.invite-footer {
    width: 100%;
    max-width: 480px;
    margin: 60px auto 20px;
    text-align: center;
    padding-bottom: 20px;
}

.invite-footer p {
    font-size: 0.75rem;
    opacity: 0.4;
    margin-bottom: 10px;
}

.invite-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.commercial-footer { display: none !important; }
/* --- 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: 5px;
    opacity: 0.6;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

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

.btn-cta-viral i {
    font-size: 0.8rem;
    color: var(--primary);
}

.invite-footer {
    width: 100%;
    max-width: 480px;
    margin: 50px auto 20px;
    text-align: center;
    padding-bottom: 30px;
}

.invite-footer p {
    font-size: 0.65rem;
    opacity: 0.3;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.invite-footer a {
    color: inherit;
    text-decoration: none;
}