/* Custom styles */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #FFFBF7 0%, #FEF7F0 100%);
}

.berry-pattern {
    background-image: 
        radial-gradient(circle at 20px 50px, rgba(236, 72, 153, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 40px 20px, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 90px 40px, rgba(107, 70, 193, 0.05) 1.5px, transparent 1.5px);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #EC4899, #6B46C1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #DB2777, #553C9A);
}

/* Berry animations */
@keyframes berryFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.berry-float {
    animation: berryFloat 3s ease-in-out infinite;
}

/* Glassmorphism effect */
.glass-morphism {
    backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(209, 213, 219, 0.3);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, #EC4899, #6B46C1, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover effects */
.hover-grow {
    transition: transform 0.2s ease-in-out;
}

.hover-grow:hover {
    transform: scale(1.05);
}

/* Code syntax highlighting simulation */
.syntax-keyword { color: #6B46C1; font-weight: 600; }
.syntax-string { color: #EC4899; }
.syntax-function { color: #3B82F6; }
.syntax-comment { color: #6B7280; font-style: italic; }

/* Berry particle effect */
@keyframes berryParticle {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-20px) scale(0.5); }
}

.berry-particle {
    animation: berryParticle 1s ease-out forwards;
}

/* Terminal cursor blink */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-cursor {
    animation: blink 1s infinite;
}

/* Responsive design helpers */
@media (max-width: 768px) {
    .grid-cols-12 {
        grid-template-columns: 1fr;
    }
    
    .col-span-3, .col-span-6 {
        grid-column: span 1;
    }
}

/* Fun loading states */
.loading-berries {
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Tooltip styles */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1F2937;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

/* Berry-themed shadows */
.shadow-berry {
    box-shadow: 0 4px 6px -1px rgba(236, 72, 153, 0.1), 0 2px 4px -1px rgba(236, 72, 153, 0.06);
}

.shadow-berry-lg {
    box-shadow: 0 10px 15px -3px rgba(107, 70, 193, 0.1), 0 4px 6px -2px rgba(107, 70, 193, 0.05);
}