/* Blackhole Animation Styles - Tela Inicial Completa */
/* Bloqueia scroll quando loader está ativo - SEMPRE que não tiver content-visible */
body:not(.content-visible) {
    overflow: hidden !important;
    height: 100vh !important;
    position: fixed !important;
    width: 100% !important;
    touch-action: none !important;
}

html:not(.content-visible) {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none !important;
}

#blackhole-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    will-change: opacity, visibility;
    transform: translateZ(0);
    overflow: hidden;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}

#blackhole-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#blackhole {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.centerHover {
    width: 255px;
    height: 255px;
    background-color: transparent;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -128px;
    margin-left: -128px;
    z-index: 2;
    cursor: pointer;
    line-height: 255px;
    text-align: center;
    transition: all 500ms;
}

.centerHover.open {
    opacity: 0;
    pointer-events: none;
}

.centerHover:hover span {
    color: #DDD;
}

.centerHover:hover span:before { 
    background-color: #DDD; 
}

.centerHover:hover span:after { 
    background-color: #DDD; 
}

.centerHover span {
    color: #666;
    font-family: serif;
    font-size: 17px;
    letter-spacing: 2px;
    position: relative;
    transition: all 500ms;
    white-space: nowrap;
    display: inline-block;
    font-weight: 500;
}

.centerHover span:before {
    content: '';
    display: inline-block;
    height: 1px;
    width: 16px;
    margin-right: 12px;
    margin-bottom: 4px;
    background-color: #666;
    transition: all 500ms;
}

.centerHover span:after {
    content: '';
    display: inline-block;
    height: 1px;
    width: 16px;
    margin-left: 12px;
    margin-bottom: 4px;
    background-color: #666;
    transition: all 500ms;
}

#blackhole canvas {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: auto;
    will-change: transform;
    transform: translateZ(0);
    image-rendering: optimizeSpeed;
}

/* Mobile optimizations */
@media screen and (max-width: 768px) {
    #blackhole {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
    }
    
    .centerHover {
        width: 200px;
        height: 200px;
        margin-top: -100px;
        margin-left: -100px;
        line-height: 200px;
    }
    
    .centerHover span {
        font-size: 14px;
        letter-spacing: 1.5px;
    }
}

@media screen and (max-width: 480px) {
    #blackhole {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
    }
}
