/* ================================================================
   FifaLive — Main Stylesheet
   Dark/Light mode, glassmorphism, modern sports UI
   ================================================================ */

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

:root {
  --primary: #6366f1;
  --primary-glow: rgba(99,102,241,.35);
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --live: #ef4444;
  --live-glow: rgba(239,68,68,.4);
  --success: #22c55e;
  --warning: #f59e0b;

  /* Dark mode defaults */
  --bg-base:     #090912;
  --bg-surface:  #111120;
  --bg-card:     #161628;
  --bg-elevated: #1e1e35;
  --border:      rgba(255,255,255,.08);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:  #475569;

  --header-h: 56px;
  --cat-bar-h: 44px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.5);
  --transition: .2s cubic-bezier(.4,0,.2,1);
}

/* ── Light mode ── */
body.light-mode {
  --bg-base:     #f0f2f8;
  --bg-surface:  #ffffff;
  --bg-card:     #ffffff;
  --bg-elevated: #f8fafc;
  --border:      rgba(0,0,0,.08);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted:  #94a3b8;
  --shadow: 0 4px 24px rgba(0,0,0,.1);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  transition: background var(--transition), color var(--transition);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════ */
.site-header {
  background: rgba(9,9,18,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1030;
  transition: transform .35s ease, opacity .35s ease;
  will-change: transform, opacity;
}
body.light-mode .site-header {
  background: rgba(255,255,255,.92);
}
/* Landscape mode helper */
@media (orientation: landscape) and (max-width: 900px) {
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
  }
}

.navbar { padding: 0; height: var(--header-h); }

/* Brand */
.navbar-brand { display:flex; align-items:center; gap:.5rem; font-weight:800; font-size:1.3rem; }
.brand-icon { color: var(--primary); font-size:1.4rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.6} }
.brand-text { color: var(--text-primary); }
.brand-accent { color: var(--primary); }

/* Live pill */
.live-pill {
  display:inline-flex; align-items:center; gap:6px;
  background: rgba(239,68,68,.12); color: var(--live);
  border: 1px solid rgba(239,68,68,.3); border-radius:20px;
  padding: 3px 10px; font-size:.75rem; font-weight:700;
  white-space:nowrap;
}
.live-dot {
  width:7px; height:7px; border-radius:50%; background:var(--live);
  animation: blink 1.2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

/* Search */
.search-wrap { position:relative; }
.search-icon { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--text-muted); font-size:.9rem; }
.search-input {
  background: var(--bg-elevated); border:1px solid var(--border); color: var(--text-primary);
  border-radius: 24px; padding: 6px 16px 6px 36px; font-size:.875rem; width:220px;
  transition: all var(--transition); outline:none;
}
.search-input:focus { width:280px; border-color:var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.search-input::placeholder { color: var(--text-muted); }

/* Buttons */
.btn-icon {
  background:none; border: 1px solid var(--border); color:var(--text-secondary);
  border-radius:8px; width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition: all var(--transition);
}
.btn-icon:hover { border-color:var(--primary); color:var(--primary); background: rgba(99,102,241,.1); }

.btn-outline-glass {
  background:none; border:1px solid var(--border); color:var(--text-primary);
  border-radius:8px; padding:6px 16px; font-size:.875rem; font-weight:500;
  cursor:pointer; transition: all var(--transition); display:inline-flex; align-items:center;
}
.btn-outline-glass:hover { border-color:var(--primary); color:var(--primary); }

.btn-primary-glass {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border:none; color:#fff; border-radius:8px; padding:7px 18px;
  font-size:.875rem; font-weight:600; cursor:pointer; transition: all var(--transition);
  display:inline-flex; align-items:center;
}
.btn-primary-glass:hover { transform:translateY(-1px); box-shadow: 0 4px 16px var(--primary-glow); color:#fff; }

.btn-user {
  display:flex; align-items:center; gap:.5rem; background: var(--bg-elevated);
  border:1px solid var(--border); color:var(--text-primary); border-radius:8px;
  padding:6px 12px; font-size:.875rem; cursor:pointer; transition: all var(--transition);
}
.btn-user:hover { border-color:var(--primary); }

/* Category bar */
.category-bar {
  background: var(--bg-surface); border-bottom:1px solid var(--border); height: var(--cat-bar-h);
}
.category-scroll {
  display:flex; align-items:center; gap:.25rem; overflow-x:auto; height:100%;
  scrollbar-width:none; -ms-overflow-style:none; padding: 0 2px;
}
.category-scroll::-webkit-scrollbar { display:none; }
.category-tab {
  white-space:nowrap; padding:6px 14px; border-radius:20px; font-size:.8rem; font-weight:600;
  color:var(--text-secondary); border:1px solid transparent; transition: all var(--transition);
}
.category-tab:hover { background: var(--bg-elevated); color: var(--text-primary); }
.category-tab.active {
  background: var(--bg-elevated); color: var(--primary);
  border-color: var(--border); box-shadow: 0 0 0 2px var(--primary-glow) inset;
}

/* Glass dropdown */
.glass-dropdown {
  background: rgba(17,17,32,.95) !important; backdrop-filter:blur(20px);
  border: 1px solid var(--border) !important; border-radius: var(--radius) !important;
  min-width:180px;
}
.glass-dropdown .dropdown-item { color:var(--text-primary) !important; border-radius: 6px; margin:2px 4px; }
.glass-dropdown .dropdown-item:hover { background: rgba(99,102,241,.15) !important; color:var(--primary) !important; }
.glass-dropdown .dropdown-divider { border-color: var(--border) !important; }

/* ════════════════════════════════════════════════════════════════
   HERO / LIVE BANNER
   ════════════════════════════════════════════════════════════════ */
.live-hero {
  position:relative; overflow:hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  min-height: 220px; padding: 2rem; display:flex; align-items:center;
}
.live-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 70% 50%, rgba(99,102,241,.2) 0%, transparent 70%);
}
.live-hero-badge {
  display:inline-flex; align-items:center; gap:6px; background:var(--live);
  color:#fff; border-radius:4px; padding:3px 10px; font-size:.75rem; font-weight:700;
  margin-bottom:.75rem; text-transform:uppercase;
}

/* ════════════════════════════════════════════════════════════════
   MATCH CARDS
   ════════════════════════════════════════════════════════════════ */
.match-card {
  background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius);
  overflow:hidden; transition: transform var(--transition), box-shadow var(--transition);
  cursor:pointer; position:relative;
}
.match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 0 1px var(--primary);
}
.match-card.live-card { border-color: rgba(239,68,68,.4); }
.match-card.live-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, var(--live), transparent);
}

.match-poster {
  width:100%; aspect-ratio:16/9; object-fit:cover;
  background: var(--bg-elevated);
}
.match-poster-placeholder {
  width:100%; aspect-ratio:16/9; background: var(--bg-elevated);
  display:flex; align-items:center; justify-content:center;
}

.match-card-body { padding:1rem; }
.match-teams { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-bottom:.75rem; }
.team-block { display:flex; flex-direction:column; align-items:center; gap:.4rem; flex:1; min-width:0; }
.team-logo { width:40px; height:40px; object-fit:contain; border-radius:50%; background: var(--bg-elevated); padding:2px; }
.team-logo-placeholder { width:40px; height:40px; border-radius:50%; background: var(--bg-elevated); display:flex; align-items:center; justify-content:center; font-size:1.2rem; }
.team-name { font-size:.75rem; font-weight:600; text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:80px; }
.vs-badge { font-size:.7rem; font-weight:800; color:var(--text-muted); padding: 4px 8px; background: var(--bg-elevated); border-radius:6px; }

.match-meta { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; }
.badge-live-sm {
  display:inline-flex; align-items:center; gap:4px; background: rgba(239,68,68,.15);
  color:var(--live); border:1px solid rgba(239,68,68,.3); border-radius:20px;
  padding:2px 8px; font-size:.7rem; font-weight:700;
}
.badge-live-sm::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--live); animation:blink 1.2s infinite; }
.badge-upcoming { background: rgba(99,102,241,.12); color:var(--primary); border:1px solid rgba(99,102,241,.25); border-radius:20px; padding:2px 8px; font-size:.7rem; font-weight:600; }
.badge-completed { background: rgba(148,163,184,.1); color:var(--text-muted); border-radius:20px; padding:2px 8px; font-size:.7rem; }

.match-time { font-size:.75rem; color:var(--text-muted); }
.match-league { font-size:.75rem; color:var(--text-secondary); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* Countdown */
.countdown-timer { font-size:.8rem; font-weight:600; color:var(--primary); }
.countdown-timer .count-seg { background:var(--bg-elevated); border-radius:4px; padding:2px 5px; }

/* ════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ════════════════════════════════════════════════════════════════ */
.section-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.25rem; }
.section-title { font-size:1.1rem; font-weight:700; display:flex; align-items:center; gap:.5rem; }
.section-title .title-icon { color:var(--primary); }
.section-see-all { font-size:.8rem; color:var(--primary); font-weight:600; }
.section-see-all:hover { text-decoration:underline; }

/* ════════════════════════════════════════════════════════════════
   VIDEO PLAYER - PREMIUM UPGRADE
   ════════════════════════════════════════════════════════════════ */
.player-wrapper {
  position:relative; 
  background:#050505; 
  border-radius: 16px; 
  overflow:hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}
.player-wrapper video { width:100%; display:block; object-fit: cover; }

/* Glassmorphism Loading */
.player-loading {
  position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; 
  background:rgba(5, 5, 10, 0.65);
  backdrop-filter: blur(8px);
  z-index:10;
}
.player-spinner { width:50px; height:50px; border:3px solid rgba(255,255,255,.1);
  border-top-color:var(--primary); border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }

.player-error {
  position:absolute; inset:0; display:none; flex-direction:column;
  align-items:center; justify-content:center; background:rgba(0,0,0,.9);
  z-index:10; text-align:center; padding:2rem;
}
.player-error.show { display:flex; animation: fadeIn 0.4s ease; }

/* ════════════════════════════════════════════════════════════════
   CUSTOM PLAYER CONTROLS
   ════════════════════════════════════════════════════════════════ */
.custom-player-container {
  position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden;
}

/* Mobile: sharp square corners for player */
@media (max-width: 767.98px) {
  .player-wrapper {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }
  #match-player-wrap,
  .custom-player-container {
    border-radius: 0 !important;
  }
}

.custom-player-container video {
  width: 100%; height: 100%; object-fit: contain; cursor: pointer; transition: filter 0.3s;
}

.custom-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, transparent 100%);
  padding: 30px 20px 15px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(10px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50; pointer-events: none;
}
.custom-player-container:hover .custom-controls,
.custom-player-container.show-controls .custom-controls {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}

.controls-top { display: flex; justify-content: flex-end; padding-bottom: 5px; }
.controls-bottom { display: flex; flex-direction: column; gap: 8px; }
.controls-actions { display: flex; align-items: center; gap: 15px; }
.spacer { flex-grow: 1; }

.control-btn {
  background: transparent; border: none; color: #fff; font-size: 1.4rem;
  cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, color 0.2s;
}
.control-btn:hover { color: var(--primary); transform: scale(1.1); }

/* Sliders */
.slider-container { display: flex; align-items: center; gap: 10px; color: #fff; }
.slider-container i { font-size: 1.2rem; }
.slider-container input[type=range] {
  -webkit-appearance: none; width: 80px; height: 5px; background: rgba(255,255,255,0.2);
  border-radius: 5px; outline: none; cursor: pointer; overflow: hidden;
}
.slider-container input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary); box-shadow: -100vw 0 0 100vw var(--primary);
}

.timeline-container { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: #ccc; }
.timeline-container input[type=range] {
  flex-grow: 1; -webkit-appearance: none; height: 6px; background: rgba(255,255,255,0.2);
  border-radius: 6px; outline: none; cursor: pointer; overflow: hidden;
}
.timeline-container input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 0; height: 0; box-shadow: -100vw 0 0 100vw var(--primary);
}

/* Stream selector */
.stream-tabs { display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.75rem; }
.stream-tab {
  display:inline-flex; align-items:center; gap:.4rem; background:var(--bg-elevated);
  border:1px solid var(--border); color:var(--text-secondary); border-radius:8px;
  padding:6px 14px; font-size:.8rem; font-weight:600; cursor:pointer; transition:all var(--transition);
}
.stream-tab:hover { border-color:var(--primary); color:var(--primary); }
.stream-tab.active { background: linear-gradient(135deg,var(--primary),var(--secondary)); color:#fff; border-color:transparent; }
.stream-tab .health-dot { width:6px; height:6px; border-radius:50%; }
.stream-tab .health-dot.healthy  { background:var(--success); }
.stream-tab .health-dot.down     { background:var(--live); }
.stream-tab .health-dot.unknown  { background:var(--text-muted); }

/* Match info panel */
.match-info-card {
  background: var(--bg-card); border:1px solid var(--border); border-radius: var(--radius); padding:1.5rem;
}
.match-title { font-size:1.25rem; font-weight:700; margin-bottom:.25rem; }
.team-vs-display { display:flex; align-items:center; justify-content:center; gap:1.5rem; padding:1.5rem 0; }
.team-vs-item { display:flex; flex-direction:column; align-items:center; gap:.75rem; }
.team-logo-lg { width:70px; height:70px; object-fit:contain; }
.team-name-lg { font-size:1rem; font-weight:700; text-align:center; }
.vs-circle { width:48px; height:48px; border-radius:50%; background:var(--bg-elevated);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.1rem; }

/* Action buttons */
.action-btn {
  display:inline-flex; align-items:center; gap:.4rem; background:var(--bg-elevated);
  border:1px solid var(--border); color:var(--text-primary); border-radius: var(--radius-sm);
  padding:8px 16px; font-size:.85rem; font-weight:600; cursor:pointer; transition:all var(--transition);
}
.action-btn:hover { border-color:var(--primary); color:var(--primary); }
.action-btn.favorited { background:rgba(239,68,68,.12); border-color:rgba(239,68,68,.4); color:var(--live); }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-surface); border-top:1px solid var(--border);
  background: #13131f; border-top: 1px solid #1e1e2e;
  padding: 3rem 0; margin-top: 3rem;
}
.footer-brand { font-size:1.4rem; font-weight:800; margin-bottom:.75rem; }
.footer-brand span { color:var(--primary); }
.footer-brand i { color:var(--primary); margin-right:.25rem; }
.footer-desc { color:var(--text-muted); font-size:.875rem; }
.footer-heading { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: .2s; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-divider { border-color: #1e1e2e; margin: 2rem 0; }

@media (max-width: 767px) {
  body#page-body {
    padding-bottom: 70px !important;
  }
  .site-footer {
    padding-bottom: 80px;
  }
}
.social-icon { width:36px; height:36px; border-radius:8px; background:var(--bg-elevated);
  border:1px solid var(--border); display:flex; align-items:center; justify-content:center;
  color:var(--text-secondary); transition:all var(--transition); }
.social-icon:hover { background:var(--primary); border-color:var(--primary); color:#fff; }

/* ════════════════════════════════════════════════════════════════
   UTILITIES
   ════════════════════════════════════════════════════════════════ */
.glass-modal .modal-content {
  background: rgba(17,17,32,.96); backdrop-filter:blur(20px);
  border:1px solid var(--border); border-radius: var(--radius);
}
.category-pill-sm {
  background:var(--bg-elevated); border:1px solid var(--border);
  border-radius:20px; padding:4px 12px; font-size:.78rem; font-weight:500; color:var(--text-secondary);
}
.category-pill-sm:hover { border-color:var(--primary); color:var(--primary); }

/* Viewer count */
.viewer-count {
  display:inline-flex; align-items:center; gap:5px; font-size:.8rem;
  color:var(--text-muted); font-weight:500;
}
.viewer-count i { color:var(--live); }

/* ════════════════════════════════════════════════════════════════
   ADMIN OVERRIDE EXTRAS (shared)
   ════════════════════════════════════════════════════════════════ */
.btn-primary-sm {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color:#fff; border:none; border-radius: var(--radius-sm);
  padding:6px 16px; font-size:.85rem; font-weight:600; cursor:pointer; transition:all var(--transition);
}
.btn-primary-sm:hover { opacity:.9; transform:translateY(-1px); color:#fff; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width:767px) {
  .match-card:hover { transform:none; }
  .team-vs-display { gap:.75rem; }
  .team-logo-lg { width:50px; height:50px; }
  .vs-circle { width:36px; height:36px; font-size:.9rem; }
}

/* ════════════════════════════════════════════════════════════════
   VIDEO.JS FIFALIVE DARK SKIN
   ════════════════════════════════════════════════════════════════ */

/* Base player */
.video-js.vjs-fifalive-skin {
  font-family: var(--font), sans-serif;
  background: #000;
  border-radius: 0;
}

/* Big play button - centered circle */
.vjs-fifalive-skin .vjs-big-play-button {
  background: rgba(99,102,241,0.9) !important;
  border: 3px solid rgba(255,255,255,0.2) !important;
  border-radius: 50% !important;
  width: 72px !important;
  height: 72px !important;
  line-height: 68px !important;
  font-size: 2rem !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%,-50%) !important;
  margin: 0 !important;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease !important;
}
.vjs-fifalive-skin:hover .vjs-big-play-button,
.vjs-fifalive-skin .vjs-big-play-button:hover {
  background: rgba(139,92,246,0.95) !important;
  transform: translate(-50%,-50%) scale(1.1) !important;
}

/* Control bar */
.vjs-fifalive-skin .vjs-control-bar {
  background: linear-gradient(transparent, rgba(0,0,0,0.92)) !important;
  height: 44px !important;
  padding: 0 8px !important;
  align-items: center !important;
}

/* Progress bar */
.vjs-fifalive-skin .vjs-progress-control { height: 100%; align-items: center; }
.vjs-fifalive-skin .vjs-progress-holder { height: 4px !important; background: rgba(255,255,255,0.2) !important; }
.vjs-fifalive-skin .vjs-play-progress { background: var(--primary, #6366f1) !important; }
.vjs-fifalive-skin .vjs-play-progress:before { font-size: 12px !important; top: -4px !important; color: var(--primary, #6366f1) !important; }
.vjs-fifalive-skin .vjs-load-progress { background: rgba(255,255,255,0.15) !important; }
.vjs-fifalive-skin .vjs-progress-control:hover .vjs-progress-holder { height: 7px !important; }

/* Buttons */
.vjs-fifalive-skin .vjs-button > .vjs-icon-placeholder:before { font-size: 1.4rem !important; }
.vjs-fifalive-skin .vjs-control { color: #fff !important; }

/* Volume */
.vjs-fifalive-skin .vjs-volume-bar { height: 4px !important; background: rgba(255,255,255,0.2) !important; }
.vjs-fifalive-skin .vjs-volume-level { background: var(--primary, #6366f1) !important; }

/* Time display */
.vjs-fifalive-skin .vjs-current-time,
.vjs-fifalive-skin .vjs-time-divider,
.vjs-fifalive-skin .vjs-duration { color: rgba(255,255,255,0.8) !important; font-size: 0.75rem !important; }

/* Live button */
.vjs-fifalive-skin .vjs-live-control { color: #ef4444 !important; font-weight: 700 !important; font-size: 0.8rem !important; }
.vjs-fifalive-skin .vjs-seek-to-live-control { color: #ef4444 !important; }

/* Quality / settings menu */
.vjs-fifalive-skin .vjs-menu-button-popup .vjs-menu {
  background: rgba(15,15,30,0.95) !important;
  border: 1px solid rgba(99,102,241,0.3) !important;
  border-radius: 8px !important;
  backdrop-filter: blur(10px);
}
.vjs-fifalive-skin .vjs-menu li { color: rgba(255,255,255,0.8) !important; font-size: 0.85rem !important; }
.vjs-fifalive-skin .vjs-menu li.vjs-selected,
.vjs-fifalive-skin .vjs-menu li:hover { background: var(--primary, #6366f1) !important; color: #fff !important; }

/* Fullscreen - remove padding */
.vjs-fullscreen.vjs-fifalive-skin { border-radius: 0 !important; }

/* Loading spinner */
.vjs-fifalive-skin .vjs-loading-spinner {
  border-color: var(--primary, #6366f1) !important;
}
.vjs-fifalive-skin .vjs-loading-spinner::before,
.vjs-fifalive-skin .vjs-loading-spinner::after {
  border-color: var(--primary, #6366f1) transparent transparent !important;
}

/* Pseudo Fullscreen for Mobile Landscape Rotation */
body.pseudo-fullscreen {
    overflow: hidden !important;
    background: #000 !important;
}
body.pseudo-fullscreen .site-header,
body.pseudo-fullscreen .category-bar,
body.pseudo-fullscreen .mobile-bottom-nav,
body.pseudo-fullscreen footer,
body.pseudo-fullscreen .match-info-card,
body.pseudo-fullscreen .stream-tab,
body.pseudo-fullscreen .col-lg-4,
body.pseudo-fullscreen #offline-indicator,
body.pseudo-fullscreen .container-fluid > *:not(#watch-page) {
    display: none !important;
}
body.pseudo-fullscreen #watch-page {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100vw !important;
}
body.pseudo-fullscreen .row {
    margin: 0 !important;
}
body.pseudo-fullscreen .col-lg-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
body.pseudo-fullscreen #player-outer {
    margin: 0 !important;
}
body.pseudo-fullscreen #match-player-wrap,
body.pseudo-fullscreen .custom-player-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    z-index: 999999 !important;
    border-radius: 0 !important;
    background: #000 !important;
    aspect-ratio: unset !important;
}
body.pseudo-fullscreen #match-player {
    width: 100vw !important;
    height: 100dvh !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
}

/* CSS-level fallback for landscape on mobile (backup for JS) */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .site-header,
    .category-bar,
    .mobile-bottom-nav,
    footer {
        display: none !important;
    }
    #match-player-wrap {
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        z-index: 999999 !important;
        border-radius: 0 !important;
        background: #000 !important;
        aspect-ratio: unset !important;
    }
    #match-player {
        width: 100vw !important;
        height: 100dvh !important;
    }
}


