/**
 * Keyboard Shortcuts Guide Styles
 * Separated from Blade template for better architecture
 */

/* Smooth transitions */
#keyboard-guide-toggle i {
    transition: transform 0.3s ease;
}

/* Clean kbd styling */
#keyboard-shortcuts-content kbd {
    transition: all 0.2s ease;
}

/* Compact group hover effects */
#keyboard-shortcuts-content .group:hover {
    transform: translateY(-1px);
}

#keyboard-shortcuts-content .group:hover i {
    transform: scale(1.1);
}

/* Responsive for clean layout */
@media (max-width: 768px) {
    #keyboard-shortcuts-content .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    #keyboard-shortcuts-content .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

#keyboard-guide-toggle:focus,
#keyboard-shortcuts-content kbd:focus {
    outline: 2px solid var(--main-color, #3b82f6);
    outline-offset: 2px;
}

/* Mobile Stats Toggle */
#mobile-stats-toggle i {
    transition: transform 0.3s ease;
}

#mobile-stats-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile stats responsive */
@media (max-width: 640px) {
    .mobile-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Modern Comments Layout */
.comment-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.comment-item:last-child {
    border-bottom: none;
}

/* Comment action buttons */
.comment-item button {
    transition: all 0.2s ease;
}

.comment-item button:hover {
    transform: translateY(-1px);
}

/* VIP Badge gradient */
.comment-item .bg-gradient-to-r {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

/* Episode badge */
.comment-item .bg-blue-500\/20 {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Comment menu dropdown */
.comment-item [id^="comment-menu-"] {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Nested comments indentation */
.comment-item.ml-8 {
    position: relative;
}

.comment-item.ml-8::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.5), transparent);
}

.comment-item.ml-16::before {
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.5), transparent);
}

.comment-item.ml-24::before {
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.5), transparent);
}


