.news-container {
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-family: 'Inter', sans-serif;
    perspective: 1000px;
}

.news-item {
    position: relative;
    border-radius: 4px;
    background:
        radial-gradient(circle at 0% 0%, rgba(224, 184, 74, 0.06), transparent 55%),
        #15110d;
    border: 1px solid rgba(201, 162, 39, 0.20);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    animation: newsSlideUp 0.5s ease forwards;
    opacity: 0;
}
@keyframes newsSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.news-item:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.news-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(224, 184, 74, 0.05), transparent 60%);
    pointer-events: none;
}

.news-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.16);
    background: rgba(0, 0, 0, 0.15);
    position: relative;
}

.news-meta { display: flex; gap: 20px; align-items: center; }

.news-timestamp {
    display: flex; flex-direction: column; align-items: center;
    background: #0b0908;
    padding: 10px;
    border-radius: 4px;
    min-width: 90px;
    border: 1px solid rgba(201, 162, 39, 0.20);
}
.news-timestamp .date {
    color: #e0b84a;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-timestamp .time {
    color: #948c7a;
    font-size: 0.75rem;
    margin-top: 2px;
    font-family: "Courier New", monospace;
}

.news-info { flex: 1; min-width: 0; }

.news-title {
    font-family: "Cinzel", serif;
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #ece4d3;
    line-height: 1.25;
}

.news-author {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.82rem; color: #948c7a;
    margin-top: 8px;
}
.news-author .name { color: #e0b84a; font-weight: 600; }

.news-body {
    padding: 25px;
    color: #cbd0c8;
    line-height: 1.8;
    font-size: 0.95rem;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* BBCode w newsach */
.news-body .code-block {
    background: #0b0908;
    border-radius: 3px;
    margin: 18px 0;
    border: 1px solid rgba(201, 162, 39, 0.16);
    overflow: hidden;
}
.news-body .code-header {
    background: #1b1611;
    padding: 8px 14px;
    font-size: 0.75rem;
    color: #948c7a;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.news-body .code-block pre {
    margin: 0; padding: 14px;
    overflow-x: auto;
}
.news-body .code-block code {
    font-family: 'Consolas', 'Monaco', monospace;
    color: #ece4d3;
    font-size: 0.85rem;
}

.news-body .quote-block {
    position: relative;
    background: rgba(201, 162, 39, 0.05);
    border-left: 4px solid #ab8226;
    padding: 16px 24px;
    margin: 18px 0;
    border-radius: 0 3px 3px 0;
    font-style: italic;
    color: #b0a894;
}
.news-body .quote-icon {
    position: absolute;
    top: 8px; left: 6px;
    opacity: 0.15;
    color: #e0b84a;
}

.news-body .player-link {
    color: #e0b84a;
    font-weight: 700;
    text-decoration: none;
    padding: 0 2px;
}
.news-body .player-link:hover {
    background: rgba(224, 184, 74, 0.1);
    border-radius: 3px;
}

.news-body .external-link { color: #e0b84a; text-decoration: underline; }
.news-body .external-link:hover { color: #f4d97a; }

.news-body .img-wrapper {
    margin: 20px 0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.news-body .forum-image {
    max-width: 100%;
    height: auto;
    display: block;
}
.news-body .smiley {
    vertical-align: middle;
    display: inline;
    margin: 0 2px;
}

.news-empty, .news-error-msg {
    padding: 50px 30px;
    text-align: center;
    background: #15110d;
    border-radius: 4px;
    border: 1px dashed rgba(201, 162, 39, 0.30);
    color: #948c7a;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .news-meta { flex-direction: column; align-items: flex-start; }
    .news-timestamp { width: 100%; flex-direction: row; justify-content: space-between; }
    .news-title { font-size: 1.15rem; margin-top: 8px; }
}