#fenomen-cv {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999;
    background-color: #0a0010;
    cursor: none;
    margin: 0 !important;
    padding: 0 !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

#fenomen-ld {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background-color: rgba(10, 0, 16, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--text-color, #B388EE);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(179, 136, 238, 0.2);
    border-top-color: var(--text-color, #B388EE);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    text-align: center;
    opacity: 0.8;
}

@media (max-width: 768px) {
    #fenomen-cv {
        touch-action: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    #fenomen-ld {
        font-size: 1rem;
    }

    .loading-spinner {
        width: 40px;
        height: 40px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    #fenomen-cv {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: pixelated;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#fenomen-cv.active {
    animation: fadeIn 0.5s ease-in-out;
}
