:root {
  --primary: #e74c3c;
  --primary-hover: #d63031;
  --primary-light: rgba(231,76,60,0.08);
  --primary-glow: rgba(231,76,60,0.25);
  --secondary: #2c3e50;
  --accent: #f39c12;
  --success: #27ae60;
  --info: #3498db;
  --bg: #f0f2f5;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --bg-topbar: #0f0f1a;
  --text: #2c3e50;
  --text-secondary: #7f8c8d;
  --text-muted: #b0b0b0;
  --border: #e8ecf1;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --font: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 60px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] {
  --bg: #0a0a14;
  --bg-card: #141420;
  --bg-header: #141420;
  --text: #e0e0e8;
  --text-secondary: #9898a8;
  --border: #1e1e30;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow: 0 2px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Layout Options */
.layout-boxed .container { max-width: 1100px; }
.layout-full .container { max-width: 100%; padding: 0 30px; }
.no-sidebar .widget-area { display: none; }
.no-sidebar .site-main { max-width: 100%; margin: 0; }
.no-sidebar .content-wrap { display: block; }
.sidebar-left .content-wrap { flex-direction: row-reverse; }

.footpro-match-card-wrap {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 22px; border-radius: 8px; font-weight: 700;
  font-size: 14px; border: none; cursor: pointer;
  transition: all 0.2s ease; text-decoration: none; line-height: 1.3;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 5px 14px; font-size: 12px; }
.btn-ghost { background: var(--primary-light); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* Header */
.site-header {
  background: var(--bg-header);
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .site-header {
  background: rgba(20,20,32,0.88);
}

.header-top {
  background: var(--bg-topbar);
  color: #9898a8;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.header-top-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.header-date { font-size: 12px; color: rgba(255,255,255,0.4); }

.top-menu { list-style: none; display: flex; gap: 2px; }
.top-menu a {
  display: block; padding: 4px 12px; color: rgba(255,255,255,0.55); font-size: 12px;
  border-radius: 4px; transition: all var(--transition); font-weight: 500;
}
.top-menu a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.header-tools { display: flex; align-items: center; gap: 4px; }
.search-toggle, #yallafoot-dark-toggle {
  background: none; border: none; color: rgba(255,255,255,0.5); font-size: 13px;
  cursor: pointer; padding: 6px 8px; border-radius: 6px; transition: all var(--transition);
}
.search-toggle:hover, #yallafoot-dark-toggle:hover { color: #fff; background: rgba(255,255,255,0.08); }

.header-main { padding: 0; }
.header-main-inner { display: flex; align-items: center; height: 64px; gap: 28px; }

.site-branding { flex-shrink: 0; }
.site-logo-text {
  font-size: 24px; font-weight: 900; letter-spacing: -0.5px;
  color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.site-logo-text .site-name { 
  background: linear-gradient(135deg, var(--primary), #f39c12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-logo-text:hover { opacity: 0.9; }
.site-logo-img { max-height: 50px; width: auto; display: block; }
.site-logo-img-link { display: flex; align-items: center; }

/* Navigation */
.main-navigation { flex: 1; display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; }
.main-navigation .menu { list-style: none; display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; }
.main-navigation .menu > li { position: relative; }
.main-navigation .menu > li > a {
  display: flex; align-items: center; gap: 4px; padding: 6px 12px;
  color: var(--text); font-weight: 600; font-size: 13px;
  border-radius: var(--radius-sm); transition: all var(--transition);
  position: relative; white-space: nowrap;
}
.main-navigation .menu > li > a:hover,
.main-navigation .menu > li.current-menu-item > a {
  color: var(--primary); background: var(--primary-light);
}
.main-navigation .menu > li.current-menu-item > a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; background: var(--primary); border-radius: 2px;
}
.main-navigation .menu > li.menu-item-has-children > a::after {
  content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: 11px; margin-right: 4px;
}
.main-navigation .sub-menu {
  position: absolute; top: 100%; right: 0; min-width: 220px;
  background: var(--bg-card); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  list-style: none; opacity: 0; visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: all 0.2s ease; z-index: 100; overflow: hidden;
}
.main-navigation .menu > li:hover > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.main-navigation .sub-menu a {
  display: block; padding: 10px 18px; color: var(--text); font-size: 14px;
  border-bottom: 1px solid var(--border); transition: all var(--transition);
}
.main-navigation .sub-menu a:hover { background: var(--primary-light); color: var(--primary); padding-right: 24px; }
.main-navigation .sub-menu li:last-child a { border-bottom: none; }

.menu-toggle { display: none; background: none; border: none; font-size: 20px; color: var(--text); cursor: pointer; padding: 8px; border-radius: var(--radius-sm); }
.menu-toggle:hover { background: var(--primary-light); color: var(--primary); }

.header-live-watch { flex-shrink: 0; }
.header-live-watch .live-stream-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--primary);
  color: #fff; padding: 6px 16px; border-radius: 8px; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: all 0.2s ease;
}
.header-live-watch .live-stream-btn:hover { color: #fff; background: var(--primary-hover); }
.header-live-watch .live-stream-btn:hover { color: #fff; transform: scale(1.03); }
.live-dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: live-pulse 1.5s infinite; display: inline-block; }

@keyframes live-pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.3; transform:scale(0.8); } }
@keyframes live-pulse-shadow { 0%,100% { box-shadow:0 0 0 0 rgba(231,76,60,0.3); } 50% { box-shadow:0 0 0 8px rgba(231,76,60,0); } }

.header-search-form { background: var(--bg-header); padding: 16px 0; border-top: 1px solid var(--border); }

/* Content */
.content-wrap { display: flex; gap: 30px; padding-top: 30px; padding-bottom: 50px; }
.site-main { flex: 1; min-width: 0; }
.widget-area { width: 300px; flex-shrink: 0; }

/* Sections */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.section-title {
  font-size: 20px; font-weight: 800; color: var(--text);
  padding-right: 14px; position: relative; letter-spacing: -0.3px;
}
.section-title::before {
  content: ''; position: absolute; right: 0; top: 3px; bottom: 3px;
  width: 3px; background: var(--primary);
  border-radius: 2px;
}
.section-title.has-live-dot { display: flex; align-items: center; gap: 10px; padding-right: 0; }
.section-title.has-live-dot::before { display: none; }
.section-title.has-live-dot .live-dot { background: var(--primary); width: 10px; height: 10px; }
.section-link { font-size: 14px; font-weight: 600; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; transition: all var(--transition); }
.section-link:hover { color: var(--primary); }

/* Posts Grid */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }

.post-card {
  background: var(--bg-card); border-radius: 12px;
  overflow: hidden; box-shadow: var(--shadow);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  border: 1px solid var(--border);
}
.post-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px);
  border-color: var(--primary-light);
}
.post-thumb-link { display: block; position: relative; overflow: hidden; aspect-ratio: 16/9; background: #f0f0f0; }
.post-thumb-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-thumb-link img { transform: scale(1.05); }
.post-cat-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--primary);
  color: #fff; padding: 3px 12px; border-radius: 6px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.3px;
}
.post-card-body { padding: 20px; }
.post-card-title { font-size: 17px; font-weight: 800; line-height: 1.35; margin-bottom: 10px; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--primary); }
.post-card-meta { font-size: 13px; color: var(--text-secondary); display: flex; gap: 16px; margin-bottom: 10px; }
.post-card-meta i { margin-left: 6px; }
.post-card-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-readmore { font-size: 13px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.post-card-readmore:hover { gap: 10px; }

/* Single Article */
.single-article { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.entry-header { padding: 24px 24px 0; }
.entry-meta { font-size: 13px; color: var(--text-secondary); display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.entry-meta i { margin-left: 6px; }
.entry-meta .cat-links a { color: var(--primary); font-weight: 700; }
.entry-title { font-size: 26px; font-weight: 800; line-height: 1.3; letter-spacing: -0.3px; }
.entry-content { padding: 28px 30px; font-size: 16px; line-height: 1.9; }
.entry-content p { margin-bottom: 18px; }
.entry-content h2, .entry-content h3 { margin-top: 28px; margin-bottom: 14px; font-weight: 800; }
.entry-footer { padding: 0 30px 28px; }
.post-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.post-tags a { background: var(--primary-light); padding: 6px 14px; border-radius: 20px; font-size: 13px; color: var(--primary); font-weight: 600; transition: all var(--transition); }
.post-tags a:hover { background: var(--primary); color: #fff; }

/* Match Stream Page */
.match-stream-container {
  background: var(--bg-card); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.match-hero {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a30 50%, #0f0f1a 100%);
  color: #fff; padding: 40px 30px; text-align: center; position: relative; overflow: hidden;
}
.match-hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(231,76,60,0.08) 0%, transparent 50%);
  animation: match-hero-glow 8s ease-in-out infinite;
}
@keyframes match-hero-glow { 0%,100% { transform: translate(0,0); } 50% { transform: translate(5%,5%); } }
.match-hero.status-live { background: linear-gradient(135deg, #1a0505 0%, #2d0a0a 50%, #1a0505 100%); }
.match-hero.status-live::before { background: radial-gradient(circle at 30% 50%, rgba(231,76,60,0.15) 0%, transparent 50%); }
.match-hero.status-finished { background: linear-gradient(135deg, #051a05 0%, #0a2d0a 50%, #051a05 100%); }
.match-hero.status-finished::before { background: radial-gradient(circle at 30% 50%, rgba(76,175,80,0.08) 0%, transparent 50%); }

.match-tournament-info { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: #9898a8; margin-bottom: 20px; position: relative; z-index: 1; }
.match-tournament-info img { width: 22px; height: 22px; object-fit: contain; }
.match-hero-body { display: flex; align-items: center; justify-content: center; gap: 40px; position: relative; z-index: 1; }
.match-team { text-align: center; min-width: 140px; }
.match-team img { width: 90px; height: 90px; object-fit: contain; margin: 0 auto 12px; }
.match-team-name { font-size: 22px; font-weight: 800; }
.match-hero-center { text-align: center; min-width: 180px; }
.match-score { font-size: 56px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 14px; letter-spacing: -2px; }
.match-score-num { min-width: 56px; }
.match-score-sep { color: #555; }
.match-live-badge { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--primary); }
.match-live-badge .live-dot { width: 14px; height: 14px; background: var(--primary); }
.match-time-big { font-size: 40px; font-weight: 900; color: #fff; letter-spacing: -1px; }
.match-date-big { font-size: 14px; color: #9898a8; margin-top: 4px; }
.match-status-badge { display: inline-block; margin-top: 10px; padding: 6px 20px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.match-status-badge.status-upcoming { background: rgba(255,193,7,0.15); color: #ffc107; }
.match-status-badge.status-live { background: rgba(231,76,60,0.15); color: #e74c3c; animation: live-pulse 2s infinite; }
.match-status-badge.status-finished { background: rgba(76,175,80,0.15); color: #4caf50; }
.match-penalty { font-size: 14px; color: var(--accent); margin-top: 10px; font-weight: 600; }
.match-hero-meta { margin-top: 20px; display: flex; justify-content: center; gap: 24px; font-size: 13px; color: #9898a8; position: relative; z-index: 1; }
.match-hero-meta i { margin-left: 6px; }

.match-stream-section { padding: 24px; }
.stream-servers-tabs { width: 100%; max-width: 100%; }
.stream-tabs-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.stream-tabs-header h3 { font-size: 18px; font-weight: 800; margin: 0; }
.server-count { background: var(--primary); color: #fff; padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 800; }
.stream-tabs-nav { display: flex; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.stream-tab {
  padding: 8px 18px; background: var(--primary-light); border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--primary); cursor: pointer;
  transition: all var(--transition); border: none;
}
.stream-tab:hover { background: var(--primary); color: #fff; }
.stream-tab.active { background: var(--primary); color: #fff; box-shadow: 0 3px 10px var(--primary-glow); }
.stream-pane { display: none; }
.stream-pane.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.stream-iframe-wrap {
  position: relative; width: 100%;
  min-height: 360px;
  background: #000; border-radius: var(--radius); overflow: hidden;
}
.stream-iframe-wrap iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: none;
}
@media (min-width: 768px) {
  .stream-iframe-wrap { min-height: 480px; }
}
@media (min-width: 1200px) {
  .stream-iframe-wrap { min-height: 560px; }
}
.stream-embed-wrap { text-align: center; padding: 30px; background: #000; border-radius: var(--radius); }
.stream-link-wrap { text-align: center; padding: 50px 20px; background: var(--primary-light); border-radius: var(--radius); }
.stream-url-display { margin-top: 12px; font-size: 13px; color: var(--text-secondary); word-break: break-all; }
.match-ad { text-align: center; margin: 20px 0; padding: 16px; background: var(--primary-light); border-radius: var(--radius); }
.match-no-stream { padding: 60px 20px; text-align: center; }
.no-stream-content i { font-size: 40px; color: var(--text-muted); margin-bottom: 12px; display: block; }
.no-stream-content h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.no-stream-content p { font-size: 14px; color: var(--text-secondary); margin-bottom: 0; }
.no-stream-countdown { margin-top: 12px; }
.no-stream-date { display: inline-block; padding: 6px 18px; background: var(--primary-light); border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--primary); }
.match-no-stream .btn { margin-top: 18px !important; }
.match-details-section { padding: 30px; border-top: 1px solid var(--border); }
.match-other-matches { padding: 30px; border-top: 1px solid var(--border); }

/* Error 404 */
.error-404-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.error-404-content { text-align: center; padding: 40px; }
.error-title { font-size: 140px; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 16px; }
.error-description { font-size: 18px; color: var(--text-secondary); margin-bottom: 28px; }
.error-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Widgets */
.widget {
  background: var(--bg-card); border-radius: 10px;
  padding: 22px; margin-bottom: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.widget-title {
  font-size: 15px; font-weight: 800; margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--primary);
  color: var(--text); letter-spacing: -0.2px;
}
.widget ul { list-style: none; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text); font-size: 14px; transition: all var(--transition); display: block; }
.widget ul li a:hover { color: var(--primary); padding-right: 6px; }

/* Footer */
.site-footer { background: var(--bg-topbar); color: #9898a8; margin-top: 40px; }
.footer-widgets { padding: 50px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-widgets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-widget-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.2px; }
.footer-widget ul { list-style: none; }
.footer-widget ul li { padding: 6px 0; }
.footer-widget ul li a { color: #9898a8; font-size: 14px; transition: all var(--transition); }
.footer-widget ul li a:hover { color: #fff; padding-right: 4px; }
.footer-bottom { padding: 24px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: 14px; color: #666; }
.footer-menu { list-style: none; display: flex; gap: 16px; }
.footer-menu a { color: #9898a8; font-size: 13px; transition: color var(--transition); }
.footer-menu a:hover { color: #fff; }

/* Pagination */
.pagination { margin-top: 32px; text-align: center; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--bg-card); color: var(--text); font-weight: 700;
  margin: 0 3px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: all var(--transition);
}
.pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .page-numbers:hover:not(.current) { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

/* Search Form */
.search-form { display: flex; }
.search-form input[type="search"] {
  flex: 1; padding: 10px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 14px; background: var(--bg-card); color: var(--text);
  transition: border-color var(--transition);
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--primary); }
.search-form button {
  padding: 10px 20px; background: var(--primary); color: #fff;
  border: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer; transition: background var(--transition);
}
.search-form button:hover { background: var(--primary-hover); }

/* Social Links */
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: #fff; font-size: 15px; transition: all var(--transition);
}
.social-link:hover { color: #fff; transform: translateY(-2px); }
.social-facebook { background: #1877f2; }
.social-twitter { background: #000; }
.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-youtube { background: #ff0000; }
.social-telegram { background: #0088cc; }
.social-whatsapp { background: #25d366; }

/* Mobile Header & Menu */
.header-mobile-left, .header-mobile-right { display: none; }

/* Sidebar Toggle */
.sidebar-toggle {
  display: none; background: none; border: none; font-size: 18px;
  color: var(--text); cursor: pointer; padding: 8px;
  border-radius: var(--radius-sm); transition: all var(--transition);
}
.sidebar-toggle:hover { background: var(--primary-light); color: var(--primary); }
.sidebar-header { display: none; }
.sidebar-close { display: none; }
.sidebar-footer { display: none; }

/* Mobile Overlay */
.mobile-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 999;
  opacity: 0; transition: opacity 0.3s ease;
}
.mobile-overlay.active { opacity: 1; }

/* Mobile Menu Header */
.mobile-menu-header { display: none; }
.mobile-menu-footer { display: none; }

/* Front Extra Text */
.front-extra-text {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 30px; margin-top: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.front-extra-content { font-size: 15px; line-height: 1.8; color: var(--text); }
.front-extra-content p { margin-bottom: 14px; }
.front-extra-content p:last-child { margin-bottom: 0; }

@media (max-width: 992px) {
  .footer-widgets-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-mobile-left, .header-mobile-right { display: flex; align-items: center; gap: 4px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; background: none; border: none; font-size: 20px; color: var(--text); cursor: pointer; padding: 8px; border-radius: var(--radius-sm); }
  .menu-toggle:hover { background: var(--primary-light); color: var(--primary); }
  
  .sidebar-toggle { display: flex; align-items: center; justify-content: center; }
  
  .content-wrap { flex-direction: column; }
  .header-top-inner { justify-content: center; }
  
  /* Slide-in mobile menu */
  .main-navigation {
    position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
    background: var(--bg-card); z-index: 1000;
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    display: flex; flex-direction: column; overflow: hidden;
  }
  .main-navigation.open { right: 0; }
  .main-navigation .menu {
    display: flex; flex-direction: column; list-style: none;
    padding: 16px; flex: 1; overflow-y: auto; gap: 2px;
  }
  .main-navigation .menu > li > a {
    padding: 12px 16px; font-size: 15px; border-radius: var(--radius-sm);
  }
  .main-navigation .menu > li.current-menu-item > a::after { display: none; }
  .main-navigation .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding-right: 16px;
    background: var(--primary-light); border-radius: var(--radius-sm);
    margin: 4px 0; overflow: hidden;
  }
  .main-navigation .menu > li.menu-item-has-children > a::after {
    margin-right: auto;
  }
  
  /* Mobile Menu Header */
  .mobile-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 16px 12px; border-bottom: 1px solid var(--border);
  }
  .mobile-menu-title { font-size: 16px; font-weight: 800; color: var(--text); }
  .menu-close {
    background: none; border: none; font-size: 18px; color: var(--text-secondary);
    cursor: pointer; padding: 4px 8px; border-radius: var(--radius-sm);
  }
  .menu-close:hover { background: var(--primary-light); color: var(--primary); }
  
  .mobile-menu-footer {
    display: block; padding: 16px; border-top: 1px solid var(--border);
  }
  .mobile-menu-footer .social-links { justify-content: center; }
  
  /* Mobile overlay active with menu */
  .mobile-overlay.active { display: block; }
  
  /* Slide-in sidebar */
  .widget-area {
    position: fixed; top: 0; left: -300px; width: 300px; height: 100vh;
    background: var(--bg-card); z-index: 1000;
    transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    overflow-y: auto; padding: 0;
  }
  .widget-area.open { left: 0; }
  .sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px; border-bottom: 1px solid var(--border);
    position: sticky; top: 0; background: var(--bg-card); z-index: 1;
  }
  .sidebar-title { font-size: 16px; font-weight: 800; color: var(--text); }
  .sidebar-close {
    display: inline-flex; background: none; border: none;
    font-size: 18px; color: var(--text-secondary); cursor: pointer;
    padding: 4px 8px; border-radius: var(--radius-sm);
  }
  .sidebar-close:hover { background: var(--primary-light); color: var(--primary); }
  .sidebar-footer {
    display: block; padding: 16px; border-top: 1px solid var(--border);
  }
  .sidebar-footer .social-links { justify-content: center; }
  .widget-area .widget { margin: 12px 16px; }
  
  .match-hero-body { flex-direction: column; gap: 16px; }
  .match-team img { width: 56px; height: 56px; }
  .match-team { min-width: 80px; }
  .match-score { font-size: 36px; }
  .match-hero { padding: 20px 16px; }
  .match-hero-center { min-width: 140px; }
  .match-time-big { font-size: 32px; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-widgets-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .entry-header { padding: 20px 16px 0; }
  .entry-content { padding: 16px; }
  .entry-title { font-size: 22px; }
  .match-stream-section { padding: 16px; }
  .match-details-section { padding: 16px; }
  .stream-iframe-wrap { min-height: 220px; }
  .stream-tab { padding: 6px 14px; font-size: 12px; }
  .stream-tabs-header h3 { font-size: 16px; }
  .stream-link-wrap { padding: 30px 16px; }
  .match-no-stream { padding: 40px 16px; }
  .front-extra-text { padding: 20px; }
  [data-theme="dark"] .site-header { background: rgba(20,20,32,0.98); }
}
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .match-hero { padding: 16px 12px; }
  .match-score { font-size: 28px; }
  .match-team { min-width: 70px; }
  .match-team-name { font-size: 15px; }
  .match-team img { width: 40px; height: 40px; }
  .match-time-big { font-size: 26px; }
  .match-hero-meta { gap: 12px; font-size: 12px; }
  .match-stream-section { padding: 12px; }
  .stream-iframe-wrap { min-height: 180px; }
  .stream-tabs-nav { gap: 3px; }
  .section-title { font-size: 17px; }
  .site-name { font-size: 20px; }
  .header-main-inner { gap: 12px; }
}
