@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@400;600;800&display=swap');

/* =========================================
 * 1. TEMA DEĞİŞKENLERİ VE RENK PALETLERİ
 * ========================================= */
:root {
    --bg-body: #f4f7f6;
    --text-ana: #333333;
    --text-baslik: #2c3e50;
    --text-aciklama: #7f8c8d;
    --bg-kutu: #ffffff;
    --border-renk: #e1e8ed;
    --border-hafif: #ecf0f1;
    --bg-input: #ffffff;
    --bg-btn-pasif: #f1f2f6;
    --bg-btn-hover: #e2e6ea;
    --bg-etiket: #f8f9fa;
    --bg-alt: #fafbfc;
    --bg-sayac: #ebf5fb;
    --golge: rgba(0, 0, 0, 0.04);
    --golge-hover: rgba(0, 0, 0, 0.08);
}

html.dark-mode {
    --bg-body: #181a1b;
    --text-ana: #d1d5db;
    --text-baslik: #f3f4f6;
    --text-aciklama: #9ca3af;
    --bg-kutu: #222527;
    --border-renk: #374151;
    --border-hafif: #374151;
    --bg-input: #1b1e20;
    --bg-btn-pasif: #374151;
    --bg-btn-hover: #4b5563;
    --bg-etiket: #1b1e20;
    --bg-alt: #1b1e20;
    --bg-sayac: #1e3a5f;
    --golge: rgba(0, 0, 0, 0.4);
    --golge-hover: rgba(0, 0, 0, 0.6);
}

/* =========================================
 * 2. GENEL TASARIM (Sıfırlama ve Gövde)
 * ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

body, input, button, select, textarea, option {
    font-family: 'Playpen Sans', sans-serif !important;
}

body { background-color: var(--bg-body); color: var(--text-ana); padding: 20px; transition: background-color 0.3s, color 0.3s; min-height: 100vh; display: flex; flex-direction: column; }
.container { flex-grow: 1; display: flex; flex-direction: column; width: 100%; max-width: 1200px; margin: 0 auto; position: relative; }
a { text-decoration: none; color: inherit; }
.gizle { display: none !important; }

/* İkon Düzeltmesi */
i.fa-solid, i.fa-regular, .fa-solid, .fa-regular { font-family: "Font Awesome 6 Free" !important; }
i.fa-brands, .fa-brands { font-family: "Font Awesome 6 Brands" !important; }

/* =========================================
 * 3. ORTAK BİLEŞENLER (Header, Logo, Breadcrumb)
 * ========================================= */
header { text-align: center; margin-bottom: 30px; margin-top: 10px; position: relative; }
.site-logo { text-align: center; margin-top: 10px; margin-bottom: 25px; }
.site-logo img { max-width: 100%; width: 400px; transition: 0.3s; display: inline-block; }
.site-logo img:hover { transform: scale(1.02); }
.logo-dark { display: none !important; }
html.dark-mode .logo-light { display: none !important; }
html.dark-mode .logo-dark { display: inline-block !important; }

.breadcrumb { font-size: 14px; color: var(--text-aciklama); margin-bottom: 20px; font-weight: 600; text-align: left; }
.breadcrumb a { color: #3498db; transition: 0.2s; }
.breadcrumb a:hover { color: #2980b9; text-decoration: underline; }
.breadcrumb i { margin: 0 8px; font-size: 12px; opacity: 0.6; }

.bolum-basligi { font-size: 24px; color: var(--text-baslik); margin: 20px 0; font-weight: 800; border-bottom: 2px solid var(--border-renk); padding-bottom: 10px; display: flex; align-items: center; gap: 10px;}

/* =========================================
 * 4. FOOTER (ALT BİLGİ) TASARIMI
 * ========================================= */
footer { margin-top: auto !important; padding: 30px 20px; background-color: var(--bg-kutu); border-radius: 12px; box-shadow: 0 4px 10px var(--golge); text-align: center; border-top: 3px solid #3498db; transition: background 0.3s; }
.footer-icerik .uyari { color: var(--text-aciklama); font-size: 13px; line-height: 1.6; margin-bottom: 15px; max-width: 800px; margin-left: auto; margin-right: auto; }
.footer-icerik .uyari i { color: #e74c3c; margin-right: 5px; }
.yazar-ve-iletisim { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 15px; background-color: var(--bg-etiket); border: 1px solid var(--border-renk); padding: 10px 25px; border-radius: 30px; margin-bottom: 20px; box-shadow: 0 2px 6px var(--golge); }
.yazar-isim { color: var(--text-baslik); font-size: 16px; }
.yazar-isim i { color: #27ae60; margin-right: 5px; font-size: 17px; }
.yazar-isim strong { font-weight: 800; }
.yazar-isim .unvan { color: var(--text-aciklama); font-weight: 600; }
.ayrac { color: var(--text-aciklama); font-size: 14px; opacity: 0.5;}
.iletisim-mail { font-size: 16px; }
.iletisim-mail i { color: #3498db; margin-right: 5px; }
.iletisim-mail a { color: #3498db; font-weight: 700; transition: color 0.3s; }
.iletisim-mail a:hover { color: var(--text-baslik); text-decoration: underline; }
.footer-icerik .telif { font-size: 14px; color: var(--text-aciklama); margin-top: 20px; border-top: 1px solid var(--border-hafif); padding-top: 15px; opacity: 0.8;}

/* =========================================
 * 5. INDEX.PHP (ANA SAYFA) ÖZEL TASARIMLARI
 * ========================================= */
.seo-metni { max-width: 800px; margin: 0 auto 20px auto; color: var(--text-aciklama); font-size: 16px; line-height: 1.6; font-weight: 400; text-align: center;}
.seo-metni strong { color: var(--text-baslik); font-weight: 800; }

.duyuru-bandi { position: relative; background: linear-gradient(135deg, #f39c12, #e67e22); color: white; padding: 15px 45px 15px 25px; border-radius: 12px; margin-bottom: 25px; font-weight: 700; text-align: center; font-size: 16px; box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3); animation: fadeInDown 0.5s ease; }
.duyuru-bandi i.fa-bullhorn { font-size: 20px; margin-right: 10px; vertical-align: middle; }
#duyuruKapatBtn { position: absolute; right: 12px; top: 10px; cursor: pointer; font-size: 20px; opacity: 0.8; transition: 0.2s; }
#duyuruKapatBtn:hover { opacity: 1; transform: scale(1.2); }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.bolum-yildizli { border-bottom-color: #f1c40f; } .bolum-yildizli i { color: #f1c40f; text-shadow: 0 0 10px rgba(241, 196, 15, 0.4);}
.bolum-yeni { border-bottom-color: #2ecc71; } .bolum-yeni i { color: #2ecc71; text-shadow: 0 0 10px rgba(46, 204, 113, 0.4);}
.bolum-populer { border-bottom-color: #e74c3c; } .bolum-populer i { color: #e74c3c; text-shadow: 0 0 10px rgba(231, 76, 60, 0.4);}

/* =========================================
 * ARAMA VE SIRALAMA SATIRI (YAN YANA)
 * ========================================= */
.arama-siralama-satiri {
    display: flex; align-items: center; gap: 15px;
    margin-bottom: 25px; width: 100%;
}

#aramaKutusu {
flex-grow: 1; padding: 14px 24px; font-size: 16px; border: 2px solid var(--border-renk);
background-color: var(--bg-input); color: var(--text-ana); border-radius: 30px;
outline: none; transition: 0.3s; font-weight: 600; box-shadow: 0 4px 10px var(--golge); margin: 0;
}
#aramaKutusu:focus { border-color: #3498db; }

.siralama-kapsayici { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.siralama-kapsayici i { color: #3498db; font-size: 18px; }
#siralamaSecimi {
padding: 14px 20px; border-radius: 30px; border: 2px solid var(--border-renk);
background-color: var(--bg-kutu); color: var(--text-baslik); font-weight: 600;
font-size: 14px; outline: none; cursor: pointer; transition: all 0.3s;
box-shadow: 0 4px 10px var(--golge); height: 100%;
}
#siralamaSecimi:focus { border-color: #3498db; }

/* =========================================
 * FİLTRE ALANI (MASAÜSTÜ İÇİN MODERN KAPSÜL TASARIM)
 * ========================================= */
.filtre-alani {
    background: transparent; /* Büyük arka plan kutusunu kaldırdık */
    width: 100%;
    margin: 0 auto 35px auto;
    padding: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: row; /* Yan yana diz */
    flex-wrap: wrap; /* Sığmazsa alt satıra at */
    justify-content: center; /* Kapsülleri ekranda ortala */
    gap: 15px;
}

.filtre-satiri {
    display: flex;
    align-items: center;
    background: var(--bg-kutu);
    padding: 8px 12px 8px 22px; /* Sol tarafa ikon için hafif boşluk */
    border-radius: 50px; /* Tam oval şık kapsül tasarımı */
    border: 1px solid var(--border-renk);
    box-shadow: 0 4px 15px var(--golge);
    gap: 15px;
    margin: 0;
    transition: 0.3s;
}
.filtre-satiri:hover {
    border-color: #3498db;
    box-shadow: 0 6px 20px var(--golge-hover);
}

.filtre-etiketi {
    font-weight: 800;
    color: var(--text-baslik);
    font-size: 15px;
    white-space: nowrap;
}
.filtre-etiketi i { color: #3498db; margin-right: 5px; }

.filtre-butonlari {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filtre-btn {
    padding: 8px 18px;
    border: none;
    background-color: var(--bg-btn-pasif);
    color: var(--text-aciklama);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.filtre-btn:hover {
    background-color: var(--bg-btn-hover);
    color: var(--text-baslik);
    transform: translateY(-2px);
}

.filtre-btn.aktif {
    background-color: #3498db;
    color: white;
    box-shadow: 0 4px 10px rgba(52,152,219,0.4);
    transform: translateY(-2px);
}

/* PDF Kart Tasarımları */
.kart-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 25px; margin-bottom: 40px;}
.kart { position: relative; background-color: var(--bg-kutu); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px var(--golge); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; border: 1px solid var(--border-renk); }
.kart:hover { transform: translateY(-5px); box-shadow: 0 10px 20px var(--golge-hover); }
.kart-link-alani { display: flex; flex-direction: column; flex-grow: 1; height: 100%; color: inherit; text-decoration: none; }

.ust-etiket { position: absolute; top: 0; left: 0; padding: 6px 14px; border-radius: 10px 0 20px 0; font-size: 13px; font-weight: 800; z-index: 5; color: #fff; box-shadow: 2px 2px 8px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 5px; }
.ust-etiket-yildiz { background: #f1c40f; } .ust-etiket-yeni { background: #2ecc71; } .ust-etiket-populer { background: #e74c3c; }
.kart.yildiz { border: 2px solid #f1c40f; box-shadow: 0 5px 15px rgba(241, 196, 15, 0.15); } .kart.yildiz:hover { box-shadow: 0 10px 25px rgba(241, 196, 15, 0.3); }
.kart.yeni { border: 2px solid #2ecc71; box-shadow: 0 5px 15px rgba(46, 204, 113, 0.15); } .kart.yeni:hover { box-shadow: 0 10px 25px rgba(46, 204, 113, 0.3); }
.kart.populer { border: 2px solid #e74c3c; box-shadow: 0 5px 15px rgba(231, 76, 60, 0.15); } .kart.populer:hover { box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3); }

.kart-duzenle-btn { position: absolute; top: 10px; right: 10px; background-color: #f39c12; color: white; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; font-size: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.3s; }
.kart-duzenle-btn:hover { background-color: #e67e22; transform: scale(1.1) rotate(10deg); color: white; }

.kart-gorsel img { width: 100%; height: 160px; object-fit: cover; }
.kart-icerik { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.kart-icerik h3 { font-size: 21px; margin-bottom: 12px; color: var(--text-baslik); line-height: 1.3; font-weight: 800;}
.etiket-satiri { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; align-items: center; }
.mini-etiket, .sinif-etiket, .donem-etiket, .tur-etiket { font-size: 13px; padding: 4px 8px; border-radius: 6px; font-weight: 600; color: white; }
.sinif-etiket { background-color: #2c3e50; } .donem-etiket { background-color: #f39c12; }
.tip-konu { background-color: #27ae60; } .tip-soru { background-color: #e74c3c; } .tip-yazili { background-color: #8e44ad; }
.konu-listesi { margin-top: auto; padding-top: 15px; border-top: 1px dashed var(--border-hafif); }
.konu-listesi ul { list-style-type: none; display: flex; flex-wrap: wrap; gap: 6px; }
.konu-listesi li { background-color: var(--bg-etiket); color: var(--text-aciklama); font-size: 13px; padding: 4px 10px; border-radius: 12px; font-weight: 600; border: 1px solid var(--border-renk); }

.kart-meta { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background-color: var(--bg-alt); border-top: 1px solid var(--border-hafif); }
.meta-bilgi { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-aciklama); font-weight: 600; }
.meta-bilgi i { font-size: 15px; opacity: 0.7; }
.indirme-sayaci { background-color: var(--bg-sayac); color: #3498db; padding: 5px 12px; border-radius: 20px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* =========================================
 * 6. KİTAPLAR.PHP (ÖNERİ VİTRİNİ) ÖZEL TASARIMLARI
 * ========================================= */
.kitap-filtre-cubugu { display: flex; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; background: var(--bg-kutu); padding: 15px 20px; border-radius: 12px; border: 1px solid var(--border-renk); box-shadow: 0 4px 15px var(--golge); }
.kitap-filtre-cubugu select {
    padding: 12px 15px; border-radius: 8px; border: 2px solid var(--border-renk);
    background-color: var(--bg-input); color: var(--text-baslik); font-weight: 700;
    outline: none; cursor: pointer; flex: 1; min-width: 200px; transition: 0.3s; font-size: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e44ad' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 15px center; background-size: 16px;
}
.kitap-filtre-cubugu select:focus { border-color: #8e44ad; box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.1); }

.kitap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); gap: 25px; margin-bottom: 50px; }
.kitap-kart { display: flex; flex-direction: row; align-items: stretch; background: var(--bg-kutu); border-radius: 16px; border: 1px solid var(--border-renk); box-shadow: 0 4px 15px var(--golge); padding: 20px; gap: 25px; transition: all 0.3s ease; }
.kitap-kart:hover { transform: translateY(-5px); box-shadow: 0 12px 25px var(--golge-hover); border-color: rgba(142, 68, 173, 0.4); }

.kitap-sol { width: 130px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.kitap-sol img { width: 100%; height: auto; aspect-ratio: 21.5 / 27.5; object-fit: cover; border-radius: 4px 10px 10px 4px; box-shadow: -2px 0 5px rgba(0,0,0,0.05), 6px 6px 15px rgba(0,0,0,0.15); transition: transform 0.4s ease; }
.kitap-kart:hover .kitap-sol img { transform: scale(1.03) rotate(1deg); }

.zorluk-merkez { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.zorluk-yazi { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px; }

.ates-efekti { color: #ff5e00 !important; text-shadow: 0 0 5px #ff0000, 0 -2px 10px #ff9900 !important; animation: alev 0.5s infinite alternate; display: inline-block; font-size: 16px; margin: 0 4px; }
@keyframes alev { 0% { transform: scale(1) translateY(0); text-shadow: 0 0 4px #ff0000, 0 -2px 8px #ff9900; opacity: 0.8; } 100% { transform: scale(1.2) translateY(-2px); text-shadow: 0 0 8px #ff0000, 0 -6px 15px #ff9900, 0 -10px 20px #ffea00; opacity: 1; } }

.kadran-kutu { position: relative; width: 50px; height: 25px; border-radius: 50px 50px 0 0; background: linear-gradient(to right, #2ecc71, #f1c40f, #e74c3c); overflow: hidden; box-shadow: inset 0 2px 4px rgba(0,0,0,0.15); }
.kadran-kutu::after { content:''; position: absolute; top: 6px; left: 6px; right: 6px; bottom: 0; background: var(--bg-kutu); border-radius: 40px 40px 0 0; transition: background 0.3s; }
.ibre { position: absolute; bottom: 0; left: 50%; width: 2px; height: 22px; background: var(--text-baslik); transform-origin: bottom center; margin-left: -1px; z-index: 2; transform: rotate(-90deg); animation: ibreKalkis 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.ibre::after { content:''; position: absolute; bottom: -4px; left: -4px; width: 10px; height: 10px; background: var(--text-baslik); border-radius: 50%; transition: background 0.3s; }
@keyframes ibreKalkis { 0% { transform: rotate(-90deg); } 100% { transform: rotate(var(--aci)); } }

.kitap-sag { display: flex; flex-direction: column; flex-grow: 1; justify-content: flex-start; }
.kitap-etiketler { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.ketiket { font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 800; color: white; letter-spacing: 0.5px; }
.ke-sinif { background: #2c3e50; } .ke-tur { background: #e67e22; } .ke-yayin { background: #8e44ad; }
.kitap-baslik { font-size: 18px; font-weight: 800; color: var(--text-baslik); margin-bottom: 6px; line-height: 1.3; }
.kitap-yazar { font-size: 13px; color: var(--text-aciklama); font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }

.kitap-not { background: var(--bg-alt); padding: 15px 15px 15px 25px !important; border-radius: 8px; font-size: 14px !important; color: var(--text-ana); font-style: italic; line-height: 1.6 !important; border-left: 4px solid #8e44ad !important; position: relative; margin-bottom: 0; flex-grow: 1; font-weight: 500; }
.kitap-not::before { content: '\f10d'; font-family: "Font Awesome 6 Free" !important; font-weight: 900; position: absolute; top: -10px !important; left: -12px !important; background: #8e44ad; color: #fff; width: 26px !important; height: 26px !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px !important; box-shadow: 0 2px 5px rgba(142, 68, 173, 0.4); }

/* =========================================
 * 7. ILETISIM.PHP ÖZEL TASARIMLARI
 * ========================================= */
.iletisim-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; margin-top: 30px; margin-bottom: 30px; }
.iletisim-kutu { background: var(--bg-kutu); padding: 35px; border-radius: 12px; border: 1px solid var(--border-renk); box-shadow: 0 5px 20px var(--golge); }
.iletisim-kutu h2 { font-size: 24px; color: var(--text-baslik); margin-bottom: 25px; font-weight: 800; border-bottom: 2px solid #3498db; padding-bottom: 10px; display: inline-block; }

.iletisim-bilgi { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: var(--text-ana); font-size: 16px; font-weight: 600; }
.iletisim-bilgi i { font-size: 24px; color: #3498db; width: 30px; text-align: center; }

.wp-butonu, .tg-butonu { display: flex; align-items: center; justify-content: center; gap: 10px; color: white; padding: 15px; border-radius: 8px; font-size: 18px; font-weight: 800; transition: 0.3s; cursor: pointer; text-decoration: none; }
.wp-butonu { background: #25D366; margin-top: 30px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
.wp-butonu:hover { background: #1ebe57; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6); color: white;}
.tg-butonu { background: #229ED9; margin-top: 15px; box-shadow: 0 4px 15px rgba(34, 158, 217, 0.4); }
.tg-butonu:hover { background: #1b85b8; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(34, 158, 217, 0.6); color: white;}

.form-grup { margin-bottom: 20px; }
.form-grup input, .form-grup select, .form-grup textarea { width: 100%; padding: 12px 15px; border: 2px solid var(--border-renk); background: var(--bg-input); color: var(--text-ana); border-radius: 8px; font-size: 15px; transition: 0.3s; outline: none; font-family: inherit; }
.form-grup select { cursor: pointer; }
.form-grup input:focus, .form-grup select:focus, .form-grup textarea:focus { border-color: #3498db; }

.gonder-btn { background: #3498db; color: white; border: none; padding: 15px; width: 100%; border-radius: 8px; font-size: 16px; font-weight: 800; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4); }
.gonder-btn:hover { background: #2980b9; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);}

.cf-kutusu { display: flex; justify-content: center; margin-bottom: 20px; min-height: 65px; }
.cf-turnstile { color-scheme: light dark; }

.bildirim { padding: 15px; border-radius: 8px; margin-bottom: 20px; font-weight: bold; text-align: center; }
.bildirim.basarili { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.bildirim.hata { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.bildirim.bot_hatasi { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

/* =========================================
 * 8. INDIR.PHP (DETAY SAYFASI) ÖZEL TASARIMLARI
 * ========================================= */
.detay-kutusu { background: var(--bg-kutu); border-radius: 15px; border: 1px solid var(--border-renk); box-shadow: 0 5px 20px var(--golge); display: flex; overflow: hidden; margin-bottom: 40px; }
.detay-gorsel { width: 40%; }
.detay-gorsel img { width: 100%; height: 100%; object-fit: cover; border-right: 1px solid var(--border-renk);}
.detay-icerik { width: 60%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.detay-icerik h1 { font-size: 32px; color: var(--text-baslik); margin-bottom: 15px; font-weight: 800; line-height: 1.2;}

.etiketler { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.etiket { padding: 6px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; color: white; }
.et-sinif { background: #2c3e50; } .et-konu { background: #27ae60; } .et-soru { background: #e74c3c; } .et-yazili { background: #8e44ad; } .et-donem { background: #f39c12; }

.alt-basliklar { background: var(--bg-etiket); padding: 20px; border-radius: 10px; border: 1px dashed var(--border-renk); margin-bottom: 25px; }
.alt-basliklar h4 { margin-bottom: 10px; color: var(--text-baslik); font-size: 16px; }
.alt-basliklar p { color: var(--text-aciklama); font-size: 15px; line-height: 1.6; font-weight: 600; }

.aksiyon-butonlari { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }
.aksiyon-butonlari .indirme-butonu, .aksiyon-butonlari .paylas-butonu { flex: 1; display: flex; justify-content: center; align-items: center; padding: 15px 30px; border-radius: 10px; font-size: 20px; font-weight: 800; color: white; transition: 0.3s; border: none; cursor: pointer; }
.indirme-butonu { background: #3498db; box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4); text-decoration: none;}
.indirme-butonu:hover { background: #2980b9; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6); color: white;}
.paylas-butonu { background: #8e44ad; box-shadow: 0 4px 15px rgba(142, 68, 173, 0.4); }
.paylas-butonu:hover { background: #732d91; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(142, 68, 173, 0.6); }

/* =========================================
 * HABER BÜLTENİ TASARIMI
 * ========================================= */
.bulten-kutusu { background: var(--bg-kutu); border: 1px solid var(--border-renk); border-radius: 12px; padding: 25px; text-align: center; margin-bottom: 20px; box-shadow: 0 4px 10px var(--golge); }
.bulten-kutusu h3 { color: var(--text-baslik); margin-bottom: 10px; font-size: 20px; }
.bulten-kutusu p { color: var(--text-aciklama); font-size: 14px; margin-bottom: 15px; }
.bulten-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto; }
.bulten-form input { flex: 1; padding: 12px 15px; border: 2px solid var(--border-renk); border-radius: 8px; background: var(--bg-input); color: var(--text-ana); outline: none; transition: 0.3s; }
.bulten-form input:focus { border-color: #3498db; }
.bulten-form button { background: #3498db; color: white; border: none; padding: 0 25px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.bulten-form button:hover { background: #2980b9; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);}
#bultenMesaj { margin-top: 10px; font-size: 14px; font-weight: bold; }
.mesaj-basarili { color: #27ae60; } .mesaj-hata { color: #e74c3c; }

/* =========================================
 * 9. YKS SAYACI VE MOTİVASYON KUTUSU
 * ========================================= */
.yks-sayac-kapsayici { text-align: center; margin-top: -15px; margin-bottom: 30px; padding: 0 15px; }
.yks-sayac-kutu { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #8e44ad, #3498db); color: white; padding: 12px 25px; border-radius: 30px; font-size: 15px; font-weight: 800; box-shadow: 0 4px 15px rgba(142, 68, 173, 0.4); animation: kalpAtisi 2s infinite; }
.yks-sayac-kutu i { font-size: 20px; margin-right: 10px; color: #f1c40f; }
.sayac-zaman { background: rgba(0,0,0,0.25); padding: 4px 12px; border-radius: 8px; margin: 0 6px; font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: 1px;}
.sayac-motive {  }

@keyframes kalpAtisi { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } }

/* =========================================
 * 10. ANALİZ SAYFASI TASARIMI
 * ========================================= */
.analiz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 40px; }
.analiz-kutu { background: var(--bg-kutu); border: 1px solid var(--border-renk); border-radius: 12px; padding: 30px; box-shadow: 0 4px 15px var(--golge); }
.analiz-kutu h2 { font-size: 22px; color: var(--text-baslik); margin-bottom: 25px; border-bottom: 2px solid var(--border-renk); padding-bottom: 12px; display: flex; align-items: center; gap: 10px;}
.analiz-satir { margin-bottom: 20px; }
.analiz-baslik { display: flex; justify-content: space-between; font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--text-ana); }
.analiz-bar-arkaplan { width: 100%; background: var(--bg-input); border: 1px solid var(--border-renk); border-radius: 10px; height: 16px; overflow: hidden; box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);}
.analiz-bar-dolgu { height: 100%; border-radius: 10px; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); width: 0%; }

.bar-tyt { background: linear-gradient(90deg, #3498db, #2980b9); }
.bar-ayt { background: linear-gradient(90deg, #e67e22, #d35400); }

.badge-tyt { background: #3498db; color: white; padding: 4px 10px; border-radius: 8px; font-size: 14px; font-weight: 800; }
.badge-ayt { background: #e67e22; color: white; padding: 4px 10px; border-radius: 8px; font-size: 14px; font-weight: 800; }

.tahmin-kutusu { background: linear-gradient(135deg, #16a085, #27ae60); color: white; padding: 40px; border-radius: 12px; text-align: center; box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4); margin-bottom: 40px; position: relative; overflow: hidden;}
.tahmin-kutusu h2 { color: white; border: none; font-size: 28px; justify-content: center; margin-bottom: 15px; font-weight: 800;}
.tahmin-kutusu p { font-size: 16px; opacity: 0.95; margin-bottom: 20px; line-height: 1.6;}
.kilit-ikon { font-size: 100px; opacity: 0.15; position: absolute; right: -20px; bottom: -20px; transform: rotate(-15deg); }

/* =========================================
 * 11. ANA MENÜ VE TEMA SEÇİCİ TASARIMI
 * ========================================= */
.mobil-menu-btn {
    display: none; 
    position: fixed; /* absolute yerine fixed yaptık ki ekrana yapışsın */
    top: 15px; 
    left: 15px; 
    z-index: 9999; /* Sayfadaki her şeyin (tabloların, resimlerin) üstünde kalmasını sağlar */
    background: var(--bg-kutu); 
    border: 2px solid var(--border-renk); 
    color: var(--text-baslik);
    width: 40px; 
    height: 40px; 
    border-radius: 10px; 
    font-size: 20px; 
    cursor: pointer;
    box-shadow: 0 4px 10px var(--golge); 
    align-items: center; 
    justify-content: center; 
    transition: 0.3s;
}
.mobil-menu-btn:hover { border-color: #3498db; color: #3498db; }

.ana-menu { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; align-items: center;}
.ana-menu a {
    display: flex; align-items: center; gap: 8px; padding: 10px 22px;
    background: var(--bg-kutu); color: var(--text-baslik); border: 2px solid var(--border-renk);
    border-radius: 30px; font-size: 15px; font-weight: 700; transition: all 0.3s ease;
    box-shadow: 0 4px 10px var(--golge);
}
.ana-menu a i { font-size: 17px; }
.ana-menu a:hover { border-color: var(--text-baslik); transform: translateY(-2px); box-shadow: 0 6px 15px var(--golge-hover); }

.ana-menu a.aktif { background: var(--text-baslik); color: var(--bg-kutu); border-color: var(--text-baslik); box-shadow: 0 6px 15px var(--golge-hover); pointer-events: none;}
.ana-menu a.aktif i { filter: brightness(1.5); }

/* Menü İçi Tema Seçici Tasarımı */
.menu-tema-secici {
    display: flex; gap: 5px; padding: 4px; background-color: var(--bg-kutu);
    border: 2px solid var(--border-renk); border-radius: 30px; transition: 0.3s;
    align-items: center; margin-left: 10px;
}
.tema-btn { background: transparent; border: none; color: var(--text-aciklama); font-size: 16px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.tema-btn.aktif { background-color: #3498db; color: white; }
.tema-btn:hover:not(.aktif) { background-color: var(--bg-btn-hover); color: var(--text-baslik); }

/* =========================================
 * MOBİL VE MASAÜSTÜ AÇILIR MENÜ ZEKASI
 * ========================================= */
.mobil-goster { display: none !important; }
.masaustu-goster { display: flex !important; }

.mobil-dropdown {
    width: 100%; padding: 10px 15px; border-radius: 8px;
    border: 2px solid var(--border-renk); background-color: var(--bg-input);
    color: var(--text-baslik); font-weight: 700; font-size: 14px;
    outline: none; cursor: pointer; appearance: none; transition: 0.3s;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 15px center; background-size: 16px;
}
.mobil-dropdown:focus { border-color: #3498db; }

/* =========================================
 * MOBİL EKRAN (TELEFON/TABLET) KURALLARI
 * ========================================= */
@media (max-width: 768px) {
    .masaustu-goster { display: none !important; }
    .mobil-goster { display: block !important; flex-grow: 1; }

    /* Ana Menü Mobil Düzeni */
    .mobil-menu-btn { display: flex; }
    .ana-menu {
        display: none; flex-direction: column; width: 100%; gap: 10px;
        background: var(--bg-kutu); padding: 20px; border-radius: 12px;
        border: 1px solid var(--border-renk); box-shadow: 0 10px 30px var(--golge-hover);
        margin-bottom: 25px;
    }
    .ana-menu.acik { 
        display: flex; 
        animation: fadeInDown 0.3s ease; 
        position: fixed; /* Açılan menüyü ekrana sabitler */
        top: 65px; /* Menü simgesinin hemen altına hizalar */
        left: 15px;
        right: 15px;
        width: auto; /* Tam ekran yapıp taşımasını engeller, sağ/sol boşluk bırakır */
        z-index: 9998; /* Tabloların, yazıların ve her şeyin üstünde kalmasını sağlar */
        margin-bottom: 0;
    }
    .ana-menu a { border-radius: 10px; padding: 14px 20px; justify-content: flex-start; font-size: 16px; border: 1px solid var(--border-renk); box-shadow: none;}
    .ana-menu a:hover { transform: none; background: var(--bg-alt); }

    /* Mobilde Tema Seçicinin Menü İçindeki Hali */
    .menu-tema-secici {
        margin-left: 0; margin-top: 15px; justify-content: center; gap: 15px;
        background: transparent; border: none; padding-top: 20px;
        border-top: 2px dashed var(--border-renk); border-radius: 0;
    }
    .menu-tema-secici .tema-btn {
        width: 45px; height: 45px; font-size: 18px;
        background: var(--bg-input); border: 2px solid var(--border-renk);
        color: var(--text-aciklama);
    }
    .menu-tema-secici .tema-btn.aktif {
        background: #3498db !important;
        border-color: #3498db;
        color: white !important;
    }

    /* Arama ve Sıralama Mobilde Alt Alta */
    .arama-siralama-satiri { flex-direction: column; align-items: stretch; gap: 12px; }
    .siralama-kapsayici { justify-content: flex-end; width: 100%; }
    #siralamaSecimi { flex-grow: 1; }

    /* Arama ve Filtre Düzeni (Mobilde Alt Alta Kapsüller) */
    .filtre-alani { display: flex !important; flex-direction: column; gap: 12px; margin-bottom: 25px; }
    .filtre-satiri { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 10px; padding: 10px 15px 10px 20px; border-radius: 30px; width: 100%; }
    .filtre-etiketi { min-width: 65px; font-size: 14px; }
    .mobil-select-alani { flex-grow: 1; }
    .mobil-dropdown { padding: 8px 15px; border-radius: 20px; font-size: 13px; border-color: var(--border-hafif); background-color: var(--bg-btn-pasif); box-shadow: none; }

    /* Kitaplar Filtre Çubuğu */
    .kitap-filtre-cubugu { flex-direction: column; gap: 10px; padding: 15px; }
    .kitap-filtre-cubugu select { width: 100%; min-width: auto; }

    .kitap-grid { grid-template-columns: 1fr; }
    .kitap-kart { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
    .kitap-sol { width: 140px; }
    .kitap-etiketler { justify-content: center; }
    .kitap-yazar { justify-content: center; }
    .kitap-not { text-align: left; margin-top: 5px; }

    /* İletişim Sayfası Mobil Düzeni */
    .iletisim-grid { grid-template-columns: 1fr; gap: 15px; }
    .iletisim-kutu { padding: 20px 15px; }
    .cf-kutusu { max-width: 100%; overflow: hidden; }
    .wp-butonu, .tg-butonu { font-size: 16px; padding: 12px; }

    /* Footer Daraltma */
    footer { margin-top: 10px !important; padding: 20px 15px; }
    .footer-icerik .uyari { font-size: 13px; margin-bottom: 10px; }
    .yazar-ve-iletisim { flex-direction: column; gap: 5px; padding: 12px; border-radius: 12px; margin-bottom: 15px; }
    .yazar-isim, .yazar-isim i, .iletisim-mail { font-size: 14px; }
    .ayrac { display: none; }
    .footer-icerik .telif { font-size: 12px; margin-top: 15px; padding-top: 10px; }

    /* İndir Sayfası Mobil Düzeni */
    .detay-kutusu { flex-direction: column; }
    .detay-gorsel { width: 100%; height: 200px; }
    .detay-gorsel img { border-right: none; border-bottom: 1px solid var(--border-renk); }
    .detay-icerik { width: 100%; padding: 25px; }
    .detay-icerik h1 { font-size: 24px; }
    .aksiyon-butonlari { flex-direction: column; gap: 10px; }

    /* Analiz Sayfası Mobil Düzeni */
    .analiz-grid { grid-template-columns: 1fr; }

    /* YKS SAYACI: Mobilde Geniş ve Kısa Şerit Tasarımı */
    .yks-sayac-kapsayici { padding: 0 10px; }
    .yks-sayac-kutu {
        flex-direction: row; flex-wrap: wrap; width: 100%;
        padding: 8px 5px; border-radius: 12px; font-size: 13px; gap: 3px;
    }
    .yks-sayac-kutu i { font-size: 15px; margin-right: 2px; }
    .sayac-zaman { font-size: 14px; padding: 2px 6px; margin: 0 2px; }
    .sayac-motive { margin-left: 2px; display: inline-block; font-size: 12px; }
}

@media (max-width: 600px) {
    body { padding: 10px; }
    .site-logo img { width: 200px; }

    .mobil-menu-btn { top: 10px; left: 10px; width: 36px; height: 36px; font-size: 18px; }

    #aramaKutusu { padding: 10px 18px; font-size: 14px; margin-bottom: 15px; }
    .filtre-alani { padding: 0; gap: 10px; }
    .filtre-satiri { padding: 8px 12px 8px 15px; border-radius: 25px; gap: 8px; }
    .filtre-etiketi { font-size: 13px; min-width: 55px; }
    .filtre-btn { padding: 4px 10px; font-size: 12px; }

    .kart-grid { gap: 15px; grid-template-columns: 1fr; }
    .kart-gorsel img { height: 130px; }
    .kart-icerik { padding: 15px; }
    .kart-icerik h3 { font-size: 17px; margin-bottom: 8px; }
    .etiket-satiri { gap: 4px; margin-bottom: 8px; }
    .sinif-etiket, .donem-etiket, .tur-etiket { font-size: 11px; padding: 3px 6px; border-radius: 4px;}
    .konu-listesi { padding-top: 10px; }
    .konu-listesi li { font-size: 11px; padding: 3px 8px; }
    .kart-meta { padding: 10px 15px; }
    .meta-bilgi { font-size: 12px; }
    .meta-bilgi i { font-size: 13px; }
    .indirme-sayaci { font-size: 12px; padding: 4px 8px; }
    .seo-metni { font-size: 14px; margin-bottom: 15px; }
    .bulten-form { flex-direction: column; }
    .bulten-form button { padding: 12px; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Detay Sayfası İstatistik Rozetleri */
.detay-istatistik { display: flex; gap: 15px; margin-top: 5px; flex-wrap: wrap; }
.detay-istatistik span {
    background: var(--bg-alt); border: 1px solid var(--border-renk);
    padding: 12px 20px; border-radius: 12px; font-size: 14px;
    color: var(--text-aciklama); display: flex; align-items: center; gap: 10px;
    font-weight: 600; box-shadow: inset 0 2px 5px var(--golge);
}
.detay-istatistik span strong { color: var(--text-baslik); font-weight: 800; font-size: 16px; margin-left: 5px;}
.detay-istatistik .stat-indirme i { color: #e74c3c; font-size: 18px; }
.detay-istatistik .stat-tarih i { color: #27ae60; font-size: 18px; }

/* =========================================
 * 12. MOTİVASYON KUTUSU (ANA SAYFA)
 * ========================================= */
.motivasyon-kutusu {
    background: var(--bg-kutu);
    border-left: 4px solid #8e44ad;
    border-radius: 8px;
    padding: 20px 30px;
    margin: 0 auto 30px auto;
    max-width: 700px;
    box-shadow: 0 4px 15px var(--golge);
    position: relative;
    text-align: center;
    transition: transform 0.3s;
}
.motivasyon-kutusu:hover {
    transform: translateY(-3px);
}
.motivasyon-kutusu .quote-ikon {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #8e44ad;
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(142, 68, 173, 0.4);
}
.motivasyon-kutusu .m-soz {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-baslik);
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.5;
}
.motivasyon-kutusu .m-yazar {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-aciklama);
}

@media (max-width: 600px) {
    .motivasyon-kutusu { padding: 20px; }
    .motivasyon-kutusu .m-soz { font-size: 15px; }
}

/* =========================================
 * BANKO (HER SENE ÇIKAN) KONU EFEKTLERİ
 * ========================================= */

/* 1. SEÇENEK: HEDEF / BANKO EFEKTİ (Yeşil) */
.pay-etiketi.banko { color: #27ae60; border: 1px solid rgba(39, 174, 96, 0.5); background: rgba(39, 174, 96, 0.08); }
.banko-efekti { color: #27ae60 !important; text-shadow: 0 0 8px rgba(39, 174, 96, 0.6) !important; animation: atis 1.5s infinite alternate; display: inline-block; font-size: 15px; margin: 0 4px; }
@keyframes atis { 0% { transform: scale(1); } 100% { transform: scale(1.2); } }

/* 2. SEÇENEK: TAÇ / KRAL KONU EFEKTİ (Altın Sarısı) */
.pay-etiketi.kral { color: #d35400; border: 1px solid rgba(243, 156, 18, 0.5); background: rgba(243, 156, 18, 0.08); }
.kral-efekti { color: #f1c40f !important; text-shadow: 0 0 8px rgba(241, 196, 15, 0.8) !important; animation: parlama 1.5s infinite alternate; display: inline-block; font-size: 15px; margin: 0 4px; }
@keyframes parlama { 0% { opacity: 0.7; transform: translateY(0); } 100% { opacity: 1; transform: translateY(-2px); } }

/* 3. SEÇENEK: GARANTİ NET EFEKTİ (Mavi) */
.pay-etiketi.garanti { color: #3498db; border: 1px solid rgba(52, 152, 219, 0.5); background: rgba(52, 152, 219, 0.08); }
.garanti-efekti { color: #3498db !important; text-shadow: 0 0 5px rgba(52,152,219,0.5) !important; display: inline-block; font-size: 15px; margin: 0 4px; animation: kalpAtisi 2s infinite; }

/* =========================================
 * WALTER WHITE'IN SEÇİMİ (ÖZEL KAYNAK ETİKETİ)
 * ========================================= */
.kitap-kart {
    position: relative; /* Etiketin kartın köşesine tutunabilmesi için eklendi */
}

.kitap-kart.walter-karti {
    border: 2px solid #1e5128;
    box-shadow: 0 8px 25px rgba(30, 81, 40, 0.15);
    background: linear-gradient(to bottom right, var(--bg-kutu), rgba(30, 81, 40, 0.03));
}

.walter-etiket {
    position: absolute;
    top: -14px;
    left: -14px;
    background: #0d2818; /* Koyu zehir yeşili */
    color: #ecf0f1;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    z-index: 10;
    border: 2px solid #1e5128;
    box-shadow: 3px 4px 12px rgba(0,0,0,0.3);
    transform: rotate(-3deg);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.walter-etiket i {
    color: #3498db; /* Heisenberg Mavisi */
    font-size: 16px;
}

.walter-etiket .element {
    background: #1e5128;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace; /* Jenerikteki gibi daktilo/bilimsel font */
    font-weight: bold;
    border: 1px solid #2ecc71;
    font-size: 14px;
}
