/* Hexagon SVG Loader Animation */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #191919;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1), opacity 0.8s ease;
}

#loader-wrapper.loaded {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.loader-content {
    width: 120px;
    height: 120px;
    position: relative;
}

#hexagon {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}

#hexagon polygon {
    animation: dash 1.5s ease-in-out forwards;
    transform-origin: 50px 50px;
}

#hexagon text {
    opacity: 0;
    animation: fadeAndScaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
    transform-origin: 50px 50px;
}

@keyframes dash {
    0% {
        stroke-dashoffset: 300;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeAndScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
