@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

@keyframes disco {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confetti-fall linear forwards;
}

.purple-slider {
    background: linear-gradient(to right, #E0B0FF, #9D4EDD, #5A189A);
}

.purple-slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFD60A;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.8);
}

.purple-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FFD60A;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.8);
    border: none;
}

.philosophy-card:hover .philosophy-card-inner {
    transform: rotateY(180deg);
}

.philosophy-card-inner {
    transform-style: preserve-3d;
}

.philosophy-card-front,
.philosophy-card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #1A1A2E;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #9D4EDD, #5A189A);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #E0B0FF, #9D4EDD);
}

/* Glow effects */
.glow-purple {
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.6);
}

/* Selection color */
::selection {
    background: #9D4EDD;
    color: white;
}

/* Responsive text */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }
    h2 {
        font-size: 2rem !important;
    }
}