:root {
    --primary: #FF9800; /* Laranja Naruto */
    --primary-solid: #FF5722;
    --primary-glow: rgba(255, 152, 0, 0.35);
    --bg: #050505;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-heavy: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f5f5f5;
    --text-muted: #bbb;
    --radius: 20px;
    --font: 'Outfit', sans-serif;
    --font-display: 'Bangers', cursive;
    --glass: blur(12px);
}

* {
    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-x: hidden;
    line-height: 1.6;
}

/* Splash Screen */
#splash {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: all 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

#splash.gone {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

.splash-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: breathe 2.5s ease-in-out infinite;
    text-shadow: 0 0 30px var(--primary-glow);
}

@keyframes breathe {
    0%, 100% { transform: scale(1) rotate(0); opacity: 0.8; }
    50% { transform: scale(1.1) rotate(15deg); opacity: 1; }
}

.splash-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #fff, #bbb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.splash-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--primary-glow);
    transition: 0.3s;
    text-transform: uppercase;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

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

/* Base Layout */
.invite {
    position: relative;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    background: var(--bg);
}

.invite.hidden {
    display: none;
}

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

.invite-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.6) 50%, 
        rgba(0,0,0,0.95) 100%);
    z-index: 2;
}

.invite-body {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 480px;
    padding: 60px 24px 40px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

.fab-music.playing {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.fab-music.playing i {
    animation: pulse-music 1.5s infinite;
}

@keyframes pulse-music {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

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

/* Hero */
.hero-photo-dossier {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    background: #111;
    border: 4px solid rgba(255,255,255,0.1);
    padding: 8px;
    box-shadow: 0 0 35px rgba(0,0,0,0.8);
    transform: rotate(-3deg);
    border-radius: 8px;
}

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

.dossier-stamp {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background: var(--primary);
    color: #000;
    font-family: var(--font-display);
    font-size: 0.8rem;
    padding: 4px 12px;
    transform: rotate(12deg);
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    font-weight: 700;
    letter-spacing: 1px;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-glow);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-name {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 20px var(--primary-glow), 4px 4px 0px var(--primary-solid);
    transform: skew(-5deg);
}

.hero-name-img {
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.hero-age {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    margin-top: -5px;
    letter-spacing: 4px;
}

/* Timer */
.section-timer {
    background: var(--surface);
    backdrop-filter: var(--glass);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius);
}

.label-sm {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

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

.t-block {
    display: flex;
    flex-direction: column;
    min-width: 60px;
}

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

.t-block small {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

.t-sep {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    padding-bottom: 15px;
}

/* Info Cards */
.section-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-card {
    background: var(--surface);
    backdrop-filter: var(--glass);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: var(--radius);
    text-align: left;
    transition: transform 0.3s;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-row i {
    width: 45px;
    height: 45px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-text strong {
    display: block;
    font-size: 1rem;
    color: #fff;
}

.info-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    font-family: var(--font);
    border: none;
    width: 100%;
}

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

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

.btn-ghost {
    background: var(--surface-heavy);
    backdrop-filter: var(--glass);
    border: 1px solid var(--border);
    color: #fff;
}

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

/* Footer */
.invite-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    margin-bottom: 0;
    width: 100%;
}

.invite-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

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

.btn-cta-viral {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
    padding: 8px 16px;
    border-radius: 50px;
}

.btn-cta-viral:hover {
    opacity: 1;
    background: rgba(255,255,255,0.05);
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

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

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

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

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

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

.modal-box h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

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

.pix-box {
    background: var(--bg);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.pix-box p {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

#pixCode {
    display: block;
    font-family: monospace;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    word-break: break-all;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.modal-mini {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.loc-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    transition: 0.2s;
}

.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: #333; color: #fff; border: none; }

.loc-btn i { font-size: 1.4rem; }

/* Animations */
.anim-in {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 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); }
}

@media (max-height: 700px) {
    .invite-body { padding-top: 40px; }
    .hero-name { font-size: 4rem; }
    .section-hero { margin-bottom: 30px; }
}
