/* ===============================
   News Section
================================ */
.news-section {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 60px 50px;
}

.news-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===============================
   Card
================================ */
.news-card {
    background: rgba(10, 25, 47, 0.45);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(64,156,255,0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(40px);
    animation: cardAppear .8s ease forwards;
    transition: all .3s ease;
}

.news-card:hover {
    box-shadow: 
        0 4px 15px rgba(64, 156, 255, 0.085),
        0 2px 15px rgba(0,0,0,0.25);
}

.news-card:nth-child(1) { animation-delay: .15s; }
.news-card:nth-child(2) { animation-delay: .3s; }
.news-card:nth-child(3) { animation-delay: .45s; }

/* ===============================
   Image
================================ */
.news-image {
    height: 170px;
    background: url(/images/Screenshot_8.png);
    background-size: 250%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.news-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #409cff, #189bc7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

/* ===============================
   Content
================================ */
.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: #e6f1ff;
}

.news-text {
    font-size: 14px;
    color: #a0b3d9;
    line-height: 1.45;
}

/* ===============================
   Footer (одна ось + фон)
================================ */
.news-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #8896bb;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ===============================
   Read Button (объём)
================================ */
.news-footer a {
    color: #409cff;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 10px;
    background: rgba(64,156,255,0.12);
    border: 1px solid rgba(64,156,255,0.25);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 4px 10px rgba(0,0,0,0.25);
    transition:
        background .25s ease,
        box-shadow .25s ease;
}

.news-footer a:hover {
    background: rgba(64,156,255,0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.25),
        0 4px 15px rgba(64, 156, 255, 0.085);
}

/* ===============================
   Animation
================================ */
@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   Responsive
================================ */
@media (max-width: 992px) {
    .news-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-container {
        grid-template-columns: 1fr;
    }

    .news-section {
        padding: 40px 20px;
    }
}