/* ====================================
   CSS Reset and Base Styles
   ==================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
    overflow-y: auto;
}

/* ====================================
   Color Variables
   ==================================== */

:root {
    --primary-green: #4CAF50;
    --primary-green-dark: #45a049;
    --primary-green-light: #81C784;
    --secondary-green: #66BB6A;
    --accent-green: #8BC34A;
    
    --white: #2a2a2a;
    
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
    --text-dark: #212121;
    --text-light: #666666;
    
    --live-red: #f44336;
    --warning-orange: #ff9800;
    --info-blue: #2196f3;
    
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-heavy: 0 8px 16px rgba(0,0,0,0.15);
    
    --border-radius: 12px;
    --border-radius-small: 8px;
    --transition: all 0.3s ease;
}

/* ====================================
   Layout Structure
   ==================================== */

body {
    display: flex;
    flex-direction: column;
    padding-bottom: 80px; /* Space for bottom nav */
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* PC/Desktop Layout */
@media (min-width: 1024px) {
    body {
        padding-bottom: 0; /* Remove bottom nav space on desktop */
        padding-top: 0;
    }
}

.main-content {
    flex: 1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

/* PC/Desktop Main Content */
@media (min-width: 1024px) {
    .main-content {
        max-width: 1200px;
        padding: 2rem;
        background: #f8f9fa;
    }
}

/* Large Desktop Layout */
@media (min-width: 1440px) {
    .main-content {
        max-width: 1400px;
        padding: 3rem;
    }
}

/* ====================================
   Desktop-Specific Improvements
   ==================================== */

/* Desktop Page Headers */
@media (min-width: 1024px) {
    .page-header {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }
    
    .page-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
}

/* Desktop Cards and Components */
@media (min-width: 1024px) {
    .card, .team-card, .match-card, .news-card {
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    
    .card:hover, .team-card:hover, .match-card:hover, .news-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }
}

/* Desktop Form Improvements */
@media (min-width: 1024px) {
    .filters {
        padding: 2rem;
        border-radius: 16px;
        margin-bottom: 2rem;
    }
    
    .filter-group {
        min-width: 200px;
    }
    
    .filter-group select,
    .search-input {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 12px;
    }
}

/* Desktop Button Improvements */
@media (min-width: 1024px) {
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .quick-item {
        padding: 2rem 1.5rem;
        min-height: 120px;
        border-radius: 16px;
    }
    
    .quick-item i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .quick-item span {
        font-size: 1rem;
        font-weight: 600;
    }
}

/* ====================================
   Bottom Navigation
   ==================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--medium-gray);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 500px;
    margin: 0 auto;
}

/* Hide bottom navigation on desktop */
@media (min-width: 1024px) {
    .bottom-nav {
        display: none;
    }
}

/* ====================================
   Desktop Header Navigation
   ==================================== */

.desktop-header {
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--medium-gray);
    box-shadow: var(--shadow-light);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

@media (min-width: 1024px) {
    .desktop-header {
        display: block;
    }
}

.desktop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.desktop-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
}

.desktop-logo i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.desktop-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.desktop-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.desktop-nav-link:hover,
.desktop-nav-link.active {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-1px);
}

.desktop-nav-link i {
    font-size: 1rem;
}

/* Large Desktop Header */
@media (min-width: 1440px) {
    .desktop-header {
        padding: 1.5rem 3rem;
    }
    
    .desktop-nav {
        max-width: 1400px;
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark-gray);
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--border-radius-small);
    min-width: 60px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-green);
    background-color: var(--light-gray);
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.nav-item span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* ====================================
   Common Components
   ==================================== */

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.section-title i {
    color: var(--primary-green);
}


.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-title i {
    color: var(--primary-green);
}

.matches-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.matches-link:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.matches-link i {
    font-size: 1rem;
}

/* ====================================
   Buttons
   ==================================== */

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* ====================================
   Home Page Styles
   ==================================== */

/* Sponsors Section */
.sponsors-section {
    margin: 0;
    padding: 0.75rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--medium-gray);
}

/* Live Matches Compact Display */
.live-matches-compact {
    background: linear-gradient(135deg, #f44336, #e53935);
    color: white;
    padding: 0.5rem 1rem;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
    border-bottom: 2px solid #d32f2f;
    max-width: 500px;
    margin: 0 auto;
    height: 50px;
    box-sizing: border-box;
}

/* Desktop Live Matches Display */
@media (min-width: 1024px) {
    .live-matches-compact {
        position: relative;
        max-width: none;
        height: 60px;
        margin: 0;
        border-radius: 12px;
        margin-bottom: 2rem;
    }
}

.live-match-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: white;
    padding: 0.4rem 0.3rem;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    gap: 0.2rem;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
}

.live-match-compact .live-indicator-dot {
    order: -1;
    margin-right: 0.2rem;
}

.live-match-compact .live-text {
    order: -1;
    margin-right: 0.2rem;
}

.live-match-compact:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.live-indicator-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.live-text {
    font-weight: bold;
    font-size: 0.8rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: liveBlink 1.5s ease-in-out infinite;
}

@keyframes liveBlink {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.live-match-compact .team-name {
    font-weight: 600;
    font-size: 0.7rem;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
    padding: 0.05rem 0.1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    z-index: 1;
    position: relative;
    max-width: 25%;
    margin: 0 0.5rem;
}

.live-match-compact .score {
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    min-width: 60px;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}

.live-match-compact .match-minute {
    background: #000000;
    padding: 0.2rem 0.4rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 35px;
    width: 35px;
    height: 35px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
}

.live-match-compact .minute-text {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile responsiveness for live matches compact */
@media (max-width: 480px) {
    .live-matches-compact {
        height: 45px;
        padding: 0.4rem 0.8rem;
    }
    
    .live-match-compact {
        gap: 0.3rem;
        padding: 0.3rem 0.2rem;
        height: 100%;
    }
    
    .live-match-compact .team-name {
        font-size: 0.65rem;
        padding: 0.05rem 0.05rem;
        flex: 1;
        max-width: 20%;
        margin: 0 0.3rem;
    }
    
    .live-match-compact .score {
        font-size: 0.9rem;
        padding: 0.15rem 0.4rem;
        min-width: 45px;
        flex: 0 0 auto;
    }
    
    .live-match-compact .match-minute {
        font-size: 0.7rem;
        padding: 0.1rem 0.2rem;
        min-width: 30px;
        width: 30px;
        height: 30px;
        flex: 0 0 auto;
    }
    
    .live-text {
        font-size: 0.75rem;
        flex: 0 0 auto;
    }
}


.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.5rem 0;
}

/* Desktop Sponsors Grid */
@media (min-width: 1024px) {
    .sponsors-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
        padding: 1rem 0;
    }
}

@media (min-width: 1440px) {
    .sponsors-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 1.5rem;
    }
}


.sponsor-item {
    aspect-ratio: 5/2;
    background: var(--white);
    border-radius: var(--border-radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.sponsor-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.sponsor-item:hover a {
    opacity: 0.9;
}

.sponsor-item a {
    cursor: pointer;
}

.sponsor-item a:hover .sponsor-logo {
    transform: scale(1.05);
}

.sponsor-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

/* Sponsors Title */
.sponsors-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

/* Quick Access Grid */
.quick-access {
    margin: 1.5rem 0;
    margin-top: 2.5rem; /* Increased margin to move down */
    position: relative;
    z-index: 10;
    background: var(--bg-card);
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--light-gray);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Desktop Quick Access Grid */
@media (min-width: 1024px) {
    .quick-access {
        margin: 2rem 0;
        margin-top: 3rem;
        padding: 2rem;
        background: var(--white);
        border: 1px solid var(--medium-gray);
    }
    
    .quick-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1440px) {
    .quick-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }
}

.quick-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.25rem 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    min-height: 90px;
}

.quick-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.quick-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.quick-item[href="/points"] {
   
    background: linear-gradient(135deg, #3c72c9cc 0%, rgba(51, 65, 85, 0.6) 100%)
}

.quick-item[href="/points"]:hover {
    border-color: #01ff62;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
}

.quick-item[href="/points"] i {
    color: #FFD700;
}

.quick-item span {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}

.quick-item.live i {
    color: var(--live-red);
    animation: pulse 1.5s infinite;
}

.quick-item.referee:hover i {
    color: var(--primary-green);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ====================================
   Match Cards
   ==================================== */

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: none;
    overflow-y: visible;
}

/* Desktop Matches Layout */
@media (min-width: 1024px) {
    .matches-list {
        gap: 1rem;
    }
}

@media (min-width: 1440px) {
    .matches-list {
        gap: 1.5rem;
    }
}

/* Today's Matches Section - Ensure scrollability */
.today-matches {
    margin-bottom: 2rem;
    overflow: visible;
}

.today-matches .matches-list {
    max-height: none;
    overflow-y: visible;
}

/* No matches message */
.no-matches {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
}

.no-matches i {
    font-size: 3rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
    display: block;
}

.no-matches p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Section footer */
.section-footer {
    text-align: center;
    margin-top: 1rem;
}

/* Outline button */
.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: var(--border-radius-small);
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-1px);
}

/* Text muted for non-admin users */
.text-muted {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Admin-only elements */
.admin-only {
    display: inline-block;
}

.btn-outline + .btn-outline {
    margin-left: 0.5rem;
}

.match-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    min-height: 200px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

/* Düzenli Maç Header - Sol, Orta, Sağ - Aynı Hizalama */
.match-header-unified {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 60px;
    height: 60px;
}

.match-header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 120px;
    height: 100%;
}

.match-header-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 0 1rem;
    height: 100%;
}

.match-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 120px;
    height: 100%;
}

.match-time-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #475569, #64748b);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    min-width: 140px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Eski match-header stili - artık kullanılmıyor */
.match-header {
    display: none;
}

/* Status on the left side */
.match-status-left {
    display: flex;
    align-items: center;
}

/* Category on the right side */
.match-category-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stadium info in header */
.stadium-info-header {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    background: linear-gradient(135deg, #475569, #64748b);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    flex: 1;
    justify-content: center;
    max-width: 150px;
    white-space: nowrap;
}

.stadium-info-header i {
    font-size: 0.6rem;
    color: #ffffff;
}

/* Time on the right side */
.match-time-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f1f5f9;
    background: linear-gradient(135deg, #475569, #64748b);
    padding: 0.4rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    min-width: 85px;
}

.match-time-right i {
    font-size: 0.6rem;
    color: #ffffff;
}

/* Time with icon - horizontal layout */
.time-with-icon {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #f1f5f9;
}

.time-with-icon i {
    font-size: 0.6rem;
    color: #ffffff;
}

/* Match date info */
.match-date-info {
    font-size: 0.6rem;
    font-weight: 500;
    color: #ffffff;
    margin-top: 0.05rem;
    text-align: center;
}

/* Stadium info under time */
.stadium-info-under-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6rem;
    font-weight: 500;
    color: #ffffff;
    margin-top: 0.1rem;
    justify-content: center;
}

.stadium-info-under-time i {
    font-size: 0.5rem;
    color: #94a3b8;
}

/* Category center positioning for homepage cards */
/* Eski kategori merkezi stili - artık kullanılmıyor */
.match-category-center {
    display: none;
}

/* Live match category positioning - top right */
.live-match .match-category-center {
    top: 8px;
    right: 8px;
    left: auto;
    transform: none;
}

/* Live match specific header styling */
.live-match .match-header {
    margin-bottom: 0.5rem;
    justify-content: center;
    position: relative;
}

/* Live Match Special Styles */
.live-match .match-minute {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    margin-top: 0.4rem;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}



.tournament-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.tournament-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tournament-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.tournament-name {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-badge-pro {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #ff4757;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.live-dot-pro {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.match-date-time {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Main Match Content */
.match-content-pro {
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: relative;
    max-width: 100%;
}

/* Team Sections */
.team-section-pro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 140px;
    text-align: center;
}

.team-logo-pro {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f1f3f4;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-logo-pro:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.team-name-pro {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    line-height: 1.2;
    margin: 0;
    max-width: 120px;
}

/* Score Area */
.score-area-pro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    min-width: 180px;
}

.minute-display-pro {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

/* Dynamic minute colors */
.minute-display-pro.first-half {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
}

.minute-display-pro.second-half {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
}

.minute-display-pro.final-minutes {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    animation: pulse 1.5s infinite;
}

.minute-display-pro.match-ended {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
    box-shadow: 0 3px 10px rgba(127, 140, 141, 0.3);
}

.minute-text-pro {
    font-size: 0.9rem;
}

.score-big-pro {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.score-home-pro, .score-away-pro {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 40px;
    text-align: center;
}

.score-divider-pro {
    font-size: 2rem;
    font-weight: 400;
    color: #bdc3c7;
}

.live-indicator-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

/* Bottom Stats Section */
.match-stats-bottom {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e9ecef;
}

.last-matches-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stats-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-boxes {
    display: flex;
    gap: 0.3rem;
}

.form-box {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.form-box.win {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.form-box.draw {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.form-box.loss {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Stadium and Referee Info for Professional Cards */
.stadium-info-pro,
.referee-info-pro {
    background: rgba(52, 152, 219, 0.1);
    border-left: 3px solid #3498db;
    padding: 0.6rem 1rem;
    margin: 0.5rem 1.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #34495e;
    font-weight: 500;
}

.stadium-info-pro i,
.referee-info-pro i {
    color: #3498db;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.referee-info-pro {
    background: rgba(39, 174, 96, 0.1);
    border-left-color: #27ae60;
    margin-bottom: 1rem;
}

.referee-info-pro i {
    color: #27ae60;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tournament-header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem 1rem;
        text-align: center;
    }
    
    .tournament-left,
    .tournament-right {
        justify-content: center;
    }
    
    .match-content-pro {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem 1rem;
    }
    
    /* Tablet için finished durumu özel ayarları */
    .status.finished {
        background: linear-gradient(135deg, #059669, #047857);
        color: #ffffff;
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        border-radius: 15px;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .team-section-pro {
        width: auto;
    }
    
    .team-logo-pro {
        width: 60px;
        height: 60px;
    }
    
    .score-big-pro {
        font-size: 1.8rem;
    }
    
    .score-area-pro {
        min-width: auto;
        order: -1;
    }
    
    .match-stats-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stadium-info-pro,
    .referee-info-pro {
        margin: 0.5rem 1rem;
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }
}

/* Category badge styles */
.category-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #000000;
    background: linear-gradient(135deg, #ffee02, #475569);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.category-badge.gençler {
    background: linear-gradient(135deg, #ffee02, #475569);
    color: #ffffff;
}

.category-badge.olgunlar {
    background: linear-gradient(135deg, #ffee02, #475569);
    color: #ffffff;
}

.category-badge.unknown {
    background: var(--medium-gray);
    color: var(--text-dark);
}

/* Matches page specific styles */
.match-week-time {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.match-week span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.match-time span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* Category badges responsive */
@media (max-width: 768px) {
    .match-header-unified {
        margin-bottom: 0.8rem;
        padding: 0.6rem;
        height: 50px;
        min-height: 50px;
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .match-header-left {
        flex: 0 0 100px;
        height: 100%;
        align-items: center;
    }
    
    .match-header-center {
        padding: 0 0.5rem;
        height: 100%;
        align-items: center;
    }
    
    .match-header-right {
        flex: 0 0 100px;
        height: 100%;
        align-items: center;
    }
    
    .match-time-info {
        min-width: 120px;
        padding: 0.5rem 1rem;
        gap: 0.2rem;
        height: 100%;
        justify-content: center;
    }
    
    .match-status-left {
        font-size: 0.8rem;
    }
    
    .match-time-right {
        font-size: 0.65rem;
        padding: 0.25rem 0.35rem;
        min-width: 70px;
        gap: 0.08rem;
    }
    
    .stadium-info-under-time {
        font-size: 0.55rem;
        margin-top: 0.08rem;
    }
    
    .stadium-info-under-time i {
        font-size: 0.45rem;
    }
    
    .time-with-icon {
        font-size: 0.65rem;
        gap: 0.15rem;
    }
    
    .time-with-icon i {
        font-size: 0.55rem;
    }
    
    .match-date-info {
        font-size: 0.55rem;
        margin-top: 0.05rem;
    }
    
    .match-time-right i {
        font-size: 0.55rem;
        color: #ffffff;
    }
    
    .stadium-info-header {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
        max-width: 130px;
    }
    
    .stadium-info-header i {
        font-size: 0.55rem;
        color: #ffffff;
    }
    
    .match-week-time {
        gap: 0.125rem;
    }
    
    .referees-container {
        gap: 0.2rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .referees-container-inline {
        gap: 0.08rem;
    }
    
    .referee-name-inline {
        font-size: 0.6rem;
    }
    
    .referee-separator {
        font-size: 0.55rem;
        margin: 0 0.08rem;
    }
    
    .referee-item {
        gap: 0.25rem;
        flex-direction: row;
        align-items: center;
        margin: 0.1rem;
    }
    
    .referee-label {
        font-size: 0.55rem;
        white-space: nowrap;
    }
    
    .referee-name {
        font-size: 0.6rem;
        white-space: nowrap;
    }
    
    .category-badge {
        font-size: 0.6rem;
        padding: 0.1rem 0.4rem;
    }
    
    .filter-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-group {
        flex: 1 1 45%;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .match-header-unified {
        margin-bottom: 0.6rem;
        padding: 0.5rem;
        height: auto;
        min-height: 45px;
        flex-direction: row;
        gap: 0.3rem;
        align-items: center;
    }
    
    .match-header-left {
        flex: 0 0 80px;
        min-width: 80px;
        height: 100%;
        justify-content: flex-start;
        align-items: center;
    }
    
    .match-header-center {
        padding: 0 0.3rem;
        order: 0;
        height: 100%;
        align-items: center;
        flex: 1;
    }
    
    .match-header-right {
        flex: 0 0 80px;
        min-width: 80px;
        height: 100%;
        justify-content: flex-end;
        order: 0;
        align-items: center;
    }
    
    .match-time-info {
        min-width: 90px;
        padding: 0.3rem 0.6rem;
        gap: 0.1rem;
        border-radius: 8px;
        height: 100%;
        justify-content: center;
    }
    
    .match-status-left {
        font-size: 0.7rem;
    }
    
    .match-time-right {
        font-size: 0.6rem;
        padding: 0.2rem 0.25rem;
        min-width: 60px;
        gap: 0.05rem;
    }
    
    .stadium-info-under-time {
        font-size: 0.5rem;
        margin-top: 0.05rem;
    }
    
    .stadium-info-under-time i {
        font-size: 0.4rem;
    }
    
    .time-with-icon {
        font-size: 0.6rem;
        gap: 0.1rem;
    }
    
    .time-with-icon i {
        font-size: 0.5rem;
    }
    
    .match-date-info {
        font-size: 0.5rem;
        margin-top: 0.03rem;
    }
    
    .match-time-right i {
        font-size: 0.5rem;
    }
    
    /* Mobile için finished durumu özel ayarları */
    .status.finished {
        background: linear-gradient(135deg, #059669, #047857);
        color: #ffffff;
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        border-radius: 4px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 4px rgba(5, 150, 105, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .stadium-info-header {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
        max-width: 100px;
    }
    
    .stadium-info-header i {
        font-size: 0.5rem;
        color: #ffffff;
    }
    
    .category-badge {
        font-size: 0.8rem;
        padding: 0.1rem 0.35rem;
    }
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

.match-card.live-match {
    background: linear-gradient(135deg, #ffffff, #fafbfc);
    box-shadow: 0 4px 20px rgba(244, 67, 54, 0.15);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.live-match .match-header {
    position: relative;
}



.match-time {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* Live matches time - top left positioned and smaller */
.live-match .match-time {
    text-align: left;
    font-size: 0.425rem;
    color: var(--text-light);
    margin-bottom: 0;
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

.match-week {
    text-align: center;
    font-size: 0.8rem;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
    border-radius: 12px;
    margin: 0 -0.5rem 1.5rem -0.5rem;
    padding: 1rem 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

/* Live match teams alignment */
.live-match .match-teams {
    align-items: stretch;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 35%;
}

/* Live match teams - center align with score */
.live-match .team {
    justify-content: center;
    align-items: center;
    max-width: 40%;
}


.team-name {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    color: #f1f5f9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Live match team names - align with score */
.live-match .team-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0 1.5rem;
    background: linear-gradient(135deg, #475569, #64748b);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Enhanced live match score container */
.live-match .match-score {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid rgba(244, 67, 54, 0.1);
    margin: 0 1.2rem;
}

.score {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f1f5f9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.score.live {
    color: var(--live-red);
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.vs {
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
    background: linear-gradient(135deg, #475569, #64748b);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.match-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status.beklemede {
    
    color: var(--white);
}

.status.canli,
.status.live-status {
    
    color: var(--white);
}

.status.bitti,
.status.finished {
    background: linear-gradient(135deg, #059669, #047857);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.score.finished {
    color: #000000;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.status.ertelendi,
.status.postponed {
    background: var(--warning-orange);
    color: var(--white);
}

.status.upcoming,
.status.oynanacak {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}


.match-referee-info {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: #94a3b8;
    opacity: 0.8;
    font-style: italic;
    text-align: center;
    line-height: 1.2;
    max-width: 200px;
}

.referees-container {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
}

/* Inline referees container */
.referees-container-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    flex-wrap: wrap;
    word-break: break-word;
    hyphens: auto;
}

.referee-name-inline {
    color: #f1f5f9;
    font-size: 0.65rem;
    font-weight: 500;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    white-space: normal;
    min-width: 0;
    flex-shrink: 1;
}

.referee-separator {
    color: #94a3b8;
    font-size: 0.6rem;
    font-weight: 400;
    margin: 0 0.1rem;
}

/* Referee item inline */
.referee-item-inline {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-wrap: wrap;
    min-width: 0;
    flex-shrink: 1;
    max-width: 100%;
}

.referee-label-inline {
    color: #cbd5e1;
    font-size: 0.6rem;
    font-weight: 600;
    white-space: nowrap;
}

.referee-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    justify-content: center;
}

.referee-label {
    font-weight: 600;
    color: #cbd5e1;
    font-size: 0.6rem;
}

.referee-name {
    color: #f1f5f9;
    font-size: 0.65rem;
}

.no-referee-text {
    text-align: center;
    color: #94a3b8;
    opacity: 0.4;
}

/* Style for unassigned referee message */
.match-referee-info.no-referee {
    opacity: 0.4;
    color: #999;
}

.stadium,
.stadium-info {
    font-size: 0.75rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}


.no-matches {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.no-matches i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* ====================================
   Teams Page
   ==================================== */

.teams-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Desktop Teams Grid */
@media (min-width: 1024px) {
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1440px) {
    .teams-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-light);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}



.team-info {
    flex: 1;
}

.team-card .team-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.team-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.team-record {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.wins { color: var(--primary-green); }
.draws { color: var(--warning-orange); }
.losses { color: var(--live-red); }

/* ====================================
   Points Table (Standings)
   ==================================== */

.standings-table {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    margin: 1rem 0;
}

.table-header {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.75rem 0.5rem;
    display: grid;
    grid-template-columns: 40px 1fr repeat(8, 30px);
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.table-row {
    padding: 0.75rem 0.5rem;
    display: grid;
    grid-template-columns: 40px 1fr repeat(8, 30px);
    gap: 0.5rem;
    border-bottom: 1px solid var(--light-gray);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    align-items: center;
    min-height: 3.5rem;
}

/* Desktop Table Layout */
@media (min-width: 1024px) {
    .table-header {
        padding: 1rem 1rem;
        grid-template-columns: 50px 2fr repeat(8, 50px);
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .table-row {
        padding: 1rem 1rem;
        grid-template-columns: 50px 2fr repeat(8, 50px);
        gap: 1rem;
        min-height: 4rem;
    }
}

@media (min-width: 1440px) {
    .table-header {
        padding: 1.25rem 1.5rem;
        grid-template-columns: 60px 2fr repeat(8, 60px);
        gap: 1.25rem;
        font-size: 1rem;
    }
    
    .table-row {
        padding: 1.25rem 1.5rem;
        grid-template-columns: 60px 2fr repeat(8, 60px);
        gap: 1.25rem;
        min-height: 4.5rem;
    }
}

.table-row:hover {
    background: var(--light-gray);
}

.table-row:last-child {
    border-bottom: none;
}

.position {
    font-weight: 600;
    color: var(--primary-green);
    text-align: center;
}

.table-row .team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}


.table-row .team-name {
    font-size: 0.85rem;
    font-weight: 500;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    padding: 0.3rem 0.2rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.stat {
    text-align: center;
    font-size: 0.8rem;
}

.stat.positive {
    color: var(--primary-green);
    font-weight: 500;
}

.stat.negative {
    color: var(--live-red);
    font-weight: 500;
}

.stat.points {
    font-weight: 600;
    color: var(--primary-green);
}

.legend {
    margin: 0.5rem 0 1.5rem;
    text-align: center;
    color: var(--text-light);
}

/* ====================================
   News Styles - Modern Dark Design
   ==================================== */

.news-page {
    background: var(--background);
    min-height: 100vh;
    padding: 1rem;
    padding-bottom: 100px; /* Bottom nav için boşluk */
}

.page-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem 0;
}

.page-header .page-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header .page-title i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

/* Arama bölümü kaldırıldı */

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Desktop News Grid */
@media (min-width: 1024px) {
    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1440px) {
    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow-light);
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-green);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.news-category {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date {
    color: var(--text-light);
    font-weight: 500;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.news-summary {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.news-author,
.news-views {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
}

.news-author i,
.news-views i {
    color: var(--primary-green);
}

.no-news {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-light);
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.no-news i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.no-news p {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
}

/* Mobile Responsive for News */
@media (max-width: 768px) {
    .news-page {
        padding: 0.5rem;
        padding-bottom: 100px;
    }
    
    .page-header .page-title {
        font-size: 1.75rem;
    }
    
    .news-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .page-header .page-title {
        font-size: 1.5rem;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-title {
        font-size: 1rem;
    }
    
    .news-summary {
        font-size: 0.85rem;
    }
}

/* ====================================
   Filters and Forms
   ==================================== */

.filters {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 120px;
}

.filter-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.filter-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-small);
    font-size: 0.85rem;
    background: var(--white);
    color: var(--text-dark);
}

/* This is now handled by the new news-filters above */

.search-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-group {
    flex: 2;
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-small);
    font-size: 0.9rem;
}

.search-btn {
    padding: 0.75rem 1rem;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-green-dark);
}

/* ====================================
   More Page
   ==================================== */

.more-page {
    padding: 1rem 0;
}

.login-section {
    text-align: center;
    margin-bottom: 2rem;
}

.login-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.login-btn:hover {
    background: var(--primary-green-dark);
    transform: translateY(-1px);
}

.features-list {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.feature-item {
    border-bottom: 1px solid var(--light-gray);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.feature-link:hover {
    background: var(--light-gray);
}

.feature-link i:first-child {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.feature-link span {
    flex: 1;
    font-weight: 500;
}

.feature-link i:last-child {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ====================================
   Scorers and Other Lists
   ==================================== */

.scorers-list {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.scorer-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.scorer-item:last-child {
    border-bottom: none;
}

.scorer-rank {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.scorer-info {
    flex: 1;
}

.scorer-name {
    font-weight: 600;
    color: var(--text-dark);
    display: block;
}

.scorer-team {
    font-size: 0.85rem;
    color: var(--text-light);
}

.scorer-goals {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green);
}

.top-scorers-preview {
    margin: 2rem 0;
}

.see-all {
    text-align: center;
    margin-top: 1rem;
}

/* ====================================
   Quick Links
   ==================================== */

.quick-links {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quick-link {
    flex: 1;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quick-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.quick-link i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.quick-link span {
    font-weight: 500;
}

/* ====================================
   Live Indicators
   ==================================== */

.live-indicator {
    color: var(--live-red);
    animation: pulse 1.5s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--live-red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    display: inline-block;
}

.quick-item.live {
    position: relative;
    overflow: hidden;
}

.quick-item.live .live-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
}

.quick-item.live:hover i {
    color: var(--live-red);
}

/* ====================================
   Live Matches Page
   ==================================== */

.live-matches-page .page-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-matches-grid {
    display: grid;
    gap: 1rem;
}

.live-match-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--live-red);
    transition: var(--transition);
    position: relative;
}

.live-match-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.live-match-card .match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.live-match-card .match-time {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.live-match-card .match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.live-match-card .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    padding: 0.2rem;
}


.live-match-card .team-logo.placeholder {
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.live-match-card .team-name {
    font-size: 0.6rem;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    max-width: 100%;
    white-space: normal;
}

.live-match-card .vs-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    margin: 0 1rem;
}

.live-match-card .score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.live-match-card .vs {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--live-red);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.live-badge .live-dot {
    width: 6px;
    height: 6px;
}

.live-match-card .match-referee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Live Match Minutes */
.live-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.match-minute {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.match-minute i {
    font-size: 0.7rem;
}

.minute-text {
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* Match minute time periods */
.match-minute.first-half {
    background: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #28a745;
}

.match-minute.second-half {
    background: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #28a745;
}

.match-minute.final-minutes {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #dc3545;
}

.match-minute.match-ended {
    border-color: #6c757d;
    color: #6c757d;
    background: rgba(108, 117, 125, 0.1);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state .empty-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ====================================
   Responsive Design - Mobile First
   ==================================== */

/* Large tablets and small desktops */
@media (max-width: 992px) {
    
    .main-content {
        padding: 0;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .matches-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .quick-item {
        padding: 1rem;
    }
    
    .quick-icon {
        font-size: 2rem;
    }
    
    .quick-label {
        font-size: 0.85rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    
    .main-content {
        padding: 0;
        padding-bottom: 90px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
    
    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .quick-item {
        padding: 0.875rem;
        min-height: 85px;
    }
    
    .quick-icon {
        font-size: 1.75rem;
        margin-bottom: 0.375rem;
    }
    
    .quick-label {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .bottom-nav {
        height: 70px;
        padding: 0.5rem 0;
    }
    
    .nav-item {
        padding: 0.25rem;
        gap: 0.25rem;
    }
    
    .nav-item i {
        font-size: 1.25rem;
    }
    
    .match-referee-info {
        font-size: 0.55rem;
        max-width: 120px;
        bottom: 0.4rem;
        right: 0.4rem;
    }
    
    .referee-label {
        font-size: 0.5rem;
    }
    
    .referee-name {
        font-size: 0.55rem;
    }
    
    .referees-container {
        gap: 0.15rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .referees-container-inline {
        gap: 0.05rem;
    }
    
    .referee-name-inline {
        font-size: 0.55rem;
    }
    
    .referee-separator {
        font-size: 0.5rem;
        margin: 0 0.05rem;
    }
    
    .referee-item {
        gap: 0.2rem;
        flex-direction: row;
        align-items: center;
        margin: 0.1rem;
    }
    
    .referee-label {
        font-size: 0.5rem;
        white-space: nowrap;
    }
    
    .referee-name {
        font-size: 0.55rem;
        white-space: nowrap;
    }
    
    .nav-item span {
        font-size: 0.65rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5625rem;
    }
    
    .sponsors-title {
        font-size: 1.2rem;
        margin-bottom: 0.5625rem;
    }
    
    
    
    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Large mobile devices */
@media (max-width: 576px) {
    
    .main-content {
        padding: 0;
        padding-bottom: 85px;
    }
    
    .page-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .page-subtitle {
        font-size: 0.85rem;
    }
    
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .quick-item {
        padding: 0.75rem;
        min-height: 80px;
    }
    
    .quick-icon {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .quick-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .bottom-nav {
        height: 65px;
        padding: 0.375rem 0;
    }
    
    .nav-item {
        padding: 0.2rem;
        gap: 0.2rem;
    }
    
    .nav-item i {
        font-size: 1.1rem;
    }
    
    .nav-item span {
        font-size: 0.6rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 0.875rem;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.375rem;
    }
    
    .sponsors-title {
        font-size: 1.125rem;
        margin-bottom: 0.45rem;
    }
    
    
    .card {
        padding: 0.875rem;
        margin-bottom: 0.875rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 0.875rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.375rem;
    }
    
    .form-control {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    .today-matches {
        padding: 1rem 0.75rem;
    }
    
    .match-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .match-teams {
        gap: 0.5rem;
        margin-bottom: 1.2rem;
        padding: 0.75rem 0.25rem;
        margin: 0 -0.25rem 1.2rem -0.25rem;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.04));
        border: 1px solid rgba(148, 163, 184, 0.1);
    }
    
    .match-card {
        min-height: 180px;
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .match-referee-info {
        bottom: 0.6rem;
        font-size: 0.6rem;
        max-width: 180px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .referees-container-inline {
        gap: 0.08rem;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }
    
    .referee-name-inline {
        font-size: 0.6rem;
        line-height: 1.3;
        white-space: normal;
    }
    
    .referee-separator {
        font-size: 0.55rem;
        margin: 0 0.08rem;
    }
    
    .referee-item-inline {
        gap: 0.15rem;
        flex-shrink: 1;
        min-width: 0;
        flex-wrap: wrap;
        max-width: 100%;
    }
    
    .referee-label-inline {
        font-size: 0.55rem;
    }
    
    
    .team-name {
        font-size: 0.8rem;
    }
    
    .live-match .team-name {
        font-size: 0.85rem;
    }
    
    .match-score {
        font-size: 1rem;
        margin: 0 1rem;
        padding: 0.5rem 0.75rem;
        background: linear-gradient(135deg, #475569, #64748b);
        border: 1px solid rgba(148, 163, 184, 0.2);
    }
    
    .vs {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        border-radius: 14px;
    }
    
    .match-time {
        font-size: 0.75rem;
    }
    
    .live-match .match-time {
        font-size: 0.375rem;
        top: 6px;
        left: 6px;
    }
    
    .live-match .match-category-center {
        top: 6px;
        right: 6px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    
    .main-content {
        padding: 0;
        padding-bottom: 80px;
    }
    
    .page-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .page-subtitle {
        font-size: 0.8rem;
    }
    
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.375rem;
    }
    
    .quick-item {
        padding: 0.625rem;
        min-height: 75px;
    }
    
    .quick-icon {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }
    
    .quick-label {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .bottom-nav {
        height: 60px;
        padding: 0.25rem 0;
    }
    
    .nav-item {
        padding: 0.125rem;
        gap: 0.125rem;
    }
    
    .nav-item i {
        font-size: 1rem;
    }
    
    .nav-item span {
        font-size: 0.55rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.28125rem;
    }
    
    .sponsors-title {
        font-size: 1.05rem;
        margin-bottom: 0.375rem;
    }
    
    
    .card {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .form-control {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .today-matches {
        padding: 0.75rem 0.5rem;
    }
    
    .match-item {
        padding: 0.625rem;
        margin-bottom: 0.375rem;
    }
    
    
    .team-name {
        font-size: 0.75rem;
    }
    
    .live-match .team-name {
        font-size: 0.8rem;
    }
    
    .match-score {
        font-size: 0.9rem;
        margin: 0 0.75rem;
        padding: 0.4rem 0.6rem;
        background: linear-gradient(135deg, #ffffff, #64748b);
        border: 1px solid rgba(148, 163, 184, 0.2);
    }
    
    .vs {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        border-radius: 12px;
    }
    
    .match-time {
        font-size: 0.7rem;
    }
    
    .live-match .match-time {
        font-size: 0.35rem;
        top: 5px;
        left: 5px;
    }
    
    .live-match .match-category-center {
        top: 5px;
        right: 5px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 30px 1fr repeat(3, 25px) 35px;
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
        min-height: 3rem;
    }
    
    .table-row .team-name {
        font-size: 0.8rem;
        min-height: 2.2rem;
        padding: 0.2rem 0.1rem;
        line-height: 1.2;
    }
    
    .table-header .stat:nth-child(n+6),
    .table-row .stat:nth-child(n+6) {
        display: none;
    }
    
    .filters {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Küçük mobile için finished durumu özel ayarları */
    .status.finished {
        background: linear-gradient(135deg, #059669, #047857);
        color: #ffffff;
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
        border-radius: 3px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        box-shadow: 0 1px 3px rgba(5, 150, 105, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .search-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .quick-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .match-header-unified {
        margin-bottom: 0.5rem;
        padding: 0.4rem;
        height: auto;
        min-height: 40px;
        flex-direction: row;
        gap: 0.2rem;
        align-items: center;
    }
    
    .match-header-left {
        flex: 0 0 70px;
        min-width: 70px;
        height: 100%;
        justify-content: flex-start;
        align-items: center;
    }
    
    .match-header-center {
        padding: 0 0.2rem;
        order: 0;
        height: 100%;
        align-items: center;
        flex: 1;
    }
    
    .match-header-right {
        flex: 0 0 70px;
        min-width: 70px;
        height: 100%;
        justify-content: flex-end;
        order: 0;
        align-items: center;
    }
    
    .match-time-info {
        min-width: 80px;
        padding: 0.25rem 0.5rem;
        gap: 0.08rem;
        border-radius: 6px;
        height: 100%;
        justify-content: center;
    }
    
    .main-content {
        padding: 0;
        padding-bottom: 75px;
    }
}

/* Extra small devices - 320px ve altı */
@media (max-width: 320px) {
    .match-header-unified {
        margin-bottom: 0.4rem;
        padding: 0.3rem;
        height: auto;
        min-height: 35px;
        flex-direction: row;
        gap: 0.15rem;
        align-items: center;
    }
    
    .match-header-left {
        flex: 0 0 60px;
        min-width: 60px;
        height: 100%;
        justify-content: flex-start;
        align-items: center;
    }
    
    .match-header-center {
        padding: 0 0.15rem;
        order: 0;
        height: 100%;
        align-items: center;
        flex: 1;
    }
    
    .match-header-right {
        flex: 0 0 60px;
        min-width: 60px;
        height: 100%;
        justify-content: flex-end;
        order: 0;
        align-items: center;
    }
    
    .match-time-info {
        min-width: 70px;
        padding: 0.2rem 0.4rem;
        gap: 0.05rem;
        border-radius: 5px;
        height: 100%;
        justify-content: center;
    }
}

/* Extra small devices - 320px and below */
@media (max-width: 320px) {
    .page-title {
        font-size: 1.1rem;
        margin-bottom: 0.375rem;
    }
    
    .quick-grid {
        gap: 0.25rem;
    }
    
    .quick-item {
        padding: 0.5rem;
        min-height: 70px;
    }
    
    .match-referee-info {
        bottom: 0.4rem;
        font-size: 0.5rem;
        max-width: 140px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .referees-container-inline {
        gap: 0.03rem;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }
    
    .referee-name-inline {
        font-size: 0.5rem;
        line-height: 1.1;
        white-space: normal;
    }
    
    .referee-separator {
        font-size: 0.45rem;
        margin: 0 0.03rem;
    }
    
    .referee-item-inline {
        gap: 0.08rem;
        flex-shrink: 1;
        min-width: 0;
        flex-wrap: wrap;
        max-width: 100%;
    }
    
    .referee-label-inline {
        font-size: 0.45rem;
    }
    
    .quick-icon {
        font-size: 1.1rem;
        margin-bottom: 0.15rem;
    }
    
    .quick-label {
        font-size: 0.65rem;
        line-height: 1;
    }
    
    .bottom-nav {
        height: 55px;
        padding: 0.2rem 0;
    }
    
    .nav-item {
        padding: 0.1rem;
        gap: 0.1rem;
    }
    
    .nav-item i {
        font-size: 0.9rem;
    }
    
    .nav-item span {
        font-size: 0.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.1875rem;
    }
    
    .sponsors-title {
        font-size: 0.975rem;
        margin-bottom: 0.3rem;
    }
    
    
    .card {
        padding: 0.625rem;
        margin-bottom: 0.625rem;
    }
    
    .stat-card {
        padding: 0.625rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .form-control {
        padding: 0.375rem;
        font-size: 0.8rem;
    }
    
    .today-matches {
        padding: 0.5rem 0.375rem;
    }
    
    .match-item {
        padding: 0.5rem;
        margin-bottom: 0.25rem;
    }
    
    .match-teams {
        gap: 0.375rem;
        margin-bottom: 1rem;
        padding: 0.5rem 0.25rem;
        margin: 0 -0.25rem 1rem -0.25rem;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.04));
        border: 1px solid rgba(148, 163, 184, 0.1);
    }
    
    .match-card {
        min-height: 160px;
        padding: 1rem;
        border-radius: 10px;
    }
    
    .match-referee-info {
        bottom: 0.5rem;
        font-size: 0.55rem;
        max-width: 160px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .referees-container-inline {
        gap: 0.05rem;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }
    
    .referee-name-inline {
        font-size: 0.55rem;
        line-height: 1.2;
        white-space: normal;
    }
    
    .referee-separator {
        font-size: 0.5rem;
        margin: 0 0.05rem;
    }
    
    .referee-item-inline {
        gap: 0.1rem;
        flex-shrink: 1;
        min-width: 0;
        flex-wrap: wrap;
        max-width: 100%;
    }
    
    .referee-label-inline {
        font-size: 0.5rem;
    }
    
    
    .team-name {
        font-size: 0.7rem;
    }
    
    .live-match .team-name {
        font-size: 0.75rem;
    }
    
    .live-match-card .team-name {
        font-size: 0.65rem;
        line-height: 1.4;
        padding: 0.15rem 0.05rem;
        min-height: 2.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        white-space: normal;
    }
    
    .live-match-card .team {
        padding: 0.05rem;
        min-width: 0;
    }
    
    .live-match-card .match-teams {
        gap: 0.3rem;
    }
    
    .live-match-card .team-name {
        font-size: 0.7rem;
        line-height: 1.3;
        padding: 0.2rem 0.1rem;
        min-height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-wrap: break-word;
        max-width: 100%;
        white-space: normal;
    }
    
    .live-match-card .team {
        padding: 0.1rem;
        min-width: 0;
    }
    
    .live-match-card .match-teams {
        gap: 0.5rem;
    }
    
    .match-score {
        font-size: 0.8rem;
        margin: 0 0.5rem;
        padding: 0.3rem 0.5rem;
        background: linear-gradient(135deg, #475569, #64748b);
        border: 1px solid rgba(148, 163, 184, 0.2);
    }
    
    .vs {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        border-radius: 10px;
    }
    
    .match-time {
        font-size: 0.65rem;
    }
    
    .live-match .match-time {
        font-size: 0.325rem;
        top: 4px;
        left: 4px;
    }
    
    .live-match .match-category-center {
        top: 4px;
        right: 4px;
    }
}

/* Touch-friendly improvements for all mobile devices */
@media (max-width: 768px) {
    /* Increase touch target sizes */
    button, .btn, .nav-item, .quick-item, a[role="button"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve form elements */
    input, textarea, select {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better spacing for readability */
    p, .text {
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    /* Optimize images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Prevent horizontal scroll but allow vertical */
    .container, .main-content {
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    /* Better table handling on mobile */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Improve modal/popup behavior */
    .modal, .popup {
        width: 95vw;
        max-width: none;
        margin: 1rem auto;
    }
}

/* ====================================
   Desktop-Specific Layout Improvements
   ==================================== */

/* Desktop Container Improvements */
@media (min-width: 1024px) {
    .today-matches {
        margin-bottom: 3rem;
    }
    
    .sponsors-section {
        margin-bottom: 3rem;
        padding: 2rem;
        border-radius: 16px;
    }
    
    .sponsors-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
}

/* Desktop Content Spacing */
@media (min-width: 1024px) {
    .main-content > * {
        margin-bottom: 2rem;
    }
    
    .main-content > *:last-child {
        margin-bottom: 0;
    }
}

/* Desktop Footer and Spacing */
@media (min-width: 1024px) {
    .main-content {
        padding-bottom: 4rem;
    }
}

/* ====================================
   More Page Login Options Styles
   ==================================== */

.login-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.login-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.login-btn {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    width: 100%;
}

.login-btn:hover {
    text-decoration: none;
    color: inherit;
}

.login-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.login-content {
    flex: 1;
    margin-right: 1rem;
}

.login-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.login-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.login-btn i.fas.fa-chevron-right {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.login-card:hover .login-btn i.fas.fa-chevron-right {
    color: #6b7280;
    transform: translateX(4px);
}

/* Admin Login Card */
.login-btn.admin .login-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.login-btn.admin:hover .login-icon {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Referee Login Card */
.login-btn.referee .login-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.login-btn.referee:hover .login-icon {
    background: linear-gradient(135deg, #059669, #047857);
}

/* Data Officer Login Card */
.login-btn.data-officer .login-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.login-btn.data-officer:hover .login-icon {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-options {
        gap: 0.75rem;
    }
    
    .login-btn {
        padding: 1.25rem;
    }
    
    .login-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .login-content h3 {
        font-size: 1rem;
    }
    
    .login-content p {
        font-size: 0.85rem;
    }
}

/* Designer Credit */
.designer-credit {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    margin: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
    margin-bottom: 20px;
}

.designer-credit p {
    margin: 0;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.designer-credit a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.designer-credit a:hover {
    color: #66BB6A;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.designer-credit a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.designer-credit a:hover:before {
    width: 100%;
}

/* Mobile responsiveness for designer credit */
@media (max-width: 768px) {
    .designer-credit {
        margin: 15px;
        padding: 12px 16px;
        border-radius: 15px;
    }
    
    .designer-credit p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .designer-credit {
        margin: 10px;
        padding: 10px 12px;
        border-radius: 12px;
    }
    
    .designer-credit p {
        font-size: 0.7rem;
    }
}


