/**
 * PromptLume Component Styles
 */

/* Navbar - Banana Prompts tarzı: beyaz pill, floating, profesyonel */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-3) var(--spacing-4);
    background: transparent !important;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar > .container {
    background: #FFFFFF !important;
    border-radius: 9999px;
    padding: var(--spacing-2) var(--spacing-6);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.15);
    max-width: 1280px;
    margin: 0 auto;
}

.navbar:hover > .container {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease; /* GPU-optimized transitions */
    font-family: var(--font-heading);
    position: relative;
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-lg);
    will-change: transform; /* GPU acceleration */
}

.logo::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4));
    border-radius: var(--radius-lg);
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
    transition: opacity 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover::before {
    opacity: 1;
}

.logo-text {
    color: #0F172A;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-logo-img {
    filter: none;
    transition: opacity 0.2s ease;
}

.logo:hover .site-logo-img {
    opacity: 0.85;
}

.nav-link {
    padding: var(--spacing-2) var(--spacing-4);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: var(--font-medium);
    border-radius: var(--radius-md);
    position: relative;
}

.nav-link:hover {
    color: #6366F1;
    background: #F1F5F9;
}

.nav-link.active {
    color: #6366F1;
    background: #EEF2FF;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-purple);
    border-radius: var(--radius-full);
    box-shadow: 0 0 8px rgba(147, 51, 234, 0.8);
}

.search-container {
    position: relative;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    padding-left: var(--spacing-10);
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: #0F172A;
    transition: all 0.2s ease;
}

.search-input:focus {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}

.search-icon {
    position: absolute;
    left: var(--spacing-3);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: var(--text-xl);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--error);
    color: white;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Info Box */
/* Info Box - Transparent Background, No Container */
#info-boxes {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#info-boxes .container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#info-boxes .container > div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Info Box - Profesyonel beyaz tema (ipuçları bölümü) */
.info-box {
    background: #FFFFFF !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-4);
    padding: var(--spacing-5);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    animation: slideInDown 0.5s var(--ease-out);
    margin-bottom: var(--spacing-4);
}

.info-box-red {
    border-left: 4px solid var(--error) !important;
    background: rgba(239, 68, 68, 0.05) !important;
}

.info-box-blue {
    border-left: 4px solid var(--info) !important;
    background: rgba(59, 130, 246, 0.05) !important;
}

.info-box-green {
    border-left: 4px solid var(--success) !important;
    background: rgba(34, 197, 94, 0.05) !important;
}

.info-box-purple {
    border-left: 4px solid var(--primary-purple) !important;
    background: rgba(124, 58, 237, 0.05) !important;
}

.info-box-icon {
    font-size: var(--text-3xl);
    flex-shrink: 0;
}

.info-box-content {
    flex: 1;
}

.info-box-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--spacing-2);
    color: var(--text-primary);
}

.info-box-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.info-box-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: var(--text-2xl);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-base);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-box-close:hover {
    opacity: 1;
}

.info-box.closing {
    animation: slideUp 0.3s var(--ease-in) forwards;
}

/* Prompt Card - Professional White Design (Pinterest/Referans style) */
.prompt-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

/* Dark mode card override */
[data-theme="dark"] .prompt-card,
.theme-dark .prompt-card {
    background: rgba(20, 27, 45, 0.6);
    border: 1px solid rgba(147, 51, 234, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.prompt-card-3d {
    /* Subtle animation - disabled for cleaner look, enable if preferred */
    animation: none;
}

.prompt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 58, 237, 0.4);
    cursor: pointer;
}

[data-theme="dark"] .prompt-card:hover,
.theme-dark .prompt-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 24px rgba(147, 51, 234, 0.2);
    border-color: rgba(147, 51, 234, 0.5);
}

.prompt-card:hover .neon-glow {
    opacity: 0;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.prompt-card::before {
    display: none; /* Disabled for clean design */
}

.prompt-card:hover::before {
    display: none;
}

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Premium Prompt Card Styles */
.prompt-card.premium {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
                linear-gradient(135deg, #F59E0B, #EF4444, #F59E0B, #FCD34D, #F59E0B) border-box;
    background-size: 300% 300%;
    animation: premiumBorderGlow 3s ease infinite;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

.prompt-card.premium::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(239, 68, 68, 0.3), rgba(245, 158, 11, 0.3));
    background-size: 300% 300%;
    opacity: 0.6;
    z-index: -1;
    filter: blur(15px);
    animation: premiumBorderGlow 3s ease infinite;
}

.prompt-card.premium:hover {
    transform: translateY(-12px) rotateX(2deg) rotateY(-2deg) scale(1.03);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(245, 158, 11, 0.6),
        0 0 80px rgba(239, 68, 68, 0.4),
        inset 0 0 40px rgba(245, 158, 11, 0.2);
    border-color: transparent;
}

@keyframes premiumBorderGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.premium-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    padding: 2px 6px;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 50%, #FCD34D 100%);
    background-size: 200% 200%;
    color: white;
    font-size: 8px;
    font-weight: var(--font-bold);
    border-radius: 4px;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
    animation: premiumBadgePulse 2s ease infinite, premiumBadgeShine 3s linear infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

@keyframes premiumBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.8);
    }
}

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


@keyframes premiumStarSpin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.2);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.2);
    }
}

/* Premium card glow effect on thumbnail */
.prompt-card.premium .prompt-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.2));
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
    border-radius: var(--radius-xl);
}

.prompt-card.premium:hover .prompt-thumbnail::before {
    opacity: 1;
}

/* Mobile responsive premium badge - handled in mobile-fixes.css */

.prompt-badge {
    position: absolute;
    top: var(--spacing-3);
    left: var(--spacing-3);
    padding: var(--spacing-2) var(--spacing-3);
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: white;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    border-radius: var(--radius-md);
    z-index: 10;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Prompt card content area - description + Copy button (referans tasarım) */
.prompt-content {
    padding: var(--spacing-4);
    background: var(--bg-card);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}
.prompt-content .prompt-desc-preview {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prompt-content .prompt-card-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-base);
}
.prompt-content .prompt-card-copy-btn:hover {
    background: #7C3AED;
    transform: scale(1.02);
}
.prompt-content .prompt-card-copy-btn:active {
    transform: scale(0.98);
}
.prompt-card-category-badge {
    position: absolute;
    top: var(--spacing-2);
    left: var(--spacing-2);
    padding: var(--spacing-1) var(--spacing-2);
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    border-radius: var(--radius-full);
    z-index: 5;
}
.prompt-card-stats-overlay {
    position: absolute;
    top: var(--spacing-2);
    right: var(--spacing-2);
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    color: white;
    font-size: var(--text-xs);
    z-index: 5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.prompt-thumbnail {
    position: relative;
    padding-top: 120%;
    overflow: hidden;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.prompt-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.prompt-card:hover .prompt-thumbnail img {
    transform: scale(1.05);
    transition: transform var(--transition-base);
}

/* Modern Hover Overlay - Disabled for kompakt design (stats overlay kullanılıyor) */
.thumbnail-overlay {
    display: none; /* Kompakt tasarım için kaldırıldı - stats overlay kullanılıyor */
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 14, 39, 0) 0%,
        rgba(10, 14, 39, 0.4) 30%,
        rgba(10, 14, 39, 0.7) 70%,
        rgba(10, 14, 39, 0.95) 100%
    );
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: var(--spacing-6);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: inset 0 0 60px rgba(124, 58, 237, 0.2);
}

.prompt-card:hover .thumbnail-overlay {
    opacity: 1;
    box-shadow: inset 0 0 80px rgba(124, 58, 237, 0.4), 
                0 0 40px rgba(124, 58, 237, 0.3);
}

/* Overlay Content - Hidden by default, shown on hover */
.overlay-content {
    width: 100%;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.prompt-card:hover .overlay-content {
    transform: translateY(0);
    opacity: 1;
}

.overlay-title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: white;
    margin-bottom: var(--spacing-3);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(124, 58, 237, 0.6);
    letter-spacing: -0.02em;
}

.overlay-description {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-4);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.overlay-stats {
    display: flex;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-4);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.95);
    flex-wrap: wrap;
}

.overlay-stat {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
    background: rgba(124, 58, 237, 0.3);
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-weight: var(--font-medium);
}

.overlay-button {
    width: 100%;
    padding: var(--spacing-4) var(--spacing-5);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(59, 130, 246, 0.9));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    font-weight: var(--font-bold);
    font-size: var(--text-base);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5),
                0 0 30px rgba(124, 58, 237, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.overlay-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.7),
                0 0 50px rgba(124, 58, 237, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.overlay-button:hover::before {
    opacity: 1;
}

/* CapCut Video Overlay */
.capcut-thumbnail:hover .capcut-video-overlay {
    opacity: 1 !important;
}

/* Welcome Popup */
.welcome-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity var(--transition-slow) var(--ease-out);
    padding: var(--spacing-4);
}

.welcome-popup-overlay.welcome-popup-show {
    opacity: 1;
}

.welcome-popup-overlay.welcome-popup-hide {
    opacity: 0;
}

.welcome-popup-container {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: var(--shadow-2xl);
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-slow) var(--ease-out);
    overflow: hidden;
}

.welcome-popup-overlay.welcome-popup-show .welcome-popup-container {
    transform: scale(1);
}

.welcome-popup-overlay.welcome-popup-hide .welcome-popup-container {
    transform: scale(0.9);
}

.welcome-popup-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.welcome-popup-theme-purple::before {
    background: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
}

.welcome-popup-theme-blue::before {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
}

.welcome-popup-theme-green::before {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

.welcome-popup-theme-red::before {
    background: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%);
}

.welcome-popup-close {
    position: absolute;
    top: var(--spacing-3);
    right: var(--spacing-3);
    background: rgba(148, 163, 184, 0.2);
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--text-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 10;
    line-height: 1;
}

.welcome-popup-close:hover {
    background: rgba(148, 163, 184, 0.3);
    transform: scale(1.1);
}

.welcome-popup-content {
    padding: var(--spacing-6);
}

.welcome-popup-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0 0 var(--spacing-4) 0;
    line-height: 1.3;
}

.welcome-popup-message {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-6);
    white-space: pre-wrap;
}

.welcome-popup-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.welcome-popup-checkbox {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    cursor: pointer;
}

.welcome-popup-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-purple);
}

.welcome-popup-button {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-6);
    font-weight: var(--font-semibold);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .welcome-popup-container {
        max-width: 90%;
        margin: var(--spacing-4);
    }
    
    .welcome-popup-content {
        padding: var(--spacing-5);
    }
    
    .welcome-popup-title {
        font-size: var(--text-xl);
    }
    
    .welcome-popup-close {
        width: 44px;
        height: 44px;
        font-size: var(--text-3xl);
    }
}

/* Kompakt Prompt Card Styling - "Senin İçin Öneriler" kartları gibi */
.prompt-content {
    padding: var(--spacing-2);
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
}

.prompt-category {
    display: inline-block;
    padding: 1px 5px;
    background: var(--primary-purple);
    color: white;
    font-size: 9px;
    font-weight: var(--font-medium);
    border-radius: 3px;
    margin-bottom: 4px;
    text-decoration: none;
    transition: all var(--transition-base);
    align-self: flex-start;
}

.prompt-category:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.5);
}

.prompt-title {
    font-size: 11px;
    font-weight: var(--font-semibold);
    margin-bottom: 0;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    line-height: 1.3;
    transition: color var(--transition-base);
    flex: 1;
}

.prompt-title:hover {
    color: var(--primary-purple);
}

.prompt-description {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    flex: 1;
}

.prompt-stats {
    display: flex;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-2);
    flex-wrap: wrap;
    padding: var(--spacing-2);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: var(--font-medium);
}

.stat span:first-child {
    font-size: var(--text-base);
}

.prompt-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-4);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.prompt-date {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.prompt-actions {
    display: flex;
    gap: var(--spacing-2);
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    font-size: var(--text-lg);
}

.btn-icon:hover {
    background: var(--primary-purple);
    color: white;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.btn-favorite.active {
    background: linear-gradient(135deg, var(--error) 0%, #F59E0B 100%);
    color: white;
}

.btn-favorite.active:hover {
    background: linear-gradient(135deg, #DC2626 0%, #F59E0B 100%);
    transform: scale(1.15) translateY(-2px);
}

/* Activity Feed */
.activity-feed {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-5);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-4);
}

.feed-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--text-primary);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: var(--text-sm);
    color: var(--accent-green);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.activity-item {
    display: flex;
    gap: var(--spacing-3);
    padding: var(--spacing-3);
    border-radius: var(--radius-md);
    transition: background var(--transition-base);
    animation: slideInRight 0.5s var(--ease-out);
}

.activity-item:hover {
    background: rgba(148, 163, 184, 0.05);
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.activity-user {
    color: var(--primary-purple);
    font-weight: var(--font-semibold);
}

.activity-time {
    font-size: var(--text-xs);
    color: var(--text-muted);
    display: block;
    margin-top: var(--spacing-1);
}

.activity-icon {
    font-size: var(--text-xl);
    color: var(--text-muted);
}

/* Chatbot Widget */
.chatbot-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: var(--text-2xl);
    cursor: pointer;
    box-shadow: var(--shadow-xl), var(--glow-purple);
    transition: all var(--transition-base);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary-purple);
    animation: pulseRing 2s infinite;
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 600px;
    max-height: calc(100vh - 150px);
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    animation: scaleIn 0.3s var(--ease-out);
    z-index: 9998;
}

.chatbot-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-4);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chatbot-close-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-4);
}

.message {
    display: flex;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-3);
    animation: messageSlideIn 0.3s var(--ease-out);
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.message-content {
    background: var(--bg-tertiary);
    padding: var(--spacing-3);
    border-radius: var(--radius-lg);
    max-width: 75%;
    color: var(--text-primary);
    font-size: var(--text-sm);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: var(--primary-purple);
    color: white;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: var(--spacing-2);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-purple);
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.chatbot-input {
    display: flex;
    gap: var(--spacing-2);
    padding: var(--spacing-4);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.chatbot-input input {
    flex: 1;
    padding: var(--spacing-3);
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: var(--text-sm);
}

.chatbot-input input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.send-btn {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    cursor: pointer;
    transition: transform var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-3) var(--spacing-6);
    min-height: 44px; /* WCAG 2.1 Touch Target - Minimum 44x44px */
    min-width: 44px; /* WCAG 2.1 Touch Target - Minimum 44x44px */
    border-radius: var(--radius-lg);
    font-weight: var(--font-semibold);
    transition: all var(--transition-base) var(--ease-in-out);
    border: none;
    cursor: pointer;
    font-size: var(--text-base);
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow) var(--ease-out),
                height var(--transition-slow) var(--ease-out);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 50%, #3B82F6 100%);
    background-size: 200% 200%;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 6px 20px rgba(147, 51, 234, 0.6),
        0 0 30px rgba(147, 51, 234, 0.4),
        0 0 50px rgba(147, 51, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.6),
                0 0 40px rgba(147, 51, 234, 0.4),
                0 0 60px rgba(59, 130, 246, 0.3),
                0 0 80px rgba(139, 92, 246, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
    background-position: 100% 50%;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(147, 51, 234, 0.5),
                0 0 20px rgba(147, 51, 234, 0.3),
                inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary:active::after {
    content: '✓';
    display: inline-block;
    margin-left: 8px;
    font-size: 1.1em;
    animation: checkmark 0.3s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-outline:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(59, 130, 246, 0.2));
    color: white;
    border-color: rgba(147, 51, 234, 0.8);
    border-width: 2px;
    box-shadow: 0 0 25px rgba(147, 51, 234, 0.5),
                0 0 40px rgba(147, 51, 234, 0.3),
                0 0 60px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.4),
                0 0 25px rgba(147, 51, 234, 0.2);
}

.btn-outline:active::after {
    content: '✓';
    display: inline-block;
    margin-left: 8px;
    font-size: 1.1em;
    animation: checkmark 0.3s ease;
}

.btn-outline:hover::after {
    left: 100%;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Glassmorphism */
.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-strong {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Links */
.link {
    position: relative;
    color: var(--primary-purple);
    text-decoration: none;
    transition: color var(--transition-base);
}

.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width var(--transition-base) var(--ease-out);
}

.link:hover {
    color: var(--primary-blue);
}

.link:hover::after {
    width: 100%;
}

/* Cards */
.card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all var(--transition-base) var(--ease-out);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl), var(--glow-purple);
    border-color: var(--primary-purple);
}

/* Form Input - Profesyonel (light varsayılan) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    background: var(--bg-card) !important;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    padding: var(--spacing-3) var(--spacing-4);
    font-size: var(--text-base);
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border: 2px solid rgba(124, 58, 237, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
    background: var(--bg-card) !important;
}

/* Dark mode form overrides */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="search"],
[data-theme="dark"] textarea,
[data-theme="dark"] select,
.theme-dark input[type="text"],
.theme-dark input[type="email"],
.theme-dark input[type="password"],
.theme-dark input[type="search"],
.theme-dark textarea,
.theme-dark select {
    background: rgba(20, 27, 45, 0.6) !important;
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus,
.theme-dark input:focus,
.theme-dark textarea:focus,
.theme-dark select:focus {
    background: rgba(20, 27, 45, 0.9) !important;
}

/* Neon Glow Utility Classes */
.neon-border-blue {
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4),
                0 0 30px rgba(59, 130, 246, 0.2);
}

.neon-border-purple {
    border: 2px solid rgba(147, 51, 234, 0.6);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.4),
                0 0 30px rgba(147, 51, 234, 0.2);
}

.neon-border-teal {
    border: 2px solid rgba(20, 184, 166, 0.6);
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.4),
                0 0 30px rgba(20, 184, 166, 0.2);
}

.neon-border-blue:hover {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6),
                0 0 50px rgba(59, 130, 246, 0.4),
                0 0 75px rgba(59, 130, 246, 0.2);
}

.neon-border-purple:hover {
    box-shadow: 0 0 25px rgba(147, 51, 234, 0.6),
                0 0 50px rgba(147, 51, 234, 0.4),
                0 0 75px rgba(147, 51, 234, 0.2);
}

.neon-border-teal:hover {
    box-shadow: 0 0 25px rgba(20, 184, 166, 0.6),
                0 0 50px rgba(20, 184, 166, 0.4),
                0 0 75px rgba(20, 184, 166, 0.2);
}

/* Premium Code Editor Styling - Prompt Detail */
.prompt-code-editor {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 2px solid rgba(20, 184, 166, 0.4) !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(20, 184, 166, 0.3),
        0 0 50px rgba(20, 184, 166, 0.15),
        inset 0 0 20px rgba(20, 184, 166, 0.1) !important;
    color: rgba(203, 213, 225, 0.95) !important;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace !important;
    position: relative;
    counter-reset: line-number;
}

.prompt-code-editor:hover {
    border-color: rgba(20, 184, 166, 0.7) !important;
    box-shadow: 
        0 6px 30px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(20, 184, 166, 0.5),
        0 0 80px rgba(20, 184, 166, 0.3),
        0 0 120px rgba(59, 130, 246, 0.2),
        inset 0 0 30px rgba(20, 184, 166, 0.15) !important;
}

.prompt-code-editor code#prompt-text {
    display: block;
    color: rgba(203, 213, 225, 0.95) !important;
    font-family: inherit !important;
    position: relative;
    padding-left: 0 !important;
}

.prompt-code-editor code#prompt-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        rgba(20, 184, 166, 0.8) 0%, 
        rgba(59, 130, 246, 0.6) 50%, 
        rgba(20, 184, 166, 0.8) 100%);
    border-radius: 2px;
    opacity: 0.6;
}

/* Line numbers effect (visual only, doesn't affect copy) */
.prompt-code-editor::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(20, 184, 166, 0.2);
    pointer-events: none;
    opacity: 0.5;
}

/* Toast */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    min-width: 300px;
    padding: var(--spacing-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid;
    animation: toastSlideIn 0.3s var(--ease-out);
    z-index: 10000;
    color: var(--text-primary);
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--error);
}

.toast.warning {
    border-color: var(--warning);
}

.toast.info {
    border-color: var(--info);
}

.toast.removing {
    animation: toastSlideOut 0.3s var(--ease-in);
}

/* Copy Button */
.copy-btn {
    transition: all var(--transition-base);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.copied {
    background: var(--success);
    animation: successPulse 0.5s var(--ease-bounce);
}

/* Favorite Button */
.favorite-btn .heart {
    transition: all var(--transition-base);
}

.favorite-btn:hover .heart {
    transform: scale(1.2);
}

.favorite-btn.active .heart {
    fill: var(--error);
    animation: heartBeat 0.6s var(--ease-bounce);
}

/* Chatbot Quick Actions */
.chatbot-quick-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
    margin-top: var(--spacing-3);
    padding: var(--spacing-2) 0;
}

.chatbot-quick-action-btn {
    padding: var(--spacing-2) var(--spacing-3);
    background: var(--bg-tertiary);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-family: var(--font-primary);
}

.chatbot-quick-action-btn:hover {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
    transform: translateX(4px);
}

.chatbot-quick-action-btn:active {
    transform: translateX(2px);
}
