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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.homepage-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.movies-page-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.tvseries-main-container {
  min-height: 100vh;
  background-color: #fafafa;
}

.community-page-layout {
  min-height: 100vh;
  background: #fff;
}

.about-section-wrapper {
  min-height: 100vh;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
}

.site-header-nav {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-title-link {
  text-decoration: none;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  transition: opacity 0.3s;
}

.logo-title-link:hover {
  opacity: 0.9;
}

.main-navigation-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu-item a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.nav-menu-item a:hover {
  background-color: rgba(255,255,255,0.2);
}

.hero-banner-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.hero-content-box {
  max-width: 900px;
  margin: 0 auto;
}

.hero-main-heading {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-description-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.search-form-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

.search-input-field {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
}

.search-submit-button {
  padding: 1rem 2rem;
  background-color: #ff6b6b;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s;
}

.search-submit-button:hover {
  background-color: #ee5a52;
  transform: translateY(-2px);
}

.content-main-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.section-title-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
  border-left: 4px solid #667eea;
  padding-left: 1rem;
}

.video-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.video-card-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.video-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.video-thumbnail-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.video-card-item:hover .video-thumbnail-image {
  transform: scale(1.1);
}

.play-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card-item:hover .play-overlay-icon {
  opacity: 1;
}

.video-info-content {
  padding: 1.5rem;
}

.video-title-text {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.video-meta-info {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.video-description-snippet {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.5;
}

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

.filter-buttons-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-button-item {
  padding: 0.7rem 1.5rem;
  background-color: white;
  border: 2px solid #667eea;
  color: #667eea;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

.filter-button-item:hover,
.filter-button-item.active-filter {
  background-color: #667eea;
  color: white;
}

.community-posts-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.post-card-wrapper {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-header-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.user-avatar-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name-text {
  font-weight: bold;
  color: #333;
}

.post-time-text {
  color: #999;
  font-size: 0.9rem;
}

.post-content-text {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #444;
}

.post-actions-bar {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.action-button-link {
  color: #667eea;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.action-button-link:hover {
  color: #764ba2;
}

.footer-section-main {
  background: #2c3e50;
  color: white;
  padding: 3rem 2rem;
  margin-top: auto;
}

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

.footer-column-box {
  padding: 1rem;
}

.footer-heading-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

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

.footer-link-item {
  margin-bottom: 0.5rem;
}

.footer-link-anchor {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link-anchor:hover {
  color: #fff;
}

.footer-text-paragraph {
  color: #bdc3c7;
  line-height: 1.8;
}

.copyright-bar-section {
  text-align: center;
  padding: 1.5rem;
  background: #1a252f;
  color: #bdc3c7;
  margin-top: 2rem;
}

.about-intro-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-text-content {
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
}

.features-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.feature-box-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.feature-box-card:hover {
  transform: translateY(-5px);
}

.feature-icon-wrapper {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #667eea;
}

.feature-title-heading {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.feature-description-text {
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .main-navigation-menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-main-heading {
    font-size: 1.8rem;
  }

  .search-form-container {
    flex-direction: column;
  }

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

  .header-content-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
}
