:root {
    --primary: #ff6600; /* Bomba Patch Orange */
    --primary-glow: rgba(255, 102, 0, 0.3);
    --bg: #000000;
    --surface: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-muted: #aaaaaa;
    --radius: 12px;
    --font: 'Outfit', sans-serif;
    --font-display: 'Bebas Neue', 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.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: breathe 2.5s infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.splash-title { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 2px; color: var(--text); }
.splash-sub { color: var(--text-muted); font-size: 0.9rem; margin: 10px 0 40px; }

.splash-btn {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 18px 45px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 0 25px var(--primary-glow);
    font-family: var(--font-display);
    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(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.95) 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); }

/* Dossier Photo */
.hero-photo-dossier {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    background: #111;
    border: 3px 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; right: -15px;
    background: var(--primary); color: #000;
    font-family: var(--font-display);
    font-size: 0.65rem; padding: 4px 10px;
    transform: rotate(10deg);
    border-radius: 4px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Typography */
.tag { font-size: 0.65rem; font-weight: 800; letter-spacing: 2px; color: var(--primary); text-transform: uppercase; margin-bottom: 5px; display: block; }
.hero-name { font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: #fff; margin-bottom: 5px; text-shadow: 2px 2px 0 #ff6600, 4px 4px 0 #000; }
.hero-age { font-family: var(--font-display); font-size: 2rem; color: #fff; letter-spacing: 3px; -webkit-text-stroke: 1px var(--primary); }

.bp-badge {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 900;
    margin-top: 15px;
    transform: skew(-10deg);
}

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

/* Timer */
.label-sm { font-size: 0.6rem; font-weight: 800; color: var(--text-muted); letter-spacing: 1.5px; margin-bottom: 12px; }
.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; }
.t-block span { font-size: 2.2rem; 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: 1.8rem; opacity: 0.3; }

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

.info-row i { font-size: 1.1rem; color: var(--primary); }
.info-content strong { display: block; font-size: 0.6rem; color: var(--text-muted); letter-spacing: 1px; }
.info-content span { font-size: 0.9rem; font-weight: 700; }

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

/* Footer */
.invite-footer { 
    padding-top: 15px; 
    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: 800; color: #fff; opacity: 0.6; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* Modals */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 1000; opacity: 0; visibility: hidden; transition: 0.3s; display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(8px); }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { background: #111; border: 1px solid var(--primary); width: 100%; max-width: 380px; border-radius: 12px; padding: 40px 24px 30px; position: relative; text-align: center; }
.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.2rem; color: var(--primary); margin-bottom: 15px; }
.modal-box h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; letter-spacing: 1px; }
.modal-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.modal-list { text-align: left; list-style: none; margin-bottom: 25px; }
.modal-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; display: flex; align-items: center; gap: 10px; }
.modal-list li i { color: var(--primary); }
.pix-box { background: rgba(255,102,0,0.05); padding: 15px; border-radius: 8px; }
.pix-box code { display: block; margin: 10px 0 15px; color: var(--primary); font-size: 1.1rem; font-weight: 700; }
.btn-sm { padding: 12px; font-size: 0.7rem; }

/* Grid Transport */
.location-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.loc-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-radius: 8px; font-weight: 800; font-size: 0.7rem; text-decoration: none; border: none; cursor: pointer; }
.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: 30px; }
    .hero-name { font-size: 3.5rem; }
    .hero-photo-dossier { transform: scale(0.8) rotate(-2deg); margin-bottom: 10px; }
    section { margin-bottom: 20px; }
}
