/* ==========================================================================
   KOLsHub Global Styles
   ========================================================================== */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@700;800;900&family=Poppins:wght@400;600;700&display=swap');

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes float {
    0%, 100% { 
        transform: translateY(0) translateX(0); 
    }
    33% { 
        transform: translateY(-30px) translateX(20px); 
    }
    66% { 
        transform: translateY(10px) translateX(-10px); 
    }
}

@keyframes glow-pulse {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.1); 
    }
}

@keyframes shimmer {
    0% { 
        background-position: -1000px 0; 
    }
    100% { 
        background-position: 1000px 0; 
    }
}

@keyframes gradient-shift {
    0% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
    100% { 
        background-position: 0% 50%; 
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from { 
        transform: scale(0.8); 
        opacity: 0; 
    }
    to { 
        transform: scale(1); 
        opacity: 1; 
    }
}

@keyframes slide-in-left {
    from { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slide-in-right {
    from { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes marquee {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-33.333%); 
    }
}

@keyframes bounce-soft {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes countUp {
    from { 
        opacity: 0; 
        transform: scale(0.5); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow-pulse 3s ease-in-out infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

.fade-in {
    animation: fade-in-up 0.8s ease-out forwards;
}

.scale-in {
    animation: scale-in 0.6s ease-out forwards;
}

.slide-in-left {
    animation: slide-in-left 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slide-in-right 0.8s ease-out forwards;
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

.bounce-soft {
    animation: bounce-soft 2s ease-in-out infinite;
}

.count-up {
    animation: countUp 0.6s ease-out forwards;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.neon-border {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5), 
                inset 0 0 20px rgba(139, 92, 246, 0.1);
}

.hover-lift {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.7);
}

.gradient-text {
    background: linear-gradient(to right, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Custom Cursor (Optional - can be disabled)
   ========================================================================== */

.custom-cursor {
    cursor: none !important;
}

.custom-cursor * {
    cursor: none !important;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.font-spartan {
    font-family: 'League Spartan', sans-serif;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   Smooth Scrolling
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Selection Color
   ========================================================================== */

::selection {
    background-color: rgba(139, 92, 246, 0.3);
    color: white;
}

::-moz-selection {
    background-color: rgba(139, 92, 246, 0.3);
    color: white;
}

/* ==========================================================================
   Scrollbar Styling (Webkit browsers)
   ========================================================================== */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a78bfa;
}

/* ==========================================================================
   Blog Prose Styles
   ========================================================================== */

.prose {
    max-width: 800px;
    margin: 0 auto;
}

.prose h2 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #a78bfa;
}

.prose h3 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: white;
}

.prose p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.prose ul, .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.75rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.prose strong {
    color: white;
    font-weight: 700;
}

.prose blockquote {
    border-left: 4px solid #a78bfa;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #94a3b8;
}

.prose table {
    width: 100%;
    margin: 2rem 0;
}

.prose table th {
    text-align: left;
    padding: 1rem;
    font-weight: 700;
}

.prose table td {
    padding: 1rem;
}

/* ==========================================================================
   Callout Boxes
   ========================================================================== */

.callout {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid #8b5cf6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
}

.callout.warning {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
}

.callout.success {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid #22c55e;
}

.callout.info {
    background: rgba(6, 182, 212, 0.1);
    border-left: 4px solid #06b6d4;
}

/* ==========================================================================
   Responsive Design Helpers
   ========================================================================== */

@media (max-width: 768px) {
    .prose h2 {
        font-size: 1.75rem;
    }
    
    .prose h3 {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .no-print {
        display: none !important;
    }
}