/* Emergency FOUC Prevention - Load this first */
html { 
    visibility: hidden !important; 
    opacity: 0 !important; 
}

html.no-fouc { 
    visibility: visible !important; 
    opacity: 1 !important; 
    transition: opacity 0.2s ease-in-out !important; 
}

/* Critical layout prevention during load */
body { 
    margin: 0 !important; 
    padding: 0 !important; 
    font-family: 'Poppins', Arial, sans-serif !important; 
    background: #000 !important; 
    color: #fff !important; 
}

/* Prevent header from jumping during CSS load */
.top_bar { 
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    right: 0 !important; 
    z-index: 9999 !important; 
    background: transparent !important; 
    min-height: 60px !important; 
}

.standard_wrapper { 
    display: flex !important; 
    align-items: center !important; 
    justify-content: space-between !important; 
    padding: 0 30px !important; 
    min-height: inherit !important; 
}

/* Hide elements that may cause layout shift */
.page_slider, 
.rev_slider_wrapper,
#page_caption { 
    min-height: 100vh !important; 
    background: #000 !important; 
}
