.post-detail-container {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    min-height: 100vh;
    backdrop-filter: blur(10px);
}

/* Glassmorphism Cards */
.compact-user-profile,
.comment-form-card,
.comment-card,
.photo-card,
.alert-info {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.compact-user-profile:hover,
.comment-form-card:hover,
.comment-card:hover,
.photo-card:hover {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Glassmorphism Buttons */
.compact-portfolio-btn,
.btn-primary {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    color: #6366f1;
    font-weight: 600;
    transition: all 0.3s ease;
}

.compact-portfolio-btn:hover,
.btn-primary:hover {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #4f46e5;
    transform: translateY(-1px);
}

/* Text Styling for Glassmorphism */
.compact-username,
.section-title,
h1,
.post-description,
.compact-user-meta,
.compact-badge,
.compact-bio {
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.compact-badge {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Photo Overlay Enhancement */
.photo-overlay {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(236, 72, 153, 0.8));
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

/* Comment Section Enhancement */
.comments-section {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Form Styling */
.comment-form textarea {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    color: #333;
    transition: all 0.3s ease;
}

.comment-form textarea:focus {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.comment-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

/* Alert Styling */
.alert-info {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #333;
}

.alert-info .alert-link {
    color: #6366f1;
    font-weight: 600;
}

/* Lightbox Enhancement */
.lightbox {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.lightbox-content {
    background: transparent;
    border-radius: 20px;
}

.lightbox-nav {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Badge Styling */
.badge.bg-primary {
    background: rgba(99, 102, 241, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Animation Enhancement */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Masonry Grid Enhancement */
.masonry-grid {
    gap: 1.5rem;
}

.masonry-item {
    border-radius: 16px;
    overflow: hidden;
}

/* Horizontal Line Enhancement */
.flex-grow-1 {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent) !important;
    height: 3px !important;
    border-radius: 2px;
}