/* ========================================
   BLOG SYSTEM STYLES
   Inherits from main style.css
   ======================================== */

/* === Blog Page Layout === */
.blog-page {
    min-height: 100vh;
    padding-top: 100px;
}

/* === Blog Header === */
.blog-hero {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.blog-hero .section-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 16px;
    opacity: 0.8;
}

.blog-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.blog-hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === Blog Filter & Search === */
.blog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.blog-search {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.blog-search input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.blog-search input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.blog-search input::placeholder {
    color: var(--text-tertiary);
}

.blog-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
}

.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-tag-btn {
    padding: 6px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.blog-tag-btn:hover,
.blog-tag-btn.active {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* === Blog Post Cards === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(124, 58, 237, 0.08);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-cover {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.blog-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-cover-placeholder {
    font-size: 3rem;
    opacity: 0.5;
}

.blog-card-cover-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.3) 0%, transparent 50%);
    background-size: 100% 100%;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: var(--text-tertiary);
}

.blog-card-meta svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.blog-card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--accent-primary);
}

.blog-card-summary {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.blog-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-card-tag {
    padding: 3px 10px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
}

.blog-card-readmore {
    font-size: 0.85rem;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-card-readmore {
    gap: 10px;
}

.blog-card-readtime {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* === Blog Empty State === */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-tertiary);
}

.blog-empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.blog-empty-text {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.blog-empty-hint {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* === Blog Loading === */
.blog-loading {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-tertiary);
}

.blog-loading .loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   POST READER STYLES
   ======================================== */

/* === Post Container === */
.post-page {
    min-height: 100vh;
    padding-top: 100px;
}

.post-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* === Post Header === */
.post-header {
    text-align: center;
    padding: 40px 0 48px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 48px;
}

.post-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.3s ease;
    padding: 6px 16px;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.post-back:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.post-tags-header {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-tag {
    padding: 4px 14px;
    background: rgba(124, 58, 237, 0.12);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-primary);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.post-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* === Post Content (Markdown Rendered) === */
.post-content {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
}

.post-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.post-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
    position: relative;
}

.post-content h2::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-primary);
}

.post-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 12px;
}

.post-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 10px;
}

.post-content p {
    margin: 0 0 20px;
}

.post-content a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}

.post-content a:hover {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
}

.post-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.post-content em {
    color: var(--text-tertiary);
    font-style: italic;
}

.post-content blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    border-left: 3px solid var(--accent-primary);
    background: rgba(124, 58, 237, 0.06);
    border-radius: 0 12px 12px 0;
    color: var(--text-secondary);
    font-style: italic;
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content ul,
.post-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
    position: relative;
}

.post-content ul li::marker {
    color: var(--accent-primary);
}

.post-content ol li::marker {
    color: var(--accent-primary);
    font-weight: 600;
}

.post-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
    border: 1px solid var(--border-color);
}

.post-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 40px 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}

.post-content thead th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--accent-primary);
}

.post-content tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
}

.post-content tbody tr:hover {
    background: rgba(124, 58, 237, 0.04);
}

/* === Code Blocks === */
.post-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88em;
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-secondary);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(124, 58, 237, 0.12);
}

.post-content pre {
    margin: 24px 0;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    position: relative;
    background: #1a1b26;
    border: 1px solid var(--border-color);
    border-top: none;
}

.post-content pre code {
    display: block;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #abb2bf;
    font-size: 0.88rem;
    line-height: 1.7;
    overflow-x: auto;
}

/* Override highlight.js background to match our theme */
.post-content pre code.hljs {
    background: #1a1b26;
    padding: 20px 24px;
}

.post-content pre code::-webkit-scrollbar {
    height: 6px;
}

.post-content pre code::-webkit-scrollbar-track {
    background: transparent;
}

.post-content pre code::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.3);
    border-radius: 3px;
}

/* Code Block Wrapper & Toolbar */
.code-block-wrapper {
    position: relative;
    margin: 24px 0;
}

.code-block-wrapper pre {
    margin: 0;
}

.code-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #13141f;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.code-lang-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.code-toolbar-btns {
    display: flex;
    gap: 6px;
    align-items: center;
}

.code-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-tertiary);
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
}

.code-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Run button - green accent */
.code-run-btn {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.25);
}

.code-run-btn:hover {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

/* Playground button - blue accent */
.code-playground-btn {
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.25);
}

.code-playground-btn:hover {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.4);
}

/* Copy button */
.code-copy-btn {
    position: static;
    opacity: 1;
}

.code-copy-btn.copied {
    color: #10b981 !important;
    border-color: rgba(16, 185, 129, 0.4);
}

/* Code Output Panel */
.code-output {
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 400px; }
}

.code-output-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.08);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #10b981;
}

.code-output-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s;
}

.code-output-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.code-output-body {
    padding: 12px 16px;
    background: #0d1117;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #c9d1d9;
    max-height: 300px;
    overflow-y: auto;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.code-output-error {
    color: #f85149;
}

.code-output-warn {
    color: #d29922;
}

.code-output-return {
    color: #58a6ff;
    opacity: 0.8;
}

.code-output-empty {
    color: var(--text-tertiary);
    opacity: 0.6;
    font-style: italic;
}

/* === Post Footer === */
.post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.post-nav-item {
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.post-nav-item.next {
    text-align: right;
}

.post-nav-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-nav-item.next .post-nav-label {
    justify-content: flex-end;
}

.post-nav-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* === Post Share === */
.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.post-share-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.post-share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-share-btn:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* === Table of Contents === */
.toc-sidebar {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    max-height: 60vh;
    overflow-y: auto;
    padding: 16px;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 220px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.toc-sidebar.visible {
    opacity: 1;
    pointer-events: auto;
}

.toc-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 2px;
}

.toc-list a {
    display: block;
    padding: 4px 12px;
    font-size: 0.82rem;
    color: var(--text-tertiary);
    text-decoration: none;
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.toc-list a:hover {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.06);
}

.toc-list a.active {
    color: var(--accent-primary);
    border-left-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.08);
}

.toc-list .toc-h3 {
    padding-left: 24px;
    font-size: 0.78rem;
}

/* === Reading Progress === */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    z-index: 1000;
    transition: width 0.1s linear;
}

/* === Responsive === */
@media (max-width: 1280px) {
    .toc-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-search {
        max-width: 100%;
    }

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-content {
        font-size: 1rem;
    }

    .post-header {
        padding: 20px 0 32px;
    }
}

@media (max-width: 480px) {
    .blog-card-cover {
        height: 160px;
    }

    .blog-card-body {
        padding: 16px;
    }

    .blog-card-footer {
        padding: 12px 16px;
    }
}

/* === Image Lightbox === */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 1px rgba(124, 58, 237, 0.3);
    transition: transform 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-caption {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
    max-width: 600px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: rotate(90deg);
}

.lightbox-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    letter-spacing: 0.5px;
    opacity: 1;
    transition: opacity 0.5s ease 2s;
    pointer-events: none;
}

.lightbox-overlay.active .lightbox-hint {
    animation: hintFade 3s forwards;
}

@keyframes hintFade {
    0%, 60% { opacity: 1; }
    100% { opacity: 0; }
}

/* Post body images hover effect */
.post-body img {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
}

.post-body img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}
