/* Prompts Market - Premium Styling */

:root {
    --dark: #050505;
    --surface: #0F0F0F;
    --accent: #007AFF;
    --accent-dark: #005BBF;
    --slate: #94A3B8;
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--dark);
    font-family: var(--font-sans);
}

/* Prompt Container Customization */
#prompt-text {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
    max-height: 600px;
    overflow-y: auto;
}

#prompt-text::-webkit-scrollbar {
    width: 6px;
}

#prompt-text::-webkit-scrollbar-track {
    background: transparent;
}

#prompt-text::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

#prompt-text::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0, 0, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

/* Card Hover Effects */
.prompt-card {
    transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.prompt-card:hover {
    border-color: rgba(0, 122, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Navigation Link Hover */
.nav-link-market {
    position: relative;
}

.nav-link-market::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link-market:hover::after {
    width: 100%;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    #prompt-text {
        font-size: 13px;
        padding: 1.5rem !important;
    }
}

/* Copy Button Feedback */
.copy-success {
    color: #4ade80 !important;
    transform: scale(1.1);
}

/* Custom Selection */
::selection {
    background: rgba(0, 122, 255, 0.3);
    color: white;
}

/* Mesh Gradient for Header */
.header-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 400px;
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}