@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --gs-red: #e31e24; /* Karanlıkta daha parlak bir kırmızı */
    --gs-gold: #ffb612; /* Daha canlı bir altın sarısı */
    --table-bg: #121212; /* Derin siyah tablo arka planı */
    --row-hover: #1e1e1e;
    --text-dim: #b0b0b0;
    --text-bright: #ffffff;
}

/* Sayfanın genel arka planı siyahsa uyum sağlar */
body {
    background-color: #000;
}

.gs-fixture-container.dark-theme {
    font-family: 'Inter', sans-serif;
    max-width: 1100px;
    margin: 40px auto;
    padding: 25px;
    background: var(--table-bg);
    border-radius: 16px;
    border: 1px solid #222;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.gs-title {
    color: var(--gs-gold);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    border-left: 5px solid var(--gs-red);
    padding-left: 20px;
}

.gs-title span {
    display: block;
    font-size: 0.55em;
    color: var(--text-dim);
    font-weight: 400;
    text-transform: none;
    margin-top: 5px;
}

.gs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px; /* Satırlar arası boşluk */
}

.gs-table thead th {
    color: var(--gs-gold);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-bottom: 2px solid #222;
}

.gs-table tbody tr {
    background: #1a1a1a;
    transition: all 0.2s ease;
}

.gs-table tbody tr:hover {
    background: var(--row-hover);
    transform: scale(1.01);
}

.gs-table td {
    padding: 18px 20px;
    color: var(--text-bright);
    vertical-align: middle;
}

/* İlk ve son hücrelerin köşelerini yuvarla */
.gs-table td:first-child { border-radius: 8px 0 0 8px; }
.gs-table td:last-child { border-radius: 0 8px 8px 0; }

.date {
    color: var(--gs-gold) !important;
    font-size: 0.85rem;
    font-weight: 600;
}

.team-gs {
    color: var(--gs-red);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(227, 30, 36, 0.2);
}

.score-box {
    text-align: center;
    font-weight: 800;
    background: #252525;
    color: var(--gs-gold);
    border-radius: 6px;
    min-width: 60px;
}

.scorers {
    display: block;
    font-size: 0.75rem;
    color: #9af60e;
    margin-top: 5px;
    line-height: 1.4;
}

.venue {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.referee {
    display: block;
    font-size: 0.7rem;
    color: #ffb612;
    margin-top: 3px;
}

.text-center { text-align: center; }
/* Puan Tablosuna Özel Eklemeler */
.gs-standing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.gs-standing-table th {
    background: transparent;
    color: var(--gs-gold);
    font-size: 0.7rem;
    padding: 12px 10px;
    border-bottom: 1px solid #333;
    text-transform: uppercase;
}

.gs-standing-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #1a1a1a;
    font-size: 0.9rem;
}

/* Lider Satırı (Galatasaray) */
.gs-standing-table tr.leader {
    background: linear-gradient(90deg, rgba(253, 185, 18, 0.1) 0%, transparent 100%);
}

.gs-standing-table tr.leader td {
    border-bottom: 1px solid rgba(253, 185, 18, 0.2);
}

.gs-standing-table tr.leader .team-name {
    color: var(--gs-gold);
    font-weight: 700;
}

.gs-standing-table tr.leader .rank {
    color: var(--gs-gold);
    font-weight: 800;
    border-left: 4px solid var(--gs-gold);
}

/* İnce Ayarlar */
.rank { font-weight: 600; color: #666; text-align: center; width: 40px; }
.team-name { font-weight: 500; color: #ddd; }
.stats { text-align: center; color: #bbb; font-family: 'Courier New', monospace; }
.points { text-align: center; font-weight: 800; color: var(--text-bright); background: rgba(255,255,255,0.05); }

.text-center { text-align: center; }
/* Final Kartları Tasarımı */
.final-matches {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.final-card {
    background: linear-gradient(145deg, #1e1e1e, #121212);
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.final-header {
    background: #252525;
    padding: 10px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gs-gold);
    letter-spacing: 2px;
    border-bottom: 1px solid #333;
}

.vs-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 30px 10px;
    background: radial-gradient(circle at center, #2a2a2a 0%, transparent 70%);
}

.vs-team {
    flex: 1;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.vs-score {
    flex: 0 0 100px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-bright);
    font-family: 'Inter', sans-serif;
}

.vs-score.highlight {
    color: var(--gs-gold);
    text-shadow: 0 0 15px rgba(253, 185, 18, 0.4);
}

.final-footer {
    padding: 15px;
    background: rgba(0,0,0,0.2);
    text-align: center;
}

.scorer-item {
    font-size: 0.9rem;
    color: #ddd;
    margin-bottom: 5px;
}

.ball-icon {
    margin-right: 5px;
}

.stadium {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .vs-team { font-size: 1rem; }
    .vs-score { font-size: 1.8rem; flex: 0 0 70px; }
}
/* Kadro Tasarımı */
.squad-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.position-group {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #222;
}

.position-label {
    color: var(--gs-gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--gs-red);
    display: inline-block;
}

.player-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a1a;
}

.player-card:last-child {
    border-bottom: none;
}

.player-name {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

.player-stats {
    font-size: 0.8rem;
    color: #666;
}

.highlight-stat {
    color: var(--gs-red);
    font-weight: 600;
}

/* Kral İçin Özel Stil */
.player-card.featured {
    background: linear-gradient(90deg, transparent, rgba(253, 185, 18, 0.05));
    padding: 10px 5px;
    border-left: 3px solid var(--gs-gold);
    margin-left: -5px;
}

.player-card.featured .player-name {
    color: var(--gs-gold);
    font-weight: 700;
}

.gold {
    color: var(--gs-gold) !important;
}

/* Mobil için */
@media (max-width: 500px) {
    .squad-container {
        grid-template-columns: 1fr;
    }
}
