/*
Theme Name: PCT Livescore
Theme URI: https://pct.eu.com
Version: 3.0.0
Description: Football Livescore Theme
Author: PCT Team
*/

:root {
    --primary: #da1d27;
    --bg: #0d0e0f;
    --card: #1a1b1d;
    --card-hover: #252629;
    --text: #ffffff;
    --text-gray: #9ca3af;
    --border: rgba(255,255,255,0.1);
    --live: #22c55e;
    --ucl: rgba(34,197,94,0.15);
    --uel: rgba(59,130,246,0.15);
    --rel: rgba(239,68,68,0.15);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Be Vietnam Pro', sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: rgba(13,14,15,0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.logo-icon { background: var(--primary); color: white; padding: 6px 10px; border-radius: 8px; font-size: 14px; font-weight: 800; }
.main-nav { display: flex; gap: 8px; }
.main-nav a { padding: 8px 14px; border-radius: 8px; font-size: 13px; color: var(--text-gray); transition: all 0.2s; }
.main-nav a:hover { background: var(--card); color: white; }
.menu-toggle { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.league-nav { background: var(--card); padding: 10px 0; overflow-x: auto; white-space: nowrap; }
.league-nav .container { display: flex; gap: 8px; }
.league-nav a { padding: 6px 12px; font-size: 12px; color: var(--text-gray); border-radius: 6px; }
.league-nav a:hover { background: var(--card-hover); color: white; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: var(--card); z-index: 1001; transition: left 0.3s; overflow-y: auto; }
.mobile-menu.active { left: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); }
.close-menu { background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.mobile-menu nav { padding: 16px; }
.mobile-menu nav a { display: block; padding: 12px; color: var(--text-gray); border-radius: 8px; margin-bottom: 4px; }
.mobile-menu nav a:hover { background: var(--card-hover); color: white; }
.mobile-menu hr { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1000; display: none; }
.mobile-overlay.active { display: block; }

/* Hero */
.hero { padding: 48px 0 32px; background: linear-gradient(180deg, rgba(218,29,39,0.1) 0%, transparent 100%); text-align: center; }
.hero h1 { font-size: 32px; margin-bottom: 8px; }
.hero h1 span { color: var(--primary); }
.hero p { color: var(--text-gray); margin-bottom: 24px; }
.hero-stats { display: flex; justify-content: center; gap: 32px; }
.stat { text-align: center; }
.stat span { font-size: 28px; font-weight: 700; color: var(--primary); display: block; }

/* Main Layout */
.main-content { display: grid; grid-template-columns: 1fr 360px; gap: 24px; padding: 24px 0 48px; }
.content-column { min-width: 0; }

/* Page Header */
.page-header { padding: 32px 0 24px; background: linear-gradient(180deg, rgba(218,29,39,0.1) 0%, transparent 100%); }
.page-header-content { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.page-flag { font-size: 48px; }
.page-header h1 { font-size: 28px; margin-bottom: 4px; }
.page-subtitle { color: var(--text-gray); font-size: 14px; }
.page-tabs { display: flex; gap: 8px; margin-top: 16px; }
.tab-btn { padding: 10px 20px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; color: var(--text-gray); font-size: 13px; cursor: pointer; }
.tab-btn:hover { border-color: var(--primary); color: white; }
.tab-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Date Nav */
.date-nav { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 8px; }
.date-btn { padding: 10px 16px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; color: var(--text-gray); font-size: 13px; cursor: pointer; white-space: nowrap; }
.date-btn:hover { border-color: var(--primary); color: white; }
.date-btn.active { background: var(--primary); border-color: var(--primary); color: white; }

/* Section Box */
.section-box { background: var(--card); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.section-header { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.section-header h2 { font-size: 16px; margin: 0; }

/* League Section */
.league-section { background: var(--card); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.league-section.live { border: 1px solid rgba(34,197,94,0.3); }
.league-header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border); }
.league-header img { width: 24px; height: 24px; }
.league-header span { font-size: 13px; font-weight: 600; }
.live-badge { margin-left: auto; background: rgba(34,197,94,0.2); color: var(--live); padding: 3px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; }

/* Match */
.match { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.match:last-child { border-bottom: none; }
.match:hover { background: rgba(255,255,255,0.02); }
.match.live { background: rgba(34,197,94,0.05); }
.match-time { width: 50px; font-size: 12px; color: var(--text-gray); text-align: center; }
.match.live .match-time { color: var(--live); font-weight: 600; }
.match-teams { flex: 1; min-width: 0; }
.match-teams .team { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.match-teams .team img { width: 18px; height: 18px; }
.match-teams .team span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-score { width: 40px; text-align: center; }
.match-score span { display: block; font-weight: 700; font-size: 14px; }
.match-score.live span { color: var(--live); }

/* Match Row (for league page) */
.match-row { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.match-row .time { width: 50px; font-size: 12px; color: var(--text-gray); }
.match-row .team { display: flex; align-items: center; gap: 8px; flex: 1; }
.match-row .team.home { justify-content: flex-end; }
.match-row .team img { width: 20px; height: 20px; }
.match-row .score { width: 60px; text-align: center; font-weight: 700; }

/* Standings Table */
.standings-table { width: 100%; border-collapse: collapse; }
.standings-table th { padding: 10px 12px; font-size: 11px; font-weight: 500; color: var(--text-gray); text-align: left; background: rgba(255,255,255,0.02); }
.standings-table td { padding: 10px 12px; font-size: 13px; border-bottom: 1px solid var(--border); }
.standings-table tr:last-child td { border-bottom: none; }
.standings-table tr.ucl td { background: var(--ucl); }
.standings-table tr.uel td { background: var(--uel); }
.standings-table tr.rel td { background: var(--rel); }
.standings-table .rank { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); border-radius: 4px; font-size: 11px; font-weight: 600; }
.standings-table .rank.ucl { background: rgba(34,197,94,0.3); color: var(--live); }
.standings-table .rank.uel { background: rgba(59,130,246,0.3); color: #3b82f6; }
.standings-table .rank.rel { background: rgba(239,68,68,0.3); color: #ef4444; }
.team-cell { display: flex; align-items: center; gap: 8px; }
.team-cell img { width: 20px; height: 20px; }
.standings-table .pts { font-weight: 700; }
.standings-table.full { font-size: 13px; }

/* Scorers Table */
.scorers-table { width: 100%; border-collapse: collapse; }
.scorers-table th { padding: 10px 12px; font-size: 11px; font-weight: 500; color: var(--text-gray); text-align: left; background: rgba(255,255,255,0.02); }
.scorers-table td { padding: 10px 12px; font-size: 13px; border-bottom: 1px solid var(--border); }
.scorers-table tr:last-child td { border-bottom: none; }
.player-cell { display: flex; align-items: center; gap: 10px; }
.player-cell img { width: 32px; height: 32px; border-radius: 50%; }
.team-logo-sm { width: 20px; height: 20px; }
.scorers-table .goals { font-weight: 700; color: var(--live); font-size: 16px; }

/* Sidebar */
.sidebar-box { background: var(--card); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.sidebar-box h3 { padding: 16px; border-bottom: 1px solid var(--border); font-size: 14px; margin: 0; }
.sidebar-box table { width: 100%; border-collapse: collapse; }
.sidebar-box table td { padding: 8px 12px; font-size: 12px; border-bottom: 1px solid var(--border); }
.sidebar-box table td:first-child { width: 30px; color: var(--text-gray); }
.sidebar-box table td:last-child { width: 40px; font-weight: 700; text-align: right; }
.sidebar-box table td a { display: flex; align-items: center; gap: 8px; }
.sidebar-box table td img { width: 18px; height: 18px; }
.view-all { display: block; padding: 12px; text-align: center; color: var(--primary); font-size: 12px; border-top: 1px solid var(--border); }
.scorer { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.scorer:last-child { border-bottom: none; }
.scorer .rank { width: 20px; color: var(--text-gray); font-size: 12px; }
.scorer a { display: flex; align-items: center; gap: 8px; flex: 1; }
.scorer img { width: 28px; height: 28px; border-radius: 50%; }
.scorer .goals { font-weight: 700; color: var(--live); }
.league-list { padding: 8px; }
.league-list li { list-style: none; }
.league-list a { display: block; padding: 10px 12px; color: var(--text-gray); border-radius: 8px; font-size: 13px; }
.league-list a:hover, .league-list a.active { background: rgba(255,255,255,0.05); color: white; }
.league-list a.active { color: var(--primary); }

/* Loading */
.loading { padding: 40px; text-align: center; }
.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; margin: 0 auto; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.no-data { text-align: center; padding: 40px; color: var(--text-gray); }

/* Footer */
.site-footer { background: var(--card); padding: 48px 0 24px; margin-top: 48px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.site-footer p { color: var(--text-gray); font-size: 13px; line-height: 1.6; }
.site-footer h4 { font-size: 14px; margin-bottom: 16px; }
.site-footer a { display: block; color: var(--text-gray); font-size: 13px; padding: 6px 0; }
.site-footer a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-gray); font-size: 12px; }

/* Responsive */
@media (max-width: 1024px) {
    .main-content { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .menu-toggle { display: block; }
    .league-nav { display: none; }
    .hero h1 { font-size: 24px; }
    .sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 22px; }
    .page-flag { font-size: 36px; }
}

/* Bottom Ad Space */
body { padding-bottom: 90px; }
@media (max-width: 768px) { body { padding-bottom: 60px; } }

/* Trust Bar */
.trust-bar { background: linear-gradient(90deg, rgba(218,29,39,0.1), rgba(34,197,94,0.1)); padding: 12px 0; border-bottom: 1px solid var(--border); }
.trust-items { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; font-size: 12px; color: var(--text-gray); }
.trust-items span { display: flex; align-items: center; gap: 6px; }

/* Breadcrumbs */
.breadcrumbs { padding: 16px 0; font-size: 13px; color: var(--text-gray); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumbs li::after { content: '›'; margin-left: 8px; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--text-gray); }
.breadcrumbs a:hover { color: var(--primary); }

/* Articles Grid */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding: 16px; }
.article-card { background: var(--card-hover); padding: 16px; border-radius: 8px; transition: transform 0.2s; }
.article-card:hover { transform: translateY(-2px); }
.article-card .article-type { display: inline-block; font-size: 11px; padding: 4px 8px; background: var(--primary); color: white; border-radius: 4px; margin-bottom: 8px; }
.article-card h3 { font-size: 14px; margin-bottom: 8px; line-height: 1.4; }
.article-card h3 a { color: white; }
.article-card h3 a:hover { color: var(--primary); }
.article-card .article-meta { font-size: 11px; color: var(--text-gray); }
.section-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.section-header h2 { font-size: 16px; margin: 0; }
.view-all-link { color: var(--primary); font-size: 13px; }

/* Articles List */
.article-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.articles-list { display: flex; flex-direction: column; gap: 16px; }
.article-item { background: var(--card); padding: 20px; border-radius: var(--radius); }
.article-item h2 { font-size: 18px; margin: 8px 0; }
.article-item h2 a { color: white; }
.article-item h2 a:hover { color: var(--primary); }
.article-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.article-type { display: inline-block; font-size: 11px; padding: 4px 10px; border-radius: 4px; }
.article-type.preview { background: rgba(59,130,246,0.2); color: #3b82f6; }
.article-type.review { background: rgba(34,197,94,0.2); color: #22c55e; }
.article-type.news { background: rgba(218,29,39,0.2); color: var(--primary); }
.article-league { font-size: 11px; padding: 4px 10px; background: rgba(255,255,255,0.1); border-radius: 4px; color: var(--text-gray); }
.article-excerpt { color: var(--text-gray); margin: 12px 0; line-height: 1.6; }
.article-meta { font-size: 12px; color: var(--text-gray); display: flex; gap: 16px; }
.no-articles { text-align: center; padding: 48px; color: var(--text-gray); }

/* Single Article */
.single-article { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.article-header { padding: 24px; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: 24px; margin: 12px 0; line-height: 1.4; }
.article-meta-full { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-gray); }
.article-body { padding: 24px; line-height: 1.8; }
.article-body h2 { font-size: 20px; margin: 24px 0 16px; }
.article-body h3 { font-size: 17px; margin: 20px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 16px 0; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.match-teams-box { padding: 20px; margin: 0 24px 24px; background: var(--card-hover); border-radius: 8px; }
.match-teams-box h3 { margin: 0 0 12px; font-size: 14px; }
.teams-links { display: flex; align-items: center; gap: 16px; }
.teams-links a { padding: 8px 16px; background: var(--primary); color: white; border-radius: 4px; }
.article-author-box { padding: 24px; border-top: 1px solid var(--border); }
.related-articles { padding: 24px; border-top: 1px solid var(--border); }
.related-articles h3 { margin: 0 0 16px; font-size: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-item { padding: 12px; background: var(--card-hover); border-radius: 8px; font-size: 13px; color: var(--text-gray); }
.related-item:hover { color: white; }

/* Author Box */
.author-box { display: flex; gap: 20px; padding: 24px; background: var(--card); border-radius: var(--radius); }
.author-avatar { flex-shrink: 0; }
.author-avatar .logo-icon { font-size: 24px; padding: 16px 20px; }
.author-info h4 { margin: 0 0 8px; font-size: 16px; }
.author-info p { color: var(--text-gray); font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.author-credentials { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--text-gray); }

/* About Section */
.about-section { padding: 48px 0; background: var(--card); margin-top: 48px; }

/* Last Updated */
.last-updated { text-align: center; padding: 16px; font-size: 12px; color: var(--text-gray); }

/* Preview List */
.preview-list { padding: 8px 16px; }
.preview-list li { list-style: none; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.preview-list li:last-child { border-bottom: none; }
.preview-list a { color: var(--text-gray); }
.preview-list a:hover { color: white; }

/* Recent Articles */
.recent-articles { padding: 8px 16px; }
.recent-articles li { list-style: none; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.recent-articles li:last-child { border-bottom: none; }
.recent-articles a { color: var(--text-gray); }
.recent-articles a:hover { color: white; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 24px 0; }
.pagination a, .pagination span { padding: 8px 14px; background: var(--card); border-radius: 4px; font-size: 13px; }
.pagination a:hover { background: var(--primary); color: white; }
.pagination .current { background: var(--primary); color: white; }

@media (max-width: 768px) {
    .trust-items { flex-direction: column; align-items: center; gap: 8px; }
    .articles-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .author-box { flex-direction: column; text-align: center; }
}

/* Match Info Table */
.match-info-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: var(--card-hover); border-radius: 8px; overflow: hidden; }
.match-info-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.match-info-table tr:last-child td { border-bottom: none; }
.match-info-table td:first-child { width: 40%; color: var(--text-gray); }

/* Score Result Box */
.score-result-box { text-align: center; padding: 24px; background: linear-gradient(135deg, var(--card-hover), var(--card)); border-radius: 12px; margin: 20px 0; }
.score-result-box .final-score { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.score-result-box .final-score a { color: white; }
.score-result-box .final-score a:hover { color: var(--primary); }
.score-result-box .match-info { color: var(--text-gray); font-size: 13px; }

/* Match Datetime */
.match-datetime { margin-top: 12px; padding: 12px 16px; background: rgba(218,29,39,0.1); border-radius: 8px; display: inline-block; }
.match-datetime span { color: var(--primary); font-weight: 500; }

/* Teams Box */
.match-teams-box { padding: 24px; margin: 24px; background: var(--card-hover); border-radius: 12px; }
.match-teams-box h3 { margin: 0 0 16px; font-size: 16px; }
.teams-links { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.team-link { padding: 12px 24px; background: var(--primary); color: white; border-radius: 8px; font-weight: 600; transition: transform 0.2s; }
.team-link:hover { transform: scale(1.05); color: white; }
.team-name { padding: 12px 24px; background: var(--card); border-radius: 8px; font-weight: 600; }
.teams-links .vs { font-size: 18px; font-weight: 700; color: var(--text-gray); }

/* Related Items */
.related-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px; background: var(--card-hover); border-radius: 8px; transition: background 0.2s; }
.related-item:hover { background: var(--card); }
.related-icon { font-size: 16px; flex-shrink: 0; }
.related-title { font-size: 13px; color: var(--text-gray); line-height: 1.4; }
.related-item:hover .related-title { color: white; }

/* Article Thumbnail */
.article-thumbnail { margin: 0 -24px; }
.article-thumbnail img { width: 100%; height: auto; }


/* News Tabs */
.news-tabs { background: var(--card); border-bottom: 1px solid var(--border); padding: 12px 0; margin-bottom: 24px; overflow-x: auto; }
.news-tabs .container { display: flex; gap: 8px; }
.news-tab { padding: 10px 20px; background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--text-gray); font-size: 13px; white-space: nowrap; transition: all 0.2s; }
.news-tab:hover { border-color: var(--primary); color: white; }
.news-tab.active { background: var(--primary); border-color: var(--primary); color: white; }

/* Home Section */
.home-section { margin-top: 24px; }
.home-section .articles-grid { grid-template-columns: repeat(2, 1fr); }

/* Article Card */
.article-card { background: var(--card-hover); padding: 16px; border-radius: 10px; transition: all 0.2s; border: 1px solid transparent; }
.article-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.article-card.preview { border-left: 3px solid #3b82f6; }
.article-card.review { border-left: 3px solid #22c55e; }
.article-card-badges { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.article-card h3 { font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
.article-card h3 a { color: white; }
.article-card h3 a:hover { color: var(--primary); }
.article-card-meta { font-size: 11px; color: var(--text-gray); }

/* Badges */
.badge { display: inline-block; font-size: 10px; padding: 4px 8px; border-radius: 4px; font-weight: 500; }
.badge.preview { background: rgba(59,130,246,0.2); color: #3b82f6; }
.badge.review { background: rgba(34,197,94,0.2); color: #22c55e; }
.badge.news { background: rgba(218,29,39,0.2); color: var(--primary); }
.badge.league { background: rgba(255,255,255,0.1); color: var(--text-gray); }

/* Articles List Compact */
.articles-list-compact { padding: 8px 16px; }
.article-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.article-row:last-child { border-bottom: none; }
.article-row:hover { background: var(--card-hover); margin: 0 -16px; padding: 12px 16px; border-radius: 8px; }
.article-row-icon { font-size: 18px; }
.article-row-title { flex: 1; font-size: 13px; color: var(--text-gray); }
.article-row:hover .article-row-title { color: white; }
.article-row-date { font-size: 11px; color: var(--text-gray); white-space: nowrap; }

/* Category List */
.category-list { padding: 8px 0; }
.category-list li { list-style: none; }
.category-list a { display: block; padding: 10px 16px; color: var(--text-gray); font-size: 13px; border-radius: 6px; }
.category-list a:hover, .category-list a.active { background: var(--card-hover); color: white; }
.category-list a.active { color: var(--primary); }

/* Sidebar Articles */
.sidebar-articles { padding: 8px 0; }
.sidebar-articles li { list-style: none; border-bottom: 1px solid var(--border); }
.sidebar-articles li:last-child { border-bottom: none; }
.sidebar-articles a { display: flex; gap: 8px; padding: 10px 16px; color: var(--text-gray); font-size: 12px; line-height: 1.5; }
.sidebar-articles a:hover { color: white; background: var(--card-hover); }
.sidebar-articles span { flex-shrink: 0; }

/* No Articles */
.no-articles { text-align: center; padding: 60px 20px; }
.no-articles-icon { font-size: 60px; margin-bottom: 16px; }
.no-articles h3 { font-size: 20px; margin-bottom: 8px; }
.no-articles p { color: var(--text-gray); margin-bottom: 16px; }
.btn-primary { display: inline-block; padding: 12px 24px; background: var(--primary); color: white; border-radius: 8px; }
.btn-primary:hover { opacity: 0.9; color: white; }

/* Article Item in List */
.article-item { background: var(--card); padding: 20px; border-radius: var(--radius); margin-bottom: 16px; border-left: 3px solid var(--border); }
.article-item:hover { border-left-color: var(--primary); }
.article-item .article-badges { margin-bottom: 12px; }
.article-item h2 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.article-item h2 a { color: white; }
.article-item h2 a:hover { color: var(--primary); }
.article-item .article-excerpt { color: var(--text-gray); font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.article-item .article-meta { font-size: 12px; color: var(--text-gray); display: flex; gap: 16px; }

@media (max-width: 768px) {
    .home-section .articles-grid { grid-template-columns: 1fr; }
    .dropdown-menu { position: static; display: none; }
    .news-tabs .container { padding: 0 16px; }
}

/* Home News Section - Aligned Columns */
.home-news-section { margin-top: 24px; }
.news-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-column { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.news-column-header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); }
.news-column-header h2 { font-size: 15px; margin: 0; }
.news-column-header a { font-size: 12px; color: var(--primary); }
.news-column-list { padding: 8px; }
.news-row { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 6px; margin-bottom: 4px; }
.news-row:hover { background: var(--card-hover); }
.news-row-title { font-size: 13px; color: var(--text-gray); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-row:hover .news-row-title { color: white; }
.news-row-league { font-size: 10px; color: var(--primary); }
.no-news { padding: 20px; text-align: center; color: var(--text-gray); font-size: 13px; }

/* Back to Top Button */
#backToTop { position: fixed; bottom: 100px; right: 20px; width: 44px; height: 44px; background: var(--primary); color: white; border: none; border-radius: 50%; font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 9998; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-3px); background: #c01820; }

@media (max-width: 1024px) {
    .news-columns { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    #backToTop { bottom: 80px; right: 16px; width: 40px; height: 40px; font-size: 18px; }
}

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.dropdown-trigger { cursor: pointer; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 8px 0; min-width: 200px; display: none; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.4); margin-top: 8px; }
.dropdown-menu a { display: block; padding: 10px 16px; font-size: 13px; color: var(--text-gray); }
.dropdown-menu a:hover { background: var(--card-hover); color: white; }
.nav-dropdown:hover .dropdown-menu { display: block; }

/* Home Article Section */
.home-article-section { margin-top: 32px; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.section-header-full { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: linear-gradient(135deg, var(--card-hover), var(--card)); border-bottom: 1px solid var(--border); }
.section-title { display: flex; align-items: center; gap: 12px; }
.section-icon { font-size: 24px; }
.section-title h2 { font-size: 18px; margin: 0; }
.view-all-btn { padding: 8px 16px; background: var(--primary); color: white; border-radius: 6px; font-size: 12px; }
.view-all-btn:hover { opacity: 0.9; color: white; }

/* Article Cards Row */
.article-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.article-card-horizontal { background: var(--card); padding: 16px; transition: background 0.2s; }
.article-card-horizontal:hover { background: var(--card-hover); }
.card-content { }
.card-badges { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.badge-league { font-size: 10px; padding: 3px 8px; background: rgba(59,130,246,0.2); color: #3b82f6; border-radius: 4px; }
.badge-time { font-size: 10px; padding: 3px 8px; background: rgba(34,197,94,0.2); color: #22c55e; border-radius: 4px; }
.badge-score { font-size: 10px; padding: 3px 8px; background: var(--primary); color: white; border-radius: 4px; font-weight: 600; }
.article-card-horizontal h3 { font-size: 14px; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-horizontal h3 a { color: white; }
.article-card-horizontal h3 a:hover { color: var(--primary); }
.card-teams { font-size: 12px; color: var(--text-gray); }
.card-date { font-size: 11px; color: var(--text-gray); }
.no-articles-msg { padding: 40px; text-align: center; color: var(--text-gray); grid-column: 1 / -1; background: var(--card); }
.no-articles-msg.full-width { grid-column: 1 / -1; }

/* Bottom Recommendations */
.bottom-recommendations { margin-top: 32px; padding-bottom: 32px; }
.bottom-recommendations .section-header-full { background: var(--card); border-radius: var(--radius) var(--radius) 0 0; border: 1px solid var(--border); border-bottom: none; }
.recommendation-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.recommendation-card { background: var(--card); padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); transition: all 0.2s; }
.recommendation-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.rec-badge { display: inline-block; font-size: 10px; padding: 4px 10px; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #000; border-radius: 4px; font-weight: 600; margin-bottom: 12px; }
.recommendation-card h3 { font-size: 15px; margin-bottom: 10px; line-height: 1.4; }
.recommendation-card h3 a { color: white; }
.recommendation-card h3 a:hover { color: var(--primary); }
.recommendation-card p { font-size: 13px; color: var(--text-gray); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { font-size: 12px; color: var(--primary); }

/* Sidebar News List */
.sidebar-news-list { padding: 0; }
.sidebar-news-list li { list-style: none; border-bottom: 1px solid var(--border); }
.sidebar-news-list li:last-child { border-bottom: none; }
.sidebar-news-list a { display: block; padding: 10px 16px; font-size: 12px; color: var(--text-gray); line-height: 1.5; }
.sidebar-news-list a:hover { background: var(--card-hover); color: white; }

@media (max-width: 1024px) {
    .article-cards-row { grid-template-columns: repeat(2, 1fr); }
    .recommendation-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .article-cards-row { grid-template-columns: 1fr; }
    .recommendation-cards { grid-template-columns: 1fr; }
    .dropdown-menu { position: fixed; left: 0; right: 0; top: auto; border-radius: 0; }
}

/* News Page */
.news-page { }
.news-hero { background: linear-gradient(135deg, var(--card) 0%, var(--card-hover) 100%); padding: 40px 0; text-align: center; border-bottom: 1px solid var(--border); }
.news-hero h1 { font-size: 28px; margin-bottom: 8px; }
.news-hero p { color: var(--text-gray); font-size: 14px; }

/* News Navigation */
.news-nav { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.news-nav .container { display: flex; gap: 4px; padding: 12px 20px; overflow-x: auto; }
.news-nav-item { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--card); border-radius: 8px; color: var(--text-gray); font-size: 14px; white-space: nowrap; transition: all 0.2s; border: 1px solid transparent; }
.news-nav-item:hover { border-color: var(--primary); color: white; }
.news-nav-item.active { background: var(--primary); color: white; border-color: var(--primary); }
.nav-icon { font-size: 18px; }
.nav-text { font-weight: 500; }

/* News Layout */
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 24px 0; }
.news-main { }
.news-sidebar { }

/* News Grid */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.news-card { background: var(--card); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; border: 1px solid var(--border); }
.news-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.news-card.featured { grid-column: span 1; }
.news-card.featured:first-child { grid-column: span 2; }
.news-card.featured:first-child .card-image { height: 250px; }
.news-card.featured:first-child h3 { font-size: 20px; }

/* Card Image */
.card-image { position: relative; height: 160px; background: var(--card-hover); overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; opacity: 0.3; }
.card-badge { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.card-badge.preview { background: rgba(59,130,246,0.9); color: white; }
.card-badge.review { background: rgba(34,197,94,0.9); color: white; }
.card-badge.news { background: rgba(218,29,39,0.9); color: white; }

/* Card Body */
.card-body { padding: 16px; }
.card-league { font-size: 11px; color: var(--primary); margin-bottom: 8px; text-transform: uppercase; font-weight: 600; }
.card-body h3 { font-size: 15px; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body h3 a { color: white; }
.card-body h3 a:hover { color: var(--primary); }
.card-match { font-size: 12px; color: var(--text-gray); margin-bottom: 10px; }
.card-meta { display: flex; gap: 12px; font-size: 11px; color: var(--text-gray); }

/* News Pagination */
.news-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; padding: 20px 0; }
.news-pagination a, .news-pagination span { padding: 10px 16px; background: var(--card); border-radius: 8px; font-size: 13px; border: 1px solid var(--border); }
.news-pagination a:hover { border-color: var(--primary); color: var(--primary); }
.news-pagination .current { background: var(--primary); border-color: var(--primary); color: white; }

/* No News */
.no-news { text-align: center; padding: 80px 20px; background: var(--card); border-radius: var(--radius); }
.no-news-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.no-news h3 { font-size: 20px; margin-bottom: 8px; }
.no-news p { color: var(--text-gray); }

/* Sidebar Widgets */
.sidebar-widget { background: var(--card); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; border: 1px solid var(--border); }
.widget-title { font-size: 15px; padding: 16px; border-bottom: 1px solid var(--border); margin: 0; background: var(--card-hover); }
.widget-menu { padding: 8px 0; }
.widget-menu li { list-style: none; }
.widget-menu a { display: block; padding: 12px 16px; color: var(--text-gray); font-size: 13px; transition: all 0.2s; }
.widget-menu a:hover { background: var(--card-hover); color: white; }
.widget-menu li.active a { color: var(--primary); background: rgba(218,29,39,0.1); border-left: 3px solid var(--primary); }

/* Widget Posts */
.widget-posts { padding: 8px; }
.widget-post { display: flex; gap: 12px; padding: 10px; border-radius: 8px; margin-bottom: 4px; transition: background 0.2s; }
.widget-post:hover { background: var(--card-hover); }
.post-icon { font-size: 20px; flex-shrink: 0; }
.post-info { flex: 1; min-width: 0; }
.post-title { display: block; font-size: 13px; color: var(--text-gray); line-height: 1.4; margin-bottom: 4px; }
.widget-post:hover .post-title { color: white; }
.post-date { font-size: 11px; color: var(--text-gray); }

/* Widget Leagues */
.widget-leagues { padding: 8px 0; }
.widget-leagues li { list-style: none; }
.widget-leagues a { display: block; padding: 10px 16px; color: var(--text-gray); font-size: 13px; }
.widget-leagues a:hover { background: var(--card-hover); color: white; }

@media (max-width: 1024px) {
    .news-layout { grid-template-columns: 1fr; }
    .news-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-card.featured:first-child { grid-column: span 1; }
    .news-card.featured:first-child .card-image { height: 180px; }
    .news-sidebar { grid-template-columns: 1fr; }
    .news-hero h1 { font-size: 22px; }
}

/* World Cup Page */
.worldcup-page { }
.wc-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.wc-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>') repeat; opacity: 0.3; }
.wc-hero-content { position: relative; z-index: 1; }
.wc-badge { display: inline-block; background: linear-gradient(135deg, #ffd700, #ffb700); color: #000; padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.wc-hero h1 { font-size: 48px; margin-bottom: 12px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.wc-host { font-size: 20px; margin-bottom: 20px; color: rgba(255,255,255,0.9); }
.wc-meta { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.7); }
.wc-meta span { background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 8px; }

/* WC Tabs */
.wc-tabs { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.wc-tabs .container { display: flex; gap: 8px; padding: 12px 20px; overflow-x: auto; }
.wc-tab { padding: 12px 24px; background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--text-gray); font-size: 14px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.wc-tab:hover { border-color: var(--primary); color: white; }
.wc-tab.active { background: var(--primary); border-color: var(--primary); color: white; }

/* WC Content */
.wc-content { padding: 32px 0; }
.section-title { font-size: 24px; margin-bottom: 8px; }
.section-desc { color: var(--text-gray); margin-bottom: 24px; }

/* Groups Grid */
.groups-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.group-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.group-header { background: linear-gradient(135deg, var(--primary), #c01820); padding: 12px; text-align: center; font-weight: 700; font-size: 16px; }
.group-table { width: 100%; border-collapse: collapse; }
.group-table th { padding: 8px; font-size: 10px; color: var(--text-gray); text-align: left; border-bottom: 1px solid var(--border); }
.group-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 12px; }
.group-table tr:last-child td { border-bottom: none; }
.team-cell { display: flex; align-items: center; gap: 8px; }
.team-flag { font-size: 18px; }
.team-name { font-weight: 500; }
.rank-cell { color: var(--text-gray); }
.conf-cell { font-size: 10px; color: var(--primary); }

/* Confederation Section */
.confederation-section { margin-bottom: 24px; background: var(--card); padding: 20px; border-radius: var(--radius); }
.confederation-section h3 { margin-bottom: 16px; font-size: 16px; }
.teams-flex { display: flex; flex-wrap: wrap; gap: 8px; }
.team-tag { padding: 8px 14px; background: var(--card-hover); border-radius: 8px; font-size: 13px; }

/* Players Grid */
.players-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.player-card { background: var(--card); padding: 20px; border-radius: var(--radius); text-align: center; border: 1px solid var(--border); transition: all 0.2s; }
.player-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.player-avatar { font-size: 48px; margin-bottom: 12px; }
.player-info h4 { font-size: 15px; margin-bottom: 4px; }
.player-country { font-size: 12px; color: var(--text-gray); margin-bottom: 4px; }
.player-club { font-size: 11px; color: var(--primary); margin-bottom: 8px; }
.player-position { display: inline-block; padding: 4px 10px; background: var(--card-hover); border-radius: 4px; font-size: 10px; }

/* Players Extra */
.players-extra { background: var(--card); padding: 24px; border-radius: var(--radius); }
.players-extra h3 { margin-bottom: 16px; }
.candidates-list { display: flex; flex-direction: column; gap: 8px; }
.candidate { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--card-hover); border-radius: 8px; }
.candidate-rank { width: 24px; height: 24px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.candidate-name { flex: 1; font-weight: 500; }
.candidate-country { font-size: 20px; }
.candidate-odds { background: rgba(34,197,94,0.2); color: #22c55e; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }

/* Venues Grid */
.venues-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.venue-card { background: var(--card); padding: 20px; border-radius: var(--radius); text-align: center; border: 1px solid var(--border); }
.venue-flag { font-size: 32px; margin-bottom: 12px; }
.venue-card h4 { font-size: 15px; margin-bottom: 8px; }
.venue-city { font-size: 13px; color: var(--text-gray); margin-bottom: 4px; }
.venue-capacity { font-size: 12px; color: var(--primary); }
.venue-note { background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,183,0,0.1)); padding: 16px; border-radius: 8px; text-align: center; border: 1px solid rgba(255,215,0,0.3); }

/* Schedule Timeline */
.schedule-timeline { max-width: 600px; }
.timeline-item { display: flex; gap: 20px; padding: 20px 0; border-left: 2px solid var(--border); margin-left: 60px; padding-left: 20px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -7px; top: 24px; width: 12px; height: 12px; background: var(--card); border: 2px solid var(--primary); border-radius: 50%; }
.timeline-item.highlight { border-left-color: var(--primary); }
.timeline-item.highlight::before { background: var(--primary); }
.timeline-date { position: absolute; left: -120px; width: 90px; text-align: right; font-size: 13px; color: var(--primary); font-weight: 600; }
.timeline-content h4 { margin-bottom: 4px; font-size: 15px; }
.timeline-content p { color: var(--text-gray); font-size: 13px; }

/* History */
.wc-history { padding: 32px 0; border-top: 1px solid var(--border); margin-top: 32px; }
.history-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.history-card { background: var(--card); padding: 16px; border-radius: var(--radius); text-align: center; border: 1px solid var(--border); }
.history-year { display: block; font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.history-winner { display: block; font-size: 14px; margin-bottom: 4px; }
.history-host { display: block; font-size: 11px; color: var(--text-gray); }

@media (max-width: 1024px) {
    .groups-grid { grid-template-columns: repeat(3, 1fr); }
    .players-grid { grid-template-columns: repeat(2, 1fr); }
    .history-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .wc-hero h1 { font-size: 32px; }
    .groups-grid { grid-template-columns: repeat(2, 1fr); }
    .venues-grid { grid-template-columns: repeat(2, 1fr); }
    .players-grid { grid-template-columns: 1fr; }
    .history-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline-date { position: static; width: auto; text-align: left; margin-bottom: 8px; }
    .timeline-item { margin-left: 20px; flex-direction: column; gap: 8px; }
}

/* 404 Error Page */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.error-content { text-align: center; max-width: 600px; }
.error-icon { font-size: 80px; margin-bottom: 20px; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.error-content h1 { font-size: 120px; color: var(--primary); margin: 0; line-height: 1; }
.error-content h2 { font-size: 28px; margin: 16px 0; }
.error-content > p { color: var(--text-gray); margin-bottom: 32px; }

.error-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.btn-primary { padding: 14px 28px; background: var(--primary); color: white; border-radius: 8px; font-weight: 600; transition: all 0.2s; }
.btn-primary:hover { background: #c01820; color: white; transform: translateY(-2px); }
.btn-secondary { padding: 14px 28px; background: var(--card); color: white; border-radius: 8px; font-weight: 600; border: 1px solid var(--border); transition: all 0.2s; }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.error-suggestions { margin-bottom: 40px; }
.error-suggestions h3 { font-size: 16px; margin-bottom: 16px; color: var(--text-gray); }
.suggestions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.suggestion-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); transition: all 0.2s; }
.suggestion-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.suggestion-icon { font-size: 28px; }
.suggestion-text { font-size: 13px; color: var(--text-gray); }
.suggestion-card:hover .suggestion-text { color: white; }

.error-leagues h3 { font-size: 16px; margin-bottom: 16px; color: var(--text-gray); }
.leagues-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.leagues-list a { padding: 8px 14px; background: var(--card-hover); border-radius: 6px; font-size: 13px; color: var(--text-gray); }
.leagues-list a:hover { color: white; background: var(--card); }

.btn-back { display: inline-block; margin-top: 20px; padding: 12px 24px; background: var(--primary); color: white; border-radius: 8px; }
.btn-back:hover { opacity: 0.9; color: white; }

.no-posts { padding: 16px; color: var(--text-gray); text-align: center; font-size: 13px; }

/* Badge recommendation style */
.card-badge.recommendation { background: rgba(251,191,36,0.9); color: #000; }

@media (max-width: 768px) {
    .error-content h1 { font-size: 80px; }
    .suggestions-grid { grid-template-columns: repeat(2, 1fr); }
}
