/* Temel Sıfırlamalar ve Ayarlar */
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; /* Geniş ekranlar için arka plan rengi */
    color: #0f1d2a;
    line-height: 1.6;
}

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

/* Header (Üst Başlık) */
.site-header {
    background-color: #293E50;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.site-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.site-header p {
    margin: 5px 0 0;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Ana İçerik */
.site-main {
    /* Padding'i içerdeki container'a taşıdık */
}

/* Sadece ana içerik alanındaki container'ı kutu içine al */
main.site-main > .container {
    background-color: #ffffff; /* Beyaz arka plan */
    border: 1px solid #ddd; /* İnce çerçeve */
    border-radius: 10px; /* Köşeleri yumuşat */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Modern gölge */
    
    margin-top: 10px; 
    margin-bottom: 10px;
    
    padding-top: 20px;
    padding-bottom: 20px;
}


/* Karşılama Bölümü */
.welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-section h2 {
    color: #7e1012;
    font-size: 2rem;
}

/* Oyun Kartları Grid (Izgara) Yapısı */
.games-grid h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #0f1d2a;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.game-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.game-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.game-card h3 {
    font-size: 1.4rem;
    color: #7e1012;
    margin: 15px 20px 5px;
}

.game-card p {
    font-size: 1rem;
    margin: 0 20px 20px;
    flex-grow: 1; /* Linklerin en altta kalmasını sağlar */
}

/* Uygulama Mağazası Linkleri Stilleri */
.app-links {
    display: flex;
    justify-content: center;
    padding: 15px 20px;
    background-color: #0f1d2a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.store-link {
    color: white;
    font-size: 2.2rem;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.store-link:hover {
    color: #7e1012;
    transform: scale(1.1);
}

/* Footer (Alt Bilgi) */
.site-footer {
    background-color: #0f1d2a;
    color: #b0b0b0;
    text-align: center;
    padding: 10px 0;
    
    /* Ana içerik kutusuyla aynı genişlik ve ortalama */
    max-width: 900px;  
    margin-left: auto;   
    margin-right: auto;  
    margin-top: 0;      
    border-radius: 10px;
}
