body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
}

/* --- HERO BÖLÜMÜ --- */
.hero-section {
    position: relative;
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1552667466-07770ae110d0?auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax efekti için */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative; /* Overlay'in üzerinde kalması için */
    z-index: 2;
}

/* --- KART GENEL STİLLERİ --- */
.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.card-header {
    font-weight: 600;
}

/* --- ÖNE ÇIKAN MAÇLAR --- */
.upcoming-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
}
.upcoming-match:last-child {
    border-bottom: none;
}
.team-info {
    font-weight: 600;
    font-size: 1.1rem;
    flex: 1;
}
.match-center {
    font-size: 1rem;
    color: #fff;
    background-color: #dc3545;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 15px;
}

/* --- HABER KARTLARI --- */
.news-card img {
    height: 200px;
    object-fit: cover; /* Resimlerin orantılı ve düzgün görünmesini sağlar */
}
.news-card .card-footer {
    padding-top: 0;
}

/* --- FOOTER --- */
/* --- NİHAİ VE ŞIK FOOTER STİLLERİ --- */
.footer {
    border-top: 4px solid #0d6efd;
}
.footer-title {
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #0d6efd;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s ease-in-out, padding-left 0.2s ease-in-out;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #adb5bd;
}
.footer-contact i {
    width: 25px;
    color: #0d6efd;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.social-icon.facebook { background-color: #3b5998; }
.social-icon.twitter { background-color: #1da1f2; }
.social-icon.instagram { background: #d6249f; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.social-icon.youtube { background-color: #ff0000; }
.footer-divider {
    border-top-color: rgba(255, 255, 255, 0.1);
}
}
/* --- GALERİ SAYFASI STİLLERİ --- */
.gallery-thumbnail {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
    cursor: pointer;
}
.gallery-thumbnail:hover {
    transform: scale(1.05);
    filter: brightness(0.8);
}
.modal-content {
    background: transparent;
    border: none;
}
/* -- Kamera İkonu Animasyonu -- */
.icon-pulse {
    display: inline-block;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    border-radius: 50%;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

/* --- EN ÜST SEVİYE FİKSTÜR SAYFASI (MOBİL UYUMLU) --- */
.fixture-row {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    overflow: hidden; /* Akordiyon animasyonunun düzgün görünmesi için */
}

.fixture-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer; /* Tıklanabilir olduğunu belirtir */
}

.team-info-block {
    flex: 1;
    display: flex;
    align-items: center;
}

.team-info-block.home {
    justify-content: flex-end;
}

.team-info-block .team-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.team-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.score-box {
    text-align: center;
    padding: 0 1rem;
}
.score-box .score {
    font-size: 2.2rem;
    font-weight: 700;
}
.score-box .match-status {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
}

.fixture-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

/* Detaylar Bölümü */
.fixture-details {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* SVG SAHA DİZİLİMİ */
.pitch-container {
    background-color: #006425; /* Koyu çim rengi */
    padding: 20px;
    border-radius: 10px;
}

.pitch {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 7 / 5;
}

.pitch svg {
    width: 100%;
    height: 100%;
}

/* Oyuncu Pini (Baloncuk) */
.player-pin {
    position: absolute;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.player-pin:hover {
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 10;
}
.player-pin .player-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #d11a2a; /* Ev sahibi rengi */
    background-color: #fff;
    object-fit: cover;
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}
.player-pin.away .player-photo {
    border-color: #004c99; /* Deplasman rengi */
}
.player-pin .player-name-plate {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

/* Pop-up Kart */
.player-popover { min-width: 220px; }
.player-popover .popover-header { background-color: #343a40; color: white; font-weight: bold; }
.player-popover .popover-body { padding: 10px; }
.player-stat { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 2px 0; }

/* MOBİL UYUMLULUK (RESPONSIVE) */
@media (max-width: 768px) {
    .team-info-block .team-name { font-size: 1rem; }
    .team-logo { width: 35px; height: 35px; }
    .score-box .score { font-size: 1.8rem; }
    .fixture-actions { flex-direction: row; }
    .pitch-container { padding: 10px; }
    .player-pin { width: 40px; height: 40px; }
    .player-pin .player-name-plate { font-size: 0.7rem; bottom: -15px; }
}
@media (max-width: 576px) {
    .fixture-header { flex-wrap: wrap; justify-content: center; }
    .team-info-block { flex: 1 1 100%; justify-content: center; margin-bottom: 0.5rem; }
    .team-info-block.home { order: 1; }
    .score-box { order: 2; flex: 1 1 100%; }
    .team-info-block.away { order: 3; }
    .fixture-actions { order: 4; flex: 1 1 100%; justify-content: center; margin-top: 1rem; }
}
/* --- TAKIM DETAY SAYFASI - MAÇ SONUCU İKONLARI --- */
.match-result-icon {
    font-size: 1.5rem;
    margin: 0 15px;
    opacity: 0.7;
}

/* Galibiyet için Kupa Animasyonu */
.icon-win {
    color: #198754; /* Yeşil */
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Beraberlik için El Sıkışma Rengi */
.icon-draw {
    color: #ffc107; /* Sarı */
}

/* Mağlubiyet için Üzgün Yüz Rengi */
.icon-loss {
    color: #dc3545; /* Kırmızı */
}
/* --- OYUNCU DETAY SAYFASI STİLLERİ --- */
.player-profile-header {
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&w=1200&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 3rem 0;
    border-radius: 12px;
}

.player-profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.8);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    object-fit: cover;
}

.player-jersey-number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.stat-card {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    text-align: center;
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.8;
}
/* --- YAŞAYAN PUAN DURUMU STİLLERİ --- */
.standings-table {
    border-collapse: separate;
    border-spacing: 0 10px; /* Satırlar arasına boşluk */
}
.standings-table thead th {
    background-color: #343a40;
    color: white;
    border: none;
    padding: 1rem;
}
/* --- PUAN DURUMU GELİŞTİRMELERİ --- */
.nav-tabs .nav-link {
    color: #6c757d;
    font-weight: 600;
}
.nav-tabs .nav-link.active {
    color: #0d6efd;
    border-color: #dee2e6 #dee2e6 #fff;
}
.standings-table td.team-stats-full {
    font-weight: 500;
    font-size: 1.1rem;
}
.standings-table thead th:first-child { border-radius: 10px 0 0 10px; }
.standings-table thead th:last-child { border-radius: 0 10px 10px 0; }

.team-row {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
}
.team-row:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    z-index: 2;
    position: relative;
}
.team-row td {
    padding: 1.2rem;
    vertical-align: middle;
    border: none;
    background: transparent !important;
}
.team-row td:first-child { border-radius: 10px 0 0 10px; }
.team-row td:last-child { border-radius: 0 10px 10px 0; }

.team-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6c757d;
    width: 50px;
    text-align: center;
}
.team-identity {
    display: flex;
    align-items: center;
}
.team-identity .team-logo {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}
.team-identity .team-name {
    font-weight: 600;
    font-size: 1.1rem;
}
.team-stats-compact {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Form Durumu Daireleri */
.form-dots {
    display: flex;
    gap: 5px;
}
.form-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}
.form-dot.win { background-color: #198754; } /* Galibiyet */
.form-dot.draw { background-color: #ffc107; } /* Beraberlik */
.form-dot.loss { background-color: #dc3545; } /* Mağlubiyet */

.team-points {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}
/* --- TAKIM DETAY - KULÜP ANSİKLOPEDİSİ STİLLERİ --- */
.team-detail-tabs .nav-link {
    font-weight: 600;
    color: #495057;
}
.team-detail-tabs .nav-link.active {
    color: #0d6efd;
}
.staff-card {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    height: 100%;
}
.staff-card .staff-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.staff-card .staff-name {
    font-weight: 600;
    font-size: 1.1rem;
}
.staff-card .staff-role {
    color: #6c757d;
    font-size: 0.9rem;
}
/* --- DİNAMİK SAYFA BANNER (HERO) STİLLERİ --- */
.page-hero-banner {
    position: relative;
    padding: 6rem 0;
    background-image: url('https://images.unsplash.com/photo-1552667466-07770ae110d0?auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax efekti */
    color: white;
    text-align: center;
}
.page-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0, 20, 50, 0.8), rgba(0, 50, 100, 0.6));
}
.page-hero-banner .container {
    position: relative;
    z-index: 2;
}
.page-hero-banner .display-4 {
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
/* --- PERSONEL DETAY - KİMLİK KARTLARI STİLLERİ --- */
.info-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}
.info-card .info-icon {
    font-size: 1.5rem;
    color: #0d6efd;
    width: 45px;
    height: 45px;
    background-color: #e7f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}
.info-card .info-content .info-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 0;
}
.info-card .info-content .info-value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}
/* --- Genel Bölüm Stilleri --- */
.section-title { margin-bottom: 3rem; }
.section-title h2 { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* ======================================================= */
/* ANA SAYFA - YENİ SİNEMATİK SLIDER STİLLERİ              */
/* ======================================================= */

#hero-carousel {
    position: relative;
}
#hero-carousel .carousel-item {
    height: 80vh; /* Slider yüksekliği (daha etkileyici) */
    min-height: 500px;
    max-height: 800px;
    position: relative;
}
/* Karartma efekti için */
#hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    z-index: 1;
}
#hero-carousel .carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#hero-carousel .carousel-caption {
    bottom: 10%; /* Yazıları biraz daha yukarı taşıdık */
    left: 8%;
    right: 8%;
    text-align: left;
    background: none; /* Arka planı kaldırdık */
    padding: 0;
    z-index: 2;
}
.carousel-caption .caption-category {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffc107; /* Altın rengi */
    margin-bottom: 0.5rem;
}
.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    color: #fff;
}
.carousel-caption p {
    font-size: 1.1rem;
    max-width: 60%;
    opacity: 0.9;
    line-height: 1.6;
}
/* Yazı animasyonları */
.carousel-item.active .carousel-caption h2,
.carousel-item.active .carousel-caption p,
.carousel-item.active .carousel-caption .caption-category,
.carousel-item.active .carousel-caption .btn {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Yeni İleri-Geri Butonları */
#hero-carousel .carousel-control-prev,
#hero-carousel .carousel-control-next {
    width: 50px; height: 50px; background-color: rgba(0, 0, 0, 0.4); border-radius: 50%; top: 50%; transform: translateY(-50%); transition: background-color 0.3s ease; opacity: 0.8;
}
#hero-carousel .carousel-control-prev { left: 2rem; }
#hero-carousel .carousel-control-next { right: 2rem; }
#hero-carousel .carousel-control-prev:hover, #hero-carousel .carousel-control-next:hover { background-color: rgba(0, 0, 0, 0.7); opacity: 1; }
#hero-carousel .carousel-control-prev-icon, #hero-carousel .carousel-control-next-icon { background-image: none; }
#hero-carousel .carousel-control-prev::before, #hero-carousel .carousel-control-next::before { font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 1.5rem; }
#hero-carousel .carousel-control-prev::before { content: "\f053"; }
#hero-carousel .carousel-control-next::before { content: "\f054"; }

/* Yeni Navigasyon Noktaları */
#hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px; height: 12px; border-radius: 50%; background-color: #fff; opacity: 0.5; border: none; margin: 0 5px;
}
#hero-carousel .carousel-indicators .active { opacity: 1; }

@media (max-width: 767.98px) {
    #hero-carousel .carousel-caption { bottom: 8%; left: 5%; right: 5%; }
    #hero-carousel .carousel-caption h2 { font-size: 1.8rem; }
    #hero-carousel .carousel-caption p { max-width: 95%; font-size: 1rem; }
    #hero-carousel .carousel-control-prev { left: 1rem; }
    #hero-carousel .carousel-control-next { right: 1rem; }
}

/* --- YENİDEN EKLENDİ: HIZLI ERİŞİM KARTLARI --- */
.quick-access-section {
    margin-top: -10px; /* Slider'ın üzerine hafifçe bindirir */
    position: relative;
    z-index: 10; /* Diğer elemanların üzerinde kalması için */
    padding-bottom: 2rem;
}
.quick-access-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    text-align: left;
    height: 100%;
}
.quick-access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    color: #0d6efd;
}
.quick-access-card .card-icon {
    font-size: 2.2rem;
    color: #0d6efd;
    margin-right: 1rem;
    width: 60px;
    text-align: center;
}
.quick-access-card .card-text {
    font-weight: 600;
    font-size: 1.1rem;
}
/* --- Maç Merkezi --- */
.match-center-section { padding: 4rem 0; }
.match-card { padding: 1.5rem; text-align: center; }
.match-card-title { font-size: 1.2rem; color: #6c757d; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2rem; }
.match-teams { display: flex; justify-content: space-around; align-items: center; }
.match-teams .team { flex: 1; }
.match-teams .team img { max-width: 80px; margin-bottom: 0.5rem; }
.match-teams .team-name { font-weight: 600; display: block; }
.match-teams .score { font-size: 2.5rem; font-weight: 700; flex-basis: 120px; }
.match-teams .versus { font-size: 1.5rem; font-weight: 600; color: #adb5bd; flex-basis: 80px; }
.match-info { margin-top: 1.5rem; font-size: 1.1rem; }
.live-indicator {
    background-color: #dc3545; color: white; font-weight: bold;
    padding: 3px 10px; border-radius: 20px; font-size: 0.9rem;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}
@media (min-width: 992px) {
    .border-end-lg { border-right: 1px solid #dee2e6 !important; }
}

/* --- 4. ANA SAYFA - LİG PANORAMASI & İSTATİSTİKLER (DÜZELTİLMİŞ) --- */
.panorama-section {
    padding: 5rem 0;
}
.panorama-card .nav-tabs {
    border-bottom: none;
}
.panorama-card .nav-link {
    font-weight: 600;
    color: #6c757d;
}
.panorama-card .nav-link.active {
    color: #0d6efd;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* === İSTATİSTİK KARTLARI İÇİN TAM VE DETAYLI STİLLER (DÜZELTİLDİ) === */
.stat-card-cool {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.stat-card-cool:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.stat-card-cool .stat-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #0d6efd;
    position: relative;
    display: inline-block;
    z-index: 2; /* Arka plan ikonunun üzerinde kalması için */
}
.stat-card-cool .counter {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: #212529;
    position: relative;
    z-index: 2;
}
.stat-card-cool .stat-title {
    font-size: 1.2rem;
    color: #6c757d;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}
.icon-spin {
    animation: spin 4s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Arka plandaki büyük ve soluk ikonları geri getiren kod */
.stat-card-cool::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 10rem;
    color: rgba(0, 0, 0, 0.03); /* Çok soluk bir renk */
    transform: rotate(15deg);
    z-index: 1; /* Diğer içeriklerin arkasında kalması için */
}

/* Her kart için doğru ikonu belirleyen kod */
.stat-card-cool.goal::after { content: '\f1e3'; } /* Futbol topu ikonu */
.stat-card-cool.match::after { content: '\f709'; } /* Stadyum ikonu */
.stat-card-cool.card-stat::after { content: '\f249'; } /* Kart ikonu */

/* --- Haberler --- */
.news-section { padding: 5rem 0; }
.news-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.news-card:hover { transform: translateY(-10px); box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important; }
.news-card .card-img-top { height: 200px; object-fit: cover; }
/* --- 6. ANA SAYFA - DOĞUM GÜNÜ & SPONSORLAR --- */
.extra-section {
    padding: 4rem 0;
}
/* --- 8. ANA SAYFA - Doğum Günü --- */
.birthday-card {
    text-align: center;
}
.birthday-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

/* === SPONSOR BÖLÜMÜ (DÜZELTİLDİ) === */
.sponsors-wrapper {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 0.5rem;
}
.sponsor-logo {
    display: flex; /* İçindeki resmi dikey ve yatayda ortalamak için */
    align-items: center;
    justify-content: center;
    height: 90px; /* Her logo kutusuna sabit bir yükseklik verelim */
    transition: transform 0.3s ease;
}
.sponsor-logo:hover {
    transform: scale(1.1); /* Üzerine gelince hafifçe büyüsün */
}
.sponsor-logo img {
    max-width: 100%; /* Genişlik olarak kutusunu aşmasın */
    max-height: 55px; /* Yükseklik olarak 55px'i geçmesin */
    object-fit: contain; /* Resmin oranını bozmadan sığdır */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.sponsor-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
/* --- TMVFL TV Bölümü --- */
.tv-section {
    padding: 4rem 0;
}
.video-card-link {
    text-decoration: none;
    color: inherit;
}
.video-card {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.15) !important;
}
.video-thumbnail {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-overlay {
    width: 60px;
    height: 60px;
    background-color: rgba(220, 53, 69, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.video-card:hover .play-overlay {
    transform: scale(1.2);
    background-color: rgba(220, 53, 69, 1);
}
.video-card-body {
    padding: 1rem;
}
.video-card-title {
    font-weight: 600;
    font-size: 1.1rem;
}
/* MAÇ GERİ SAYIM SAYACI STİLLERİ */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px; /* Kutular arası boşluk */
    text-align: center;
}
.timer-box {
    background: #212529; /* Koyu arkaplan */
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 80px; /* Kutuların aynı genişlikte olması için */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.timer-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}
.timer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.7;
    display: block;
}
.match-started {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545; /* Kırmızı */
    animation: pulse-red 1.5s infinite;
}

/* Kırmızı pulse animasyonu */
@keyframes pulse-red {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
/* --- YENİ BÖLÜM: HAFTANIN YILDIZLARI --- */
.weekly-stars-section {
    padding: 5rem 0;
    background: #212529; /* Koyu arkaplan */
    color: #fff;
}
.featured-card {
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.featured-card .card-content {
    position: relative;
    z-index: 2;
}
.featured-card.team-card {
    backdrop-filter: blur(10px);
}
.card-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}
.featured-card .card-title {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}
.featured-card .main-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 1.5rem auto; /* DÜZELTME: Dikeyde aynı, yatayda OTOMATİK ortala */
}
.featured-card .player-photo {
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.5);
}
.featured-card .entity-name {
    font-weight: 700;
    font-size: 2.5rem;
}
.featured-card .entity-subtext {
    opacity: 0.7;
    margin-top: -10px;
}
.featured-card .reason {
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
}
/* --- OYUNCU DETAY - DİJİTAL LİSANS KARTI --- */
.license-wrapper {
    background: #e9ecef;
    padding: 4rem 0;
}
.license-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
}
.license-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: linear-gradient(135deg, #003366 0%, #0055a4 100%);
    opacity: 0.9;
    z-index: 1;
}
.license-watermark {
    position: absolute;
    top: 50%; left: 55%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    z-index: 2;
}
.license-watermark img { width: 400px; }

/* Kart İçeriği */
.license-header, .license-body, .license-footer {
    position: relative;
    z-index: 3;
    padding: 1.5rem 2rem;
    color: #fff;
}
.license-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.license-header .header-logo img { height: 50px; }
.license-header .header-title { margin-left: 1.5rem; }
.license-header h4 { margin: 0; font-weight: 600; font-size: 1.2rem; }
.license-header h5 { margin: 0; font-size: 0.9rem; opacity: 0.8; letter-spacing: 1px; }

.license-body {
    display: flex;
    align-items: center;
    padding-top: 2rem; padding-bottom: 2rem;
}
.player-photo-section {
    position: relative;
    padding-right: 2rem;
}
.player-photo-section .player-photo {
    width: 180px; height: 180px;
    border-radius: 10px;
    border: 5px solid #fff;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.player-photo-section .jersey-number {
    position: absolute;
    bottom: -15px; right: 5px;
    background: #fff;
    color: #003366;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 3px solid #003366;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.player-info-section { flex: 1; }
.player-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.info-item .label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
}
.info-item .value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
}
.team-value { display: flex; align-items: center; }
.team-value img { height: 25px; margin-right: 10px; }

.license-footer {
    display: flex;
    justify-content: space-around;
    background: rgba(0,0,0,0.2);
    text-align: center;
}
.stat-box { flex: 1; }
.stat-value { font-size: 2rem; font-weight: 700; }
.stat-label { font-size: 0.9rem; opacity: 0.8; text-transform: uppercase; }
/* --- TAKIM DETAY - KULÜP ANSİKLOPEDİSİ --- */
.team-profile-header {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}
.header-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.5));
}
.header-content { position: relative; z-index: 2; }
.team-logo-main {
    max-height: 120px;
    margin-bottom: 1.5rem;
}
.team-name-main {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.team-group-main {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.8;
}

.fixture-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
}
.fixture-list-item .teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    font-weight: 600;
}
.fixture-list-item .score {
    font-weight: 700;
    padding: 0 1rem;
}
.fixture-list-item .date { font-size: 0.9rem; }

.match-win { border-left: 5px solid #198754; }
.match-draw { border-left: 5px solid #ffc107; }
.match-loss { border-left: 5px solid #dc3545; }

.entity-card {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.entity-card:hover { background-color: #e9ecef; }
.entity-photo {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}
.entity-name { font-weight: 600; }
.entity-role { color: #6c757d; font-size: 0.9rem; }
/* --- OYUNCU DETAY - DİJİTAL LİSANS KARTI --- */
.license-wrapper {
    background: #e9ecef;
    padding: 4rem 0;
}
.license-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
}
.license-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: linear-gradient(135deg, #003366 0%, #0055a4 100%);
    opacity: 0.9;
    z-index: 1;
}
.license-watermark {
    position: absolute;
    top: 50%; left: 55%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    z-index: 2;
}
.license-watermark img { width: 400px; }

/* Kart İçeriği */
.license-header, .license-body, .license-footer {
    position: relative;
    z-index: 3;
    padding: 1.5rem 2rem;
    color: #fff;
}
.license-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.license-header .header-logo img { height: 50px; }
.license-header .header-title { margin-left: 1.5rem; }
.license-header h4 { margin: 0; font-weight: 600; font-size: 1.2rem; }
.license-header h5 { margin: 0; font-size: 0.9rem; opacity: 0.8; letter-spacing: 1px; }

.license-body {
    display: flex;
    align-items: center;
    padding-top: 2rem; padding-bottom: 2rem;
}
.player-photo-section {
    position: relative;
    padding-right: 2rem;
}
.player-photo-section .player-photo {
    width: 180px; height: 180px;
    border-radius: 10px;
    border: 5px solid #fff;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.player-photo-section .jersey-number {
    position: absolute;
    bottom: -15px; right: 5px;
    background: #fff;
    color: #003366;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 3px solid #003366;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.player-info-section { flex: 1; }
.player-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.info-item .label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
}
.info-item .value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
}
.team-value { display: flex; align-items: center; }
.team-value img { height: 25px; margin-right: 10px; }

.license-footer {
    display: flex;
    justify-content: space-around;
    background: rgba(0,0,0,0.2);
    text-align: center;
}
.stat-box { flex: 1; }
.stat-value { font-size: 2rem; font-weight: 700; }
.stat-label { font-size: 0.9rem; opacity: 0.8; text-transform: uppercase; }
/* --- TAKIM DETAY - KULÜP ANSİKLOPEDİSİ --- */
.team-profile-header {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}
.header-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.5));
}
.header-content { position: relative; z-index: 2; }
.team-logo-main {
    max-height: 120px;
    margin-bottom: 1.5rem;
}
.team-name-main {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.team-group-main {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.8;
}

.fixture-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
}
.fixture-list-item .teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    font-weight: 600;
}
.fixture-list-item .score {
    font-weight: 700;
    padding: 0 1rem;
}
.fixture-list-item .date { font-size: 0.9rem; }

.match-win { border-left: 5px solid #198754; }
.match-draw { border-left: 5px solid #ffc107; }
.match-loss { border-left: 5px solid #dc3545; }

.entity-card {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.entity-card:hover { background-color: #e9ecef; }
.entity-photo {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}
.entity-name { font-weight: 600; }
.entity-role { color: #6c757d; font-size: 0.9rem; }

/* --- DİJİTAL LİSANS KARTI (V3.3 - QR DOĞRULAMALI) - TAM SÜRÜM --- */

/* Genel kapsayıcı ve arka plan */
.license-wrapper {
    background: #e9ecef;
    padding: 2rem 0;
}
.license-print-area {
    display: flex;
    flex-direction: column; /* Mobil için dikey */
    gap: 20px;
    align-items: center;
}

/* Kartların temel iskeleti */
.license-front, .license-back {
    width: 320px;
    height: 510px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* === LİSANS RENKLERİ === */
/* Her lisans türü için özel renk ve arka plan */
.license-front.license-oyuncu { background-image: linear-gradient(160deg, #003366 0%, #0055a4 100%); }
.license-front.license-teknik-direktor { background-image: linear-gradient(160deg, #212529 0%, #495057 100%); }
.license-front.license-antrenor { background-image: linear-gradient(160deg, #147a45 0%, #198754 100%); }
/* Gelecekte eklenecek diğer roller için buraya yeni sınıflar gelecek... */


/* === KATMANLAMA MİMARİSİ === */
/* 1. Katman: Renkli Arka Plan (Yukarıdaki sınıflardan gelir) */
/* 2. Katman: SVG Dijital Filigran (Guilloche Deseni) */
.card-bg-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1; /* Arka planda kalacak */
}
/* 3. Katman: İçerik Kapsayıcısı (Yazılar, resimler vb.) */
.card-content {
    position: relative;
    z-index: 2; /* Desenlerin üzerinde */
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: #fff;
}


/* === KART BÖLÜMLERİ: HEADER, BODY, FOOTER === */
.license-front .card-header {
    padding: 15px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #D4AF37; /* Altın rengi şerit */
    background: rgba(0,0,0,0.1);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.license-front .logo { height: 40px; }
.license-front .title { margin-left: 10px; }
.license-front .title span { font-size: 0.8rem; display: block; }
.license-front .title strong { font-size: 1rem; display: block; letter-spacing: 1px; }

.license-front .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
.photo-area { text-align: center; }
.player-photo {
    width: 150px;
    height: 180px;
    border: 5px solid #fff;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.info-area {
    width: 100%;
    margin-top: 20px;
}
.info-area .field { margin-bottom: 12px; }
.info-area .field label { display: block; font-size: 0.7rem; opacity: 0.7; text-transform: uppercase; }
.info-area .field span { font-weight: bold; font-size: 1.1rem; }
.info-area .field span.name { font-size: 1.5rem; }
.field-group { display: flex; justify-content: space-between; }

.license-front .card-footer {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.1);
}
.expiry label { font-size: 0.6rem; opacity: 0.7; display: block; }
.expiry span { font-weight: bold; }
.hologram {
    width: 50px;
    height: 50px;
    animation: hologram-shine 5s infinite linear;
}
@keyframes hologram-shine {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}


/* === KARTIN ARKA YÜZÜ (YENİ TASARIM) === */
.license-back {
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
}
.magnetic-stripe-svg { flex-shrink: 0; }
.qr-and-key-area {
    padding: 20px;
    text-align: center;
}
.qr-code-back img {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 0 auto;
}
.license-key-area { margin-top: 15px; }
.license-key-area label {
    font-size: 0.7rem;
    color: #6c757d;
    text-transform: uppercase;
    display: block;
}
.license-key-area span {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
}
.license-back .back-content {
    padding: 0 20px;
    font-size: 0.8rem;
    text-align: center;
    flex: 1;
    color: #333;
}
.license-back .signature-area {
    text-align: center;
    padding: 20px;
    color: #333;
    flex-shrink: 0;
}
.license-back .signature { height: 40px; }
.license-back .signature-area label { display: block; font-size: 0.7rem; }


/* === MASAÜSTÜ GÖRÜNÜMÜ (RESPONSIVE) === */
@media (min-width: 992px) {
    .license-print-area {
        flex-direction: row;
    }
    .license-front, .license-back {
        width: 510px;
        height: 320px;
    }
    .license-front .card-body {
        flex-direction: row;
        align-items: flex-start;
    }
    .info-area {
        margin-top: 0;
        margin-left: 20px;
    }
    .license-back {
        justify-content: space-between;
    }
    .qr-and-key-area, .back-content, .signature-area {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* === YAZDIRMA STİLLERİ (TAM VE EKSİKSİZ) === */
@media print {
    body, .license-wrapper { background: #fff !important; margin: 0; padding: 0; }
    .non-printable, footer, .navbar, header { display: none !important; }
    .container { max-width: 100% !important; padding: 0 !important; }
    .license-print-area { display: block; }
    .license-front { page-break-after: always; }
    .license-front, .license-back {
        width: 85.6mm !important; height: 53.98mm !important;
        box-shadow: none !important; border: 1px solid #ccc !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        flex-direction: row;
        font-size: 6pt;
    }
    .license-front .card-header { padding: 2mm; border-bottom-width: .5mm; }
    .license-front .logo { height: 8mm; }
    .license-front .title span { font-size: 5pt; }
    .license-front .title strong { font-size: 7pt; }
    .license-front .card-body { padding: 3mm; align-items: center; }
    .player-photo { width: 25mm; height: 32mm; border-width: 1mm; }
    .info-area { margin-left: 3mm; color: #fff !important; }
    .info-area .field { margin-bottom: 1.5mm; }
    .info-area .field label { font-size: 5pt; color: #fff !important; }
    .info-area .field span { font-size: 8pt; }
    .info-area .field span.name { font-size: 10pt; }
    .license-front .card-footer { padding: 2mm; }
    .hologram { width: 12mm; height: 12mm; }
    .expiry label { font-size: 4pt; color: #fff !important; }
    .expiry span { font-size: 6pt; color: #fff !important; }
    .license-back { color: #000 !important; }
    .license-back .magnetic-stripe-svg { height: 8mm !important; }
    .qr-and-key-area { padding: 2mm; }
    .qr-code-back img { width: 15mm; height: 15mm; }
    .license-key-area { margin-top: 1mm; }
    .license-key-area label { font-size: 5pt; }
    .license-key-area span { font-size: 7pt; letter-spacing: 0; }
    .license-back .back-content { font-size: 6pt; padding: 2mm; }
    .license-back .signature { height: 8mm; }
    .license-back .signature-area label { font-size: 5pt; }
}
/* --- Veri Atlası Çağrı Kartı --- */
.atlas-cta-section {
    padding: 4rem 0;
    background-color: #e9ecef;
}
.atlas-card {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 85, 164, 0.95)), url('../assets/images/map_bg.png'); /* Yolunu kontrol et */
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175);
    transition: all 0.3s ease;
}
.atlas-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 1.5rem 3.5rem rgba(0,0,0,0.25);
}
.atlas-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffc107;
}
.atlas-title {
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.atlas-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.5rem auto 1.5rem auto;
    opacity: 0.9;
}
/* ======================================================= */
/* ANA SAYFA - ŞAMPİYON & MİLLİ KARMA BÖLÜMÜ STİLLERİ     */
/* ======================================================= */

/* --- Şampiyonlar Bölümü --- */
.champions-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}
.champion-card {
    background: linear-gradient(145deg, #1e3c72, #2a5298);
    color: white;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175);
}
.champion-card::before {
    content: '\f091'; /* Kupa ikonu */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 25rem;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
}
.champion-content {
    position: relative;
    z-index: 2;
}
.champion-season {
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}
.champion-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffc107;
    margin: 0.5rem 0;
}
.champion-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin: 1rem auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}
.champion-name {
    font-size: 2.5rem;
    font-weight: 700;
}

/* --- Milli Karma Bölümü --- */
.karma-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
/* Splide.js (Carousel) için özel stiller */
.splide__track { padding: 1rem 0; }
.karma-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: calc(100% - 2rem); /* Kartların aynı hizada durması için */
    margin: 1rem;
}
.karma-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.15);
}
.karma-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin: 0 auto 1rem auto;
    border: 5px solid #ffc107; /* Altın rengi çerçeve */
}
.karma-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.karma-team, .karma-season {
    color: #6c757d;
    font-size: 0.9rem;
}
.karma-notes {
    font-style: italic;
    color: #0d6efd;
    margin-top: 0.5rem;
}
/* ======================================================= */
/* ANA SAYFA - MİLLİ KARMA ÇAĞRI KARTI (CTA) STİLLERİ      */
/* ======================================================= */
.karma-cta-section {
    padding: 4rem 0;
    background-color: #f8f9fa; /* Arka plan rengi */
}

.karma-cta-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #161b22, #21262d); /* Koyu tema */
    color: #fff;
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175);
    border: 1px solid #30363d;
}

/* Dalgalanan Bayrak */
.karma-cta-card .header-flag {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    opacity: 0.8;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
    animation: waving-flag 5s ease-in-out infinite;
    transform-origin: top left;
}
@keyframes waving-flag {
    0%, 100% { transform: rotateZ(0deg); }
    50% { transform: rotateZ(2deg) translateY(-3px); }
}

.karma-cta-content .icon {
    font-size: 3rem;
    color: #dc3545; /* Kırmızı */
    text-shadow: 0 0 15px rgba(220, 53, 69, 0.7);
    margin-bottom: 1rem;
}
.karma-cta-content .title {
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.karma-cta-content .description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.5rem auto 1.5rem auto;
    opacity: 0.8;
}
.karma-cta-content .btn {
    transition: all 0.3s ease;
}
.karma-cta-content .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(255, 193, 7, 0.2);
}
/* ======================================================= */
/* HABERLER SAYFASI - YENİ VE PROFESYONEL STİLLER          */
/* ======================================================= */
.news-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    border-radius: 1rem;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}
.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
}
.hero-content .display-5 {
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}
.hero-content .lead {
    max-width: 80%;
    opacity: 0.9;
}

.news-card-v2 {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.news-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.12);
}
.news-card-v2 .card-img-wrapper {
    overflow: hidden;
    height: 200px;
}
.news-card-v2 .card-img-top {
    transition: transform 0.4s ease;
}
.news-card-v2:hover .card-img-top {
    transform: scale(1.05);
}
.news-card-v2 .card-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: #212529;
}
.news-card-v2 .card-text {
    font-size: 0.95rem;
}
/* ======================================================= */
/* ANA SAYFA - 3D DÖNEN KÜP (İMZA BÖLÜMÜ) STİLLERİ         */
/* ======================================================= */
.signature-section {
    padding: 5rem 0;
    background-color: #161b22; /* Koyu arkaplan */
    overflow: hidden;
}

.cube-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.logo-flipper {
    width: 200px;
    height: 200px;
    perspective: 1000px; /* 3D efekti için perspektif */
}

.logo-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear; /* Dönme animasyonu */
}

.logo-flipper:hover .logo-cube {
    animation-play-state: paused; /* Üzerine gelince animasyonu durdur */
}

@keyframes rotate-cube {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.logo-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #30363d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #fff;
}

.logo-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-front  { transform: rotateY(0deg) translateZ(100px); }
.logo-right  { transform: rotateY(90deg) translateZ(100px); }
.logo-back   { transform: rotateY(180deg) translateZ(100px); }
.logo-left   { transform: rotateY(-90deg) translateZ(100px); }

/* =============================================== */
/* REKLAM YÖNETİM SİSTEMİ STİLLERİ                  */
/* =============================================== */

/* Reklam alanının genel kapsayıcısı */
.reklam-alani {
    margin-left: auto;
    margin-right: auto;
    /* Reklamın ortalanması ve içeriğe göre boyutlanması için */
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0; /* Resim altındaki boşluğu kaldırır */
}

/* Otomatik boyut: Konulduğu alanın genişliğini kaplar */
.reklam-boyut-otomatik {
    width: 100%;
    max-width: 970px; /* Çok fazla genişlemesini engellemek için limit */
}
.reklam-boyut-otomatik img {
    max-width: 100%;
    height: auto;
}

/* Sabit Boyutlu Reklamlar İçin CSS */
/* Bu sınıflar, reklamın orantısını koruyarak mobil cihazlarda küçülmesini sağlar */
.reklam-boyut-728x90 { max-width: 928px; width: 100%; }
.reklam-boyut-468x60 { max-width: 468px; width: 100%; }
.reklam-boyut-970x250 { max-width: 1070px; width: 100%; }
.reklam-boyut-300x250 { max-width: 300px; width: 100%; }
.reklam-boyut-160x600 { max-width: 160px; width: 100%; }
.reklam-boyut-300x600 { max-width: 300px; width: 100%; }

/* Reklam alanındaki resim veya iframe'in kapsayıcıya tam sığmasını sağlar */
.reklam-alani a,
.reklam-alani img,
.reklam-alani iframe {
    width: 100%;
    height: auto; /* Orantıyı korumak için */
    display: block;
}
/* =============================================== */
/* REKLAM SLIDER STİLLERİ                          */
/* =============================================== */

/* Slider içindeki her bir slaytın içeriği tam ortalamasını sağlar */
.splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}

/* Slayt içindeki resimlerin veya iframe'lerin slayta tam sığmasını sağlar */
.splide__slide img,
.splide__slide iframe {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmin orantısını bozmadan sığdır */
}