
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0f2c, #1a0033);
    color: white;
}

header {
    text-align: center;
    padding: 30px 0 10px;
}

.logo {
    width: 180px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 10px 0 20px;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #00bfff;
    font-weight: bold;
}

.breaking-news {
    text-align: center;
    background-color: red;
    padding: 10px;
    font-weight: bold;
}

.headline, .articles, .sponsors {
    text-align: center;
    padding: 40px 20px;
}

.news-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.news-image {
    width: 300px;
    height: 200px;
    background: #1f1f3a;
    border: 2px solid #00bfff;
    border-radius: 10px;
}

.news-text {
    max-width: 400px;
    text-align: left;
}

.news-text h3 {
    margin-top: 0;
}

.article-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.article-card {
    width: 250px;
    background: #1f1f3a;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #ff4c4c;
}

.article-image {
    height: 120px;
    background: #333;
    margin-bottom: 15px;
}

.sponsors .sponsor-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.sponsor-box {
    width: 150px;
    height: 80px;
    background: #333;
    border: 2px solid #ff4c4c;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        text-align: center;
    }
    .news-text {
        text-align: center;
    }
    .article-list {
        flex-direction: column;
        align-items: center;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* ANIMOWANE TŁO */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,255,0.2), transparent),
                radial-gradient(circle at center, rgba(255,0,0,0.2), transparent);
    animation: moveBg 10s linear infinite;
    z-index: -1;
}

@keyframes moveBg {
    0% {
        background-position: 0% 50%, 100% 50%;
    }
    50% {
        background-position: 100% 50%, 0% 50%;
    }
    100% {
        background-position: 0% 50%, 100% 50%;
    }
}
