/* ========== Подкатегория новостей игры ========== */

/* Карточка игры */
.ng-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    min-height: 180px;
}

.ng-hero-bg {
    position: absolute;
    inset: -10px;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.3);
}

.ng-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
}

.ng-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
}

.ng-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
}
.ng-hero-icon img { width: 100%; height: 100%; object-fit: cover; }

.ng-hero-info { flex: 1; }
.ng-hero-info h1 { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.ng-hero-info p { font-size: 14px; color: #aaa; margin: 0 0 12px; line-height: 1.5; }

.ng-hero-links { display: flex; gap: 10px; }
.ng-hero-link {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,181,14,0.15);
    color: #ffb50e;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s;
}
.ng-hero-link:hover { background: rgba(255,181,14,0.3); }

/* Хлебные крошки */
.ng-breadcrumbs {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
    text-align: left;
}
.ng-breadcrumbs a { color: #ffb50e; text-decoration: none; }
.ng-breadcrumbs a:hover { text-decoration: underline; }
.ng-breadcrumbs span { color: #ccc; }

/* Сетка новостей */
.ng-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

/* Карточки новостей (как на странице news) */
.news-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #2a2a2a;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-color: #ffb50e; }
.news-card a { text-decoration: none; color: inherit; display: block; }

.news-card-img { position: relative; width: 100%; height: 180px; overflow: hidden; }
.news-card-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .news-card-img > img { transform: scale(1.05); }

.news-card-tag {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: rgba(0,0,0,0.7); border-radius: 8px; padding: 6px;
    backdrop-filter: blur(4px);
}
.news-card-tag img { width: 20px; height: 20px; display: block; }

.news-card-content { padding: 16px 18px 20px; }
.news-card-content h3 { font-size: 16px; font-weight: 600; color: #fff; margin: 0 0 6px; line-height: 1.4; }
.news-date { display: block; font-size: 12px; color: #888; margin-bottom: 10px; }
.news-card-content p { font-size: 13px; color: #aaa; margin: 0; line-height: 1.5; }

/* Кнопка */
.load-more-container { text-align: center; margin: 25px 0; }
.load-more-btn {
    display: inline-block; padding: 12px 30px; background: #2a2a2a;
    color: #fff !important; border: 1px solid #3a3a3a; border-radius: 6px;
    font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.3s, border-color 0.3s;
}
.load-more-btn:hover { background: #3a3a3a; border-color: #4a4a4a; }

/* Адаптив */
@media (max-width: 992px) {
    .ng-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ПУСТОЙ РАЗДЕЛ НОВОСТЕЙ ===== */
.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #1a1a1a;
    border: 2px dashed #2a2a2a;
    border-radius: 16px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.news-empty h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.news-empty p {
    font-size: 15px;
    color: #888;
    margin: 0;
    max-width: 400px;
    line-height: 1.5;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 600px) {
    .news-empty {
        padding: 40px 16px;
        min-height: 200px;
    }

    .news-empty-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .news-empty h3 {
        font-size: 17px;
    }

    .news-empty p {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .news-empty {
        padding: 30px 12px;
        min-height: 160px;
    }

    .news-empty-icon {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .news-empty h3 {
        font-size: 15px;
    }

    .news-empty p {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .ng-hero-content { flex-direction: column; text-align: center; padding: 20px 15px; }
    .ng-hero-icon { width: 60px; height: 60px; }
    .ng-hero-info h1 { font-size: 22px; }
    .ng-hero-links { justify-content: center; }
    .ng-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .news-card-img { height: 130px; }
    .news-card-content { padding: 10px 12px 14px; }
    .news-card-content h3 { font-size: 13px; }
    .news-card-content p { font-size: 11px; }
    .news-date { font-size: 10px; margin-bottom: 6px; }
}