/* === Genel Ayarlar ve Arka Plan === */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: url('../img/background/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f7f7f7;
}

/* === Main İçerik Düzeni === */
main {
    display: flex;
    justify-content: center;
    padding: 30px 15px; /* Mobilde kenar boşlukları azaltıldı */
    min-height: calc(100vh - 70px);
}

/* === Download Kutusu Stili === */
.download-section {
    width: 100%;
    max-width: 900px; 
    background: rgba(18, 18, 18, 0.96);
    padding: 30px 20px; /* İç boşluklar mobilde daha dengeli */
    border-radius: 10px;
    border: 2px solid #ffcc00;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    color: #f7f7f7;
    text-align: center;
    box-sizing: border-box;
}

.download-section h1 { /* HTML'de h1 kullandığın için h1 yapıldı */
    margin-bottom: 25px;
    color: #cc0000;
    font-size: 1.8em; /* Mobilde taşmaması için boyut dengelendi */
    text-transform: uppercase;
    border-bottom: 3px solid #ffcc00;
    padding-bottom: 10px;
    text-shadow: 0 0 5px rgba(204, 0, 0, 0.5);
}

.download-section p {
    color: #ccc;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* === İndirme Link Listesi === */
.download-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Link butonu stili */
.download-links a.download-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(40, 40, 40, 0.9);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #666;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
    min-height: 80px;
    box-sizing: border-box;
}

.download-links a img {
    width: 60px;  
    height: 60px; 
    margin-right: 20px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.download-links a.download-link:hover {
    background: #cc0000;
    border-color: #ff6666;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.6);
}

.download-links a .link-label {
    flex-grow: 1;
    text-align: left;
    font-size: 1.1em;
    display: block;
}

.download-links a .file-info {
    font-size: 0.85em;
    color: #ffcc00;
    font-weight: normal;
    display: block;
    margin-top: 5px;
}

/* === Talimat Kutusu === */
.instruction-box {
    margin-top: 30px;
    padding: 20px;
    background: rgba(30, 30, 30, 0.9);
    border-left: 5px solid #ffcc00; /* Daha modern bir dokunuş */
    border-radius: 4px;
    text-align: left;
    color: #eee;
    font-size: 0.95em;
    line-height: 1.5;
}

.instruction-box i {
    color: #ffcc00;
    margin-right: 10px;
    font-size: 1.2em;
}

/* === Sistem Gereksinimleri Tablo === */
.specs-table-container {
    overflow-x: auto; /* Mobilde tablonun kaydırılabilmesini sağlar */
    margin-top: 20px;
    border-radius: 8px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(25, 25, 25, 0.8);
    min-width: 500px; /* Tablonun mobilde çok sıkışmasını engeller */
}

.specs-table th {
    background: #cc0000;
    color: #fff;
    padding: 15px;
    text-align: left;
}

.specs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    color: #ccc;
}

/* =========================================
   MOBİL UYUMLULUK (RESPONSIVE) AYARLARI
   ========================================= */

@media (max-width: 768px) {
    main {
        padding: 15px 10px;
    }

    .download-section {
        padding: 20px 15px;
    }

    .download-section h1 {
        font-size: 1.4em;
    }

    /* İndirme Linklerini Mobilde Düzenle */
    .download-links a.download-link {
        flex-direction: column; /* İkon ve yazı alt alta gelir */
        text-align: center;
        padding: 20px;
        gap: 15px;
    }

    .download-links a img {
        margin-right: 0;
        width: 80px; /* Mobilde ikonu belirginleştirelim */
        height: 80px;
    }

    .download-links a .link-label {
        text-align: center;
        font-size: 1.05em;
    }

    .download-links a .file-info {
        text-align: center;
    }

    .specs-title h2 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .download-section h1 {
        font-size: 1.2em;
    }
    
    /* Mobilde tabloyu okumak zor olduğu için kullanıcıyı bilgilendir */
    .specs-table-container::after {
        content: "← Tabloyu yana kaydırabilirsiniz →";
        display: block;
        text-align: center;
        font-size: 0.8em;
        color: #666;
        margin-top: 10px;
    }
}