/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0F0B1A;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A855F7;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

/* === COOKIE BANNER === */
#cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: rgba(15, 11, 26, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000;
    transition: bottom 0.5s ease-in-out;
    display: flex;
    justify-content: center;
}
#cookie-banner.show {
    bottom: 0;
}

/* === CUSTOM CURSOR (CROSSHAIR) === */
/* Standard: Cursor ausblenden */
body:not(.normal-cursor) {
    cursor: none;
}

/* Elemente für den Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #A855F7;
    box-shadow: 0 0 10px #A855F7, 0 0 20px #A855F7;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(168, 85, 247, 0.6);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    box-shadow: 0 0 5px rgba(168, 85, 247, 0.3);
}

/* Hover Effekt */
body:has(a:hover, button:hover, .group:hover) .cursor-outline {
    width: 50px;
    height: 50px;
    background-color: rgba(168, 85, 247, 0.1);
    border-color: #A855F7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

/* === RESTORE NORMAL CURSOR ON SPECIFIC PAGES === */
body.normal-cursor {
    cursor: auto !important;
}
body.normal-cursor .cursor-dot,
body.normal-cursor .cursor-outline {
    display: none !important;
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none; }
}