/* ==========================================================================
   DRIVER PACH PARAGUAY - PANTALLA SPLASH CINEMÁTICA 3 SEGUNDOS
   "Viajá Seguro con Driver Pach"
   ========================================================================== */

#pach-splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: radial-gradient(circle at 50% 40%, #151a28 0%, #06080f 65%, #020306 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: 'Outfit', 'Inter', sans-serif;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

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

/* Partículas y resplandor de fondo */
.splash-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(213, 43, 30, 0.08) 40%, rgba(0, 43, 127, 0.08) 70%, transparent 80%);
    filter: blur(50px);
    animation: splashPulse 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes splashPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 0.95; }
}

/* Sello de agua patriótico de fondo */
.splash-watermark {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, transparent 30%, rgba(2, 3, 6, 0.85) 80%),
                linear-gradient(135deg, rgba(213, 43, 30, 0.06) 0%, transparent 40%, rgba(0, 43, 127, 0.06) 100%);
    pointer-events: none;
}

/* Contenedor central */
.splash-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    max-width: 550px;
    animation: splashZoomIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes splashZoomIn {
    0% { opacity: 0; transform: scale(0.85) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Emblema Dorado Oficial */
.splash-logo-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 45px rgba(255, 215, 0, 0.45), 0 0 80px rgba(255, 179, 0, 0.25);
    border: 3px solid #ffd700;
    animation: logoFloat 3s ease-in-out infinite alternate;
}

@keyframes logoFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(1deg); }
}

.splash-lens-flare {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 240, 160, 0.25) 0%, transparent 60%);
    pointer-events: none;
    animation: flareSpin 6s linear infinite;
}

@keyframes flareSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tipografía y Marca */
.splash-brand-title {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #ffe082 30%, #ffd700 70%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(255, 215, 0, 0.4));
    text-transform: uppercase;
}

.splash-brand-country {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.35);
    padding: 4px 14px;
    border-radius: 20px;
}

.splash-brand-country span.py-badge {
    background: linear-gradient(90deg, #d52b1e 33%, #ffffff 33%, #ffffff 66%, #002b7f 66%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.splash-slogan {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-top: 14px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.splash-slogan span.gold-highlight {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.splash-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 6px;
    font-weight: 500;
}

/* Barra de Progreso de 3 Segundos */
.splash-progress-container {
    width: 320px;
    max-width: 85vw;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.splash-progress-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.splash-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff9800 0%, #ffd700 50%, #fff 80%, #ffd700 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px #ffd700;
    transition: width 0.1s linear;
}

.splash-status-text {
    font-size: 0.78rem;
    color: #cbd5e1;
    font-weight: 600;
    letter-spacing: 0.5px;
    min-height: 18px;
    text-align: center;
}

.splash-skip-btn {
    margin-top: 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    font-weight: 600;
}

.splash-skip-btn:hover {
    color: #ffffff;
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}
