:root {
    --primary: #4361ee;
    --secondary: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #212529;
    --success: #06d6a0;
    --warning: #ffd166;
    --danger: #ef476f;
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border: 1px solid rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f1f5f9 0%, #e9ecef 100%);
    color: var(--dark);
    min-height: 100vh;
    line-height: 1.6;
}


/* Mobil Menü Butonu - Sadece mobilde görünür */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 101;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.6;
}

/* Card Styles */
.card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: var(--border);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 20px 25px;
    border-bottom: var(--border);
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-body {
    padding: 25px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Player Grid */
.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Player Card */
.player-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: var(--border);
}

.player-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.player-photo-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.player-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.player-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    padding: 20px;
    flex: 1;
}

.player-name {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.player-team {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-meta {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    color: var(--gray);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.player-meta div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.player-stat {
    text-align: center;
    background: rgba(67, 97, 238, 0.1);
    padding: 12px;
    border-radius: 8px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Search & Filters */
.search-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    padding-left: 45px;
    border-radius: 30px;
    background: rgba(248, 249, 250, 0.8);
    border: var(--border);
    color: var(--dark);
    font-size: 1rem;
    box-shadow: var(--shadow);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    min-width: 200px;
}

.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    background: rgba(248, 249, 250, 0.8);
    border: var(--border);
    color: var(--dark);
    font-size: 1rem;
    box-shadow: var(--shadow);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.1);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a.active {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.pagination a:hover:not(.active) {
    background: rgba(67, 97, 238, 0.2);
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    border: var(--border);
    background: rgba(248, 249, 250, 0.8);
    font-size: 1rem;
    color: var(--dark);
    box-shadow: var(--shadow);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(67, 97, 238, 0.4);
}

.btn-secondary {
    background: var(--light);
    color: var(--primary);
    border: var(--border);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: rgba(67, 97, 238, 0.1);
    transform: translateY(-3px);
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
}

.league-table th {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    color: white;
}

.league-table td {
    padding: 12px 10px;
    border-bottom: var(--border);
}

.league-table tr:nth-child(even) {
    background: rgba(248, 249, 250, 0.5);
}

.league-table tr:hover {
    background: rgba(67, 97, 238, 0.1);
}

.team-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo-sm {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(67, 97, 238, 0.3);
    color: var(--primary);
}

/* Sponsorlar */
.sponsor-banner {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.sponsor-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
}

.sponsor-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.sponsor-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
    object-fit: contain; /* Resimlerin oranlarını koruyarak sığmasını sağlar */
}

.sponsor-item:hover img {
    transform: scale(1.05);
}

.sponsor-item.empty {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .sponsor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    nav ul {
        gap: 10px;
    }
    
    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 20px;
    }
    
    .team {
        width: 100%;
    }
    
    /* Mobil menü butonu görünür hale getir */
    .mobile-menu-btn {
        display: block;
    }
    
    /* Navigasyon menüsü mobilde gizli */
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 100;
        padding: 20px;
        overflow-y: auto;
    }
    
    /* Mobil menü açıkken göster */
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    nav a {
        font-size: 1.2rem;
        padding: 12px 20px;
    }
    
    .sponsor-grid {
        grid-template-columns: 1fr;
    }
    
    .player-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}
.live-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 10px;
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.live-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    animation: shine 3s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}
/* style.css dosyasının en altına ekle */
.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.team-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    border: 2px solid rgba(67, 97, 238, 0.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.team-logo img {
    max-width: 100%;
    max-height: 100%;
    padding: 5px;
}

.team-name {
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.match-score {
    font-size: 2rem;
    font-weight: 700;
    min-width: 100px;
    text-align: center;
    color: var(--primary);
}

.live-indicator {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 10px;
    margin-top: 20px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
/* Diğer stiller aynı kalacak */

/* SLIDER STILLERİ */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

/* YENİ SLIDER STİLLERİ */
.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

/* CSS GÜNCELLEMESİ */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 3;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* CANLI GÖSTERGE DÜZELTMESİ */
.live-indicator {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 10px;
    margin-top: 20px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.live-indicator > div {
    display: flex;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* RESİM YOLLARI İÇİN DÜZELTME */
.team-logo-sm img,
.player-photo img,
.sponsor-item img {
    max-width: 100%;
    height: auto;
    display: block;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* style.css dosyasının en altına ekleyin */
.btn.btn-primary,
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: var(--primary);
    color: #fff;
}

.btn.btn-secondary,
.btn.btn-secondary:hover,
.btn.btn-secondary:focus,
.btn.btn-secondary:active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}