/* Header Styles */
.header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

/* Auth Section */
.auth-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Login Button */
.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
  white-space: nowrap;
}

.login-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  color: var(--white);
}

.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.login-btn i {
  font-size: 1rem;
}

/* Google Signin Button (Legacy - can be removed if not needed) */
.google-signin-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: black;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #dadce0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.google-signin-btn:hover {
  background: #3367d6;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.google-signin-btn i {
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  background-color: var(--bg-color);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.hero .subtitle {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 180px;
  padding: 1rem 2.5rem;
}

/* Featured Channels */
.featured-channels {
  padding: 5rem 0;
  background: var(--white);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.channel-card {
  background: var(--white);
  padding: 2.5rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.playbutton {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.channel-card h3 {
  color: var(--text-color);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.subscriber-count {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.views {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: var(--bg-color);
}

.feature-card {
  background: var(--white);
  padding: 3rem;
  margin-bottom: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover:after {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 2rem;
}

.feature-card h2 {
  color: var(--text-color);
  margin-bottom: 1.25rem;
  font-size: 2rem;
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1.125rem;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  margin-top: 2rem;
  font-size: 1.125rem;
  padding: 0.5rem 0;
  position: relative;
}

.read-more:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.read-more:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

.read-more i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Download Section */
.download {
  padding: 6rem 0;
  text-align: center;
  background: var(--white);
}

.download h2 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.download p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.25rem;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.download-buttons .btn {
  min-width: 220px;
  padding: 1.25rem 3rem;
}

.hero {
  padding: 40px 20px;
  background: #f9fafb;
  font-family: Arial, sans-serif;
  color: #222;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #111;
}

.hero p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  background: #fff;
  margin: 8px 0;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  background: var(--white);
  border-top: 1px solid #eee;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

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

.footer-links a:hover {
  color: var(--primary-color);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .channel-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .logo {
    text-align: center;
  }

  .nav-links {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .auth-section {
    justify-content: center;
  }

  .login-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  .google-signin-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.125rem;
  }

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

  .cta-buttons,
  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .feature-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .feature-card h2 {
    font-size: 1.75rem;
  }

  .feature-card p {
    font-size: 1rem;
  }

  .download {
    padding: 4rem 0;
  }

  .download h2 {
    font-size: 2rem;
  }

  .download p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }

  .footer-links {
    gap: 1rem;
  }

  .features,
  .featured-channels {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .logo a {
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .login-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    max-width: 250px;
  }

  .google-signin-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    max-width: 250px;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .hero .subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .cta-buttons .btn {
    min-width: 160px;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }

  .channel-card {
    padding: 2rem 1.5rem;
  }

  .channel-card h3 {
    font-size: 1.125rem;
  }

  .subscriber-count {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .feature-card p {
    font-size: 0.95rem;
  }

  .read-more {
    font-size: 1rem;
    margin-top: 1.5rem;
  }

  .download h2 {
    font-size: 1.75rem;
  }

  .download p {
    font-size: 1rem;
  }

  .download-buttons .btn {
    min-width: 180px;
    padding: 1rem 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer p {
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .channel-card {
    padding: 1.5rem 1rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .login-btn {
    font-size: 0.8rem;
    padding: 0.625rem 1rem;
  }

  .google-signin-btn {
    font-size: 0.8rem;
    padding: 0.625rem 1rem;
  }
}
