:root {
    --bg-dark: #12141c;
    --card-bg: #1a1d29;
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    --accent-color: #ff4757; /* Canlı kırmızı/turuncu oyun teması */
    --badge-update: #2ed573;
    --badge-event: #ffa502;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
}

.news-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
}

.news-header h2 {
    font-size: 24px;
    margin: 0;
}

.view-all-btn {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s;
}

.view-all-btn:hover {
    opacity: 0.8;
}

/* Haber Grid Sistemi */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Haber Kartı Tasarımı */
.news-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 71, 87, 0.1);
}

/* Görsel Alanı */
.news-image {
    position: relative;
    height: 180px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rozetler (Badge) */
.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.news-badge.update { background-color: var(--badge-update); color: #000; }
.news-badge.event { background-color: var(--badge-event); color: #000; }

/* İçerik Alanı */
.news-content {
    padding: 20px;
}

.news-date {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.news-content h3 {
    font-size: 18px;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.news-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: margin-left 0.2s;
}

.news-card:hover .read-more {
    margin-left: 5px;
}