:root {
    --primary: #d35400; /* Burnt Orange */
    --primary-glow: rgba(211, 84, 0, 0.3);
    --bg: #1a0f0a; /* Dark Wood Brown */
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f5f5f5;
    --text-muted: #a67c52;
    --radius: 12px;
    --font: 'Outfit', sans-serif;
    --font-display: 'Bebas Neue', cursive;
    --font-serif: 'Cormorant Garamond', serif;
}

* {
    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.5;
}

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

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

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

@keyframes flicker {
    0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 10px var(--primary)); }
    50% { opacity: 0.7; transform: scale(0.95); filter: drop-shadow(0 0 25px var(--primary)); }
}

.splash-title { font-family: var(--font-display); font-size: 2.5rem; letter-spacing: 2px; color: #fff; }
.splash-sub { color: #888; font-size: 0.9rem; margin: 10px 0 40px; }

.splash-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 18px 45px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    font-family: var(--font-display);
    letter-spacing: 1.5px;
}

/* 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(26,15,10,0.3) 0%, rgba(26,15,10,0.8) 60%, rgba(26,15,10,0.98) 100%);
    z-index: -1;
}

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

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

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

.fab-music.playing { color: var(--primary); border-color: var(--primary); }

/* Hero Photo */
.hero-photo-dossier {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    background: #000;
    border: 4px solid #fff;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: rotate(2deg);
}

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

.dossier-stamp {
    position: absolute; bottom: -10px; left: -15px;
    background: #000; color: var(--primary);
    font-family: var(--font-display);
    font-size: 0.65rem; padding: 5px 12px;
    transform: rotate(-10deg);
    border: 1px solid var(--primary);
    font-weight: 900;
}

/* Typography */
.tag { font-family: var(--font-serif); font-size: 0.8rem; font-weight: 700; font-style: italic; letter-spacing: 2px; color: var(--primary); text-transform: uppercase; margin-bottom: 5px; display: block; }
.hero-name { font-family: var(--font-display); font-size: 5rem; line-height: 0.9; color: #fff; margin-bottom: 10px; text-shadow: 3px 3px 0 rgba(211, 84, 0, 0.4); }

.fathers-badge {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
    padding: 4px 18px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 900;
    margin-top: 15px;
    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: 15px; font-family: var(--font-display); color: #fff; }
.t-block { display: flex; flex-direction: column; align-items: center; background: rgba(0,0,0,0.3); padding: 10px; border-radius: 4px; min-width: 65px; border: 1px solid var(--border); }
.t-block span { font-size: 2.22rem; color: var(--primary); }
.t-block small { font-size: 0.6rem; text-transform: uppercase; color: #fff; font-family: var(--font); font-weight: 700; }
.t-sep { font-size: 2rem; opacity: 0.15; align-self: center; }

/* Info */
.info-row {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.info-row i { font-size: 1.25rem; color: var(--primary); }
.info-content strong { display: block; font-size: 0.6rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.info-content span { font-size: 1.05rem; font-weight: 800; color: #fff; }

/* Buttons */
.section-actions { display: flex; flex-direction: column; gap: 12px; }
.btn { width: 100%; padding: 20px; border-radius: 4px; font-weight: 900; font-size: 0.9rem; cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.2s; font-family: var(--font-display); letter-spacing: 1px; border: none; text-transform: uppercase; }
.btn-solid { background: var(--primary); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-ghost { background: var(--surface); color: var(--text-muted); font-size: 0.75rem; border: 1px solid var(--border); font-family: var(--font); font-weight: 400; text-transform: none; }

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

/* Modals */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1000; opacity: 0; visibility: hidden; transition: 0.3s; display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(5px); }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { background: #1a0f0a; border: 1.5px solid var(--primary); width: 100%; max-width: 380px; padding: 45px 24px 35px; position: relative; text-align: center; border-radius: 12px; }
.modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #fff; 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-display); font-size: 2rem; margin-bottom: 15px; color: #fff; letter-spacing: 1.5px; }
.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 rgba(255,255,255,0.05); font-size: 0.9rem; display: flex; align-items: center; gap: 15px; }
.modal-list li i { color: var(--primary); font-size: 0.75rem; }
.pix-box { background: rgba(0,0,0,0.3); padding: 20px; border-radius: 8px; border: 1px solid var(--border); }
.pix-box p { font-size: 0.8rem; color: var(--text-muted); }
.pix-box code { display: block; margin: 15px 0 20px; color: #fff; font-size: 1.25rem; font-weight: 900; 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: 8px; font-weight: 800; font-size: 0.75rem; text-decoration: none; border: none; cursor: pointer; font-family: var(--font-display); }
.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: var(--surface); color: #fff; border: 1px solid var(--border); }

/* Animation Classes */
.anim-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.7s forwards; }
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.3s; }
.d3 { animation-delay: 0.45s; }
.d4 { animation-delay: 0.6s; }

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

@media (max-height: 650px) {
    .invite-body { padding-top: 35px; }
    .hero-name { font-size: 4rem; }
    .hero-photo-dossier { transform: scale(0.8); margin-bottom: 10px; }
    section { margin-bottom: 25px; }
}
