/* Bu kısmı CSS dosyana veya sayfanın üstündeki <style> tagları arasına yapıştır */
.altin-baslik {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern bir font */
    font-size: 32px; /* Başlığın büyüklüğü buradan ayarlanır (Örn: 40px yaparsan daha da büyür) */
    color: #FFD700; /* Altın Sarısı (Gold) rengi */
    font-weight: bold; /* Kalınlık */
    text-transform: uppercase; /* Tüm harfleri büyük yapar */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Başlığın altına hafif gölge atar, okunurluğu artırır */
    margin-bottom: 15px;
    display: block; /* Paragraftan ayrı bir satırda durmasını sağlar */
}

h3 {
    font-family: 'Arial Black', Gadget, sans-serif;
    color: #FFD700; /* Koyu lacivert/füme tonu, sarı başlıkla çok asil durur */
    border-left: 5px solid #FFD700; /* Soluna ince bir altın sarısı çizgi atar, vurgu yapar */
    padding-left: 10px;
    margin-top: 30px;
    text-transform: uppercase;
}

/* Görseli Sağa Yaslama (Float Right) */
.img-float-right {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
    max-width: 35%; /* Bilgisayarda yazının %40'ını kaplar */
    border: 2px solid #d9fd16; /* Sitedeki neon yeşili detayla uyumlu */
    padding: 5px;
}

/* Görseli Sola Yaslama (Float Left) */
.img-float-left {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
    max-width: 35%;
    border: 2px solid #d9fd16;
    padding: 5px;
}
/* Altyazı Stili */
.img-caption {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    text-align: left;
    margin-top: 5px;
    display: block;
}

/* MOBİL AYARI: Ekran küçüldüğünde float'ı iptal et */
@media (max-width: 768px) {
    .img-float-right, .img-float-left {
        float: none;      /* Yaslamayı kaldır */
        display: block;   /* Tek başına bir blok yap */
        margin: 0 auto 20px auto; /* Ortala ve altına boşluk bırak */
        max-width: 100%;  /* Genişliği tam ekran yap */
    }
}


/* Konteyner: Kartları alt alta diz */
.efsane-galerisi-dikey {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Her Bir Kartın Satır Yapısı */
.efsane-satir-kart {
    background: #111;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.efsane-satir-kart:hover {
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

/* Üst Başlık Şeridi */
.satir-baslik {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.satir-isim {
    margin: 0;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.satir-rozet {
    background: #FFD700;
    color: #000;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

/* Alt İçerik: Foto solda, Metin sağda */
.satir-icerik {
    display: flex;
    gap: 25px;
    align-items: center; /* Foto ve metni dikeyde ortalar */
}

.satir-foto {
    flex: 0 0 160px; /* Fotoğrafı biraz daha büyüttük */
}

.satir-foto img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #333;
}

.satir-metin {
    flex: 1;
    color: #ccc;
    line-height: 1.7;
    font-size: 15px; /* Okunurluk için bir tık büyüttük */
}


/* Ana Kutu */
.final-box {
    margin: 30px 0;
    font-family: 'Segoe UI', sans-serif;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

/* Üst Band (Skor Tablosu) */
.final-ust-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1a1a1a;
    color: #fff;
    position: relative;
}

.sezon-etiket { font-weight: bold; color: #FFD700; flex: 1; font-size: 14px; }
.skor-merkezi { display: flex; align-items: center; gap: 15px; flex: 3; justify-content: center; }
.takim-blok { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: bold; }
.takim-logo { width: 30px; height: 30px; object-fit: contain; }
.skor-rakam { background: #000; padding: 4px 12px; border-radius: 5px; border: 1px solid #444; color: #00FF00; font-size: 18px; }

/* Sağ Taraf: Stat ve Maç Detayı Butonu */
.stat-ve-detay { 
    flex: 1; 
    text-align: right; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    justify-content: center; /* Dikeyde ortaladık */
    height: 40px; /* Sabit yükseklik verdik ki hizalama şaşmasın */
}

.stat-etiket { 
    font-size: 11px; 
    color: #888; 
    margin-bottom: 12px; /* Stadyum ismini yukarı itmek için alt boşluk verdik */
}

.mac-detay-btn {
    color: #00FF00;
    font-size: 10px; /* Bir tık daha zarif yaptık */
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid #333;
    padding: 2px 6px;
    border-radius: 4px;
    background: #111;
    display: inline-block;
}
/* Summary içindeki negatif margin'i de daha hassas ayarladık */
summary {
    list-style: none; 
    outline: none; 
    position: relative; 
    margin-top: -24px; /* Butonun dikey konumunu buradan milimetrik ayarlayabilirsin */
    margin-right: 20px; 
    text-align: right;
    z-index: 10;
}

/* Detay Paneli */
.final-detay-panel { background: #0a0a0a; padding: 20px; border-top: 1px solid #333; }

/* Gol Satırları (Yeni Hizalama) */
.gol-satiri {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 14px;
    min-height: 24px;
}

.gol-sol-alan { flex: 1; text-align: right; padding-right: 15px; display: flex; align-items: center; justify-content: flex-end; }
.gol-orta-dk { flex: 0 0 50px; text-align: center; color: #00FF00; font-weight: bold; font-size: 12px; }
.gol-sag-alan { flex: 1; text-align: left; padding-left: 15px; display: flex; align-items: center; justify-content: flex-start; }

.gol-ikon-yeni { width: 14px; height: 14px; margin: 0 8px; vertical-align: middle; }

/* Sabit Arşiv Notu */
.mac-notu-ust { padding: 15px 20px; background: #111; border-top: 1px solid #333; font-style: italic; color: #bbb; font-size: 13px; line-height: 1.6; }
.mac-notu-ust strong { color: #FFD700; }

/* Periyot Bandı (90 Dakika / Uzatmalar / Penaltılar) */
.periyot-bandi {
    background: #5d4037; /* Koyu Kahve / Karamel */
    color: #fff;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #795548;
    border-bottom: 1px solid #4e342e;
}

.periyot-sonuc {
    color: #FFD700; /* Skorlar altın sarısı */
    margin-left: 5px;
}

.temsilci-kart {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.temsilci-ust-band {
    background: linear-gradient(90deg, #b01b1b, #222); /* Galatasaray için kırmızı, Beşiktaş için siyah yapılabilir */
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.temsilci-merkezi {
    display: flex;
    align-items: center;
    gap: 10px;
}
.temsilci-logo {
    height: 35px;
    width: auto;
}
.temsilci-isim {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
}
.temsilci-mac-paneli {
    padding: 15px;
    background: #111;
}
.temsilci-mac-satiri {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dotted #333;
}
.mac-rakip {
    color: #ccc;
    font-size: 13px;
}
.mac-tur {
    color: #888;
    font-size: 11px;
    font-style: italic;
}
.temsilci-sonuc-notu {
    background: #000;
    padding: 12px;
    font-size: 12px;
    color: #bbb;
    border-top: 1px solid #222;
    line-height: 1.5;
}