/* Main Styles for ULSTV Redesign */
:root {
  --primary-color: #4a26fd;
  --secondary-color: #00c896;
  --dark-color: #121212;
  --light-color: #ffffff;
  --gray-color: #333333;
  --gradient-primary: linear-gradient(135deg, #4a26fd, #00c896);
  --gradient-dark: linear-gradient(135deg, #121212, #333333);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--light-color);
  background-color: var(--dark-color);
  overflow-x: hidden;
  position: relative;
}

/* TV Static Background Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/tv-background.jpg') center/cover no-repeat;
  opacity: 0.1;
  z-index: -2;
}

/* TV Scan Lines Effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.025) 50%
  );
  background-size: 100% 4px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
}

a {
  text-decoration: none;
  color: var(--light-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: var(--transition);
}

header.scrolled .logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.5));
}

/* TV Frame Effect */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 15px solid rgba(0, 0, 0, 0.8);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light-color);
  box-shadow: var(--box-shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 38, 253, 0.4);
  color: var(--light-color);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--light-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: var(--light-color);
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--dark-color);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(74, 38, 253, 0.1), transparent 70%);
  pointer-events: none;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-title p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 30px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--box-shadow);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
}

/* Upcoming Events Section */
.upcoming-events {
  padding: 100px 0;
  background: linear-gradient(rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.95)), url('../images/tv-background.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.upcoming-events::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(74, 38, 253, 0.1), rgba(0, 200, 150, 0.1));
}

.events-container {
  position: relative;
  z-index: 1;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.event-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

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

.event-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-details {
  padding: 20px;
}

.event-date {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--light-color);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.event-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.event-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.event-card .btn {
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* Panel Layout Section */
.panel-layout {
  padding: 100px 0;
  background-color: var(--dark-color);
}

.panel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panel-image {
  width: 100%;
  max-width: 1000px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
  width: 100%;
}

.panel-feature {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.panel-feature h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.panel-feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url('../images/streaming-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.pricing-header {
  padding: 30px;
  background: var(--gradient-dark);
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.pricing-header .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.pricing-header .price span {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.pricing-body {
  padding: 30px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.pricing-features li::before {
  content: '✓';
  margin-right: 10px;
  color: var(--secondary-color);
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
}

.popular {
  position: relative;
}

.popular::after {
  content: 'BEST VALUE';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--secondary-color);
  color: var(--dark-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 40px;
  transform: rotate(45deg);
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--dark-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 30px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.testimonial-author-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* How to Stream Section */
.how-to-stream {
  padding: 100px 0;
  background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('../images/streaming-device.svg');
  background-size: cover;
  background-position: center;
}

.stream-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.stream-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stream-text p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.stream-steps {
  list-style: none;
  counter-reset: step-counter;
}

.stream-steps li {
  margin-bottom: 20px;
  padding-left: 50px;
  position: relative;
}

.stream-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.stream-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.platform-icons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.platform-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.platform-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.platform-icon img {
  width: 30px;
  height: 30px;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background-color: var(--dark-color);
}

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

.faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.08);
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer p {
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.7);
}

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

.faq-item.active .faq-question {
  background: rgba(255, 255, 255, 0.1);
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: var(--gradient-primary);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--light-color);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  background: var(--light-color);
  color: var(--primary-color);
}

.cta .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: #0a0a0a;
  padding: 70px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .stream-content {
    grid-template-columns: 1fr;
  }
  
  .stream-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--dark-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .pricing-grid, .features-grid, .testimonials-grid, .events-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 1s ease-in-out;
}

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

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

/* TV Flicker Animation */
.tv-flicker {
  animation: tvFlicker 8s infinite;
}

@keyframes tvFlicker {
  0% {
    opacity: 1;
  }
  1% {
    opacity: 0.8;
  }
  2% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  56% {
    opacity: 0.9;
  }
  57% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  86% {
    opacity: 0.7;
  }
  87% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
