/* 08rj Theme Styles */

/* Base Styles */
body {
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Glass Navigation */
.glass-nav {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.85);
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Hero Background */
.hero-bg {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 50%, #dbeafe 100%);
}

/* Category Tag */
.category-tag {
    transition: all 0.2s ease;
}

.category-tag:hover {
    transform: translateY(-1px);
}

/* Search Input */
.search-input:focus {
    outline: none;
}

/* Blob Animation */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Article Content Styles */
.article-content {
    color: #374151;
    line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #111827;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.article-content h1 {
    font-size: 1.875rem;
}

.article-content h2 {
    font-size: 1.5rem;
}

.article-content h3 {
    font-size: 1.25rem;
}

.article-content p {
    margin-bottom: 1em;
}

.article-content a {
    color: #00aaff;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1em 0;
}

.article-content ul,
.article-content ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.article-content li {
    margin-bottom: 0.5em;
}

.article-content pre {
    background: #1f2937;
    color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1em 0;
}

.article-content code {
    background: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.article-content pre code {
    background: transparent;
    padding: 0;
}

.article-content blockquote {
    border-left: 4px solid #00aaff;
    padding-left: 1rem;
    margin: 1em 0;
    color: #6b7280;
    font-style: italic;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

.article-content th,
.article-content td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.article-content th {
    background: #f9fafb;
    font-weight: 600;
}

/* Line Clamp */
.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;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Selection */
::selection {
    background: #00aaff;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-bg {
        height: auto;
        min-height: 300px;
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    
    .glass-nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}

/* Print Styles */
@media print {
    .glass-nav,
    footer {
        display: none;
    }
    
    .hero-bg {
        background: none;
        height: auto;
        min-height: auto;
    }
    
    .animate-blob {
        animation: none;
    }
}
