/* Truth Slinger X Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&family=Georgia:wght@400;700&display=swap');

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prose {
    line-height: 1.8;
    font-size: 1.125rem;
}

.prose p {
    margin-bottom: 1.5em;
}

.prose h1, .prose h2, .prose h3 {
    margin-top: 2.5em;
    margin-bottom: 1.25em;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.prose h1 {
    font-size: 1.75em;
    color: #dc2626;
}

.prose h2 {
    font-size: 1.5em;
    color: #1e40af;
}

.prose h3 {
    font-size: 1.25em;
    color: #f59e0b;
}

.prose ul, .prose ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.prose li {
    margin: 0.75em 0;
}

.prose blockquote {
    border-left: 4px solid #dc2626;
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: italic;
    background: rgba(220, 38, 38, 0.05);
    padding: 1em 1.5em;
    border-radius: 0 8px 8px 0;
}

.prose strong {
    color: #dc2626;
    font-weight: 800;
}

.prose em {
    color: #1e40af;
}

/* Enhanced Typewriter Effect */
.typewriter-content {
    position: relative;
}

.typewriter-cursor::after {
    content: '│';
    color: #dc2626;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Truth Mode Enhancements */
.truth-mode-bg {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.truth-glow {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.truth-pulse {
    animation: truth-pulse 2s ease-in-out infinite;
}

@keyframes truth-pulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(220, 38, 38, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.8), 0 0 30px rgba(220, 38, 38, 0.4);
    }
}

/* Enhanced Button Effects */
.truth-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.truth-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.truth-button:hover::before {
    left: 100%;
}

/* Enhanced Card Hover Effects */
.truth-card {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.truth-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Progress Bar Animation */
.progress-bar {
    background: linear-gradient(90deg, #dc2626, #f59e0b, #dc2626);
    background-size: 200% 100%;
    animation: progress-shimmer 2s ease-in-out infinite;
}

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

/* Custom Scrollbar for Truth Mode */
.truth-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.truth-scrollbar::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.truth-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #dc2626, #b91c1c);
    border-radius: 4px;
}

.truth-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #f87171, #dc2626);
}

/* Enhanced Typography */
.font-truth {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    letter-spacing: -0.025em;
}

/* Truth Mode Dark Theme Overrides */
.dark .bg-white {
    background-color: #1f2937;
}

.dark .text-gray-900 {
    color: #f9fafb;
}

.dark .text-gray-800 {
    color: #e5e7eb;
}

.dark .text-gray-700 {
    color: #d1d5db;
}

.dark .text-gray-600 {
    color: #9ca3af;
}

.dark .border-gray-200 {
    border-color: #374151;
}

.dark .border-gray-300 {
    border-color: #4b5563;
}

.dark .bg-gray-100 {
    background-color: #374151;
}

.dark .bg-gray-50 {
    background-color: #111827;
}

/* Truth Mode Specific Overrides */
.truth-mode .bg-white {
    background-color: #000000 !important;
    border: 2px solid #dc2626 !important;
}

.truth-mode .text-gray-900,
.truth-mode .text-gray-800,
.truth-mode .text-gray-700 {
    color: #ffffff !important;
}

.truth-mode .text-gray-600,
.truth-mode .text-gray-500 {
    color: #e5e7eb !important;
}

.truth-mode .border-gray-200,
.truth-mode .border-gray-300 {
    border-color: #dc2626 !important;
}

.truth-mode .bg-gray-100 {
    background-color: #1f2937 !important;
}

.truth-mode .bg-gray-50 {
    background-color: #000000 !important;
}

/* enhanced animations for dramatic effect */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.6), 0 0 30px rgba(220, 38, 38, 0.3);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .prose {
        font-size: 1rem;
    }
    
    .font-truth {
        letter-spacing: -0.015em;
    }
}

/* Focus States for Accessibility */
.truth-focus:focus {
    outline: none;
    ring: 4px;
    ring-color: rgba(220, 38, 38, 0.3);
    border-color: #dc2626;
}

/* Print Styles */
@media print {
    .truth-button,
    .nav-button,
    .action-button {
        display: none;
    }
    
    .prose {
        max-width: none;
        color: #000000;
    }
    
    .typewriter-cursor::after {
        display: none;
    }
}