/* TV Page - Black-Red Theme (Following Home Page Patterns) */

/* TV Hero Section */
.tv-hero-section {
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #dc2626;
}

.tv-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.tv-breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.tv-breadcrumb-link:hover {
  color: #ffffff;
}

.tv-breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}

.tv-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.tv-hero-icon-container {
  margin-bottom: 2rem;
}

.tv-hero-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tv-hero-live-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc2626;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tv-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #ffffff 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tv-hero-description {
  font-size: 1.25rem;
  color: #f3f4f6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Animated elements */
.tv-animated-element-1,
.tv-animated-element-2,
.tv-animated-element-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
}

.tv-animated-element-1 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: 10%;
  background: rgba(220, 38, 38, 0.1);
  animation: float 8s ease-in-out infinite;
}

.tv-animated-element-2 {
  width: 200px;
  height: 200px;
  bottom: 50px;
  left: 15%;
  background: rgba(220, 38, 38, 0.1);
  animation: float 12s ease-in-out infinite;
}

.tv-animated-element-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 5%;
  background: rgba(220, 38, 38, 0.1);
  animation: float 10s ease-in-out infinite;
}

.tv-animated-screen {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tv-animated-emoji {
  font-size: 3rem;
  animation: pulse 2s ease-in-out infinite;
}

/* Main Container */
.tv-main-container {
  max-width: 1200px;
  margin: -3rem auto 0;
  padding: 0 1rem 4rem;
  position: relative;
  z-index: 3;
}

/* TV Matches Section */
.tv-matches-section {
  margin-bottom: 4rem;
}

.tv-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tv-section-title-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tv-section-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.tv-section-icon-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  border: 2px solid #dc2626;
}

.tv-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  position: relative;
}

.tv-section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 4px;
  background: #dc2626;
  border-radius: 2px;
}

.tv-section-subtitle {
  font-size: 1.125rem;
  color: #9ca3af;
}

.tv-live-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  color: #ffffff;
  font-weight: 600;
}

.tv-live-indicator {
  width: 10px;
  height: 10px;
  background: #dc2626;
  border-radius: 50%;
  position: relative;
}

.tv-live-indicator::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #dc2626;
  opacity: 0.5;
  animation: pulse 1.5s ease-in-out infinite;
}

/* TV Matches Grid */
.tv-matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.tv-match-card {
  background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid #333;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.tv-match-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(220, 38, 38, 0.5);
}

.tv-match-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tv-match-status-live {
  background: rgba(220, 38, 38, 0.15);
  color: #ef4444;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.tv-match-status-finished {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tv-match-status-scheduled {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tv-match-pulse {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  position: relative;
}

.tv-match-pulse::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #ef4444;
  opacity: 0.5;
  animation: pulse 1.5s ease-in-out infinite;
}

.tv-match-league {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tv-match-league-logo {
  width: 32px;
  height: 32px;
  background: #111111;
  border-radius: 8px;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tv-match-league-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.tv-match-league-type {
  font-size: 0.75rem;
  color: #9ca3af;
}

.tv-match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.tv-match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 40%;
}

.tv-match-team-logo {
  width: 64px;
  height: 64px;
  background: #111111;
  border-radius: 12px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.tv-match-card:hover .tv-match-team-logo {
  transform: scale(1.05);
  background: #0a0a0a;
  border-color: rgba(220, 38, 38, 0.3);
}

.tv-match-team-info {
  text-align: center;
}

.tv-match-team-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tv-match-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.tv-match-score-display {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tv-match-score-separator {
  color: #9ca3af;
}

.tv-match-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  color: #ef4444;
  font-weight: 700;
  font-size: 0.75rem;
}

.tv-match-vs {
  font-size: 1.25rem;
  font-weight: 700;
  color: #9ca3af;
}

.tv-match-status-text {
  font-size: 0.75rem;
  color: #9ca3af;
}

.tv-channels-container {
  background: #0a0a0a;
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid #333;
}

.tv-channels-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tv-channels-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-channels-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.tv-channels-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

.tv-channels-list {
  font-size: 0.85rem;
  color: #d1d5db;
  line-height: 1.6;
}

/* Empty State */
.tv-empty-section {
  background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
  border: 1px solid #333;
  margin-bottom: 4rem;
}

.tv-empty-icon {
  width: 80px;
  height: 80px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tv-empty-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #64748b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.tv-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.tv-empty-description {
  font-size: 1.125rem;
  color: #9ca3af;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.tv-empty-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tv-empty-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px -1px rgba(59, 130, 246, 0.5);
}

/* TV Guide Section */
.tv-guide-section {
  background: #0a0a0a;
  border-radius: 1rem;
  padding: 3rem 2rem;
  border: 1px solid #333;
}

.tv-guide-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tv-guide-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.tv-guide-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.tv-guide-subtitle {
  font-size: 1.125rem;
  color: #9ca3af;
}

.tv-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.tv-guide-card {
  background: #111111;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #333;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tv-guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.tv-guide-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(40px);
  z-index: 0;
}

.tv-guide-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.tv-guide-card:hover .tv-guide-card-icon {
  transform: scale(1.1);
}

.tv-guide-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.tv-guide-card-description {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* CTA Section */
.tv-cta-section {
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 4px solid #dc2626;
  margin-top: 4rem;
}

.tv-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.tv-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.tv-cta-description {
  font-size: 1.125rem;
  color: #f3f4f6;
  margin-bottom: 2.5rem;
}

.tv-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tv-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.tv-cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
}

.tv-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #4b5563;
}

.tv-cta-btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
  border-color: #dc2626;
}

.tv-cta-decoration {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.tv-cta-decoration-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.tv-cta-decoration-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: 15%;
  animation: float 12s ease-in-out infinite;
}

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

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

/* Responsive Styles */
@media (max-width: 768px) {
  .tv-hero-title {
    font-size: 2.5rem;
  }
  
  .tv-section-title {
    font-size: 2rem;
  }
  
  .tv-matches-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .tv-guide-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .tv-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tv-live-badge {
    align-self: flex-start;
  }
  
  .tv-matches-grid {
    grid-template-columns: 1fr;
  }
  
  .tv-guide-grid {
    grid-template-columns: 1fr;
  }
  
  .tv-match-teams {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .tv-match-team {
    width: 100%;
  }
  
  .tv-match-score {
    order: -1;
    margin-bottom: 1rem;
  }
}
