/* 
   =============================================
   PREMIUM PAGE SPLASH SCREEN
   ============================================= 
*/

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d0d0d;
    z-index: 10000; /* Above everything */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.6s ease;
}

#splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.1);
}

.splash-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Football Roll Animation */
.splash-ball-wrapper {
    position: absolute;
    left: -100px; /* Start off-screen */
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    z-index: 2;
}

.splash-ball-svg {
    width: 100%;
    height: 100%;
    fill: #f5c518;
    filter: drop-shadow(0 0 10px rgba(245, 197, 24, 0.5));
}

/* Text SVG Drawing */
.splash-text-svg {
    width: 500px;
    height: auto;
    overflow: visible;
}

.splash-text-path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

/* Gold Accent Line */
.splash-gold-line {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 320px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f5c518, transparent);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(245, 197, 24, 0.6);
    transform-origin: center;
}

/* Skip Button */
.skip-splash-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    padding: 8px 16px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0; /* Hidden initially, reveals slightly later */
}

.skip-splash-btn:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .splash-text-svg {
        width: 300px;
    }
    .splash-gold-line {
        width: 200px;
    }
    .splash-container {
        transform: scale(0.8);
    }
}

/* Page Content Reveal */
.page-content {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 1s ease, transform 1s ease, visibility 1s;
}

body.splash-ready .page-content {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}
