
/* 全局增强样式 */
body {
  font-size: 16px;
}

.container {
  max-width: 1200px;
}

/* 响应式优化 */
@media (max-width: 768px) {
  .section {
    padding: 1.5rem 1rem;
    margin: 1rem 0;
  }

  .section h1 {
    font-size: 1.5rem;
  }

  .section h2 {
    font-size: 1.3rem;
  }

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

  header {
    padding: 0.8rem 0;
  }

  .logo {
    font-size: 1.2rem;
  }
}

/* 动画效果 */
.video-card {
  animation: fadeIn 0.5s ease-in;
}

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

/* 链接样式增强 */
a {
  transition: color 0.3s ease;
}

.intro-text a {
  color: #667eea;
  text-decoration: underline;
}

.intro-text a:hover {
  color: #764ba2;
}

/* 移动端导航强制单行 */
@media (max-width: 768px) {
  header nav {
    display: flex;
    flex-wrap: nowrap !important;
    overflow: visible;
    width: 100%;
  }

  header nav a {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.4rem 0.2rem;
    font-size: 0.8rem;
  }
}
