/* log_list.php 页面专用样式 */

.system-status {
    margin-top: 3rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* 轮播和文章列表的额外样式 */
.featured-section {
    margin-bottom: 3rem;
}

.slideshow-container {
    position: relative;
    background: #1a1a1a;
    border: 1px solid #00ff41;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide-content {
    display: flex;
    min-height: 300px;
}

.slide-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide:hover .slide-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 65, 0.1), transparent);
}

.slide-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-category {
    margin-bottom: 1rem;
}

.category-tag {
    background: rgba(0, 255, 65, 0.2);
    color: #00ff41;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 1rem;
}

.slide-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.slide-title a {
    color: #ffffff;
    text-decoration: none;
}

.slide-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.slide-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #888888;
}

.slideshow-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #00ff41;
}

.slide-btn {
    background: transparent;
    border: 1px solid #00ff41;
    color: #00ff41;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background: #00ff41;
    color: #000000;
    box-shadow: 0 0 15px #00ff41;
}

.slide-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: #00ff41;
    box-shadow: 0 0 10px #00ff41;
}

.post-card {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    overflow: visible;
    transition: all 0.3s ease;
    position: relative;
}

.post-card:hover {
    border-color: #00ff41;
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.3);
}

.post-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff41, transparent, #00ff41);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .slide-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .slide-info {
        padding: 1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .slideshow-controls {
        position: static;
        transform: none;
        margin-top: 1rem;
        justify-content: center;
    }
}
.post-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff41, transparent, #00ff41);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}