/* ==========================================================================
   METHSTREAMS - THEME & LAYOUT STYLES
   Exact recreation of the Game Stream layout with MethStreams branding
   ========================================================================== */

:root {
  /* Dark Slate Background Palette */
  --bg-body: #1a1d26;
  --bg-header: #14171f;
  --bg-header-border: rgba(255, 255, 255, 0.08);

  /* Card Surfaces */
  --card-bg: #ffffff;
  --card-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.35);
  --card-radius: 14px;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-header-link: #cbd5e1;
  --text-white: #ffffff;

  /* Accent Colors */
  --brand-red: #dc2626;
  --brand-crimson: #b91c1c;
  --brand-neon: #ff334b;
  --status-live: #dc2626;
  --status-upcoming: #ea580c;
  --status-finished: #64748b;

  /* Fonts */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-body);
  color: var(--text-white);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   TOP NAVIGATION BAR
   ========================================================================== */

.site-navbar {
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--bg-header-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.navbar-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  user-select: none;
  white-space: nowrap;
}

.brand-crack {
  color: #ffffff;
}

.brand-stream-wrap {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
}

/* Red Glowing Power Button */
.power-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0 1px;
  vertical-align: middle;
  position: relative;
}

.power-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--brand-neon);
  filter: drop-shadow(0 0 6px rgba(255, 51, 75, 0.8));
}

/* Sports Navigation Links */
.sports-nav-wrap {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sports-nav-wrap::-webkit-scrollbar {
  display: none;
}

.sports-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nav-link-btn {
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-header-link);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link-btn.active {
  color: #ffffff;
  background: var(--brand-crimson);
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.45);
}

/* Mobile Menu Toggle Button (hidden on desktop) */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  user-select: none;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.mobile-menu-toggle.active {
  background: var(--brand-crimson);
  border-color: var(--brand-crimson);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.hamburger-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 14px;
  height: 10px;
}

.hamburger-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.mobile-menu-toggle.active .hamburger-bars span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-bars span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-bars span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  display: block;
  visibility: hidden;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-drawer.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-height: 80vh;
  overflow-y: auto;
  background: #12151e;
  border-bottom: 2px solid rgba(220, 38, 38, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  padding: 16px 18px 28px;
  transform: translateY(-10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open .mobile-drawer-content {
  transform: translateY(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.4px;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  font-size: 1.3rem;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  color: #ffffff;
  background: rgba(220, 38, 38, 0.3);
}

.mobile-sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.mobile-sport-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
}

.mobile-sport-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.mobile-sport-chip.active {
  background: var(--brand-crimson);
  color: #ffffff;
  border-color: var(--brand-crimson);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.mobile-sport-chip .chip-icon {
  font-size: 1.1rem;
}

.mobile-sport-chip .chip-label {
  letter-spacing: 0.4px;
}

/* ==========================================================================
   MAIN CONTAINER & HERO CARD
   ========================================================================== */

.main-content-wrapper {
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px 24px 80px;
}

/* White Hero Community Hub Card */
.hero-hub-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.hero-hub-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-crimson);
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 90%;
}

.hero-description {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 95%;
}

/* ==========================================================================
   TWO-COLUMN CONTENT GRID
   ========================================================================== */

.content-columns-grid {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 32px;
  align-items: start;
}

/* Section Header Bar */
.column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.column-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-count-badge {
  color: #94a3b8;
  font-weight: 600;
  font-size: 1.15rem;
}

/* Filter Tools (Search & Date Pills) */
.filter-tools-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: #94a3b8;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background-color: #242936;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px 10px 38px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: var(--brand-neon);
}

.date-select {
  background-color: #242936;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
}

/* ==========================================================================
   MATCH CARDS (LEFT COLUMN)
   ========================================================================== */

.matches-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Sports Category Grouping */
.sport-category-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.sport-category-group:last-child {
  margin-bottom: 0;
}

.sport-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(90deg, #242836 0%, #1c1f2a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--brand-red);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.group-nfl-top .sport-category-header {
  border-left-color: var(--brand-neon);
  background: linear-gradient(90deg, #2e1c24 0%, #1e1b26 100%);
  box-shadow: 0 3px 14px rgba(255, 51, 75, 0.18);
}

.sport-category-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sport-category-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.sport-category-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.top-sport-pill {
  font-family: var(--font-primary);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.2);
  color: #ff334b;
  border: 1px solid rgba(255, 51, 75, 0.4);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sport-category-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
}

.sport-category-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Loading & Empty State */
.loading-state, .empty-state {
  background-color: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(220, 38, 38, 0.2);
  border-top-color: var(--brand-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Single Match Card */
.match-card {
  background-color: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(220, 38, 38, 0.3);
}

/* Sport Avatar / Icon Container */
.match-sport-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.match-sport-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Match Meta Info */
.match-details {
  flex: 1;
  min-width: 0;
}

.match-title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-time {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.match-league-tag {
  color: #64748b;
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: capitalize;
}

/* Status Badges */
.match-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 6px;
  color: #ffffff;
}

.status-badge.live {
  background-color: var(--status-live);
}

.status-badge.upcoming {
  background-color: var(--status-upcoming);
}

.status-badge.finished {
  background-color: var(--status-finished);
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse-dot 1.2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.live-now-text {
  color: var(--status-live);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ==========================================================================
   SPORTS HEADLINES (RIGHT COLUMN)
   ========================================================================== */

.headlines-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.headline-card {
  background-color: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.headline-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.headline-thumb {
  width: 86px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #e2e8f0;
}

.headline-body {
  flex: 1;
  min-width: 0;
}

.headline-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.headline-category {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: capitalize;
}

/* ==========================================================================
   FLOATING SOCIAL SHARE BAR (RIGHT EDGE)
   ========================================================================== */

.floating-social-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 99;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.social-share-count {
  background-color: #242936;
  color: #cbd5e1;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 4px;
  width: 44px;
  text-align: center;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}

.social-share-btn {
  width: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.social-share-btn:hover {
  opacity: 0.88;
  transform: scale(1.05);
}

.social-share-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.btn-facebook { background-color: #1877f2; }
.btn-reddit { background-color: #ff4500; }
.btn-pinterest { background-color: #e60023; }
.btn-whatsapp { background-color: #25d366; }
.btn-telegram { background-color: #229ed9; }
.btn-email { background-color: #7f8c8d; }
.btn-share { background-color: #8e44ad; }
.btn-linkedin { background-color: #0a66c2; }

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   STREAM PLAYER MODAL
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: #14171f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 980px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

/* 16:9 Video Iframe Container */
.player-viewport-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #000000;
}

.player-viewport-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Multi-Server Selector Controls */
.player-controls-bar {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background-color: #1a1d26;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.server-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.server-select-btn {
  background-color: #242936;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.server-select-btn:hover {
  background-color: #333a4c;
  color: #ffffff;
}

.server-select-btn.active {
  background-color: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
}

.player-footer-note {
  font-size: 0.78rem;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */

@media (max-width: 1080px) {
  .content-columns-grid {
    grid-template-columns: 60% 40%;
    gap: 24px;
  }
}

@media (max-width: 960px) {
  .content-columns-grid {
    grid-template-columns: 100%;
  }

  .floating-social-sidebar {
    display: none; /* Hide floating bar on mobile/tablet to avoid obscuring content */
  }

  .hero-title {
    font-size: 1.6rem;
    max-width: 100%;
  }

  .hero-hub-card {
    padding: 24px 20px;
  }

  .hero-hub-badge {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
  }
}

/* Tablet Navbar Specifics (641px - 960px) */
@media (min-width: 641px) and (max-width: 960px) {
  .navbar-container {
    height: 60px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand-logo {
    font-size: 1.32rem;
    flex-shrink: 0;
  }

  .sports-nav-wrap {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 16px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 16px), transparent 100%);
  }

  .sports-nav-list {
    gap: 8px;
  }

  .nav-link-btn {
    padding: 6px 11px;
    font-size: 0.8rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-nav-drawer {
    top: 60px;
  }
}

/* Mobile Responsive Navbar & Layout (<= 640px) */
@media (max-width: 640px) {
  .site-navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-container {
    height: auto;
    padding: 0 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .brand-logo {
    order: 1;
    height: 52px;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
  }

  .mobile-menu-toggle {
    order: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 5px 12px;
    font-size: 0.74rem;
    border-radius: 18px;
  }

  .sports-nav-wrap {
    order: 3;
    width: 100%;
    height: 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 16px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 16px), transparent 100%);
  }

  .sports-nav-list {
    gap: 6px;
    padding: 0 4px;
  }

  .nav-link-btn {
    padding: 5px 10px;
    font-size: 0.76rem;
    border-radius: 16px;
    min-height: 28px;
  }

  .mobile-nav-drawer {
    top: 96px; /* Row 1 (52px) + Row 2 (44px) */
  }

  .mobile-drawer-content {
    max-height: calc(100vh - 104px);
    padding: 14px 14px 28px;
  }

  .mobile-sports-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .mobile-sport-chip {
    padding: 9px 6px;
    font-size: 0.78rem;
    gap: 6px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .mobile-sport-chip .chip-icon {
    font-size: 1.25rem;
  }

  .main-content-wrapper {
    padding: 16px 14px 60px;
  }

  .match-card {
    padding: 14px 16px;
    gap: 14px;
  }

  .match-sport-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .match-title {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    font-size: 1.1rem;
  }

  .mobile-menu-toggle span.toggle-text {
    display: none;
  }

  .mobile-sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  margin-top: 52px;
}

.faq-header {
  margin-bottom: 22px;
}

.faq-main-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-subtitle {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-top: 4px;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border: 1px solid transparent;
}

.faq-item:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(220, 38, 38, 0.2);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  fill: #64748b;
  transition: transform 0.25s ease, fill 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  fill: var(--brand-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.25s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   FOOTER (EXACT MATCH TO REFERENCE SCREENSHOT)
   ========================================================================== */

.site-footer {
  background-color: var(--bg-header);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 24px 60px;
  margin-top: 48px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-disclaimer {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 1040px;
  text-align: center;
}

.footer-disclaimer strong {
  color: #f1f5f9;
  font-weight: 700;
}

.footer-links-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.footer-nav-link {
  color: #ef4444;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
  cursor: pointer;
}

.footer-nav-link:hover {
  color: #ff6b81;
  text-decoration: underline;
}

.footer-link-dot {
  color: #ef4444;
  font-weight: 700;
  user-select: none;
}

.footer-copyright {
  color: #64748b;
  font-size: 0.8rem;
  letter-spacing: 0.4px;
}

/* Policy Content Modal */
.policy-modal-container {
  max-width: 680px;
  max-height: 80vh;
  overflow-y: auto;
}

.policy-content-box {
  padding: 24px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.7;
}

.policy-content-box h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.policy-content-box p {
  margin-bottom: 14px;
}

/* ==========================================================================
   MATCH PAGE STYLES (STREAMER LINKS & PLAYER)
   ========================================================================== */

.match-page-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.match-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.btn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 16px;
  background-color: #242936;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-back-link:hover {
  color: #ffffff;
  background-color: #333a4c;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

/* Match Header Card */
.match-info-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 30px 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
  position: relative;
}

.match-page-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-crimson);
  line-height: 1.25;
  margin-bottom: 8px;
}

.match-page-description {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 14px;
  font-weight: 500;
}

.match-page-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.match-page-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.match-page-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Live Video Player Card */
.match-player-card {
  background-color: #0d1017;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.match-player-viewport {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #000000;
}

.match-player-viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.match-player-bar {
  background-color: #14171f;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.current-stream-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.88rem;
}

.active-server-pill {
  background-color: var(--brand-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Streamer Links Card & Table */
.stream-links-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--card-shadow);
  margin-bottom: 26px;
}

.stream-links-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.stream-links-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stream-table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.stream-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  white-space: nowrap;
}

.stream-table thead th {
  background-color: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.stream-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-main);
  vertical-align: middle;
  line-height: 1.4;
}

.stream-table tbody tr:last-child td {
  border-bottom: none;
}

.stream-table tbody tr:hover td {
  background-color: #f8fafc;
}

.col-streamer {
  vertical-align: middle;
}

.streamer-name {
  font-weight: 700;
  color: var(--brand-crimson);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
  vertical-align: middle;
}

.streamer-play-icon {
  color: var(--brand-red);
  font-size: 0.72rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  margin-top: 1px;
}

.col-rating {
  vertical-align: middle;
  text-align: center;
}

.stream-table thead th.col-rating {
  text-align: center;
}

.badge-rating-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background-color: #ffffff;
  color: #000000;
  padding: 6px 18px;
  border-radius: 9999px;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.95);
  user-select: none;
  white-space: nowrap;
  line-height: 1.2;
}

.badge-rating-gold .medal-icon {
  font-size: 1rem;
  line-height: 1;
}

.badge-quality-fhd {
  background-color: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.74rem;
}

.badge-quality-hd {
  background-color: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.74rem;
}

.badge-adblock-yes {
  background-color: rgba(16, 185, 129, 0.1);
  color: #059669;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.74rem;
}

.btn-streameast-watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-red);
  color: #ffffff;
  padding: 7px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-streameast-watch:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.btn-streameast-watch.active {
  background-color: #16a34a;
}

/* Match Information Details Card */
.match-details-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}

.match-details-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.match-detail-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
}

.detail-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.detail-value {
  font-size: 0.98rem;
  color: var(--text-main);
  font-weight: 600;
}

/* Mobile sub-meta hidden by default on desktop */
.mobile-sub-meta {
  display: none;
}

/* Responsive Table & Match Page Breakpoints */
@media (max-width: 860px) {
  .col-hide-tablet {
    display: none !important;
  }
  
  .stream-table thead th,
  .stream-table tbody td {
    padding: 12px 14px;
  }
}

@media (max-width: 768px) {
  .match-info-card,
  .stream-links-card,
  .match-details-card {
    padding: 20px 18px;
  }

  .match-page-title {
    font-size: 1.55rem;
  }
}

@media (max-width: 640px) {
  .col-hide-mobile {
    display: none !important;
  }

  .col-hide-tablet {
    display: none !important;
  }

  .mobile-sub-meta {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
  }

  .stream-links-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .stream-links-title {
    font-size: 1.25rem;
  }

  .stream-table-wrapper {
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .stream-table {
    width: 100%;
    table-layout: auto;
    white-space: normal;
  }

  .stream-table thead th {
    padding: 10px 8px;
    font-size: 0.72rem;
    letter-spacing: 0.4px;
  }

  .stream-table tbody td {
    padding: 12px 8px;
    font-size: 0.85rem;
    vertical-align: middle;
  }

  .streamer-name {
    font-size: 0.88rem;
    gap: 4px;
    white-space: normal;
  }

  .stream-channel-text {
    font-size: 0.84rem;
    white-space: normal;
  }

  .badge-quality-fhd,
  .badge-quality-hd {
    font-size: 0.7rem;
    padding: 2px 6px;
    white-space: nowrap;
  }

  .btn-streameast-watch {
    padding: 6px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .match-page-wrapper {
    padding: 16px 14px 60px;
  }

  .match-info-card,
  .match-details-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .match-page-title {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .match-page-meta-row {
    font-size: 0.85rem;
    gap: 8px 12px;
  }

  .match-details-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 440px) {
  .stream-table thead th {
    padding: 8px 6px;
    font-size: 0.68rem;
  }

  .stream-table tbody td {
    padding: 10px 5px;
    font-size: 0.8rem;
  }

  .streamer-name {
    font-size: 0.82rem;
  }

  .stream-channel-text {
    font-size: 0.8rem;
  }

  .btn-streameast-watch {
    padding: 6px 10px;
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   STREAM COUNTDOWN & NOTICE CARD (1-HOUR RULE)
   ========================================================================== */

.stream-countdown-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 30px 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-left: 5px solid var(--brand-red);
}

.countdown-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background-color: #fff1f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.countdown-icon-wrap svg {
  width: 30px;
  height: 30px;
  fill: var(--brand-red);
}

.countdown-content {
  flex: 1;
  min-width: 0;
}

.countdown-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-crimson);
  margin-bottom: 6px;
}

.countdown-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.countdown-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.86rem;
  color: #334155;
  font-weight: 600;
}

.countdown-badge-pill strong {
  color: var(--brand-red);
}

.stream-countdown-card.is-finished {
  border-left-color: #64748b;
  background-color: #ffffff;
}

.stream-countdown-card.is-finished .countdown-icon-wrap {
  background-color: #f1f5f9;
}

.stream-countdown-card.is-finished .countdown-title {
  color: #1e293b;
}

.stream-countdown-card.is-finished .countdown-badge-pill strong {
  color: #475569;
}

@media (max-width: 768px) {
  .stream-countdown-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
  }
}

/* ==========================================================================
   BROADCASTER CHANNELS STYLING & MODAL
   ========================================================================== */

.btn-more-channels {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
  color: var(--brand-crimson);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.btn-more-channels:hover {
  background-color: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
  transform: translateY(-1px);
}

.channels-modal-container {
  max-width: 640px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.channels-modal-body {
  padding: 20px 24px 28px;
  overflow-y: auto;
}

.channels-search-box {
  width: 100%;
  background-color: #242936;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
  margin-bottom: 16px;
}

.channels-search-box:focus {
  border-color: var(--brand-neon);
}

.channels-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.channel-pill-item {
  background-color: #242936;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.channel-pill-item:hover {
  background-color: #333a4c;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   DEDICATED LIVE PLAYER PAGE STYLES (player.html)
   ========================================================================== */

.player-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.player-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dedicated-player-card {
  background-color: #14171f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  margin-bottom: 26px;
}

.player-streamer-bar {
  padding: 14px 22px;
  background-color: #1a1e29;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.streamer-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.streamer-brand-tag {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stream-health-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #22c55e;
  font-weight: 700;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
}

.player-viewport-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #000000;
}

.player-viewport-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.player-loader-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 16, 23, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 600;
  transition: opacity 0.25s ease;
}

.player-controls-bar {
  padding: 16px 22px;
  background-color: #14171f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.player-utility-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.player-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #242936;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #cbd5e1;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.player-tool-btn:hover {
  background-color: #333a4c;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.player-tips-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 26px 30px;
  box-shadow: var(--card-shadow);
  margin-bottom: 26px;
}

.tips-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.tip-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
}

.tip-box strong {
  display: block;
  color: var(--brand-crimson);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.tip-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .player-page-wrapper {
    padding: 16px 14px 60px;
  }

  .player-streamer-bar {
    padding: 12px 16px;
  }

  .player-controls-bar {
    padding: 14px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .server-btn-group {
    width: 100%;
    justify-content: center;
  }

  .player-utility-group {
    width: 100%;
    justify-content: center;
  }

  .player-tool-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
  }

  .player-tips-card {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .server-select-btn {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    padding: 7px 10px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   STANDALONE LEGAL & CONTACT PAGES STYLES
   ========================================================================== */

.legal-page-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

.legal-breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 20px;
  font-weight: 500;
}

.legal-breadcrumb-nav a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-breadcrumb-nav a:hover {
  color: #ffffff;
}

.legal-breadcrumb-nav .breadcrumb-sep {
  color: #64748b;
  font-size: 0.75rem;
}

.legal-breadcrumb-nav .breadcrumb-current {
  color: #ef4444;
  font-weight: 600;
}

.legal-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 44px 48px;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.legal-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.legal-badge-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.legal-subtitle {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

.legal-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 0.84rem;
  color: #94a3b8;
}

.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-meta-item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.legal-body {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.8;
}

.legal-body h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-body h2 .section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--brand-red);
  font-size: 0.85rem;
  font-weight: 800;
}

.legal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 22px;
  margin-bottom: 10px;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul,
.legal-body ol {
  margin-left: 22px;
  margin-bottom: 18px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body strong {
  color: #0f172a;
  font-weight: 700;
}

.legal-body a {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.legal-body a:hover {
  color: var(--brand-crimson);
}

.legal-callout-box {
  background: #f8fafc;
  border-left: 4px solid var(--brand-red);
  padding: 18px 22px;
  border-radius: 8px;
  margin: 24px 0;
  color: #1e293b;
}

.legal-callout-box.warning-callout {
  background: #fffbeb;
  border-left-color: #f59e0b;
}

.legal-callout-box.info-callout {
  background: #eff6ff;
  border-left-color: #3b82f6;
}

.legal-callout-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: #0f172a;
}

/* Contact Page Custom Layout */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  margin-top: 10px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.contact-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 8px;
}

.contact-card-link {
  font-size: 0.95rem;
  color: var(--brand-red);
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
}

.contact-card-link:hover {
  text-decoration: underline;
}

/* Form Styles */
.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.contact-form-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-label .required-star {
  color: var(--brand-red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--brand-red);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.form-submit-btn:hover {
  background: var(--brand-crimson);
  transform: translateY(-1px);
}

.form-submit-btn:active {
  transform: translateY(0);
}

.form-submit-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-alert-msg {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-alert-msg.success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
}

@media (max-width: 860px) {
  .legal-card {
    padding: 30px 24px;
  }

  .legal-title {
    font-size: 1.85rem;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .legal-page-wrapper {
    padding: 20px 14px 60px;
  }

  .legal-card {
    padding: 24px 18px;
  }

  .legal-title {
    font-size: 1.6rem;
  }

  .legal-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
