/* Custom styles for Vibe Code Deluxe - Anti-Awkward Edition */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Anti-awkwardness inspired animations */
@keyframes confidence-grow {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
}

@keyframes safe-glow {
    0%, 100% {
        box-shadow: 0 0 0 1px #10B981;
    }
    50% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3);
    }
}

/* Confidence building hover effects */
button:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover:not(:disabled) {
    animation: confidence-grow 0.3s ease-out;
}

button:active {
    transform: translateY(0);
}

/* Safe space indicators */
.no-small-talk-zone {
    position: relative;
    overflow: hidden;
}

.no-small-talk-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
    animation: safe-sweep 3s infinite;
}

@keyframes safe-sweep {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Warehouse-inspired visual elements with confidence twist */
@keyframes bounce-cart {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes confetti {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Confidence building progress indicators */
.vibe-meter {
    background: linear-gradient(90deg, #6B7280 0%, #2E86AB 25%, #F59E0B 75%, #10B981 100%);
    transition: all 0.5s ease;
}

.confidence-indicator {
    position: relative;
    overflow: hidden;
}

.confidence-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.confidence-indicator:hover::after {
    transform: translateX(100%);
}

/* Anti-awkward success states */
.success-bounce {
    animation: bounce-cart 0.6s ease-in-out;
}

.social-safe-glow {
    animation: safe-glow 2s infinite;
}

/* Premium gradients with confidence colors */
.gradient-confidence {
    background: linear-gradient(135deg, #2E86AB 0%, #F59E0B 50%, #10B981 100%);
}

.gradient-anti-awkward {
    background: linear-gradient(135deg, #10B981 0%, #34D399 50%, #6EE7B7 100%);
}

/* Mobile optimizations for comfortable interaction */
@media (max-width: 768px) {
    .text-4xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .text-6xl {
        font-size: 2.5rem;
        line-height: 1;
    }
    
    .px-8 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .grid-cols-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    /* Larger tap targets for mobile confidence */
    button {
        min-height: 44px;
    }
}

/* Comfortable spacing for social anxiety */
.breathing-room {
    padding: 2rem;
    margin: 1rem 0;
}

/* Loading states with encouraging messages */
.loading-confidence::after {
    content: 'Building your confidence...';
    animation: dots 1.5s infinite;
}

.loading-vibes::after {
    content: 'Generating anti-awkward vibes...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow: .25em 0 0 rgba(0,0,0,0),
                     .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: #2E86AB;
        text-shadow: .25em 0 0 rgba(0,0,0,0),
                     .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow: .25em 0 0 #2E86AB,
                     .5em 0 0 rgba(0,0,0,0);
    }
    80%, 100% {
        text-shadow: .25em 0 0 #2E86AB,
                     .5em 0 0 #2E86AB;
    }
}

/* Anonymous mode styling */
.anonymous-mode {
    filter: blur(0.5px);
    transition: filter 0.3s ease;
}

.anonymous-mode:hover {
    filter: blur(0px);
}

/* Confidence level indicators */
.confidence-starter {
    border-left: 4px solid #6B7280;
}

.confidence-building {
    border-left: 4px solid #2E86AB;
}

.confidence-butterfly {
    border-left: 4px solid #F59E0B;
}

.confidence-master {
    border-left: 4px solid #10B981;
}

/* Safe interaction patterns */
.safe-hover:hover {
    background-color: rgba(16, 185, 129, 0.1);
    transition: background-color 0.2s ease;
}

/* Community features styling */
.community-safe {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border: 1px solid #86EFAC;
}

/* Bulk display optimizations */
.bulk-anti-awkward {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Category lock indicators with confidence themes */
.category-locked {
    position: relative;
    opacity: 0.8;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
}

.category-unlocked {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

.category-locked::before {
    content: '🔒';
    position: absolute;
    top: -8px;
    right: -8px;
    background: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid #D1D5DB;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Success celebrations that build confidence */
.confidence-celebration {
    animation: confetti 1s ease-out;
    background: linear-gradient(135deg, #10B981, #34D399);
}

/* Gentle, non-overwhelming transitions */
.gentle-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gentle-hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}