/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f4f4f8;
    color: #1a1a2e;
    font-size: 14px;
    line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== TICKER ===== */
.ticker-bar {
    background: #0d1b3e;
    color: #fff;
    display: flex;
    align-items: center;
    height: 32px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
}
.ticker-label {
    background: #e8192c;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.live-dot {
    font-size: 8px;
    animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.ticker-track { flex: 1; overflow: hidden; }
.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 35s linear infinite;
    padding-left: 100%;
    color: #d0d8f0;
}
.ticker-content:hover { animation-play-state: paused; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-100%)} }

/* ===== HEADER ===== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.logo-link { flex-shrink: 0; }
.site-logo { height: 38px; object-fit: contain; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.nav-link {
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #444;
    transition: all 0.15s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link:hover, .nav-link.active {
    background: #f0f4ff;
    color: #0d1b3e;
}
.nav-link i { font-size: 12px; color: #00b86b; }

.header-right { display: flex; align-items: center; gap: 12px; }
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f4f8;
    border: 1.5px solid #e8e8f0;
    border-radius: 24px;
    padding: 7px 14px;
    font-size: 13px;
    color: #999;
    transition: border-color 0.2s;
}
.search-box:focus-within { border-color: #0d1b3e; }
.search-box input { background: none; border: none; outline: none; width: 180px; font-family: inherit; font-size: 13px; color: #1a1a2e; }
.search-box i { font-size: 12px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 20px; cursor: pointer; color: #1a1a2e; }

/* ===== LİG BAR ===== */
.league-bar {
    border-top: 1px solid #f0f0f5;
    background: #fff;
}
.league-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 2px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.league-bar-inner::-webkit-scrollbar { display: none; }
.league-btn {
    padding: 10px 16px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}
.league-btn:hover { color: #0d1b3e; border-bottom-color: #e0e0ee; }
.league-btn.active { color: #0d1b3e; border-bottom-color: #00b86b; }

/* ===== MOBİL NAV ===== */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #f0f0f5;
    padding: 8px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link { padding: 12px 20px; font-weight: 600; font-size: 14px; color: #333; border-bottom: 1px solid #f5f5f5; }
.mobile-nav-link:hover { background: #f8f8ff; }

/* ===== SAYFA İÇERİĞİ ===== */
.page-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* ===== SECTION BAŞLIKLARI ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.section-title {
    font-size: 16px;
    font-weight: 800;
    color: #0d1b3e;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title .dot { width: 4px; height: 18px; background: #00b86b; border-radius: 2px; display: inline-block; }
.section-more { font-size: 12px; font-weight: 600; color: #00b86b; }
.section-more:hover { text-decoration: underline; }

/* ===== KARTLAR ===== */
.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-1px); }

/* ===== MAÇ KARTI ===== */
.match-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5fa;
    cursor: pointer;
    transition: background 0.15s;
}
.match-item:last-child { border-bottom: none; }
.match-item:hover { background: #f8f9ff; }
.match-team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.match-team.right { justify-content: flex-end; }
.team-logo { width: 28px; height: 28px; object-fit: contain; }
.team-name { font-weight: 700; font-size: 13px; color: #1a1a2e; }
.match-score-box { text-align: center; min-width: 80px; }
.score-display {
    background: #0d1b3e;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    padding: 4px 12px;
    border-radius: 8px;
    letter-spacing: 1px;
}
.score-display.upcoming {
    background: none;
    color: #0d1b3e;
    border: 2px solid #e0e0ee;
    font-size: 13px;
}
.match-minute { font-size: 11px; font-weight: 700; color: #e8192c; margin-top: 2px; }
.league-divider {
    padding: 8px 16px;
    background: #f8f9ff;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== HABER KARTI ===== */
.news-card { display: block; }
.news-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: top;
    background: #e8eaf0;
}
.news-card-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #e8eaf0 0%, #d0d5e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(100,110,140,0.4);
    font-size: 40px;
}
.news-card-body { padding: 14px; }
.news-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    background: #e8f5e9;
    color: #00875a;
}
.news-badge.special { background: #e8eaf6; color: #3949ab; }
.news-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-meta { font-size: 11px; color: #aaa; margin-top: 8px; }

/* KÜÇÜK HABER SATIRI */
.news-row {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5fa;
    cursor: pointer;
    transition: background 0.15s;
}
.news-row:last-child { border-bottom: none; }
.news-row:hover { background: #f8f9ff; margin: 0 -16px; padding: 12px 16px; border-radius: 8px; }
.news-row-img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #e8eaf0; }
.news-row-title { font-size: 13px; font-weight: 600; color: #1a1a2e; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-row-source { font-size: 11px; color: #00b86b; font-weight: 700; }
.news-row-date { font-size: 11px; color: #bbb; }
.news-row-footer { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.news-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.news-teams { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 7px; }
.news-team-tag {
    font-size: 10px; font-weight: 700;
    background: #eef2ff; color: #3949ab;
    padding: 2px 7px; border-radius: 4px;
    letter-spacing: 0.3px;
}

/* ===== PUAN TABLOSU ===== */
.standings-table { width: 100%; border-collapse: collapse; }
.standings-table th {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 10px;
    text-align: center;
    background: #f8f9ff;
}
.standings-table th:first-child, .standings-table th:nth-child(2) { text-align: left; }
.standings-table td { padding: 9px 10px; text-align: center; font-size: 13px; border-bottom: 1px solid #f5f5fa; }
.standings-table td:first-child { text-align: left; font-weight: 800; width: 28px; }
.standings-table td:nth-child(2) { text-align: left; font-weight: 600; }
.standings-table tr:last-child td { border-bottom: none; }
.standings-table tr:hover td { background: #f8f9ff; }
.standings-table td.pts { font-weight: 800; color: #0d1b3e; }
.pos-cl { color: #00b86b; }
.pos-uel { color: #f59e0b; }
.pos-rel { color: #e8192c; }

/* ===== GRID LAYOUT ===== */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}
.left-col { display: flex; flex-direction: column; gap: 24px; }
.right-col { display: flex; flex-direction: column; gap: 24px; }
.news-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ===== FOOTER ===== */
.site-footer { background: #0d1b3e; color: #fff; margin-top: 48px; }
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-brand p { color: #8899bb; font-size: 13px; line-height: 1.7; margin-top: 12px; }
.footer-logo { height: 36px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 4px; }
.footer-links h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #00b86b; margin-bottom: 14px; }
.footer-links a { display: block; color: #8899bb; font-size: 13px; margin-bottom: 8px; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #1e3055;
    text-align: center;
    padding: 16px 20px;
    font-size: 12px;
    color: #5566880;
    color: #556688;
}

/* ===== HABER DETAY ===== */
.back-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: #888;
    margin-bottom: 20px; transition: color 0.15s;
}
.back-link:hover { color: #0d1b3e; }
.news-detail-card { overflow: hidden; }
.news-detail-img { width: 100%; max-height: 440px; object-fit: cover; }
.news-detail-img-placeholder {
    width: 100%; height: 220px;
    background: linear-gradient(135deg, #e8eaf0, #d0d5e8);
    display: flex; align-items: center; justify-content: center;
    color: rgba(100,110,140,0.3); font-size: 64px;
}
.news-detail-body { padding: 28px 32px; }
.news-detail-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.news-detail-date { font-size: 12px; color: #bbb; }
.news-detail-title {
    font-size: 24px; font-weight: 900; color: #0d1b3e;
    line-height: 1.35; margin-bottom: 24px;
}
.news-detail-content p {
    font-size: 16px; color: #333; line-height: 1.85;
    margin-bottom: 18px;
}
.news-detail-source {
    margin-top: 32px; padding-top: 18px;
    border-top: 1px solid #f0f0f5;
    font-size: 13px; color: #aaa;
    display: flex; align-items: center; gap: 6px;
}
.news-detail-source strong { color: #0d1b3e; }
.news-detail-source i { color: #00b86b; }

@media (max-width: 600px) {
    .news-detail-body { padding: 18px 16px; }
    .news-detail-title { font-size: 18px; }
    .news-detail-content p { font-size: 14px; }
}

/* ===== HABER SLİDER ===== */
.slider-section { margin-bottom: 28px; }

.slider-controls { display: flex; gap: 8px; }
.slider-btn {
    width: 32px; height: 32px;
    border: 1.5px solid #e0e0ee;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    color: #0d1b3e;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.slider-btn:hover { background: #0d1b3e; color: #fff; border-color: #0d1b3e; }

.slider-wrapper { overflow: hidden; border-radius: 12px; }
.slider-track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.slider-loading {
    padding: 32px;
    color: #aaa;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-card {
    min-width: calc((100% - 32px) / 3);
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.slider-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); transform: translateY(-2px); }

.slider-img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #e8eaf0; }
.slider-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.35s ease;
}
.slider-card:hover .slider-img { transform: scale(1.04); }
.slider-img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #e8eaf0, #d0d5e8);
    display: flex; align-items: center; justify-content: center;
    color: rgba(100,110,140,0.4);
    font-size: 36px;
}
.slider-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
}
.slider-source {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #00b86b;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slider-body { padding: 12px 14px 14px; }
.slider-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.slider-date { font-size: 11px; color: #bbb; margin-top: 6px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
.dot-btn {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: #d0d0e0;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.dot-btn.active { background: #0d1b3e; width: 22px; border-radius: 4px; }

/* Mobil slider */
@media (max-width: 768px) {
    .slider-card { min-width: calc((100% - 16px) / 2); }
}
@media (max-width: 480px) {
    .slider-card { min-width: 85%; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .main-grid { grid-template-columns: 1fr; }
    .right-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .search-box { display: none; }
    .mobile-menu-btn { display: block; }
    .news-grid-3 { grid-template-columns: 1fr 1fr; }
    .right-col { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
    .news-grid-3 { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .header-inner { gap: 16px; }
    .site-logo { height: 30px; }
}
