/* ==========================================================================
   STREAM2WATCH (stream2watch.sbs) - Studio Arena Dark Theme (Bootstrap 5)
   ========================================================================== */

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

:root {
  --bg-main: #08090e;
  --bg-elevated: #0e1019;
  --bg-card: #121521;
  --bg-card-hover: #191d2e;
  --bg-surface: #1e2336;
  --border-color: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);
  --border-hover: rgba(59, 130, 246, 0.55);
  --primary-accent: #3b82f6;
  --primary-deep: #2563eb;
  --secondary-accent: #f97316;
  --secondary-soft: #fb923c;
  --indigo-accent: #6366f1;
  --primary-glow: rgba(59, 130, 246, 0.35);
  --orange-glow: rgba(249, 115, 22, 0.35);
  --live-red: #ef4444;
  --live-glow: rgba(239, 68, 68, 0.42);
  --popular-gold: #f59e0b;
  --text-main: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted-custom: #94a3b8;
  --font-body: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-primary: #3b82f6;
  --bs-primary-rgb: 59, 130, 246;
  --bs-link-color: #60a5fa;
  --bs-link-hover-color: #93c5fd;
}

body {
  background-color: var(--bg-main);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(37, 99, 235, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 92% -5%, rgba(249, 115, 22, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-logo {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.btn-primary {
  --bs-btn-bg: #2563eb;
  --bs-btn-border-color: #2563eb;
  --bs-btn-hover-bg: #1d4ed8;
  --bs-btn-hover-border-color: #1d4ed8;
  --bs-btn-active-bg: #1e40af;
  --bs-btn-active-border-color: #1e40af;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-outline-primary {
  --bs-btn-color: #60a5fa;
  --bs-btn-border-color: rgba(59, 130, 246, 0.55);
  --bs-btn-hover-bg: #2563eb;
  --bs-btn-hover-border-color: #2563eb;
  --bs-btn-hover-color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #293047;
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3d4869;
}

/* ==========================================================================
   Top Navigation & Studio Header
   ========================================================================== */
.navbar-custom {
  background-color: rgba(8, 9, 14, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  transition: all 0.2s ease;
}

.navbar-accent-line {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #2563eb 0%, #6366f1 45%, #f97316 100%);
}

.brand-logo {
  font-weight: 800;
  font-size: 1.38rem;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-decoration: none;
}

.brand-icon {
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  color: #fff;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  box-shadow: 0 4px 16px var(--primary-glow);
  position: relative;
  flex-shrink: 0;
}

.brand-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f97316;
  border: 2px solid var(--bg-main);
}

.brand-wordmark-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 0.85em;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 6px;
  margin: 0 2px;
  box-shadow: 0 2px 10px var(--orange-glow);
}

.brand-wordmark-watch {
  color: #60a5fa;
}

.nav-link-custom {
  color: #94a3b8 !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 7px 14px !important;
  border-radius: 10px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.nav-link-custom:hover {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.06);
}

.nav-link-custom.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(99, 102, 241, 0.16));
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.btn-refresh-nav {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 99px;
  transition: all 0.2s ease;
}

.btn-refresh-nav:hover {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(96, 165, 250, 0.5);
  color: #fff;
}

/* Live Pulse Badge */
.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 99px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-ring 1.6s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.75);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 7px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* ==========================================================================
   Compact Studio Welcome Ribbon (Homepage)
   ========================================================================== */
.studio-welcome-strip {
  background: linear-gradient(125deg, rgba(37, 99, 235, 0.14) 0%, rgba(18, 21, 33, 0.92) 55%, rgba(249, 115, 22, 0.1) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.studio-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  font-size: 0.76rem;
  font-weight: 500;
  color: #cbd5e1;
}

.studio-badge-pill i {
  color: #fb923c;
}

/* ==========================================================================
   Sports Category Dock
   ========================================================================== */
.sports-pills-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 2px 14px;
  white-space: nowrap;
  scrollbar-width: thin;
}

.sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sport-pill i {
  color: #60a5fa;
  font-size: 0.92rem;
}

.sport-pill:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(96, 165, 250, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

.sport-pill.active {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-color: rgba(147, 197, 253, 0.4);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px var(--primary-glow);
}

.sport-pill.active i {
  color: #fde68a;
}

/* ==========================================================================
   Filter & Search Toolbar
   ========================================================================== */
.filter-container {
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.95), rgba(14, 17, 28, 0.95));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.filter-segmented-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(8, 9, 14, 0.6);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.filter-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.83rem;
  padding: 7px 14px;
  border-radius: 9px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.filter-tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(79, 70, 229, 0.9));
  border-color: rgba(147, 197, 253, 0.35);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

.matches-count-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 99px;
  white-space: nowrap;
}

.matches-count-chip strong {
  color: #fb923c;
}

.search-input-group {
  background: rgba(8, 9, 14, 0.75);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.search-input-group:focus-within {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.search-input-custom {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.88rem;
  width: 100%;
}

.search-input-custom::placeholder {
  color: #64748b;
}

/* ==========================================================================
   Hero Featured Match Card
   ========================================================================== */
.hero-featured-card {
  background: linear-gradient(135deg, #121b33 0%, #0d101c 65%, #1d1414 100%);
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.hero-featured-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -15%;
  width: 130%;
  height: 180%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, transparent 58%);
  pointer-events: none;
}

.hero-team-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.hero-vs-badge {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #f8fafc;
}

/* ==========================================================================
   Match Cards Grid (Arena Broadcast Style)
   ========================================================================== */
#matchesGrid,
#concurrentLiveGrid {
  --bs-gutter-x: 0.9rem;
}

.match-grid-col {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 576px) {
  .match-grid-col { width: 50%; }
}
@media (min-width: 768px) {
  .match-grid-col { width: 33.333333%; }
}
@media (min-width: 992px) {
  .match-grid-col { width: 25%; }
}
@media (min-width: 1200px) {
  .match-grid-col { width: 20%; }
}
@media (min-width: 1600px) {
  .match-grid-col { width: 16.666667%; }
}

.match-card {
  background: linear-gradient(180deg, #151929 0%, #10131f 100%);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.match-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 2;
}

.match-card.is-live-card {
  border-color: rgba(239, 68, 68, 0.38);
}

.match-card.is-live-card::before {
  background: linear-gradient(90deg, #ef4444, #f97316);
  opacity: 1;
}

.match-card:hover {
  background: linear-gradient(180deg, #1a2035 0%, #131726 100%);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.match-card:hover::before {
  opacity: 1;
}

.match-poster-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  max-height: 118px;
  background-color: #090b12;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.match-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.match-card:hover .match-poster-img {
  transform: scale(1.05);
}

.match-poster-overlay {
  position: absolute;
  top: 7px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
}

.match-poster-overlay .badge {
  font-size: 0.64rem;
  padding: 3px 7px;
  backdrop-filter: blur(6px);
}

.match-card-header {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: rgba(255, 255, 255, 0.015);
}

.match-card-header .live-pulse-badge {
  font-size: 0.63rem;
  padding: 2px 8px;
  gap: 4px;
}

.match-card-header .pulse-dot {
  width: 6px;
  height: 6px;
}

.match-category-tag {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 64%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-card-body {
  padding: 11px 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.match-teams-container {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-badge-wrapper {
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-badge-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.team-badge-fallback {
  font-size: 0.64rem;
  font-weight: 700;
  color: #cbd5e1;
}

.team-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.match-single-title {
  font-weight: 600;
  font-size: 0.87rem;
  color: #f8fafc;
  line-height: 1.38;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.match-date-meta {
  font-size: 0.72rem;
  margin-top: 8px;
  color: var(--text-muted-custom);
}

.match-card-footer {
  padding: 8px 12px;
  background: rgba(8, 9, 14, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.match-sources-info {
  font-size: 0.72rem;
  color: var(--text-muted-custom);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.match-sources-info i {
  color: #60a5fa;
}

.btn-watch-stream {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.73rem;
  padding: 5px 11px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-watch-stream:hover {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-watch-stream.btn-live {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.btn-watch-stream.btn-live:hover {
  background: linear-gradient(135deg, #f87171, #fb923c);
  color: #fff;
  box-shadow: 0 4px 14px var(--orange-glow);
}

/* ==========================================================================
   SEO Editorial Cards & FAQ Section
   ========================================================================== */
.editorial-shell {
  background: linear-gradient(160deg, #131726 0%, #0d101b 100%);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.editorial-feature-tile {
  background: rgba(8, 9, 14, 0.55);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.editorial-feature-tile:hover {
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-2px);
}

.feature-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.faq-card-accordion .accordion-item {
  background: rgba(8, 9, 14, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-card-accordion .accordion-button {
  background: transparent;
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 18px;
  box-shadow: none !important;
}

.faq-card-accordion .accordion-button:not(.collapsed) {
  background: rgba(37, 99, 235, 0.1);
  color: #93c5fd;
}

.faq-card-accordion .accordion-body {
  color: var(--text-muted-custom);
  font-size: 0.88rem;
  line-height: 1.65;
  padding: 0 18px 16px;
}

/* ==========================================================================
   Stream Player Modal & Embed Frame
   ========================================================================== */
.modal-custom .modal-content {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.78);
  color: var(--text-main);
  overflow: hidden;
}

.modal-custom .modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.02);
}

.player-aspect-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #030407;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.player-aspect-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 6px;
}

.source-btn-group,
.stream-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-chip {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: #cbd5e1;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.source-chip:hover {
  background-color: #28304a;
  color: #fff;
}

.source-chip.active {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-color: #60a5fa;
  color: #fff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.stream-chip {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stream-chip:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.stream-chip.active {
  background: linear-gradient(135deg, #ea580c, #f97316);
  border-color: #fb923c;
  color: #fff;
  font-weight: 600;
}

.quality-badge-hd {
  background: rgba(59, 130, 246, 0.22);
  color: #93c5fd;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid rgba(96, 165, 250, 0.4);
}

.quality-badge-sd {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  font-size: 0.67rem;
  padding: 2px 6px;
  border-radius: 5px;
}

/* ==========================================================================
   Watch Room Layout (watch.html)
   ========================================================================== */
.watch-room-container {
  padding: 22px 0 50px;
}

.watch-player-card,
.watch-sidebar-card {
  background: linear-gradient(180deg, #141827 0%, #10131f 100%);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 20px;
}

.watch-sidebar-card {
  height: 100%;
}

.sidebar-match-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 8px;
}

.sidebar-match-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(96, 165, 250, 0.3);
  color: #fff;
}

/* ==========================================================================
   Event Lobby Page (event.html)
   ========================================================================== */
.event-hero-card {
  background: linear-gradient(135deg, #131c35 0%, #0e111d 60%, #1e161b 100%);
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.event-team-badge-lg {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  overflow: hidden;
}

.event-team-badge-lg img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.event-info-panel {
  background: linear-gradient(180deg, #141827 0%, #10131f 100%);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px;
}

.stream-source-block {
  background-color: rgba(8, 9, 14, 0.45);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}

.stream-source-block:hover {
  border-color: rgba(96, 165, 250, 0.4);
}

.stream-link-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 11px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #f8fafc;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.stream-link-card:hover {
  background: #252c44;
  border-color: #3b82f6;
  color: #fff;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin-bottom: 16px;
}

.breadcrumb-custom .breadcrumb-item a {
  color: var(--text-muted-custom);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-custom .breadcrumb-item a:hover {
  color: #fff;
}

.breadcrumb-custom .breadcrumb-item.active {
  color: #fff;
}

/* ==========================================================================
   Skeletons & Empty States
   ========================================================================== */
.skeleton {
  background: linear-gradient(90deg, #131726 25%, #1e2438 50%, #131726 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 14px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  height: 165px;
  border-radius: 15px;
}

.empty-state {
  text-align: center;
  padding: 52px 20px;
  color: #64748b;
  background: rgba(18, 21, 33, 0.6);
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
}

.empty-state i {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: inline-block;
  color: #475569;
}

/* ==========================================================================
   Studio Footer
   ========================================================================== */
.footer-custom {
  background: linear-gradient(180deg, #090b12 0%, #05060a 100%);
  border-top: 1px solid var(--border-color);
  padding: 42px 0 28px;
  margin-top: auto;
  color: #64748b;
  font-size: 0.87rem;
  position: relative;
}

.footer-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.6) 35%, rgba(249, 115, 22, 0.5) 65%, transparent 100%);
}

.footer-custom a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-custom a:hover {
  color: #60a5fa;
}

/* Category Highlight Banners */
.category-banner-card {
  border-radius: 18px;
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
}
