body {
    background-color: transparent;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 350vh;
    font-family: 'Roboto', 'Segoe UI', 'Arial', sans-serif;
    overflow: hidden;
}

.card {
    background-color: rgba(44, 62, 80, 0.6);
    border-radius: 20px;
    padding: 25px;
    width: 900px;
    max-height: 80vh;
    margin-left: 20px;
    margin-top: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    color: white;
    overflow-y: auto;
    backdrop-filter: blur(15px);
}

.card h2 {
    margin-top: 0;
    border-bottom: 2px solid rgba(52, 73, 94, 0.5);
    padding-bottom: 15px;
    font-size: 28px;
    color: #ecf0f1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 25px 0;
}

.news-item {
    background-color: rgba(52, 73, 94, 0.5);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(52, 73, 94, 0.7);
}

.news-item a {
    color: #3498db;
    text-decoration: none;
    font-size: 17px;
    line-height: 1.5;
    display: block;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-item a:hover {
    color: #2ecc71;
}

#loading {
    text-align: center;
    font-size: 20px;
    color: #ecf0f1;
    padding: 25px;
    font-weight: 300;
    letter-spacing: 1px;
}