/* ============================================================

   JBC SPLASH SCREEN

============================================================ */

:root {

    --primary: #f59e42;

    --primary-glow: rgba(245, 158, 66, 0.4);

    --bg-deep: #050506;

    --card-glass: rgba(15, 15, 18, 0.7);

    --border-glass: rgba(255, 255, 255, 0.08);

    --text-main: #ffffff;

    --text-dim: #88888e;

    --font-main: 'Plus Jakarta Sans', sans-serif;

    --font-mono: 'Space Grotesk', monospace;

}

#splash {

    position: fixed;

    inset: 0;

    z-index: 2147483000;

    background: #000;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;



}

#splash.fade-out {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}

.splash-inner {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 220px;

    height: 220px;

}

.splash-orbit {

    position: absolute;

    inset: 0;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.06);

}

.splash-orbit::before,

.splash-orbit::after {

    content: '';

    position: absolute;

    inset: -8px;

    border-radius: 50%;

    border: 2px solid transparent;

}

.splash-orbit::before {

    border-top-color: #ff6b1a;

    border-right-color: #ff9a4a;

    animation: orbit-spin 1.2s linear infinite;

}

.splash-orbit::after {

    inset: -18px;

    border-bottom-color: rgba(245,200,66,0.5);

    border-left-color: rgba(255,107,26,0.3);

    animation: orbit-spin 2.4s linear infinite reverse;

}

@keyframes orbit-spin {

    to { transform: rotate(360deg); }

}

.splash-center {

    position: relative;

    z-index: 2;

    text-align: center;

}

.splash-word {

    font-family: 'Rajdhani', sans-serif;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: 0.3em;

    text-indent: 0.3em;

    color: #fff;

    text-transform: uppercase;

    min-height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: opacity 0.25s ease;

}

.splash-word.flicker {

    opacity: 0;

}

.splash-word img {

    height: 110px;

    width: auto;

    max-width: 180px;

    margin-bottom: 2px;

}

.splash-final-sub {

    font-family: var(--font-main);

    font-size: 10px;

    font-weight: 400;

    letter-spacing: 0.15em;

    color: rgba(255,255,255,0.6);

    opacity: 0;

    margin-top: 2px;

    transition: opacity 0.4s ease;

}

.splash-final-sub.show {

    opacity: 1;

}

.splash-tagline {

    font-family: 'DM Sans', sans-serif;

    font-size: 10px;

    letter-spacing: 0.25em;

    color: rgba(255,255,255,0.6);

    margin-top: 6px;

    opacity: 0;

    transition: opacity 0.4s ease;

}

.splash-tagline.show {

    opacity: 1;

}

.splash-tagline.hide {

    opacity: 0;

    pointer-events: none;

}

.splash-progress-wrapper {

    position: absolute;

    bottom: 48px;

    left: 50%;

    transform: translateX(-50%);

    text-align: center;

    width: 180px;

}

.splash-progress {

    width: 100%;

    height: 1px;

    background: rgba(255,255,255,0.05);

    overflow: hidden;

    margin-bottom: 12px;

}

.splash-progress-bar {

    height: 100%;

    background: linear-gradient(90deg, #c23208, #ff6b1a, #f5c842);

    width: 0%;

    transition: width 0.4s ease;

}

.splash-loading-text {

    font-family: var(--font-mono);

    font-size: 10px;

    letter-spacing: 0.2em;

    color: rgba(255,255,255,0.4);

    text-transform: uppercase;

    margin-bottom: 4px;

}

.splash-platform-text {

    font-family: var(--font-main);

    font-size: 8px;

    letter-spacing: 0.1em;

    color: rgba(255,255,255,0.25);

    text-transform: uppercase;

}

.splash-image-stage {

    position: fixed;

    inset: 0;

    z-index: 2147483001;

    background: #000;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.6s ease;

}

.splash-image-stage.show {

    opacity: 1;

    pointer-events: auto;

}

.splash-image-stage img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    max-width: 100vw;

    max-height: 100vh;

}

.splash-image-bar {

    position: fixed;

    bottom: 48px;

    left: 50%;

    transform: translateX(-50%);

    text-align: center;

    z-index: 2147483002;

    opacity: 0;

    transition: opacity 0.6s ease;

    pointer-events: none;

    width: 180px;

}

.splash-image-loading-track {

    width: 100%;

    height: 1px;

    background: rgba(255,255,255,0.08);

    overflow: hidden;

    margin: 0 auto;

}

.splash-image-loading-fill {

    height: 100%;

    width: 100%;

    background: linear-gradient(90deg, #c23208, #ff6b1a, #f5c842);

}

.splash-image-footer-text {

    font-family: var(--font-main);

    font-size: 8px;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    color: rgba(255,255,255,0.35);

    margin-top: 8px;

}








.splash-image-stage {
    background: #000 !important;
}

.splash-stage-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.55s ease;
    background: #000;
}

.splash-stage-img.active {
    opacity: 1;
}





html.guard-splash-loading body > *:not(#splash) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.guard-splash-loading body {
    background: #000 !important;
}





/* ============================================================
   GLOBAL GUARD SPLASH OVERLAY
============================================================ */

/* ============================================================
   GLOBAL GAS SYNC SPLASH OVERLAY
============================================================ */

#splash {
    position: fixed !important;
    inset: 0 !important;

    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;

    z-index: 2147483647 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;

    background: #000 !important;

transition: opacity 0.4s ease, visibility 0.4s ease !important;
}

#splash.fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#splash .splash-progress-wrapper {
    position: absolute !important;
    bottom: 48px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 180px !important;
    text-align: center !important;
    z-index: 3 !important;
}







#splash .splash-inner {

    width: min(86vw, 430px);

    height: min(86vw, 430px);

}

#splash .splash-orbit {

    inset: 0;

    border: 1px solid rgba(255, 145, 35, 0.18);

    box-shadow:

        0 0 40px rgba(255, 107, 26, 0.22),

        inset 0 0 35px rgba(255, 107, 26, 0.10);

}

#splash .splash-orbit::before {

    inset: -8px;

    border-width: 4px;

    border-top-color: #ff6b1a;

    border-left-color: #ff6b1a;

    border-right-color: rgba(255, 180, 65, 0.75);

    filter: drop-shadow(0 0 14px #ff6b1a) drop-shadow(0 0 28px rgba(255,107,26,.8));

    animation: orbit-spin 1.8s linear infinite;

}

#splash .splash-orbit::after {

    inset: -22px;

    border-width: 2px;

    border-right-color: #f5c842;

    border-bottom-color: rgba(255, 107, 26, 0.85);

    filter: drop-shadow(0 0 10px rgba(245,200,66,.8));

    animation: orbit-spin 3.2s linear infinite reverse;

}

#splash .splash-inner::before {

    content: "";

    position: absolute;

    inset: -42px;

    border-radius: 50%;

    background:

        radial-gradient(circle at 18% 45%, rgba(255,107,26,.9) 0 2px, transparent 3px),

        radial-gradient(circle at 28% 18%, rgba(255,190,70,.9) 0 2px, transparent 3px),

        radial-gradient(circle at 75% 20%, rgba(255,155,40,.9) 0 2px, transparent 3px),

        radial-gradient(circle, rgba(255,107,26,.12), transparent 62%);

    filter: blur(.2px);

    animation: sparkle-float 2.8s ease-in-out infinite alternate;

    pointer-events: none;

}

#splash .splash-word img {

    height: auto;

    width: min(72vw, 360px);

    max-width: 360px;

    object-fit: contain;

    border-radius: 18px;

}

@keyframes sparkle-float {

    from { opacity: .45; transform: scale(.98); }

    to { opacity: .95; transform: scale(1.03); }

}



#splash .splash-inner {
    width: min(72vw, 320px);
    height: min(72vw, 320px);
}

#splash .splash-word img {
    width: min(46vw, 200px);
    max-width: 200px;
    height: auto;
}

#splash .splash-word img[alt="JBC"] {
    width: min(44vw, 190px);
    max-width: 190px;
}

#splash .splash-word img {
    transform: translateY(18px);
}




/* ============================================================
   iPHONE SAFARI SPLASH BLEED FIX
   Forces a solid full-screen blackout behind the splash content
============================================================ */

html.guard-splash-loading,
html.guard-splash-loading body {
    overflow: hidden !important;
    background: #000 !important;
}

#splash::before {
    content: "" !important;
    position: fixed !important;
    top: -120px !important;
    left: -120px !important;
    right: -120px !important;
    bottom: -220px !important;
    z-index: 0 !important;
    background: #000 !important;
    pointer-events: none !important;
}

#splash > * {
    position: relative !important;
    z-index: 2 !important;
}


html.guard-splash-loading body > *:not(#splash) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.guard-splash-loading,
html.guard-splash-loading body {
    overflow: hidden !important;
    background: #000 !important;
}