/**
 * OurDreams Party - Main Stylesheet
 * Custom CSS Styles
 */

/* ========================================
   Custom Fonts
======================================== */
.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

.font-kanit {
    font-family: 'Kanit', sans-serif;
}

.font-charm {
    font-family: 'Charm', cursive;
}

/* ========================================
   Custom Scrollbar
======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0529;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8b5cf6, #ec4899);
    border-radius: 4px;
}

/* ========================================
   Animations
======================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    }
    50% {
        text-shadow: 0 0 40px rgba(168, 85, 247, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
    }
}

.neon-pulse {
    animation: pulse-glow 3s infinite;
}

/* ========================================
   Star Animation
======================================== */
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration) ease-in-out infinite;
}

@keyframes twinkle {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: var(--opacity);
    }
    100% {
        transform: scale(0.5);
        opacity: 0;
    }
}

/* ========================================
   Glass Effect
======================================== */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   Text Gradient
======================================== */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #c084fc, #f472b6);
}

/* ========================================
   Chat Animations
======================================== */
@keyframes message-pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.message-bubble {
    animation: message-pop 0.3s ease-out forwards;
}

.typing-dot {
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* ========================================
   Card 3D Effect (for policies)
======================================== */
.card-3d {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-3d:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px -10px rgba(168, 85, 247, 0.4);
}

/* ========================================
   Member Card (for candidates)
======================================== */
.member-card:hover img {
    transform: scale(1.1);
}

/* ========================================
   No Scrollbar for Quick Buttons
======================================== */
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
