/*!
 * TriviPals Homepage Fix - Remove Excessive Blur Effects
 * Clean, crisp, professional design without blur disasters
 */

/* Remove ALL backdrop blur effects that are causing the blurry appearance */
.hero-section * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Clean, crisp hero section design */
.hero-section {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 25%, #ec4899 50%, #06b6d4 75%, #84cc16 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Clean hero badge without blur */
.hero-section .badge {
    background: rgba(255,255,255,0.2) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* Clean stat items without blur */
.stat-item {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 16px !important;
    padding: 1.5rem 1rem !important;
}

/* Clean quick join card without excessive blur */
.quick-join-card {
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}

/* Ensure crisp text rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Clean button styles */
.btn-hero {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.btn-hero-primary {
    background: rgba(255,255,255,0.95) !important;
    color: #6366f1 !important;
    border: 2px solid rgba(255,255,255,0.9) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.btn-hero-outline {
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    border: 2px solid rgba(255,255,255,0.8) !important;
    box-shadow: none !important;
}

/* Feature cards without blur */
.feature-cards .card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Remove any other blur effects */
.card,
.modal-content,
.navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Ensure sharp, clean design */
.hero-content,
.hero-title,
.hero-description {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

/* Mobile optimization without blur */
@media (max-width: 768px) {
    .stat-item {
        padding: 1rem 0.75rem !important;
    }
    
    .quick-join-card .card-body {
        padding: 2rem 1.5rem !important;
    }
}

/* Remove any transform effects that might cause blurriness */
.card:hover {
    transform: none !important;
}

.btn:hover {
    transform: none !important;
}

/* Ensure all animations are smooth and not causing blur */
@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: slideInLeft 0.8s ease-out;
    }
    
    .hero-visual {
        animation: slideInRight 0.8s ease-out;
    }
    
    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}