﻿@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

/* genel sayfa */
body {
    font-family: 'Nunito', Arial, sans-serif;
    color: #1a3340;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #eef2f7;
}

/* header - hoca mavi istedi */
header {
    background: #1976d2;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-ici {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-bolum a { text-decoration: none; }

.site-logo {
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
    margin: 0;
    white-space: nowrap;
}

#aramaBar {
    flex: 1;
    display: flex;
}

.arama-input {
    flex: 1;
    padding: 9px 14px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.92rem;
    outline: none;
    font-family: 'Nunito', sans-serif;
}

.arama-btn {
    padding: 9px 18px;
    background: #ff8f00;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
}
.arama-btn:hover { background: #e65100; }

.header-sag {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.kullanici-adi-chip {
    color: rgba(255,255,255,0.9);
    font-size: 0.88rem;
    background: rgba(255,255,255,0.15);
    padding: 5px 12px;
    border-radius: 20px;
}

.cikis-btn {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(255,255,255,0.12);
    font-family: 'Nunito', sans-serif;
}
.cikis-btn:hover { background: rgba(255,255,255,0.22); }

.btn-giris-yap {
    background: #4CAF50;
    color: white;
    padding: 7px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
}
.btn-kayit-ol {
    background: #FFC107;
    color: #333;
    padding: 7px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
}

footer {
    background: #1A5C94;
    color: #94a3b8;
    text-align: center;
    padding: 18px;
    font-size: 0.82rem;
    margin-top: auto;
}
footer strong { color: white; }

.konteyner {
    max-width: 980px;
    margin: 0 auto;
    padding: 32px 20px;
    flex: 1;
}

/* kart - blur kaldirildi, sade beyaz kutu yaptim */
.kart {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.09);
    padding: 28px;
    border: 1px solid #e2e8f0;
}

/* butonlar */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    border: none;
    text-decoration: none;
    text-align: center;
    transition: filter 0.15s;
}
.btn:hover { filter: brightness(0.92); }
.btn:active { filter: brightness(0.85); }

/* gradient yerine duz renkler - daha normal gorunuyor */
.btn-mavi    { background: #1976d2; color: white; }
.btn-yesil   { background: #2e7d32; color: white; }
.btn-turuncu { background: #e65100; color: white; }
.btn-gri     { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.btn-tam     { width: 100%; display: block; }
.btn-buyuk   { padding: 15px 36px; font-size: 1.05rem; }

/* form elemanlari */
.form-grup { margin-bottom: 18px; }
.form-grup label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 0.92rem; }
.form-grup input, .form-grup select {
    width: 100%; padding: 11px 14px;
    border: 2px solid #cbd5e1; border-radius: 6px;
    font-size: 1rem; font-family: 'Nunito', sans-serif;
    color: #1a3340; background: white; outline: none;
}
.form-grup input:focus, .form-grup select:focus { border-color: #1976d2; }

.hata-mesaji {
    background: #fef2f2; color: #dc2626;
    border: 1px solid #fca5a5; border-radius: 6px;
    padding: 10px 14px; font-size: 0.88rem; font-weight: 600;
    margin-bottom: 14px; display: none;
}

/* giris sayfasi biraz farkli renk olsun */
body.giris-sayfa {
    background-color: #dce8f5;
}

.giris-sayfa {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.giris-ana {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
    padding: 36px 24px;
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
}

.giris-sol {
    flex: 1;
    max-width: 430px;
}

.giris-slogan {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.35;
    color: #1a2e4a;
    margin-bottom: 12px;
}
.giris-slogan span { color: #1565c0; }

.giris-aciklama {
    color: #334155;
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

/* istatistik bari - ozellik kutulari kaldirildi, bu daha sade */
.giris-istatlar {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.82);
    border-radius: 8px;
    padding: 18px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
    margin-top: 8px;
}

.giris-istat-kutu {
    flex: 1;
    text-align: center;
}

.giris-istat-sayi {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1d4ed8;
    line-height: 1.1;
}

.giris-istat-yazi {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.giris-istat-ayrac {
    width: 1px;
    height: 36px;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* giris kutusu - margin falan tam oturmadi ama idare eder */
.giris-kutu {
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 1px 3px 8px rgba(0,0,0,0.12);
    padding: 26px 24px 30px 24px;
    width: 100%;
    max-width: 370px;
    flex-shrink: 0;
    border: 1px solid #c9d6e3;
}

.giris-baslik    { font-size: 1.45rem; font-weight: 700; color: #1A5C94; margin-bottom: 4px; }
.giris-alt-baslik { color: #6b7280; margin-bottom: 20px; font-size: 0.9rem; }

.sayfa-baslik {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}
.sayfa-baslik h1 { font-size: 1.8rem; font-weight: 800; color: #1e293b; margin-bottom: 4px; }
.sayfa-baslik p  { color: #5a7a8a; }

/* istatistik banti */
.istat-bant {
    background: #2e7d32;
    color: white;
    border-radius: 8px;
    padding: 16px 24px;
    margin-bottom: 28px;
}
.istat-bant-ic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.95rem;
}
.istat-bant-ic strong { font-weight: 800; }
.istat-bant-sayilar { display: flex; gap: 10px; flex-wrap: wrap; }
.istat-pill {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.83rem;
    font-weight: 700;
}

.adim-baslik {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
    margin-top: 8px;
}
.adim-no {
    width: 28px;
    height: 28px;
    background: #1976d2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ders kartlari */
.ders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.ders-karti {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px 20px;
    cursor: pointer;
    transition: border-color 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.ders-karti::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}
.ders-karti.matematik::before { background: #f97316; }
.ders-karti.turkce::before    { background: #a855f7; }
.ders-karti.fen::before       { background: #22c55e; }
.ders-karti.hayat::before     { background: #06b6d4; }

.ders-karti:hover { border-color: #94a3b8; box-shadow: 0 3px 10px rgba(0,0,0,0.08); }

.ders-karti.matematik.secili { border-color: #f97316; background: #fff7ed; }
.ders-karti.turkce.secili    { border-color: #a855f7; background: #faf5ff; }
.ders-karti.fen.secili       { border-color: #22c55e; background: #f0fdf4; }
.ders-karti.hayat.secili     { border-color: #06b6d4; background: #ecfeff; }

.ders-adi       { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; color: #1e293b; }
.ders-aciklama  { font-size: 0.82rem; color: #5a7a8a; line-height: 1.5; }
.secili-isaret  { margin-top: 10px; font-size: 0.78rem; font-weight: 700; color: #1976d2; }

/* sinif secimi */
.seviye-bolumu { margin-bottom: 28px; }
.seviye-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.seviye-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px 10px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.18s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.seviye-btn:hover { border-color: #1976d2; background: #eff6ff; }
.seviye-btn.secili { border-color: #1976d2; background: #eff6ff; }
.seviye-sayi { font-size: 1.6rem; font-weight: 800; color: #1976d2; }
.seviye-yazi { font-size: 0.78rem; color: #5a7a8a; font-weight: 600; }

/* quiz listesi */
.quiz-listesi { display: flex; flex-direction: column; gap: 10px; }
.quiz-liste-satir {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.quiz-liste-baslik { font-weight: 800; font-size: 1.02rem; margin-bottom: 5px; color: #1e293b; }
.quiz-liste-detay  { display: flex; gap: 18px; font-size: 0.83rem; color: #5a7a8a; font-weight: 600; }

/* konu chipler */
.konu-satirlari { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }

.konu-chip {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    border: 2px solid #94a3b8;
    color: #475569;
    background: white;
    cursor: pointer;
}
.konu-chip:hover { background: #f1f5f9; }
.konu-chip.konu-secili { background: #1976d2; color: white; border-color: #1976d2; }

.konu-rozet {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    background: #eff6ff;
    color: #1976d2;
    border: 1px solid #bfdbfe;
    margin-left: 6px;
    vertical-align: middle;
}

/* quiz ekrani */
.quiz-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 8px;
    padding: 14px 22px;
    margin-bottom: 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 10px;
}
.quiz-bilgi { font-weight: 700; font-size: 0.92rem; }
.soru-sayac { color: #1976d2; font-size: 1rem; font-weight: 800; }
.sure-kutu {
    background: #fef3c7; border: 2px solid #fbbf24;
    border-radius: 6px; padding: 7px 14px;
    font-size: 1rem; font-weight: 800; color: #92400e;
}
.sure-kutu.az-sure {
    background: #fef2f2; border-color: #dc2626; color: #dc2626;
    animation: titre 0.5s infinite;
}
@keyframes titre { 0%,100%{transform:scale(1)} 50%{transform:scale(1.04)} }

.ilerleme-bar-kutu { background: #e2e8f0; border-radius: 10px; height: 7px; overflow: hidden; margin-bottom: 7px; }
.ilerleme-bar { height: 100%; background: #1976d2; border-radius: 10px; transition: width 0.35s; }

/* soru karti - blur kaldirildi */
.soru-kart {
    background: #ffffff;
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}
.soru-numara { font-size: 0.82rem; font-weight: 700; color: #1976d2; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.soru-metni  { font-size: 1.2rem; font-weight: 700; line-height: 1.6; margin-bottom: 26px; }

.cevap-listesi { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cevap-item {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.15s, background 0.15s;
    font-size: 0.97rem;
    font-weight: 600;
    background: white;
    font-family: 'Nunito', sans-serif;
    color: #1a3340;
    text-align: left;
    width: 100%;
}
.cevap-item:hover:not(:disabled) { border-color: #1976d2; background: #eff6ff; }
.cevap-item.dogru  { border-color: #16a34a; background: #f0fdf4; color: #166534; }
.cevap-item.yanlis { border-color: #dc2626; background: #fef2f2; color: #991b1b; }

.cevap-harf {
    width: 32px; height: 32px; border-radius: 50%;
    background: #f1f5f9; display: flex; align-items: center;
    justify-content: center; font-weight: 800; font-size: 0.85rem;
    flex-shrink: 0;
}
.cevap-item.dogru  .cevap-harf { background: #16a34a; color: white; }
.cevap-item.yanlis .cevap-harf { background: #dc2626; color: white; }

.cevap-yazisi { flex: 1; }

.quiz-alt-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.puan-chip {
    background: #fefce8; border: 1px solid #fde047;
    border-radius: 6px; padding: 6px 14px;
    font-size: 0.9rem; font-weight: 700; color: #713f12;
}

/* sonuc sayfasi */
.sonuc-ana { text-align: center; }
.sonuc-etiket {
    display: inline-block; padding: 8px 24px; border-radius: 20px;
    font-size: 1.1rem; font-weight: 800; margin-bottom: 16px;
}
.sonuc-etiket.basarili     { background: #dcfce7; color: #166534; border: 2px solid #86efac; }
.sonuc-etiket.gelistirilmeli { background: #fff7ed; color: #c2410c; border: 2px solid #fdba74; }
.sonuc-h1   { font-size: 1.7rem; font-weight: 800; margin-bottom: 6px; }
.puan-buyuk { font-size: 4rem; font-weight: 800; color: #1976d2; display: block; line-height: 1; margin-bottom: 4px; }
.puan-alt   { color: #5a7a8a; margin-bottom: 28px; }

.sonuc-istatistik { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 28px; }
.stat-kutu  { background: #f8fafc; border-radius: 8px; padding: 18px 10px; border: 1px solid #e2e8f0; }
.stat-sayi  { font-size: 2rem; font-weight: 800; display: block; margin-bottom: 4px; }
.stat-sayi.yesil   { color: #16a34a; }
.stat-sayi.kirmizi { color: #dc2626; }
.stat-sayi.mavi    { color: #1976d2; }
.stat-yazi  { font-size: 0.82rem; color: #5a7a8a; font-weight: 600; }

.sonuc-butonlar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* soru ozeti */
.ozet-satir {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}
.ozet-satir:last-child { border-bottom: none; }
.ozet-no {
    width: 30px; height: 30px; border-radius: 50%;
    background: #f1f5f9; display: flex; align-items: center;
    justify-content: center; font-size: 0.82rem; font-weight: 800;
    flex-shrink: 0; color: #64748b;
}
.ozet-dogru .ozet-no { background: #dcfce7; color: #166534; }
.ozet-yanlis .ozet-no { background: #fef2f2; color: #dc2626; }
.ozet-icerik { flex: 1; }
.ozet-soru   { font-size: 0.9rem; font-weight: 700; color: #1e293b; margin-bottom: 6px; line-height: 1.5; }
.ozet-cevaplar { display: flex; flex-wrap: wrap; gap: 8px; }
.ozet-secilen { font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 4px; border: 1px solid; }
.ozet-c-dogru  { background: #f0fdf4; color: #166534; border-color: #86efac; }
.ozet-c-yanlis { background: #fef2f2; color: #dc2626; border-color: #fca5a5; }
.ozet-dogru-cevap { font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 4px; background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.ozet-ikon { font-size: 1.1rem; font-weight: 800; flex-shrink: 0; padding-top: 2px; }
.ozet-dogru .ozet-ikon  { color: #16a34a; }
.ozet-yanlis .ozet-ikon { color: #dc2626; }

/* gecmis tablosu */
.istat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin-bottom: 24px; }
.istat-kart { background: white; border-radius: 10px; padding: 22px 16px; text-align: center; box-shadow: 0 1px 6px rgba(0,0,0,0.07); border: 1px solid #e2e8f0; }
.istat-sayi { font-size: 2.1rem; font-weight: 800; color: #1976d2; display: block; margin-bottom: 4px; }
.istat-yazi { font-size: 0.82rem; color: #5a7a8a; font-weight: 600; }

.gecmis-tablo-kutu { overflow-x: auto; }
.gecmis-tablo { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.gecmis-tablo th {
    background: #f8fafc; padding: 11px 16px; text-align: left;
    font-weight: 800; color: #5a7a8a; font-size: 0.77rem;
    text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid #e2e8f0;
}
.gecmis-tablo td { padding: 13px 16px; border-bottom: 1px solid #e2e8f0; font-weight: 600; }
.gecmis-tablo tr:hover td { background: #f8fafc; }
.gecmis-tablo tr:last-child td { border-bottom: none; }

.durum-chip { display: inline-block; padding: 3px 11px; border-radius: 12px; font-size: 0.78rem; font-weight: 700; }
.durum-chip.basarili      { background: #dcfce7; color: #166534; }
.durum-chip.gelistirilmeli { background: #fff7ed; color: #c2410c; }

.bos-gecmis { text-align: center; padding: 48px 20px; color: #5a7a8a; }
.bos-gecmis-ikon { font-size: 2.5rem; font-weight: 800; color: #cbd5e1; display: block; margin-bottom: 14px; }

/* liderlik */
.podiyum {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 28px 20px 0;
}
.podiyum-kisi { text-align: center; flex: 1; max-width: 180px; }
.podiyum-kron { font-size: 1.6rem; margin-bottom: 4px; color: #f59e0b; }
.podiyum-isim { font-weight: 800; font-size: 0.92rem; margin-bottom: 4px; color: #1e293b; word-break: break-word; }
.podiyum-puan { font-size: 1.1rem; font-weight: 800; color: #1976d2; margin-bottom: 8px; }
.podiyum-kutu {
    border-radius: 6px 6px 0 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 800; color: white;
}
.podiyum-kutu-1 { background: #d97706; height: 90px; }
.podiyum-kutu-2 { background: #64748b; height: 70px; }
.podiyum-kutu-3 { background: #a05a25; height: 55px; }

/* mobil */
@media (max-width: 720px) {
    .giris-ana { flex-direction: column; gap: 28px; padding: 24px 16px; }
    .giris-slogan { font-size: 2.1rem; }
    .giris-kutu { padding: 28px 22px; }
    .konteyner { padding: 20px 14px; }
    .soru-kart { padding: 22px 16px; }
    .soru-metni { font-size: 1.05rem; }
    .sonuc-istatistik { grid-template-columns: 1fr; }
    .seviye-grid { grid-template-columns: repeat(2,1fr); }
    .podiyum { gap: 6px; }
    .podiyum-kisi { max-width: 120px; }
    .podiyum-isim { font-size: 0.8rem; }
}

/* ---- galeri layout - quiz-sec.php ---- */
/* float yerine flex kullandim, float nedense cikmiyor */
.main-kutu {
    width: 100%;
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-sizing: border-box;
}

.sol-sidebar {
    width: 240px;
    flex-shrink: 0;
}

.icerik-alani {
    flex: 1;
    min-width: 0;
}

.filtre-kutu {
    background: white;
    border-radius: 6px;
    padding: 16px 14px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.07);
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
}

.filtre-baslik {
    font-size: 0.95rem;
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3f2fd;
}

.filtre-grup { margin-bottom: 12px; }

.filtre-grup label {
    display: block;
    font-size: 0.83rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 4px;
}

.filtre-select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.87rem;
    background: white;
    outline: none;
    font-family: 'Nunito', sans-serif;
}

.btn-filtrele {
    width: 100%;
    padding: 10px;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 6px;
    font-family: 'Nunito', sans-serif;
}
.btn-filtrele:hover { background: #1565c0; }

.bolum-baslik {
    font-size: 1.05rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* quiz kartlari grid */
.quiz-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.quiz-kart {
    width: calc(33.333% - 11px);
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.09);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.quiz-resim {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: bold;
    color: white;
    font-family: Arial, sans-serif;
}

.quiz-resim.matematik { background: #f97316; }
.quiz-resim.turkce    { background: #9333ea; }
.quiz-resim.fen       { background: #16a34a; }
.quiz-resim.hayat     { background: #0284c7; }
.quiz-resim.diger     { background: #64748b; }

.kart-bilgi { padding: 12px 13px 10px 13px; flex: 1; }

.quiz-kart-baslik {
    font-size: 0.93rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.4;
}

.ders-sinif-info {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 4px;
}

.quiz-puan-bilgi {
    font-size: 0.8rem;
    font-weight: bold;
    color: #f97316;
}

.btn-baslat {
    display: block;
    width: 100%;
    padding: 10px;
    background: #1976d2;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    box-sizing: border-box;
}
.btn-baslat:hover { background: #1565c0; }

.bos-sonuc {
    text-align: center;
    padding: 48px 20px;
    color: #888;
    font-size: 1rem;
}

/* footer - tek satirlik sade */
.site-footer {
    background: #1a252f;
    color: #aaa;
    margin-top: 40px;
}

.footer-alt {
    background: #111;
    text-align: center;
    padding: 12px;
    font-size: 0.77rem;
    color: #555;
    border-top: 1px solid #222;
}
