.news-detail {
    max-width: 900px;
    margin: 160px auto 60px;
    padding: 20px;
    background: rgba(20, 20, 20, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-detail-header {
    text-align: center;
    margin-bottom: 30px;
}

.news-detail-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    margin-bottom: 31px;
    gap: 11px;
    justify-content: center;
}

.news-detail-date {
    color: #666;
    font-size: 0.9rem;
}

.news-detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.news-detail-tag::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.news-detail-tag.update {
    border-color: rgba(74, 178, 132, 0.7);
    background: linear-gradient(135deg, rgba(74, 178, 132, 0.32), rgba(10, 8, 7, 0.86));
    color: #a8f0cf;
}
.news-detail-tag.update::before { content: "\f135"; }

.news-detail-tag.news {
    border-color: rgba(236, 110, 140, 0.7);
    background: linear-gradient(135deg, rgba(236, 110, 140, 0.32), rgba(10, 8, 7, 0.86));
    color: #ffd0dc;
}
.news-detail-tag.news::before { content: "\f1ea"; }

.news-detail-tag.event {
    border-color: rgba(184, 114, 213, 0.72);
    background: linear-gradient(135deg, rgba(184, 114, 213, 0.32), rgba(10, 8, 7, 0.86));
    color: #e5bdff;
}
.news-detail-tag.event::before { content: "\f073"; }

.news-detail-tag.maintenance {
    border-color: rgba(210, 139, 69, 0.75);
    background: linear-gradient(135deg, rgba(210, 139, 69, 0.32), rgba(10, 8, 7, 0.86));
    color: #ffd09b;
}
.news-detail-tag.maintenance::before { content: "\f7d9"; }

.news-detail-tag.unknown {
    border-color: rgba(117, 158, 210, 0.7);
    background: linear-gradient(135deg, rgba(117, 158, 210, 0.32), rgba(10, 8, 7, 0.86));
    color: #bdd8ff;
}
.news-detail-tag.unknown::before { content: "\f071"; }

.news-detail-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 21px 1px;
}

.news-detail-image img {
    width: 96%;
    max-width: 1400px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(2px 4px 8px rgba(0,0,0,.7));
}

.news-detail-content {
    color: #fff;
    line-height: 1.8;
    font-size: 1.1rem;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.news-detail-content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.news-detail-content ul {
    margin: 20px 0;
    padding-left: 20px;
    list-style: none;
}

.news-detail-content li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 20px;
}

.news-detail-content li::before {
    content: '•';
    color: #ff4d4d;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.0em;
}

.news-detail-back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #ff4d4d;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid #ff4d4d;
    transition: all 0.3s ease;
}

.news-detail-back-button:hover {
    background: #ff4d4d;
    color: #fff;
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .news-detail {
        margin: 120px auto 40px;
        padding: 15px;
    }

    .news-detail-header h1 {
        font-size: 1.8rem;
    }

    .news-detail-image {
        height: 300px;
    }

    .news-detail-content {
        font-size: 1rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .news-detail-header h1 {
        font-size: 1.5rem;
    }

    .news-detail-image {
        height: 200px;
    }

    .news-detail-content {
        font-size: 0.9rem;
    }
}