@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none;
}

a, button, input, textarea, select {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: none;
}

:root {
    /* Livescore tarzı renkler */
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary: #059669;
    --accent: #dc2626;
    --red: #dc2626;
    --green: #059669;
    --yellow: #f59e0b;
    
    /* Beyaz arka plan */
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    
    /* Liquid Glass */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.9);
    
    /* Text renkleri */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --text-light: #ffffff;
    
    /* Border ve shadow - sert gölgeler */
    --border: #e2e8f0;
    --border-dark: #cbd5e1;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

.container {
    width: 95vw;
    max-width: 100%;
    margin: 0 auto;
}

/* Desktop için container genişliği */
@media (min-width: 1024px) {
    .container {
        max-width: 1400px;
        padding: 0 24px;
    }
}

/* Mobile App Theme (Dark, glassy, neon accents) */
.mobile-app {
    --primary: #22c55e; /* emerald */
    --primary-light: #34d399;
    --primary-dark: #16a34a;
    --secondary: #22d3ee; /* cyan */
    --accent: #ef4444; /* red */
    --red: #ef4444;
    --green: #22c55e;
    --yellow: #f59e0b;
    --bg-main: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #131313;
    --bg-card: #0f0f0f;
    --glass-bg: rgba(20, 28, 26, 0.75);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(24, 34, 31, 0.85);
    --text-primary: #e5f3ec;
    --text-secondary: #93b3a6;
    --text-tertiary: #6b8e81;
    --text-light: #f8fafc;
    --border: rgba(255, 255, 255, 0.06);
    --border-dark: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 32px 60px rgba(0, 0, 0, 0.55);
    background: #000000;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 140px;
}

/* Floating Spots - 3 spots: sol üst, orta, sağ alt */
.mobile-app .floating-spot-1,
.mobile-app .floating-spot-2,
.mobile-app .floating-spot-3 {
    position: fixed;
    width: 35vh;
    height: 35vh;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.9) 0%, rgba(34, 197, 94, 0.7) 25%, rgba(34, 197, 94, 0.5) 50%, rgba(34, 197, 94, 0.3) 70%, rgba(0, 0, 0, 0.5) 85%, transparent 100%);
    animation: float 10s ease-in-out infinite;
    filter: blur(40px);
}

.mobile-app .floating-spot-1 {
    top: -5%;
    left: -5%;
    animation-delay: 0s;
}

.mobile-app .floating-spot-2 {
    top: 50%;
    left: 50%;
    margin-left: -17.5vh;
    margin-top: -17.5vh;
    animation-delay: 3s;
}

.mobile-app .floating-spot-3 {
    bottom: -5%;
    right: -5%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translate(-15px, 15px) scale(0.9);
        opacity: 0.85;
    }
    75% {
        transform: translate(10px, 10px) scale(1.05);
        opacity: 0.9;
    }
}

/* Ensure content is above floating spots */
.mobile-app > * {
    position: relative;
    z-index: 1;
}

/* Hero (mobile) */
.hero {
    position: relative;
    padding: 24px 0 8px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 400px at 20% 0%, rgba(34,197,94,0.15), rgba(0,0,0,0) 60%),
                radial-gradient(700px 400px at 80% 0%, rgba(34,211,238,0.15), rgba(0,0,0,0) 60%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
}

.hero-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow-md);
}

.hero-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.hero-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.hero-search {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.hero-input {
    flex: 1;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
}

.hero-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: 0;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 700;
}

.quick-filters { 
    display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; 
}

.chip {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
}

.chip-light { color: var(--text-primary); }
.chip-live { background: rgba(239,68,68,0.15); color: #fecaca; border-color: rgba(239,68,68,0.25); }
.chip-accent { background: rgba(34,197,94,0.15); color: #bbf7d0; border-color: rgba(34,197,94,0.25); }

/* Profile Bar */
.profile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    padding: 12px 0px;
    margin-top: 16px;
}

/* Visually hidden (for accessibility/SEO without affecting layout) */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.profile-left { display: flex; align-items: center; gap: 12px; }

.profile-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.profile-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.greeting {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-username {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.1px;
}

.profile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.1px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.55);
    color: var(--text-light);
    box-shadow: 0 18px 35px -18px rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px -12px rgba(15, 23, 42, 0.9);
}

.profile-action-join {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.45);
    background: rgba(16, 185, 129, 0.12);
}

.profile-action-join:hover {
    box-shadow: 0 22px 40px -12px rgba(16, 185, 129, 0.45);
}

.profile-action-logout {
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(248, 113, 113, 0.12);
}

.profile-action-logout:hover {
    box-shadow: 0 22px 40px -12px rgba(248, 113, 113, 0.45);
}

.profile-logout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    text-decoration: none;
    box-shadow: 0 18px 35px -18px rgba(248, 113, 113, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-logout-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px -18px rgba(248, 113, 113, 0.6);
}

.page-header {
    margin: 24px 0 16px;
}

.page-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    margin: 0 0 8px;
    letter-spacing: -0.4px;
}

.page-subtitle {
    margin: 0;
    font-size: 16px;
    color: rgba(226, 232, 240, 0.75);
    line-height: 1.5;
}

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateX(-2px);
}

.back-button svg {
    width: 20px;
    height: 20px;
}
.greeting-top { font-size: 12px; color: var(--text-secondary); font-weight: 700; }
.greeting-name { font-size: 16px; color: var(--text-primary); font-weight: 400; letter-spacing: -0.2px; opacity: 0.95; }

/* Category Scroll */
.category-scroll { margin-top: 12px; }
.category-track { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: none; -ms-overflow-style: none; }
.category-track::-webkit-scrollbar { display: none; }
.category-item { display: inline-flex; align-items: center; gap: 10px; padding-right: 0; background: var(--glass-bg); border-radius: 100px; color: var(--text-secondary); text-decoration: none; font-weight: 800; font-size: 12px; box-shadow: var(--shadow-sm); }
.category-item.active { color: var(--text-light); border-color: rgba(255,255,255,0.18); padding-right: 15px; }
.category-item.active .category-name { display: inline-block; }
.category-icon { width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #afe743 0%, #2ed4bc 100%); flex: 0 0 50px; }
.category-icon img { width: 40px !important; height: 40px !important; max-width: none; max-height: none; display: block; object-fit: contain; }
.category-name { display: none; letter-spacing: 0.3px; }

/* Top Event */
.top-event { margin-top: 25px; }
.top-event-header { display:flex; align-items:center; justify-content:space-between; margin: 8px 0 10px; }
.top-event-title { font-size:14px; font-weight:800; color: var(--text-light); letter-spacing:-0.2px; }
.view-all { font-size:12px; font-weight:800; color: var(--text-secondary); text-decoration:none; }
.top-event-card { position: relative; background: linear-gradient(135deg, #afe743 0%, #2ed4bc 100%); border-radius: 18px; min-height: 150px; color: #f8fafc; box-shadow: var(--shadow-lg); overflow:hidden; transition: all 0.2s ease; }
.top-event-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); }
.top-event-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    color: #ffffff;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.top-event-badge-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
.top-event-rows { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 12px; padding: 20px 16px; justify-items: center; }
.top-event-rows.has-score { grid-template-columns: 1fr auto 1fr; }
.top-team { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    flex-direction: column; 
    max-width: 100%;
    min-width: 0;
}
.top-logo { width: 64px; height: 64px; object-fit: contain; padding: 4px; }
.top-logo-fallback { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.95); color: #000; border-radius: 50%; font-size: 14px; font-weight: 900; border: 3px solid rgba(255,255,255,0.7); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.top-name { 
    font-weight: 500; 
    font-size: 18px; 
    letter-spacing: 0; 
    color: #000000; 
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}
.top-center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.top-score { font-weight: 900; font-size: 28px; letter-spacing: -1px; color: #000000; }
.top-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.18);
    color: #14532d;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.top-event-card[data-status="live"] .top-status-chip {
    background: rgba(34, 197, 94, 0.28);
    color: #0f5132;
}
.top-event-card[data-status="finished"] .top-status-chip {
    background: rgba(0, 0, 0, 0.18);
    color: rgba(0, 0, 0, 0.75);
}
.top-bottom { position:absolute; left:50%; transform:translateX(-50%); bottom: 0; display:flex; align-items:center; justify-content:center; }
.live-minute { background: #dc2626; color: #ffffff; padding: 8px 12px; border-top-left-radius: 15px; border-top-right-radius: 15px; font-weight: 900; font-size: 12px; letter-spacing:0.5px; }
.top-league { font-weight: 900; font-size: 12px; color: black; background: #ffffffb5; padding: 4px 12px; border-top-left-radius: 15px; border-top-right-radius: 15px; }

/* Header - Liquid Glass */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    font-family: 'Poppins', 'Montserrat', 'Inter', sans-serif;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 14px;
    background: transparent;
}

.nav-link:hover {
    background: var(--bg-tertiary);
}

.nav-link.active {
    background: var(--primary);
    color: var(--text-light);
}

/* Main Content */
.main {
    flex: 1;
    background: transparent;
}

/* League Filter */
.league-filter {
    margin-bottom: 32px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.league-filter .section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.league-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.league-buttons::-webkit-scrollbar {
    height: 4px;
}

.league-buttons::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 10px;
}

.league-buttons::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 10px;
}

.league-btn {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.league-btn:hover {
    background: var(--border);
    border-color: var(--border-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.league-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.league-badge-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-right: 6px;
    flex-shrink: 0;
}

.league-btn.active .league-badge-small {
    background: rgba(255, 255, 255, 0.25);
}

.home-news {
    margin-top: 32px;
    margin-bottom: 48px;
}

.home-news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.home-news-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-news-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.home-news-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.4px;
}

.home-news-view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-light);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px;
    border-radius: 999px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.04);
}

.home-news-view-all:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.home-news-grid {
    display: grid;
    gap: 20px;
}

.home-news-card {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.home-news-cover {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.home-news-body {
    padding: 18px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
}

.home-news-tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 4px 10px;
    color: rgba(255, 255, 255, 0.72);
}

.home-news-date {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.48);
}

.home-news-card-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-light);
    line-height: 1.4;
}

.home-news-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.home-news-footer {
    margin-top: auto;
    padding: 16px 20px 20px;
    display: flex;
    justify-content: flex-end;
}

.home-news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    background: linear-gradient(135deg, #facc15 0%, #f59e0b 45%, #f97316 100%);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-news-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.32);
}

.home-news-cta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.home-news-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.home-news-cta-link:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .home-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.league-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

/* Sections */
.live-matches-section,
.upcoming-matches-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.live-indicator {
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px var(--red);
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1);
    }
}

.match-count {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
}

/* Matches Grid - Mobile First */
.matches-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Desktop için grid layout */
@media (min-width: 640px) {
    .matches-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .matches-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* Match Card - Liquid Glass */
.match-card {
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    padding-top: 26px;
    position: relative;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 80px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.match-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.match-card:active {
    transform: translateY(0);
}

.match-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* League Badge - Gradient Labels */
.match-card-badge {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

/* Champions League - Blue Gradient */
.match-card.league-champions .match-card-badge,
.match-card-badge.league-champions {
    background: linear-gradient(135deg, #0052D4 0%, #4364F7 50%, #6FB1FC 100%);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Europa League - Orange/Red Gradient */
.match-card.league-europa .match-card-badge,
.match-card-badge.league-europa {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD23F 100%);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Conference League - Purple/Green Gradient */
.match-card.league-conference .match-card-badge,
.match-card-badge.league-conference {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #34D399 100%);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* League card border accent */
.match-card.league-champions {
    border-left: 3px solid #4364F7;
}

.match-card.league-europa {
    border-left: 3px solid #F7931E;
}

.match-card.league-conference {
    border-left: 3px solid #A78BFA;
}

/* Yeni Match Card Layout - Tek Row */
.match-card-header {
    display: none; /* Eski header'ı gizle */
}

.match-card-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.match-card-team-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.match-card-team-logo-fallback {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    font-size: 10px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
}

.match-card-team-name {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-card-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 80px;
    position: relative;
    padding: 8px 0;
}

.match-card-center-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    border-radius: 8px;
    /* Fade kenarları - radial gradient mask */
    mask-image: radial-gradient(ellipse 70% 80% at center, black 50%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at center, black 50%, transparent 90%);
}

.match-card-center-icon {
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.15);
    transform: scale(1.2);
}

.match-card-center > *:not(.match-card-center-bg) {
    position: relative;
    z-index: 1;
}

.match-card-live {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.match-card-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.match-card.is-live .match-card-status-chip {
    bottom: 0px;
    position: fixed;
    background: #ff0000a8;
    color: white;
    border-radius: 0px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.match-card.is-finished .match-card-status-chip {
    bottom: 0px;
    position: fixed;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    border-radius: 0px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.match-card-schedule {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.match-card-date {
    font-size: 11px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.match-card-time {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.match-card-score {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}


.match-card {
    position: relative;
    padding-top: 56px;
}

.match-card-league-chip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    z-index: 15;
}

.match-card-league-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.match-card-league-name {
    text-transform: uppercase;
}

.match-card .favorite-btn.match-card-favorite {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    z-index: 15;
}

.match-card .favorite-btn.match-card-favorite:hover {
    background: rgba(15, 23, 42, 0.7);
}

.favorite-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.favorite-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--red);
    transform: scale(1.05);
}

.favorite-btn.active {
    background: var(--bg-tertiary);
    color: white;
    border-color: rgba(255, 255, 255, 0.18);
}

.fav-star {
    width: 20px;
    height: 20px;
}

/* Match Teams */
.match-teams {
    margin-bottom: 20px;
}

.team-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.team-row:last-child {
    margin-bottom: 0;
}

.team-row:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-dark);
    transform: translateX(2px);
}

.team-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-logo-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.team-name {
    flex: 1;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.team-score {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    min-width: 40px;
    text-align: right;
    letter-spacing: -1px;
}

/* Match Footer */
.match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 6px var(--red);
}

.live-text {
    color: var(--red);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.match-date {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.match-time {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 13px;
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* Live Ribbon */
.live-ribbon {
    position: absolute;
    top: 12px;
    left: -8px;
    background: linear-gradient(135deg, var(--red), #f97316);
    color: white;
    padding: 6px 12px 6px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

/* Center Score Strip */
.score-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.score-live {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.score-live .match-card-status-chip {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
}

.score-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.score-logo { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--border); }
.score-logo-fallback { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; border-radius: 6px; font-size: 10px; font-weight: 800; }
.score-name { font-weight: 700; font-size: 13px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-center { display: flex; align-items: center; justify-content: center; }
.score-value { font-weight: 900; font-size: 18px; letter-spacing: -0.5px; color: var(--text-light); background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.score-vs { font-weight: 900; font-size: 12px; color: var(--text-secondary); letter-spacing: 2px; }

/* Watch Button */
.watch-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    background: var(--primary);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
}

/* Favorites */
.favorites-header {
    margin-bottom: 24px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.favorites-count {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* SEO Info Section */
.seo-info {
    margin-top: 56px;
    margin-bottom: 40px;
}

.seo-info-inner {
    position: relative;
    padding: 36px 15px;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 50px 90px -40px rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    overflow: hidden;
}

.seo-info-inner::before {
    content: "";
    position: absolute;
    inset: -80px;
    background: radial-gradient(60% 60% at 20% 20%, rgba(56, 189, 248, 0.2), transparent),
                radial-gradient(50% 50% at 80% 0%, rgba(52, 211, 153, 0.18), transparent);
    pointer-events: none;
    z-index: 0;
}

.seo-info-inner > * {
    position: relative;
    z-index: 1;
}

.seo-info-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: rgba(52, 211, 153, 0.18);
    color: #bbf7d0;
    font-weight: 600;
}

.seo-info-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--text-light);
}

.seo-info-header h1 {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #f8fafc;
}

.seo-info-header p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.82);
}

.seo-info-grid {
    margin-top: 32px;
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

.seo-info-card {
    padding: 26px 24px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 28px 60px -35px rgba(15, 23, 42, 0.95);
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: rgba(226, 232, 240, 0.85);
}

.seo-info-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.seo-info-card p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.8);
}

.seo-info-card a {
    color: #a5f3fc;
    text-decoration: none;
    border-bottom: 1px solid rgba(165, 243, 252, 0.45);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.seo-info-card a:hover {
    color: #f0fdfa;
    border-bottom-color: rgba(240, 253, 250, 0.75);
}

.seo-info-links {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: grid;
    gap: 8px 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.seo-info-links li {
    font-size: 14px;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.75);
}

.seo-info-footer {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.seo-info-footer p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.82);
}

.seo-info-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.seo-info-share span {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(148, 163, 184, 0.9);
}

.seo-info-share-buttons {
    display: flex;
    gap: 12px;
}

.seo-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.55);
    color: #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.seo-share-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.seo-share-button:hover {
    transform: translateY(-2px);
    border-color: rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 30px -18px rgba(56, 189, 248, 0.6);
}

.seo-share-button.telegram {
    color: #38bdf8;
}

.seo-share-button.twitter {
    color: #60a5fa;
}

.seo-share-button.vk {
    color: #93c5fd;
}

@media (min-width: 768px) {
    .seo-info-inner {
        padding: 48px 48px;
    }

    .seo-info-header h1 {
        font-size: 32px;
    }

    .seo-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .seo-info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 48px;
    font-size: 14px;
    font-weight: 500;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    width: 95vw;
    max-width: 520px;
    margin: 0 auto 18px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 30px 50px -20px rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    z-index: 95;
}

.bottom-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px;
    border-radius: 16px;
    text-decoration: none;
    color: rgba(226, 232, 240, 0.7);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.25px;
    transition: all 0.25s ease;
}

.bottom-item:hover {
    color: var(--text-light);
    transform: translateY(-3px);
}

.bottom-item.active {
    color: var(--text-light);
    background: transparent;
    border: none;
    box-shadow: none;
}

.bottom-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.bottom-item:not(.active) .bottom-icon img {
    filter: brightness(0) invert(1);
}

.bottom-item.active .bottom-icon img {
    display: none;
}

/* Active: gradient masked icon */
.bottom-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    display: none;
    background: linear-gradient(135deg, #34d399 0%, #60a5fa 50%, #a855f7 100%);
    -webkit-mask: var(--icon-mask) no-repeat center / contain;
    mask: var(--icon-mask) no-repeat center / contain;
}

.bottom-item.active .bottom-icon::before {
    display: block;
}

.bottom-item.active .bottom-icon {
    transform: scale(1.08);
}

@media (min-width: 768px) {
    .bottom-nav {
        bottom: 24px;
        max-width: 640px;
        transform: translateX(-50%);
    }
}

/* Profile Page */
.profile-page {
    margin-top: 28px;
}

.profile-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 32px 50px -20px rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.profile-card h1 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.4px;
}

.profile-card p {
    color: var(--text-secondary);
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.profile-info-item {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-info-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.85);
}

.profile-info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.1px;
}

.profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Touch-friendly minimum sizes for mobile */
@media (max-width: 639px) {
    .league-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .favorite-btn {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    
    .watch-btn {
        padding: 16px;
        font-size: 16px;
    }
    
    .match-card {
        padding: 18px;
    }
    
    .team-row {
        padding: 14px;
    }
}

/* Responsive - Tablet ve Desktop */
@media (min-width: 640px) {
    .main {
        padding: 32px 0;
    }
    
    .matches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .league-filter .section-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .matches-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .header {
        padding: 16px 0;
    }
    
    /* Desktop için top event card daha geniş */
    .top-event-card {
        min-height: 180px;
    }
    
    .top-event-rows {
        padding: 24px 20px;
        gap: 16px;
    }
    
    .top-logo {
        width: 72px;
        height: 72px;
    }
    
    .top-logo-fallback {
        width: 72px;
        height: 72px;
        font-size: 16px;
    }
    
    .top-name {
        font-size: 20px;
    }
    
    .top-score {
        font-size: 32px;
    }
    
    /* Desktop için match card iyileştirmeleri */
    .match-card {
        transition: all 0.3s ease;
    }
    
    .match-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    }
    
    /* Desktop için profile bar iyileştirmeleri */
    .profile-bar {
        padding: 16px 0;
    }
    
    .avatar {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .greeting-top {
        font-size: 16px;
    }
    
    .greeting-name {
        font-size: 18px;
    }
    
    .logo {
        font-size: 26px;
    }
    
    .match-card {
        padding: 24px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* News page layout (cards without inline styles) */
.news-list {
    margin: 0;
    padding: 0;
}
.news-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-card {
    overflow: hidden;
    padding: 0;
    position: relative;
    border-radius: 0;
    background: #0f172a;
}
.news-card__frame {
    position: relative;
    width: 100vw;
    aspect-ratio: 9 / 16;
}
.news-card:hover .news-card__overlay {
    background: linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,0.6) 48%, rgba(2,6,23,0.95) 100%);
}
.news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
}
.news-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    background: linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,0.55) 48%, rgba(2,6,23,0.9) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.news-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px 0;
}
.news-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e2e8f0;
    background: rgba(15,23,42,0.55);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.news-card__date {
    font-size: 12px;
    font-weight: 700;
    color: rgba(226,232,240,0.9);
}
.news-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #f8fafc;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News detail */
.news-detail {
    margin: 0;
    padding: 0;
}
.news-detail-card {
    overflow: hidden;
    padding: 0;
    border-radius: 0;
    background: #0f172a;
}
.news-detail-hero {
    position: relative;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    aspect-ratio: 9 / 16;
}
.news-detail-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px;
    background: linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,0.55) 48%, rgba(2,6,23,0.9) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.news-detail-overlay .news-card__meta {
    margin-bottom: 8px;
}
.news-detail-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #fff;
    line-height: 1.3;
}
.news-detail-meta {
    color: rgba(226,232,240,0.85);
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
}
.news-body {
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
    font-size: 15px;
    padding: 16px;
}
.news-body h2, .news-body h3 {
    color: #f8fafc;
    margin: 16px 0 10px;
    line-height: 1.3;
}
.news-body p {
    margin: 10px 0 12px;
}
.news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 10px auto;
}
.news-body blockquote {
    margin: 12px 0;
    padding: 12px 14px;
    border-left: 3px solid rgba(148,163,184,0.35);
    background: rgba(2,6,23,0.35);
    border-radius: 8px;
    color: rgba(226,232,240,0.9);
}

/* Desktop refinements */
@media (min-width: 768px) {
    .news-vertical-list {
        align-items: center;
    }
    .news-card {
        border-radius: 16px;
        transition: transform .2s ease, box-shadow .2s ease;
    }
    .news-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(0,0,0,.3);
    }
    .news-card__frame {
        width: 540px;
        margin-left: 0;
        transform: none;
        aspect-ratio: 9 / 16;
    }
    .news-detail-card {
        border-radius: 16px;
    }
    .news-detail-hero {
        width: 540px;
        margin-left: 0;
        transform: none;
        aspect-ratio: 9 / 16;
        margin: 0 auto;
    }
    .news-body {
        max-width: 720px;
        margin: 0 auto;
        padding: 20px 16px 24px;
        font-size: 16px;
    }
}
@media (min-width: 1200px) {
    .news-card__frame {
        width: 720px;
    }
    .news-detail-hero {
        width: 720px;
    }
}