* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0b0b;
    color: #ffffff;
    min-height: 100vh;
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffcc00;
}

.back-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.back-link:hover {
    color: #ffcc00;
}

/* Main Content */
.container {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
}

.selection-header h1 {
    color: #ffcc00;
    font-size: 2rem;
    margin-bottom: 10px;
}

.selection-header p {
    color: #888;
    margin-bottom: 40px;
}

/* Match Card */
.match-card {
    background-color: #141414;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    /* Altın sarısı ince çerçeve efekti */
    border: 1px solid #333;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.1);
}

/* Kartın üzerindeki o meşhur sarı çerçeve detayı */
.match-card::before {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffcc0044, transparent, #ffcc0044);
    z-index: -1;
}

.card-header {
    color: #ffcc00;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #222;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.team-logo {
    width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Logoları yerel dosyalarınla değiştir */
.gs { background-image: url('https://upload.wikimedia.org/wikipedia/commons/3/37/Galatasaray_Star_Logo.png'); }
.fb { background-image: url('https://upload.wikimedia.org/wikipedia/tr/f/ff/Fenerbah%C3%A7e_SK.png'); }

.team-name {
    font-weight: 500;
}

.match-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vs {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffcc00;
}

.time {
    color: #888;
    font-size: 0.9rem;
}

.card-footer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
}

.footer-item i {
    color: #ffcc00;
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .match-info { gap: 20px; }
    .team-logo { width: 60px; height: 60px; }
    .vs { font-size: 1.4rem; }
}

:root {
    --bg-dark: #050505; /* Çok koyu siyah */
    --header-bg: #0a0a0a; /* Header için hafif gri tonlu siyah */
    --gold: #ffcc00; /* HeroBilet sarısı */
    --text-white: #ffffff;
}

body {
    background-color: var(--bg-dark);
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.main-header {
    background-color: var(--header-bg);
    width: 100%;
    /* Resimdeki o belirgin alt çizgi */
    border-bottom: 1.5px solid rgba(255, 204, 0, 0.4); 
    padding: 15px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 35px; /* Logo boyutunu resme göre ayarladım */
}

.brand-name {
    color: var(--gold);
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.btn-back {
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.btn-back:hover {
    opacity: 0.8;
}

/* Orta Alan */
.page-body {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

<style>
    .ticket-container {
        background-color: #1a1b1f; /* Koyu arkaplan */
        padding: 25px;
        border-radius: 16px;
        max-width: 450px;
        margin: 20px auto;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .ticket-header {
        color: #8a8d91;
        font-size: 13px;
        margin-bottom: 20px;
        font-weight: 500;
    }

    .ticket-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .ticket-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #222429;
        border: 1px solid #33363d;
        padding: 16px 20px;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .ticket-item:hover {
        background-color: #2a2d33;
        border-color: #4a4d55;
    }

    .ticket-name {
        color: #ffffff;
        font-weight: 800;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .ticket-price {
        color: #ffb800; /* Turuncu/Sarı tonu */
        font-weight: 800;
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* SARI NEON SEÇİM EFEKTİ */
    .ticket-item.selected {
        border-color: #ffea00;
        background-color: #222429;
        box-shadow: 0 0 15px rgba(255, 234, 0, 0.4), inset 0 0 10px rgba(255, 234, 0, 0.1);
        transform: scale(1.02);
    }
    
    .ticket-item.selected .ticket-name {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
</style>

<div class="ticket-container">
    <div class="ticket-header">Bir tribüne dokunarak devam edin.</div>
    
    <div class="ticket-list" id="tribunListesi">
        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">KUZEY ÜST</span>
            <span class="ticket-price">7500 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>
        
        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">GÜNEY ÜST</span>
            <span class="ticket-price">7500 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>
        
        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">KUZEY ALT</span>
            <span class="ticket-price">8500 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>
        
        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">GÜNEY ALT</span>
            <span class="ticket-price">8500 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>

        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">DOĞU ÜST KÖŞE BLOK</span>
            <span class="ticket-price">17.500 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>

        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">BATI ÜST KÖŞE BLOK</span>
            <span class="ticket-price">17.500 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>

        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">BATI ÜST ORTA BLOK</span>
            <span class="ticket-price">22.500 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>

        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">DOĞU ÜST ORTA BLOK</span>
            <span class="ticket-price">22.500 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>

        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">BATI ALT KÖŞE BLOK</span>
            <span class="ticket-price">42.500 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>

        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">DOĞU ALT KÖŞE BLOK</span>
            <span class="ticket-price">42.500 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>

        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">BATI ALT ORTA BLOK (YEDEK KLÜBE ARKASI)</span>
            <span class="ticket-price">75.000 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>

        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">DOĞU ALT ORTA BLOK</span>
            <span class="ticket-price">75.000 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>

        <div class="ticket-item" onclick="selectTribun(this)">
            <span class="ticket-name">MİSAFİR TRİBÜN ( FENERBAHÇE )</span>
            <span class="ticket-price">8000 TL <i class="fas fa-chevron-right" style="font-size: 12px;"></i></span>
        </div>
    </div>
</div>

<script>
    function selectTribun(secilenElement) {
        // 1. Önce listedeki herkesten 'selected' sınıfını temizle
        const butunTribunler = document.querySelectorAll('.ticket-item');
        butunTribunler.forEach(function(item) {
            item.classList.remove('selected');
        });

        // 2. Sadece tıklanan elemente 'selected' (neon) sınıfını ekle
        secilenElement.classList.add('selected');
    }
</script>