.euro-container {
    max-width: 1000px;
    margin: 20px auto;
    background-color: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
}

.euro-header {
    background: linear-gradient(90deg, #0046e4, #002d91);
    padding: 12px;
    text-align: center;
}

.euro-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.euro-table-wrapper {
    width: 100%;
}

.euro-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.euro-table th {
    background-color: #252525;
    color: #00a8ff;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #333;
}

.euro-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #2a2a2a;
}

/* Takım Hücresi - Masaüstü Görünümü (Yan yana) */
.team-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flag {
    width: 25px;
    height: auto;
    border-radius: 2px;
}

.euro-table a, .team-cell span {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.text-center { text-align: center; }

/* MOBİL GÖRÜNÜM AYARLARI */
@media (max-width: 600px) {
    .euro-table {
        font-size: 11px; /* 2 tık küçültüldü */
    }

    .euro-header h3 {
        font-size: 1rem;
    }

    .euro-table th, .euro-table td {
        padding: 5px 3px; /* Hücre boşlukları daraltıldı */
    }

    /* Mobilde Bayrak Üstte, İsim Altta */
    .team-cell {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .flag {
        width: 20px; /* Mobilde bayrağı biraz daha küçülttük */
        margin: 0;
    }

    /* Mobilde kaydırmayı engellemek için sütun genişliklerini optimize et */
    .euro-table th:nth-child(1), .euro-table td:nth-child(1) { width: 20%; }
    .euro-table th:nth-child(2), .euro-table td:nth-child(2) { width: 25%; }
    .euro-table th:nth-child(3), .euro-table td:nth-child(3) { width: 10%; }
    .euro-table th:nth-child(4), .euro-table td:nth-child(4) { width: 10%; }
    .euro-table th:nth-child(5), .euro-table td:nth-child(5) { width: 35%; }
}










/* Yazı Kutusu Genel Tasarımı */
.euro-content {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    border: 1px solid #333;
    margin-top: 20px;
}

/* Masaüstü Yazı Boyutu */
.euro-p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* MOBİL AYARLAR */
/* euro-2024.css içindeki @media kısmını bu şekilde revize et */
@media (max-width: 600px) {
    .euro-content {
        padding: 10px !important;
    }

    /* Daha spesifik seçici kullanarak baskın hale getiriyoruz */
    div.euro-content p.euro-p {
        font-size: 12px !important; 
        line-height: 1.5 !important;
    }
}


/* ===========================================
   EURO 2024 STADYUMLAR ÖZEL TASARIMI
   =========================================== */

/* Genel Konteyner */
.stadium-accordion {
    max-width: 1000px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Details & Summary (Açılır Bant) Yapısı */
.stadium-item {
    background: #252525;
    border: 1px solid #333;
    border-radius: 12px; /* Daha oval köşeler */
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stadium-item[open] {
    border-color: #ADFF2F;
}

.stadium-summary {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background: #222;
    border-bottom: 1px solid #333;
}
/* ŞEHİR İSMİ: En uzun isme (Gelsenkirchen) göre yer ayırıyoruz */
.stadium-city {
    width: 180px; /* Sabit genişlik */
    font-weight: bold;
    color: #ADFF2F;
    flex-shrink: 0; /* Daralmasını engelle */
}

/* STADYUM İSMİ: Geniş bir alan ayırıyoruz */
.stadium-name {
    flex-grow: 1; /* Kalan boşluğu kullan */
    font-weight: bold;
    color: #fff;
    padding-left: 10px;
}
/* KAPASİTE: En sağa yaslanmadan önce sabit yer ayırıyoruz */
.stadium-cap {
    width: 150px; /* Sabit genişlik */
    text-align: right;
    color: #ccc;
    font-size: 14px;
    margin-right: 40px; /* Ok işaretinden uzak dursun */
    flex-shrink: 0;
}

.stadium-summary::-webkit-details-marker { display: none; }

/* [+] ve [-] İkonları */
.stadium-icon::before {
    content: "[+]";
    color: #ADFF2F;
    font-family: monospace;
    font-size: 18px;
    font-weight: bold;
}

.stadium-item[open] .stadium-icon::before {
    content: "[-]";
}

/* İçerik Alanı */
.stadium-inner-content {
    background: #1a1a1a;
    padding: 25px;
    border-top: 1px solid #333;
}

/* Stadyum Üst Bilgi (Görsel ve Metin) */
/* YAZI VE RESİM YAN YANA DÜZENİ */
/* Ana taşıyıcı kutu */
.stadium-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%; /* Tam genişlik kullan */
}

.stadium-img-box {
    flex-shrink: 0; /* Resim kutusunun küçülmesini engeller */
    max-width: 70%; /* Resim çok devasa olursa taşmasın diye bir sınır */
}

/* Yazının olduğu kutu */
.stadium-text {
    flex-grow: 1; /* Kalan boşluğu yazı doldursun */
}


/* Eğer ekran daralırsa (ama mobilden önce) resim sığsın diye */
@media (max-width: 1100px) {
    .zoomable-img {
        width: 400px !important;
    }
}

/* GÖRSELİ ZORLA BÜYÜT */
.zoomable-img {
    width: 550px !important;  /* BURADAKİ RAKAMI DEĞİŞTİR */
    height: auto !important;
    cursor: pointer;
    border: 2px solid #ADFF2F;
    border-radius: 8px;
    display: block;
}

.zoomable-img:hover {
    transform: scale(1.02);
}

.stadium-desc {
    font-size: 10px; /* Masaüstünde daha zarif, küçük font */
    color: #cccccc;
    line-height: 1.7;
    margin: 0;
}

/* Maç Listesi Başlığı */
.matches-section strong {
    display: block;
    margin-bottom: 15px;
    color: #fff;
    font-size: 15px;
}

/* Maç Tablosu Simetrik Yapı */
.match-list {
    width: 100%;
}

.match-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #252525;
    font-size: 14px;
    color: #fff;
}

.team-left { 
    width: 35%; 
    text-align: right; 
    display: flex; 
    align-items: center; 
    justify-content: flex-end; 
    gap: 12px; 
}

.team-right { 
    width: 35%; 
    text-align: left; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    gap: 12px; 
}

.score { 
    width: 10%; 
    text-align: center; 
    color: #ADFF2F; 
    font-weight: bold; 
    font-family: 'Courier New', monospace; 
    font-size: 18px; 
    text-shadow: 0 0 5px rgba(173, 255, 47, 0.3);
}

.match-stage { 
    width: 20%; 
    text-align: right; 
    font-size: 12px; 
    color: #666; 
    font-style: italic;
}

.match-row img { 
    width: 24px; 
    height: auto; 
    border-radius: 2px; 
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
}

.final-row { background: rgba(173, 255, 47, 0.03); }

/* Resim Büyütme Modalı */
/* Siyah Arka Plan (Konteyner) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); /* Arka plan koyuluğu */
    
    /* ORTALAMA İÇİN KRİTİK 3 SATIR */
    display: none; /* JS ile block yapılacak */
    justify-content: center; 
    align-items: center; 
}

/* Büyük Resmin Kendisi */
.modal-content {
    margin: auto; /* Garanti ortalama */
    display: block;
    width: auto;           /* Resmin orijinal oranını koru */
    max-width: 90%;       /* Ekrandan taşmasın */
    max-height: 85%;      /* Dikeyde ekrandan taşmasın */
    border-radius: 25px;  /* Köşeleri oval yaptık */
    border: 3px solid #ADFF2F;
    box-shadow: 0 0 20px rgba(173, 255, 47, 0.5); /* Hafif parlama efekti */
}

.close {
    position: absolute;
top: 40px;    /* Üst boşluk */
right: 150px;  /* BU DEĞERİ ARTIR! 150px, 200px yaparak resmin üzerine gelene kadar itebilirsin. */

    color: #f1f1f1;
    font-size: 30px;

    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}
.close:hover { color: #ADFF2F; }
/* ===========================================
   MOBİL AYARLAR (Max 600px)
   =========================================== */
@media (max-width: 600px) {
    /* Üst Bant Yazısı Küçülsün (10px) */
    .stadium-summary {
        font-size: 10px !important;
        padding: 12px 8px;
    }

    /* Açıklama Yazısı Küçülsün (12px) */
    .stadium-desc {
        font-size: 12px !important;
    }

    /* Görsel ve Metin Alt Alta */
    .stadium-info {
        flex-direction: column;
        gap: 15px;
    }

    .zoomable-img {
        width: 90%;
    }

    /* Maç Satırları (8px) */
    .match-row {
        font-size: 8px !important;
        padding: 8px 0;
    }

    .match-row img {
        width: 14px;
    }

    .score {
        font-size: 12px;
        width: 15%;
    }

    .team-left, .team-right {
        width: 30%;
        gap: 4px;
    }

    .match-stage {
        font-size: 8px;
        width: 25%;
    }

    .stadium-icon::before {
        font-size: 14px;
    }
}

/* --- GRUP KONTEYNER --- */
.group-details {
    margin-bottom: 25px;
    border-radius: 20px;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid #333;
}

/* --- GRUP BAŞLIKLARI (A Grubu Puan Durumu & A Grubu Maçları) --- */
.group-summary, .group-sub-header {
    list-style: none;
    padding: 18px 25px;
    background: #222;
    color: #ADFF2F;
    font-size: 19px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.group-summary::-webkit-details-marker { display: none; }

/* [+] [-] İşareti */
.group-summary::after { content: "[+]"; font-family: monospace; }
details[open] .group-summary::after { content: "[-]"; }

/* --- PUAN DURUMU TABLOSU (Oval ve Karanlık) --- */
.standings-wrapper {
    padding: 20px;
    background: #1a1a1a;
}

.standings-box {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #444;
}

.standings-header, .standings-row {
    display: flex;
    align-items: center;
    padding: 12px;
    color: #fff;
    background: #252525;
}

.standings-header {
    background: #09ea5b;
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.standings-row {
    border-bottom: 1px solid #333;
}

.standings-row:last-child { border-bottom: none; }

/* Sütunlar */
.col-rank { width: 35px; text-align: center; }
.col-team { flex: 1; display: flex; align-items: center; gap: 10px; }
.col-team img { width: 22px; }
.col-data { width: 35px; text-align: center; }
.col-status { width: 100px; text-align: center; font-size: 12px; }

/* Şeritler */
/* Üst tura çıkanların altın sarısı şeridi */
.strip-pass { 
    border-left: 6px solid #FFD700 !important; 
}
.strip-fail { border-left: 6px solid #ff4d4d !important; }

/* --- MOBİL --- */
@media screen and (max-width: 600px) {
    .hide-mobile { display: none; }
    .standings-header, .standings-row { font-size: 11px; padding: 10px 5px; }
    .col-data { width: 28px; }
}


/* --- MAÇ KARTLARI --- */

/* Maç Kartı */
.match-card-modern {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
}

/* Mavi Üst Bant */
.match-header-blue {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    background: linear-gradient(to right, #1e3a8a, #2563eb);
    color: #fff;
    font-weight: bold;
}

/* Kronolojik Füme Alt Bant */
.match-timeline-gray {
    background: #2a2a2a;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}

/* Satır Hizalaması */
.timeline-row {
    display: flex;
    align-items: center;
    min-height: 25px;
    font-size: 13px;
    color: #ccc;
}

/* Sol Takım Golleri */
.t-left {
    flex: 1;
    text-align: right;
    padding-right: 15px;
}

/* Orta Dikey Şerit (Skor Kutusunun Altı) */
.t-mid {
    width: 80px; /* Skor kutusu ile aynı genişlik */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sağ Takım Golleri */
.t-right {
    flex: 1;
    text-align: left;
    padding-left: 15px;
}

/* Mobilde Font ve Mesafe Ayarı */
@media screen and (max-width: 600px) {
    .timeline-row { font-size: 11px; }
    .t-mid { width: 60px; }
}

.match-results-container {
    padding: 15px 30px; /* Üst-Alt 15px, Sağ-Sol 30px yaparak içeri ittik */
    background: #1a1a1a;
    border-top: 1px solid #333;
}

/* Mobilde çok daralmaması için bir ayar ekleyelim */
@media screen and (max-width: 600px) {
    .match-results-container {
        padding: 15px 15px; /* Mobilde yer kazanmak için boşluğu azalttık */
    }
}

.group-analysis-box p {
        color: #ccc; 
        line-height: 1.6; 
        font-size: 15px; /* Masaüstü boyutu */
        margin-bottom: 15px;
    }
    
    /* Kaptan'ın Mobil Font Ayarı */
    @media screen and (max-width: 600px) {
        .group-analysis-box p {
            font-size: 13px !important;
        }
    }




.tp-container-final {
        width: 100%;
        max-width: 750px;
        background: #1a1a1a;
        border-radius: 15px;
        overflow: hidden;
        margin: 20px 0;
        border: 1px solid #333;
    }
    
    .tp-header-final {
        background: #0000CC;
        color: white;
        display: grid;
        /* Masaüstü: 10 sütun (Durum dahil) */
        grid-template-columns: 35px 40px 180px 30px 30px 30px 30px 40px 35px 1fr;
        padding: 12px 10px;
        font-weight: bold;
        font-size: 13px;
        text-align: center;
    }

    .tp-row-final {
        display: grid;
        grid-template-columns: 35px 40px 180px 30px 30px 30px 30px 40px 35px 1fr;
        padding: 10px 10px;
        border-bottom: 1px solid #333;
        align-items: center;
        text-align: center;
        color: #ccc;
        font-size: 13px;
    }

    /* İlk 4 Satır Arkaplan Farkı (Hafif Mavi/Füme Geçişi) */
    .qualified-bg {
        background: rgba(30, 58, 138, 0.2); /* Çok hafif lacivert-füme tonu */
        border-left: 5px solid #ADFF2F;
    }
    
    .eliminated-bg {
        border-left: 5px solid #e30a17;
    }

    /* Takım Kutusu Hizalama */
    .tp-team-flex {
        display: flex;
        align-items: center;
        text-align: left;
        font-weight: bold;
        color: #fff;
    }

    .tp-team-flex img {
        width: 22px;
        margin-right: 8px;
        flex-shrink: 0;
    }

    /* Durum Sütunu Stili */
    .status-text {
        font-size: 12px;
        font-weight: bold;
        text-align: right;
        padding-right: 10px;
    }
    .status-green { color: #ADFF2F; }
    .status-red { color: #ff4d4d; }

    /* MOBİL AYARLAR */
    @media screen and (max-width: 600px) {
        .tp-header-final, .tp-row-final {
            /* Mobilde 10. sütunu (Durum) gizliyoruz ve gridi daraltıyoruz */
            grid-template-columns: 30px 35px 1fr 28px 28px 28px 28px 35px 30px;
            font-size: 11px;
            padding: 8px 5px;
        }
        /* Durum sütununu hem başlıkta hem satırda gizle */
        .status-col {
            display: none !important;
        }
        .tp-team-flex {
            white-space: nowrap;
        }
        .tp-team-flex img {
            width: 18px;
            margin-right: 4px;
        }
    }

/* Ana Başlık (h2) - Grup İsimleri veya Büyük Bölümler İçin */
h2 {
    color: #ADFF2F; /* Fıstık Yeşili */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    border-bottom: 3px solid #ADFF2F;
    display: inline-block; /* Çizginin başlık kadar uzanması için */
    margin-top: 30px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Alt Başlık (h3) - Maçlar, Analizler veya Tablo Alt Başlıkları İçin */
h3 {
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding-left: 12px;
    border-left: 5px solid #ADFF2F; /* Sol tarafta yeşil vurgu şeridi */
    margin-top: 25px;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Mobil Uyumluluk */
@media screen and (max-width: 600px) {
    h2 {
        font-size: 20px;
        border-bottom-width: 2px;
    }
    h3 {
        font-size: 16px;
        padding-left: 10px;
        border-left-width: 4px;
    }
}

/* Açılır Kapanır Kutunun Modern Tasarımı */
    .archive-details {
        width: 100%;
        max-width: 750px;
        background: #1a1a1a;
        border: 1px solid #333;
        border-radius: 8px;
        margin-top: 10px;
        overflow: hidden;
        font-family: sans-serif;
    }

    .archive-details summary {
        padding: 15px;
        color: #ADFF2F; /* Fıstık Yeşili */
        font-weight: bold;
        cursor: pointer;
        list-style: none; /* Varsayılan oku kaldır */
        background: #222;
        transition: 0.3s;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .archive-details summary:hover {
        background: #2a2a2a;
    }

    /* Ok işareti yerine [+] koyalım */
    .archive-details summary::after {
        content: '[+]';
        font-family: monospace;
        margin-left: 10px;
    }

    /* Kutu açıldığında [+] işaretini [-] yapalım */
    .archive-details[open] summary::after {
        content: '[-]';
    }

    .collapse-inner {
        padding: 15px;
        background: #111;
    }

