/* --- GENEL STİLLER VE RESET --- */
:root {
    --primary-color: #ffffff;
    --secondary-color: #f0f0f0;
    --background-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #007BFF;
    --font-header: 'Teko', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-header);
    letter-spacing: 1.5px;
    font-weight: 700;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- HEADER --- */
header {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
    font-family: var(--font-header);
    font-size: 2rem;
    color: var(--primary-color);
    text-decoration: none;
}

header .logo img {
    height: 40px;
    margin-right: 15px;
}

header nav button {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

header nav button:hover,
header nav button.active {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* --- ANA SAYFA SECTIONS --- */
main section {
    padding: 60px 0;
    text-align: center;
}

#hero {
    background: linear-gradient(rgba(18,18,18,0.7), rgba(18,18,18,0.7)), url('https://via.placeholder.com/1920x1080/1a1a1a/ffffff?text=Game+Background') no-repeat center center/cover;
    color: var(--primary-color);
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

#about .about-intro {
    max-width: 800px;
    margin: 0 auto 50px auto; /* Başlık ile detaylar arasına boşluk koyar */
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 eşit sütun oluşturur */
    gap: 40px; /* Sütunlar arası boşluk */
    text-align: left;
    margin-top: 40px;
}

.detail-item {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.detail-item h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.detail-item p, .detail-item ul {
    color: var(--text-color);
    line-height: 1.8;
}

.detail-item ul {
    list-style: none; /* Madde işareti noktalarını kaldırır */
    padding-left: 0;
}

.detail-item ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

/* Özel madde işaretleri ekleyerek daha şık gösterelim */
.detail-item ul li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.detail-item ul li strong {
    color: #ffffff;
    display: block; /* Başlığın alt satıra geçmesini sağlar */
}

/* --- ANA SAYFADAKİ OYUN KATEGORİLERİ VE LİSTESİ --- */
.game-category-title {
    font-size: 2.5rem;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: left;
    color: var(--accent-color);
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.coming-soon-placeholder {
    background-color: #1a1a1a;
    border: 1px dashed #444;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.coming-soon-placeholder p {
    font-size: 1.1rem;
    color: #aaa;
    font-style: italic;
}

.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.game-card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: var(--text-color);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.game-card img {
    width: 100%;
    /* DEĞİŞİKLİK: Yükseklik 250px'e yakın bir değerle artırıldı, kartın en küçük boyutu (250px) ile orantılı. */
    height: 220px;
    object-fit: contain; /* RESMİN TAMAMINI GÖSTERİR (cover eskisi)*/
    display: block;
    background-color: #000; /* İkonun etrafında boşluk kalırsa siyah görünür */
    padding: 10px; /* İkonun kenarlara yapışmasını engeller */
}

.game-card h3 {
    padding: 20px;
    font-size: 1.8rem;
    background: #252525;
}

/* --- OYUN DETAY SAYFASI --- */
.game-detail-page .container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.game-detail-header {
    display: flex;
    gap: 40px;
    text-align: left;
    align-items: flex-start;
}

.game-icon {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
}

.game-info h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.game-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.game-info .game-subtitle {
    font-family: var(--font-body); /* Normal yazı tipiyle daha iyi durur */
    font-size: 1.3rem;
    font-weight: 400;
    color: #ccc;
    margin-top: -15px; /* Ana başlığa yakınlaştırır */
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.game-info .features-title {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    color: var(--primary-color);
}

.features-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.features-list li {
    padding-left: 30px;
    margin-bottom: 20px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Şık bir "check" işareti ekleyelim */
.features-list li::before {
    content: '✓';
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
}

.features-list li strong {
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.platform-links a {
    margin-right: 15px;
    display: inline-block;
}

.platform-links img {
    height: 60px;
    transition: transform 0.2s;
}
.platform-links img:hover {
    transform: scale(1.05);
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.game-tags span {
    background-color: #333;
    color: #ccc;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* --- FOOTER --- */
footer {
    background: #1e1e1e;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}
footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer .social-links a {
    margin: 0 15px;
    font-size: 1rem;
}

/* --- RESPONSIVE TASARIM: Mobil cihazlar için sütunları alt alta sırala --- */
@media (max-width: 768px) {
    #hero h1, .game-info h1 {
        font-size: 2.5rem;
    }

    .about-details {
        grid-template-columns: 1fr; /* Sütunları tekli hale getir */
    }

    .game-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .game-icon {
        margin-bottom: 20px;
    }
    
    .platform-links {
        text-align: center;
    }
}