/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #05050b;
  --bg-secondary: #0a0a14;
  --bg-card: #0f0f1d;
  --bg-card-hover: #15152a;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --accent-purple: #8b5cf6;
  --accent-purple-hover: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --border-glass: rgba(255, 255, 255, 0.05);
  --border-glass-hover: rgba(139, 92, 246, 0.25);
  --shadow-premium: 0 16px 40px -10px rgba(0, 0, 0, 0.7);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Background Gradients */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.6);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.95); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(139, 92, 246, 0.2); }
  50% { box-shadow: 0 0 28px rgba(139, 92, 246, 0.45); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(5, 5, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  font-size: 24px;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f8fafc 30%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-accent {
  color: var(--accent-purple);
  -webkit-text-fill-color: initial;
}

.live-badge {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.pulsing {
  animation: pulse 2s infinite ease-in-out;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Tab Navigation Buttons */
.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.status-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.text-green {
  color: var(--accent-emerald);
}

/* Tab Layout Visibility */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeInUp 0.4s ease forwards;
}

/* Main Layout Grid */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 104px 24px 48px;
}

.stream-layout-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

/* Video Player Panel */
.player-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.active-match-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px 20px;
}

.match-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.match-logo-a, .match-logo-b {
  font-size: 22px;
}

.match-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.match-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-live-label {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-red);
  animation: pulse 1.5s infinite;
}

.match-time-badge {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.match-score-badge {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* VIDEO PLAYER CONTAINER */
.video-player-container {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background-color: #020205;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium);
}

/* Idle State Screen */
.player-state-idle {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  padding: 24px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url("https://images.unsplash.com/photo-1508098682722-e99c43a406b2?q=80&w=1200");
}

.player-top-meta {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hd-badge {
  background: var(--accent-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.viewer-count {
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  font-size: 11px;
  color: var(--text-secondary);
  padding: 5px 10px;
  border-radius: 6px;
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-purple);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse-glow 2s infinite;
}

.play-btn:hover {
  background-color: var(--accent-purple-hover);
  transform: scale(1.06);
}

.play-btn:active {
  transform: scale(0.95);
}

.play-icon {
  width: 32px;
  height: 32px;
  margin-left: 6px;
}

.match-headline {
  text-align: center;
  margin-top: 24px;
}

.match-headline h2 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}

.match-headline p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Control Bar Bottom */
.mock-control-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  pointer-events: none;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hd-indicator {
  color: var(--accent-purple);
  font-weight: 700;
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}

/* Loading state box */
.player-state-loading {
  position: absolute;
  inset: 0;
  background-color: #020206;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.terminal-box {
  width: 100%;
  max-width: 480px;
  background-color: #06060c;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.8);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 10px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background-color: var(--accent-red); }
.terminal-dot.yellow { background-color: var(--accent-amber); }
.terminal-dot.green { background-color: var(--accent-emerald); }

.terminal-title {
  color: var(--text-secondary);
  font-size: 11px;
  margin-left: 6px;
}

.terminal-body {
  font-size: 12px;
  color: var(--accent-emerald);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-row {
  opacity: 0;
  animation: fadeInUp 0.3s ease forwards;
  display: flex;
  gap: 8px;
}

.log-num {
  color: var(--text-muted);
  user-select: none;
}

.progress-bar-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  height: 4px;
  margin-top: 16px;
  overflow: hidden;
}

.progress-bar-fill {
  background-color: var(--accent-emerald);
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

/* CPA Locker State Overlay */
.player-state-locked {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 3, 7, 0.95);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.locker-box {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.2);
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  animation: fadeInUp 0.4s ease forwards;
}

.locker-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.locker-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.locker-description {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.locker-progress-wrapper {
  margin: 18px 0 20px;
}

.progress-text-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.progress-percent {
  color: var(--accent-purple);
}

.progress-track {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.progress-fill {
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  height: 100%;
  border-radius: 99px;
  transition: width 0.4s ease;
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.offer-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.offer-item:hover {
  border-color: var(--border-glass-hover);
  background: rgba(255, 255, 255, 0.06);
}

.offer-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  min-width: 0;
  flex: 1;
  margin-right: 12px;
}

.offer-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.offer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-text-info {
  min-width: 0;
  flex: 1;
}

.offer-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-desc {
  font-size: 10px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.offer-btn {
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-purple);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.offer-btn:hover {
  background-color: var(--accent-purple-hover);
}

.offer-item.verifying {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
}

.offer-item.completed {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  pointer-events: none;
}

.status-badge-inline {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.status-badge-inline.verifying {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  animation: pulse 1.5s infinite;
}

.status-badge-inline.completed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.locker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
  font-size: 10px;
  color: var(--text-muted);
}

.btn-bypass {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-bypass:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Unlocked active state */
.player-state-unlocked {
  position: absolute;
  inset: 0;
  background-color: #000;
  z-index: 10;
}

.secure-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 30;
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Live Chat Column styling */
.chat-column {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.chat-header {
  padding: 16px 20px;
  background: rgba(10, 10, 20, 0.4);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.chat-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 2s infinite;
}

.chat-online-count {
  font-size: 11px;
  color: var(--text-secondary);
}

.chat-messages {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  height: 380px;
}

.chat-row {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: fadeInUp 0.25s ease-out forwards;
}

.chat-user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-username {
  font-weight: 700;
  color: #c084fc;
}

.chat-time {
  font-size: 9px;
  color: var(--text-muted);
}

.chat-message-text {
  color: #e2e8f0;
  word-break: break-word;
  line-height: 1.4;
}

.chat-input-form {
  padding: 12px;
  background: rgba(10, 10, 20, 0.3);
  border-top: 1px solid var(--border-glass);
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  outline: none;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  transition: all 0.2s ease;
}

.chat-input:focus {
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.05);
}

.chat-submit-btn {
  background: var(--accent-purple);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.chat-submit-btn:hover {
  background-color: var(--accent-purple-hover);
}

/* Match Selection Grid Layout */
.matches-section {
  margin-top: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #fff;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.badge-accent {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.match-card {
  padding: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.match-card.active {
  border-color: var(--accent-purple);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(15, 15, 29, 0.8) 100%);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.08);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-secondary);
}

.card-league {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-category {
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
}

.card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-teams {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-team-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.card-team-logo {
  font-size: 18px;
}

.card-status-col {
  text-align: right;
}

.badge-card-live {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.card-score {
  font-size: 15px;
  font-weight: 800;
  font-family: monospace;
  color: #fff;
  margin-top: 4px;
  display: block;
}

.card-time {
  font-size: 10px;
  color: var(--text-muted);
  font-family: monospace;
  margin-top: 2px;
  display: block;
}

.badge-card-upcoming {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 10px;
}

.card-action-link {
  color: var(--accent-purple);
  font-weight: 600;
}

/* TAB 2: SCHEDULE PATH STYLING */
.schedule-container {
  padding: 24px;
  animation: fadeInUp 0.4s ease;
}

.schedule-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 16px;
}

.schedule-header h2 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.schedule-header p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.schedule-day-group {
  margin-bottom: 8px;
}

.schedule-date-header {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-purple);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-date-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(139, 92, 246, 0.15);
}

.schedule-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-row-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  transition: all 0.2s ease;
}

.schedule-row-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255,255,255,0.08);
}

.schedule-time-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sched-time {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-family: monospace;
}

.sched-group-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.schedule-match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.sched-team {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 120px;
}

.sched-team.team-a {
  justify-content: flex-end;
  text-align: right;
}

.sched-team.team-b {
  justify-content: flex-start;
  text-align: left;
}

.sched-vs {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--text-secondary);
}

.schedule-stadium-info {
  text-align: right;
  font-size: 11px;
  color: var(--text-secondary);
}

.sched-stadium {
  font-weight: 600;
  color: #fff;
}

.sched-city {
  color: var(--text-muted);
  font-size: 10px;
  margin-top: 2px;
}

/* TAB 3: STANDINGS PATH STYLING */
.standings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.group-table-card {
  padding: 20px;
}

.group-table-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 8px;
  letter-spacing: 0.02em;
}

.group-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.group-table th {
  color: var(--text-secondary);
  font-weight: 600;
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.group-table td {
  padding: 8px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

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

.group-table th.num-col, .group-table td.num-col {
  text-align: center;
  font-weight: 700;
}

.group-table td.team-col {
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.group-table td.highlight-green {
  color: var(--accent-emerald);
  font-weight: 700;
}

/* Helper Class */
.hidden {
  display: none !important;
}

/* Responsive design queries */
@media (max-width: 1024px) {
  .stream-layout-grid {
    grid-template-columns: 1fr;
  }
  
  .chat-column {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 64px;
  }
  
  .main-content {
    padding: 88px 16px 32px;
  }
  
  .nav-links {
    gap: 4px;
  }

  .tab-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .nav-status {
    display: none;
  }
  
  .active-match-bar {
    padding: 12px 14px;
  }
  
  .match-name {
    font-size: 14px;
  }
  
  .video-player-container {
    border-radius: 12px;
  }
  
  .match-headline h2 {
    font-size: 16px;
  }
  
  .match-headline p {
    font-size: 11px;
  }
  
  .play-btn {
    width: 64px;
    height: 64px;
  }
  
  .play-icon {
    width: 26px;
    height: 26px;
  }

  .schedule-row-item {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 16px;
  }

  .schedule-stadium-info {
    display: none;
  }

  .sched-team {
    width: auto;
  }
}
