/* Additional custom styles for better engagement */

/* Loading Animation */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6f00;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Post Card Hover Effects */
.post-card {
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ff6f00;
    border-radius: 5px;
}

/* Print Styles */
@media print {
    .main-navigation,
    .share-buttons,
    .related-posts,
    .author-box,
    .site-footer {
        display: none;
    }
}

/* Accessibility */
:focus {
    outline: 2px solid #ff6f00;
    outline-offset: 2px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 10px 20px;
    background: #f5f5f5;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Notification Badge */
.notification-badge {
    background: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* Trending Section */
.trending-tag {
    background: #ff6f00;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 10px;
}