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

:root {
  --netflix-black: #141414;
  --bg-black: #050505;
  --bg-dark: #0f0f0f;
  --bg-card: #1a1a1a;
  --bg-hover: #2a2a2a;
  --netflix-red: #e50914;
  --red-hover: #f40612;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #808080;
  --accent: #46d369;
  --border-gray: #2a2a2a;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Modern Header Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  padding: 0;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 100%;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 1.75rem;
  filter: drop-shadow(0 0 8px rgba(229, 9, 20, 0.5));
}

.logo-text {
  background: linear-gradient(135deg, var(--netflix-red) 0%, #ff4757 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-icon {
  font-size: 1.1rem;
}

.live-link {
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.3);
}

.live-link:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: rgba(229, 9, 20, 0.5);
}

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

@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s;
  font-size: 1.5rem;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(20px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 998;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.mobile-menu-section {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-section:last-child {
  border-bottom: none;
}

.mobile-menu-section-title {
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
}

.mobile-menu-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--netflix-red);
  transform: scaleY(0);
  transition: transform 0.3s;
}

.mobile-menu-link:hover::before,
.mobile-menu-link:active::before {
  transform: scaleY(1);
}

.mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  padding-left: 1.75rem;
}

.mobile-menu-link:active {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-link span:first-child {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.mobile-menu-link span:last-child {
  flex: 1;
}

.main-content {
  padding-top: 60px;
  min-height: 100vh;
}

.content-wrapper {
  width: 100%;
}

/* Redesigned Hero Section */
.hero-banner {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 3rem;
}

.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(229, 9, 20, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(70, 211, 105, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 71, 87, 0.08) 0%, transparent 60%);
  animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 50px;
  color: var(--netflix-red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-title-main {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, var(--netflix-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -2px;
}

.hero-title-sub {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero-btn-primary {
  background: var(--netflix-red);
  color: white;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

.hero-btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(229, 9, 20, 0.5);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--netflix-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Player Countdown Overlay */
.player-countdown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.countdown-content {
  text-align: center;
}

.countdown-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.countdown-text {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.countdown-timer {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--netflix-red);
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}

.page-hero {
  padding: 3rem 1.5rem 2rem;
  text-align: left;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.carousel-wrapper {
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.carousel-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.view-all {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.view-all:hover {
  color: var(--netflix-red);
  transform: translateX(4px);
}

.carousel-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  color: var(--text-secondary);
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border-gray);
  border-top-color: var(--netflix-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 20, 20, 0.8);
  border: none;
  color: white;
  width: 50px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  opacity: 0;
}

.carousel-container:hover .carousel-nav {
  opacity: 1;
}

.carousel-nav:hover {
  background: rgba(20, 20, 20, 0.95);
}

.carousel-nav-left {
  left: 0;
}

.carousel-nav-right {
  right: 0;
}

.match-card {
  flex: 0 0 350px;
  height: 300px;
  transition: all 0.3s ease;
}

.match-card:hover {
  transform: scale(1.05);
  z-index: 5;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: 0.75rem;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.match-card:hover .card-image img {
  transform: scale(1.1);
}

.card-teams-poster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  padding: 2rem;
}

.team-badge-large {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-badge-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vs-divider {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
}

.card-gradient-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gradient-icon {
  font-size: 5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

@media (max-width: 768px) {
  .gradient-icon {
    font-size: 2.5rem;
  }
}

.live-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--netflix-red);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  animation: pulse-live 2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.4);
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.countdown-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 193, 7, 0.95);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.viewer-count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.card-info {
  padding: 0 0.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
  min-height: 2.6rem;
}

.card-date,
.card-teams {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0.25rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.no-matches {
  padding: 3rem;
  text-align: center;
  color: var(--text-secondary);
}

.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--netflix-red);
  color: white;
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: scale(1.05);
}

.btn-stream {
  background: var(--text-primary);
  color: var(--bg-black);
  width: 100%;
  margin-top: 1rem;
  font-weight: 700;
}

.btn-stream:hover {
  background: var(--text-secondary);
}

.streams-container {
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
  gap: 2rem;
}

.stream-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--border-gray);
}

.stream-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-gray);
}

.stream-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stream-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-hd {
  background: var(--accent);
  color: var(--bg-black);
}

.stream-language {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.stream-player {
  aspect-ratio: 16/9;
  background: var(--bg-black);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.stream-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background: linear-gradient(to bottom, var(--bg-black) 0%, #000 100%);
  color: var(--text-secondary);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  text-align: center;
  border-top: 1px solid var(--border-gray);
}

.footer-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--netflix-red);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--netflix-red);
  padding-left: 0.5rem;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  border-top: 1px solid var(--border-gray);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Watch Page Styles */
.watch-page-new {
  min-height: 100vh;
  background: var(--bg-black);
  padding-top: 80px;
  padding-bottom: 3rem;
}

.watch-main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.watch-header-section {
  margin-bottom: 2rem;
}

.back-button-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button-watch:hover {
  color: var(--netflix-red);
  background: rgba(229, 9, 20, 0.08);
  border-color: rgba(229, 9, 20, 0.3);
  transform: translateX(-4px);
}

.back-button-watch svg {
  transition: transform 0.2s ease;
}

.back-button-watch:hover svg {
  transform: translateX(-3px);
}

.watch-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.watch-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.watch-breadcrumb a:hover {
  color: var(--netflix-red);
  background: rgba(229, 9, 20, 0.1);
}

.watch-breadcrumb span:not(:last-child) {
  color: var(--text-muted);
}

.watch-breadcrumb span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

.watch-page-title {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--netflix-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.watch-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.meta-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(229, 9, 20, 0.3);
}

.meta-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--netflix-red);
}

.sport-badge {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.1));
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  color: var(--text-primary);
  border: 1px solid rgba(229, 9, 20, 0.3);
}

.watch-content-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2.5rem;
}

.watch-player-column {
  min-width: 0;
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.watch-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.no-stream-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.no-stream-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.4;
  filter: grayscale(100%);
}

.no-stream-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}

.btn-back-sport {
  padding: 1rem 2rem;
  background: var(--netflix-red);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  border: none;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

.btn-back-sport:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(229, 9, 20, 0.5);
}

.stream-sources-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.stream-sources-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--netflix-red), #ff4757, var(--netflix-red));
  background-size: 200% 100%;
  animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.sources-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.sources-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--netflix-red);
  border-radius: 2px;
}

.sources-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.5px;
}

.sources-header h3::before {
  content: '▶';
  color: var(--netflix-red);
  font-size: 1.1rem;
  animation: pulse 2s ease-in-out infinite;
}

.sources-count {
  font-size: 0.9rem;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.1));
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-weight: 800;
  border: 2px solid rgba(229, 9, 20, 0.4);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.15);
  transition: all 0.3s ease;
}

.sources-count:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(229, 9, 20, 0.25);
}

.sources-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.source-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
  gap: 1rem;
  min-height: 140px;
}

.source-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: var(--netflix-red);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.source-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(229, 9, 20, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.source-item:hover::before {
  transform: scaleX(1);
}

.source-item.active {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2) 0%, rgba(229, 9, 20, 0.1) 100%);
  border-color: var(--netflix-red);
  box-shadow: 0 8px 28px rgba(229, 9, 20, 0.35);
  transform: translateY(-4px);
}

.source-item.active::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--netflix-red), #ff4757);
}

.source-item.active .source-number svg {
  animation: playPulse 1.5s ease-in-out infinite;
}

@keyframes playPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.source-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--text-primary);
  font-size: 1.05rem;
  letter-spacing: -0.3px;
  width: 100%;
}

.source-number svg {
  width: 28px;
  height: 28px;
  fill: var(--netflix-red);
  filter: drop-shadow(0 2px 6px rgba(229, 9, 20, 0.4));
  transition: all 0.3s ease;
}

.source-item:hover .source-number svg {
  transform: scale(1.1);
}

.source-tags {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.tag {
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tag-hd {
  background: linear-gradient(135deg, var(--accent) 0%, #3bc959 100%);
  color: #000;
  box-shadow: 0 3px 12px rgba(70, 211, 105, 0.4);
  border: 1px solid rgba(70, 211, 105, 0.3);
}

.source-item:hover .tag-hd {
  box-shadow: 0 4px 16px rgba(70, 211, 105, 0.5);
  transform: translateY(-1px);
}

.tag-sd {
  background: linear-gradient(135deg, var(--text-muted) 0%, #6a6a6a 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(128, 128, 128, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.source-item:hover .tag-sd {
  box-shadow: 0 4px 16px rgba(128, 128, 128, 0.4);
  transform: translateY(-1px);
}

.tag-lang {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.source-item:hover .tag-lang {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.watch-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

.info-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.teams-card {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.teams-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.team-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s;
}

.team-side:hover {
  transform: translateY(-4px);
}

.team-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s;
}

.team-side:hover .team-logo {
  transform: scale(1.1);
}

.team-logo-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-card) 100%);
  border-radius: 12px;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.team-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.vs-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--netflix-red);
  padding: 0.5rem 1rem;
  background: rgba(229, 9, 20, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(229, 9, 20, 0.3);
}

.status-card {
  padding: 1.75rem;
}

.status-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.1));
  border: 2px solid rgba(229, 9, 20, 0.4);
  border-radius: 12px;
  font-weight: 800;
  color: var(--netflix-red);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.2);
}

.live-dot {
  width: 10px;
  height: 10px;
  background: var(--netflix-red);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--netflix-red);
}

.status-upcoming {
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
  border: 2px solid rgba(255, 193, 7, 0.4);
  border-radius: 12px;
  font-weight: 800;
  color: #ffc107;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.status-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.status-row span:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.status-value {
  color: var(--text-primary);
  font-weight: 700;
}

.note-card {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 193, 7, 0.04));
  border: 1px solid rgba(255, 193, 7, 0.25);
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 12px;
}

.note-icon {
  font-size: 2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.3));
}

.note-text {
  flex: 1;
}

.note-text strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.note-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Search Page Styles */
.search-page {
  padding: 7rem 0 3rem;
  background: var(--bg-black);
  min-height: 100vh;
}

.search-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

.search-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--netflix-red);
  margin-bottom: 0.75rem;
}

.search-page-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.search-box-container {
  position: relative;
  max-width: 800px;
  margin: 2rem auto 0;
}

.search-input-main {
  width: 100%;
  padding: 1.25rem 3.5rem 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.search-input-main:focus {
  outline: none;
  border-color: var(--netflix-red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.search-input-main::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-box-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

.search-filters {
  max-width: 1600px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.filter-section {
  margin-bottom: 2rem;
}

.filter-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.sport-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sport-filter-btn {
  padding: 0.75rem 1.25rem;
  background: var(--bg-dark);
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.sport-filter-btn:hover {
  border-color: var(--netflix-red);
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.sport-filter-btn.active {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: white;
}

.status-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.status-filter-btn {
  padding: 0.65rem 1.25rem;
  background: var(--bg-dark);
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.status-filter-btn:hover {
  border-color: var(--netflix-red);
  background: var(--bg-hover);
}

.status-filter-btn.active {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: white;
}

.search-results-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.results-header {
  margin-bottom: 1.5rem;
}

.results-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  min-height: 400px;
}

.loading-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  color: var(--text-secondary);
}

.loading-spinner-large {
  width: 60px;
  height: 60px;
  border: 4px solid var(--bg-dark);
  border-top: 4px solid var(--netflix-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.no-results-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-results h3 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.no-results p {
  font-size: 1.1rem;
}

.error-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--netflix-red);
  font-size: 1.1rem;
}

.search-match-card {
  background: var(--bg-dark);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  border: 2px solid transparent;
}

.search-match-card:hover {
  transform: translateY(-4px);
  border-color: var(--netflix-red);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.3);
}

.search-match-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.search-match-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.search-placeholder-icon {
  font-size: 4rem;
  animation: float 3s ease-in-out infinite;
}

.search-live-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--netflix-red);
  color: white;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

.search-match-info {
  padding: 1.25rem;
}

.search-match-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-match-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.search-match-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-sport-tag {
  padding: 0.35rem 0.75rem;
  background: var(--bg-card);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: capitalize;
}

.search-viewers {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Matches Grid Layout */
.matches-grid-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.matches-grid .match-card {
  flex: none;
  width: 100%;
  height: auto;
}

/* Modern Search Modal Styles with Glassmorphism */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  overflow-y: auto;
  padding: 0;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.search-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-modal-content {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  max-width: 900px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  padding: 0;
  margin: 1rem;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(229, 9, 20, 0.1);
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.08) 0%, transparent 100%);
}

.search-modal-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--netflix-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.5px;
}

.search-modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.65rem;
  line-height: 1;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.search-modal-close:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.3);
  color: var(--netflix-red);
  transform: rotate(90deg);
}

.search-modal-input-wrapper {
  position: relative;
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-modal-input {
  width: 100%;
  padding: 1.25rem 1.5rem 1.25rem 4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', sans-serif;
}

.search-modal-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.search-modal-input:focus {
  outline: none;
  border-color: var(--netflix-red);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1), 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.search-modal-input-wrapper::before {
  content: '🔍';
  position: absolute;
  left: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  pointer-events: none;
  opacity: 0.5;
}

.search-modal-results {
  max-height: calc(90vh - 220px);
  overflow-y: auto;
  padding: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 9, 20, 0.5) transparent;
}

.search-modal-results::-webkit-scrollbar {
  width: 8px;
}

.search-modal-results::-webkit-scrollbar-track {
  background: transparent;
}

.search-modal-results::-webkit-scrollbar-thumb {
  background: rgba(229, 9, 20, 0.5);
  border-radius: 4px;
}

.search-modal-results::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 9, 20, 0.7);
}

.search-result-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 16px;
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.search-result-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.search-result-item:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: var(--netflix-red);
  transform: translateX(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), -4px 0 16px rgba(229, 9, 20, 0.2);
}

.search-result-item:hover::before {
  opacity: 1;
}

.search-result-poster {
  position: relative;
  width: 140px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

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

.search-result-item:hover .search-result-poster img {
  transform: scale(1.1);
}

.search-result-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.search-result-live-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--netflix-red);
  color: white;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.search-result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.search-result-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

.search-result-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.search-result-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.search-no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.search-no-results p {
  font-size: 1.1rem;
  margin-top: 1rem;
  opacity: 0.7;
}

.search-loading {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-secondary);
}

.search-loading .loading-spinner {
  margin: 0 auto 1.5rem;
}

@media (max-width: 768px) {
  .search-modal-content {
    width: 100%;
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
  }

  .search-modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .search-modal-header h2 {
    font-size: 1.5rem;
  }

  .search-modal-input-wrapper {
    padding: 1rem 1.5rem;
  }

  .search-modal-input {
    padding: 1rem 1rem 1rem 3.5rem;
    font-size: 1rem;
  }

  .search-modal-input-wrapper::before {
    left: 2.75rem;
    font-size: 1.25rem;
  }

  .search-modal-results {
    padding: 1rem 1.5rem;
    max-height: calc(100vh - 200px);
  }

  .search-result-item {
    gap: 1rem;
    padding: 1rem;
  }

  .search-result-poster {
    width: 100px;
    height: 56px;
  }

  .search-result-title {
    font-size: 0.95rem;
  }

  .search-result-meta {
    font-size: 0.85rem;
  }
}

/* Sport Page Styles */
.sport-page-hero {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2) 0%, rgba(229, 9, 20, 0.05) 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.sport-page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(229, 9, 20, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(229, 9, 20, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.sport-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sport-icon-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(229, 9, 20, 0.4));
}

.sport-page-title {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, var(--netflix-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  line-height: 1.2;
}

.sport-page-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.sport-search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.sport-search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  background: var(--bg-card);
  border: 2px solid var(--border-gray);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s;
}

.sport-search-input:focus {
  outline: none;
  border-color: var(--netflix-red);
  background: var(--bg-hover);
}

.sport-search-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
}

.sport-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.sport-status-filter,
.live-sport-filter {
  padding: 0.65rem 1.25rem;
  background: var(--bg-card);
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.sport-status-filter:hover,
.live-sport-filter:hover {
  border-color: var(--netflix-red);
  background: var(--bg-hover);
}

.sport-status-filter.active,
.live-sport-filter.active {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: white;
}

.sport-matches-section {
  padding: 0 1.5rem 4rem;
}

.sport-matches-container {
  max-width: 1600px;
  margin: 0 auto;
}

.schedule-date-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.sport-matches-grid {
  padding: 0;
}

.sport-matches-grid #matches-grid,
.schedule-matches-grid #matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.sport-matches-grid .match-card,
.schedule-matches-grid .match-card {
  flex: none;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.sport-matches-grid .match-card::before,
.schedule-matches-grid .match-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.sport-matches-grid .match-card:hover,
.schedule-matches-grid .match-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(229, 9, 20, 0.35);
  border-color: var(--netflix-red);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.sport-matches-grid .match-card:hover::before,
.schedule-matches-grid .match-card:hover::before {
  opacity: 1;
}

.no-matches {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Live Chat Column */
.watch-chat-column {
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 500px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.15), rgba(229, 9, 20, 0.05));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.chat-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.chat-header-title svg {
  stroke: var(--netflix-red);
}

.chat-viewer-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(229, 9, 20, 0.15);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.chat-viewer-count svg {
  stroke: var(--netflix-red);
}

.chat-viewer-count span {
  color: var(--netflix-red);
}

.chat-toggle-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.chat-username-entry {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.username-prompt {
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.username-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.username-prompt h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.username-prompt p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

#username-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#username-input {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s;
}

#username-input:focus {
  outline: none;
  border-color: var(--netflix-red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.btn-join-chat {
  padding: 0.85rem 1.5rem;
  background: var(--netflix-red);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-join-chat:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.chat-message {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
  animation: slideIn 0.3s ease;
}

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

.chat-message:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  transform: translateX(4px);
}

.chat-message.own-message {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.1));
  border-color: rgba(229, 9, 20, 0.3);
  margin-left: 1rem;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.message-username {
  font-weight: 700;
  color: var(--netflix-red);
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

.message-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.message-text {
  color: var(--text-primary);
  line-height: 1.5;
  word-wrap: break-word;
  font-size: 0.95rem;
}

.chat-system-message {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem;
  font-style: italic;
}

.chat-input-wrapper {
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

#message-form {
  display: flex;
  gap: 0.75rem;
}

#message-input {
  flex: 1;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s;
}

#message-input:focus {
  outline: none;
  border-color: var(--netflix-red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.btn-send-message {
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, var(--netflix-red), var(--red-hover));
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-send-message:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.btn-send-message:active {
  transform: translateY(0);
}

/* Schedule Page Styles - Applied to all match grids for consistency */
.schedule-date-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.schedule-date-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--netflix-red), #ff4757, var(--netflix-red), transparent);
  background-size: 200% 100%;
  animation: gradientFlow 3s ease infinite;
}

.schedule-matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.schedule-match-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
}

.schedule-match-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.schedule-match-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(229, 9, 20, 0.35);
  border-color: var(--netflix-red);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

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

.schedule-match-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.schedule-match-info {
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.schedule-match-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

/* Mobile Optimizations */
@media (max-width: 1200px) {
  .watch-content-grid {
    grid-template-columns: 1fr;
  }

  .matches-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .search-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 1024px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }

  .carousel-wrapper,
  .page-hero,
  .streams-container,
  .footer,
  .watch-main-content,
  .search-filters,
  .search-results-container,
  .matches-grid-container,
  .sport-matches-section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .match-card {
    flex: 0 0 280px;
    height: 240px;
  }

  .streams-container {
    grid-template-columns: 1fr;
  }

  .stream-sources-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  /* Mobile chat adjustments */
  .watch-chat-column {
    height: 400px;
  }

  .chat-messages {
    padding: 0.75rem 1rem;
  }

  .chat-message {
    padding: 0.75rem 0.85rem;
  }

  .chat-input-wrapper {
    padding: 0.85rem 1rem;
  }

  /* Schedule section mobile styles */
  .schedule-date-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  /* Mobile Carousel - Show 2 cards per row (only for .carousel-track) */
  .carousel-track {
    display: flex !important;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .carousel-track .match-card {
    flex: 0 0 calc(50% - 0.375rem) !important;
    min-width: 160px;
    max-width: calc(50% - 0.375rem);
    height: auto;
    scroll-snap-align: start;
  }

  /* Matches grid - 2 cards per row on mobile */
  .matches-grid,
  .schedule-matches-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
    width: 100%;
  }

  .matches-grid .match-card,
  .schedule-matches-grid .match-card {
    width: 100%;
    height: auto;
    min-width: 0; /* Allow cards to shrink below their content size */
  }

  /* Sport matches grid - 2 cards per row on mobile */
  .sport-matches-grid #matches-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
    width: 100%;
  }

  .sport-matches-grid .match-card {
    width: 100%;
    height: auto;
    min-width: 0;
  }

  /* Search results grid - 2 cards per row on mobile */
  .search-results-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

  /* Schedule match info mobile */
  .schedule-match-info {
    padding: 0.85rem;
  }

  .schedule-match-title {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .carousel-track .card-image {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
  }

  .carousel-track .card-info {
    min-height: 80px;
    padding: 0.5rem 0.25rem;
  }

  .carousel-track .card-title {
    font-size: 0.85rem;
    min-height: 2.2rem;
    line-height: 1.1;
  }

  .carousel-track .card-date,
  .carousel-track .card-teams {
    font-size: 0.75rem;
  }

  /* Grid view styling for sport pages */
  .matches-grid .card-image {
    aspect-ratio: 16/9;
    width: 100%;
  }

  .matches-grid .card-info {
    padding: 0.75rem 0.5rem;
  }

  .matches-grid .card-title {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .matches-grid .card-date,
  .matches-grid .card-teams {
    font-size: 0.8rem;
  }

  /* Show carousel arrows on mobile */
  .carousel-nav {
    display: flex !important;
    opacity: 1;
    width: 40px;
    height: 40px;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 50%;
    top: 40%;
  }

  .carousel-nav-left {
    left: -8px;
  }

  .carousel-nav-right {
    right: -8px;
  }

  .carousel-nav svg {
    width: 20px;
    height: 20px;
  }

  .sources-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
  }

  .source-item {
    padding: 1.25rem 0.75rem;
    min-height: 120px;
  }

  .source-number {
    font-size: 0.95rem;
  }

  .source-number svg {
    width: 24px;
    height: 24px;
  }

  .hero-title-main {
    font-size: 3rem;
  }

  .hero-title-sub {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .countdown-timer {
    font-size: 2.5rem;
  }

  .countdown-text {
    font-size: 1.2rem;
  }

  .countdown-icon {
    font-size: 3.5rem;
  }

  .watch-page-title {
    font-size: 2rem;
  }

  .watch-header-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .watch-meta-row {
    gap: 0.75rem;
  }

  .meta-item {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .teams-display {
    flex-direction: column;
    gap: 2rem;
  }

  .vs-text {
    transform: rotate(90deg);
    font-size: 1rem;
  }

  .team-logo,
  .team-logo-placeholder {
    width: 70px;
    height: 70px;
  }

  .watch-main-content {
    padding: 0 1rem;
  }

  .watch-content-grid {
    gap: 2rem;
  }

  .video-player-wrapper {
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

  .stream-sources-card,
  .info-card {
    padding: 1.25rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .search-page-title {
    font-size: 2rem;
  }

  .search-filters {
    padding: 0 1rem;
  }

  .search-results-container {
    padding: 0 1rem;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sport-page-hero {
    padding: 3rem 1rem 2rem;
  }

  .sport-page-title {
    font-size: 2rem;
  }

  .sport-page-subtitle {
    font-size: 1rem;
  }

  .sport-icon-large {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .sport-filters {
    gap: 0.5rem;
  }

  .sport-filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .sport-matches-section {
    padding: 0 1rem 3rem;
  }

  .matches-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    padding: 2rem 1rem 0;
  }

  /* Matches grid is already styled above with flex for mobile */

  .links-hero {
    padding: 3rem 1.5rem 2rem;
  }

  .links-title {
    font-size: 2rem;
  }

  .links-description {
    font-size: 1rem;
  }

  .links-meta-bar {
    gap: 1rem;
  }

  .links-content {
    padding: 2rem 1.5rem 3rem;
  }

  .links-section-title {
    font-size: 1.5rem;
  }

  .link-card-inner {
    padding: 1.5rem;
  }

  .countdown-timer-display {
    gap: 1rem;
  }

  .time-block {
    min-width: 70px;
    padding: 1rem;
  }

  .time-number {
    font-size: 2.5rem;
  }

  .time-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title-main {
    font-size: 2.5rem;
  }

  .hero-title-sub {
    font-size: 1.5rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .watch-page-title {
    font-size: 1.5rem;
  }

  .feature-badges {
    gap: 0.5rem;
  }

  .feature-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  .stream-sources-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    padding: 1rem;
  }

  .search-input-main {
    font-size: 1rem;
    padding: 1rem 3rem 1rem 1.25rem;
  }

  .countdown-timer {
    font-size: 2rem;
  }

  .links-hero {
    padding: 3rem 1.5rem 2rem;
  }

  .links-title {
    font-size: 1.75rem;
  }

  .links-description {
    font-size: 1rem;
  }

  .links-meta-item {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .links-content {
    padding: 1.5rem 1rem 2.5rem;
  }

  .links-section-title {
    font-size: 1.3rem;
  }

  .link-card-inner {
    padding: 1.25rem;
  }

  .link-card-icon {
    width: 56px;
    height: 56px;
  }

  .watch-now-btn {
    font-size: 0.9rem;
    padding: 0.9rem;
  }

  .no-links-message {
    padding: 3rem 1rem;
  }

  .no-links-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }

  .no-links-message h3 {
    font-size: 1.5rem;
  }

  .no-links-message p {
    font-size: 1rem;
  }

  .btn-back {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .countdown-display {
    padding: 1.5rem 1rem;
  }

  .countdown-label {
    font-size: 1.1rem;
  }

  .time-block {
    min-width: 60px;
    padding: 0.75rem;
  }

  .time-number {
    font-size: 2rem;
  }

  .time-text {
    font-size: 0.7rem;
  }
}

/* FAQ Page Styles */
.faq-page {
  min-height: 100vh;
  background: var(--bg-black);
  padding-top: 60px;
}

.faq-hero {
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.1) 0%, transparent 100%);
}

.faq-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-icon-large {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.faq-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.faq-categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.faq-category-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.faq-category-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(229, 9, 20, 0.5);
  color: var(--text-primary);
}

.faq-category-btn.active {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: white;
}

.faq-category-btn span:first-child {
  font-size: 1.2rem;
}

.faq-content {
  margin-bottom: 3rem;
}

.faq-category-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.active {
  border-color: var(--netflix-red);
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s;
}

.faq-question:hover {
  color: var(--netflix-red);
}

.faq-q-text {
  flex: 1;
  padding-right: 1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--netflix-red);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.faq-support {
  margin-top: 3rem;
}

.faq-support-card {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(229, 9, 20, 0.05) 100%);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.faq-support-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.faq-support-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.faq-support-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-faq-chat {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--netflix-red);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-faq-chat:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 2rem;
  }

  .faq-categories {
    gap: 0.5rem;
  }

  .faq-category-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  .faq-support-card {
    padding: 2rem 1.5rem;
  }
}

/* Chat Page Styles */
.chat-page-container {
  min-height: 100vh;
  background: var(--bg-black);
  padding-top: 60px;
}

.chat-page-hero {
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.chat-hero-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.chat-hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, var(--netflix-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}

.chat-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.chat-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.chat-stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--netflix-red);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chat-page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.chat-container-full {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.chat-sidebar {
  display: flex;
  flex-direction: column;
  height: 700px;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.1));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-icon {
  font-size: 1.5rem;
}

.chat-title h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.chat-user-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-count-badge {
  padding: 0.5rem 1rem;
  background: rgba(229, 9, 20, 0.2);
  border: 2px solid rgba(229, 9, 20, 0.4);
  border-radius: 50px;
  font-weight: 800;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.chat-welcome {
  text-align: center;
  padding: 3rem 2rem;
}

.welcome-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.chat-welcome h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.welcome-sub {
  color: var(--text-secondary);
  font-size: 1rem;
}

.chat-typing-indicator {
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.chat-input-container {
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.username-input {
  display: flex;
  gap: 1rem;
}

.username-input input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s;
}

.username-input input:focus {
  outline: none;
  border-color: var(--netflix-red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.username-input button {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--netflix-red), var(--red-hover));
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.username-input button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

.message-input-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.chat-username-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.chat-username-display span {
  font-weight: 700;
  color: var(--netflix-red);
}

.chat-username-display button {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.chat-username-display button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.message-input-wrapper input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s;
}

.message-input-wrapper input:focus {
  outline: none;
  border-color: var(--netflix-red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.message-input-wrapper button {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--netflix-red), var(--red-hover));
  border: none;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-input-wrapper button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

@media (max-width: 768px) {
  .chat-hero-title {
    font-size: 2rem;
  }

  .chat-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .chat-sidebar {
    height: calc(100vh - 300px);
    min-height: 500px;
  }

  .chat-page-main {
    padding: 1.5rem 1rem 3rem;
  }

  .chat-header {
    padding: 1.25rem 1.5rem;
  }

  .chat-input-container {
    padding: 1.25rem 1.5rem;
  }
}

/* Minimal Links Page Styles */
.links-page {
  min-height: 100vh;
  background: var(--bg-black);
  padding-top: 60px;
}

.links-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.links-hero-compact {
  margin-bottom: 3rem;
}

.links-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.links-breadcrumb a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.links-breadcrumb a:hover {
  color: var(--netflix-red);
}

.links-breadcrumb a svg {
  width: 14px;
  height: 14px;
}

.links-breadcrumb span:not(:last-child) {
  color: var(--text-muted);
}

.links-breadcrumb span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

.links-title-compact {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.links-meta-compact {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.meta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.meta-badge svg {
  color: var(--netflix-red);
}

.countdown-compact {
  display: inline-block;
  padding: 1rem 1.5rem;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 8px;
}

.countdown-blocks {
  display: flex;
  gap: 1rem;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--netflix-red);
  font-family: 'Courier New', monospace;
  line-height: 1;
}

.time-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.stream-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.stream-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--netflix-red);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stream-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stream-number svg {
  fill: var(--netflix-red);
  flex-shrink: 0;
}

.stream-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-hd {
  background: var(--accent);
  color: #000;
}

.tag-sd {
  background: var(--text-muted);
  color: #fff;
}

.tag-lang {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stream-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--netflix-red);
  font-weight: 600;
  font-size: 0.9rem;
}

.stream-action svg {
  transition: transform 0.3s;
}

.stream-item:hover .stream-action svg {
  transform: translateX(4px);
}

.no-streams {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.no-streams-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.no-streams h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.no-streams p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.btn-return {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--netflix-red);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-return:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .links-title-compact {
    font-size: 1.5rem;
  }

  .streams-grid {
    grid-template-columns: 1fr;
  }

  .countdown-blocks {
    gap: 0.75rem;
  }

  .time-num {
    font-size: 1.25rem;
  }
}

/* FAQ Page Styles */
.faq-page {
  min-height: 100vh;
  background: var(--bg-black);
  padding-top: 60px;
}

.faq-hero {
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.1) 0%, transparent 100%);
}

.faq-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-icon-large {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.faq-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.faq-categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.faq-category-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.faq-category-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(229, 9, 20, 0.5);
  color: var(--text-primary);
}

.faq-category-btn.active {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: white;
}

.faq-category-btn span:first-child {
  font-size: 1.2rem;
}

.faq-content {
  margin-bottom: 3rem;
}

.faq-category-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.active {
  border-color: var(--netflix-red);
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s;
}

.faq-question:hover {
  color: var(--netflix-red);
}

.faq-q-text {
  flex: 1;
  padding-right: 1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--netflix-red);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.faq-support {
  margin-top: 3rem;
}

.faq-support-card {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(229, 9, 20, 0.05) 100%);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.faq-support-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.faq-support-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.faq-support-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-faq-chat {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--netflix-red);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-faq-chat:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 2rem;
  }

  .faq-categories {
    gap: 0.5rem;
  }

  .faq-category-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  .faq-support-card {
    padding: 2rem 1.5rem;
  }
}

/* Chat Page Styles */
.chat-page-container {
  min-height: 100vh;
  background: var(--bg-black);
  padding-top: 60px;
}

.chat-page-hero {
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.chat-hero-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.chat-hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, var(--netflix-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}

.chat-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.chat-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.chat-stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--netflix-red);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chat-page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.chat-container-full {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.chat-sidebar {
  display: flex;
  flex-direction: column;
  height: 700px;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(229, 9, 20, 0.1));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-icon {
  font-size: 1.5rem;
}

.chat-title h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.chat-user-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-count-badge {
  padding: 0.5rem 1rem;
  background: rgba(229, 9, 20, 0.2);
  border: 2px solid rgba(229, 9, 20, 0.4);
  border-radius: 50px;
  font-weight: 800;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.chat-welcome {
  text-align: center;
  padding: 3rem 2rem;
}

.welcome-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.chat-welcome h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.welcome-sub {
  color: var(--text-secondary);
  font-size: 1rem;
}

.chat-typing-indicator {
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.chat-input-container {
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.username-input {
  display: flex;
  gap: 1rem;
}

.username-input input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s;
}

.username-input input:focus {
  outline: none;
  border-color: var(--netflix-red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.username-input button {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--netflix-red), var(--red-hover));
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.username-input button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

.message-input-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.chat-username-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.chat-username-display span {
  font-weight: 700;
  color: var(--netflix-red);
}

.chat-username-display button {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.chat-username-display button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.message-input-wrapper input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s;
}

.message-input-wrapper input:focus {
  outline: none;
  border-color: var(--netflix-red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.message-input-wrapper button {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--netflix-red), var(--red-hover));
  border: none;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-input-wrapper button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

@media (max-width: 768px) {
  .chat-hero-title {
    font-size: 2rem;
  }

  .chat-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .chat-sidebar {
    height: calc(100vh - 300px);
    min-height: 500px;
  }

  .chat-page-main {
    padding: 1.5rem 1rem 3rem;
  }

  .chat-header {
    padding: 1.25rem 1.5rem;
  }

  .chat-input-container {
    padding: 1.25rem 1.5rem;
  }
}

/* Minimal Links Page Styles */
.links-page {
  min-height: 100vh;
  background: var(--bg-black);
  padding-top: 60px;
}

.links-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.links-hero-compact {
  margin-bottom: 3rem;
}

.links-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.links-breadcrumb a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.links-breadcrumb a:hover {
  color: var(--netflix-red);
}

.links-breadcrumb a svg {
  width: 14px;
  height: 14px;
}

.links-breadcrumb span:not(:last-child) {
  color: var(--text-muted);
}

.links-breadcrumb span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

.links-title-compact {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.links-meta-compact {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.meta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.meta-badge svg {
  color: var(--netflix-red);
}

.countdown-compact {
  display: inline-block;
  padding: 1rem 1.5rem;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 8px;
}

.countdown-blocks {
  display: flex;
  gap: 1rem;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--netflix-red);
  font-family: 'Courier New', monospace;
  line-height: 1;
}

.time-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.stream-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.stream-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--netflix-red);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stream-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stream-number svg {
  fill: var(--netflix-red);
  flex-shrink: 0;
}

.stream-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-hd {
  background: var(--accent);
  color: #000;
}

.tag-sd {
  background: var(--text-muted);
  color: #fff;
}

.tag-lang {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stream-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--netflix-red);
  font-weight: 600;
  font-size: 0.9rem;
}

.stream-action svg {
  transition: transform 0.3s;
}

.stream-item:hover .stream-action svg {
  transform: translateX(4px);
}

.no-streams {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.no-streams-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.no-streams h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.no-streams p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.btn-return {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--netflix-red);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-return:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .links-title-compact {
    font-size: 1.5rem;
  }

  .streams-grid {
    grid-template-columns: 1fr;
  }

  .countdown-blocks {
    gap: 0.75rem;
  }

  .time-num {
    font-size: 1.25rem;
  }
}

/* FAQ Page Styles */
.faq-page {
  min-height: 100vh;
  background: var(--bg-black);
  padding-top: 60px;
}

.faq-hero {
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.1) 0%, transparent 100%);
}

.faq-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-icon-large {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.faq-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.faq-categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.faq-category-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.faq-category-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(229, 9, 20, 0.5);
  color: var(--text-primary);
}

.faq-category-btn.active {
  background: var(--netflix-red);
  border-color: var(--netflix-red);
  color: white;
}

.faq-category-btn span:first-child {
  font-size: 1.2rem;
}

.faq-content {
  margin-bottom: 3rem;
}

.faq-category-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.active {
  border-color: var(--netflix-red);
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s;
}

.faq-question:hover {
  color: var(--netflix-red);
}

.faq-q-text {
  flex: 1;
  padding-right: 1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--netflix-red);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.faq-support {
  margin-top: 3rem;
}

.faq-support-card {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(229, 9, 20, 0.05) 100%);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.faq-support-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.faq-support-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.faq-support-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-faq-chat {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--netflix-red);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-faq-chat:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 2rem;
  }

  .faq-categories {
    gap: 0.5rem;
  }

  .faq-category-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  .faq-support-card {
    padding: 2rem 1.5rem;
  }
}