
:root {
    --bg: #081225;
    --panel: #11203d;
    --panel-strong: #152a4f;
    --text: #eef7ff;
    --muted: #9db7d1;
    --accent: #6bc6ff;
    --border: rgba(107, 198, 255, .14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    position: relative;
    font-family: "Segoe UI", Arial, system-ui, sans-serif;
    background: radial-gradient(circle at top center, rgba(107, 198, 255, .12), transparent 20%),
                radial-gradient(circle at 20% 25%, rgba(231, 248, 255, .08), transparent 14%),
                linear-gradient(180deg, #061026 0%, #061b3b 42%, #05101f 100%);
    color: var(--text);
    min-height: 100vh;
    padding: 32px 18px;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 20%),
        radial-gradient(circle, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 18%),
        radial-gradient(circle, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 16%);
    background-size: 2px 2px, 3px 3px, 4px 4px;
    opacity: .16;
    mix-blend-mode: screen;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: left;
    margin-bottom: 28px;
    padding: 24px;
    background: rgba(14, 33, 65, .92);
    border: 1px solid rgba(107, 198, 255, .14);
    border-radius: 18px;
}

header h1 {
    font-size: 2.4rem;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

header p {
    color: var(--muted);
    line-height: 1.6;
    max-width: 720px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.news-card {
    background: linear-gradient(180deg, rgba(11, 27, 51, .94), rgba(12, 32, 58, .96));
    border: 1px solid rgba(107, 198, 255, .12);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(107, 198, 255, .45);
    box-shadow: 0 18px 35px rgba(36, 81, 130, .22);
}

.news-image {
    width: 100%;
    min-height: 210px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: linear-gradient(180deg, #081b3d 0%, #0d2b5c 100%);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--accent);
    font-size: .88rem;
    margin-bottom: 10px;
    letter-spacing: .01em;
}

.news-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-description {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 18px;
    min-height: 5.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.1rem;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--accent);
    background: rgba(107, 198, 255, .08);
    border: 1px solid rgba(107, 198, 255, .45);
}

.btn-secondary {
    color: var(--text);
    background: rgba(13, 35, 61, .95);
    border: 1px solid rgba(107, 198, 255, .15);
}

.read-more {
    gap: .35rem;
    line-height: 1;
}

.loading {
    text-align: center;
    grid-column: 1 / -1;
    color: var(--muted);
    padding: 40px;
}

@media (max-width: 680px) {
    body {
        padding: 24px 14px;
    }

    header {
        padding: 18px;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-description {
        min-height: auto;
    }
}
