/* Minecraft News specific styles */
.nav-links {
    margin-top: 10px;
}

.nav-link {
    color: #ffd700;
    text-decoration: none;
    font-size: 16px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #ffd700;
}

.error-message {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    margin: 20px 0;
}

.no-articles {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #888;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.news-article {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #444;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-article:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.news-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ff6b35);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.article-title {
    color: #ffd700;
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article-excerpt {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
}

.article-date {
    color: #ffd700;
}

.article-category {
    background: #444;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
}

.read-more {
    display: inline-block;
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 16px;
    border: 2px solid #ffd700;
    border-radius: 6px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.read-more:hover {
    background: #ffd700;
    color: #1a1a1a;
    transform: translateX(5px);
}

/* Responsive design */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
        margin: 5px;
    }

    .article-title {
        font-size: 1.2rem;
    }
}
