
.header {
  background: #000;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-item:hover,
.nav-item.active {
  color: #ff6b35;
}

.main {
  background: #f5f5f5;
  min-height: calc(100vh - 60px);
  padding: 30px 0;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  margin-bottom: 30px;
}

.page-title {
  font-size: 32px;
  color: #333;
  margin: 0;
  font-weight: bold;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.video-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.video-poster {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.video-title {
  padding: 15px;
  margin: 0;
  font-size: 16px;
  color: #333;
  font-weight: bold;
  line-height: 1.4;
}

.video-info {
  padding: 0 15px 15px;
  margin: 0;
  font-size: 14px;
  color: #666;
}

.load-more {
  text-align: center;
  margin-top: 40px;
}

.load-more-btn {
  padding: 12px 30px;
  background: #ff6b35;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.load-more-btn:hover {
  background: #e55a2b;
}

.load-more-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* 隐藏被筛选掉的视频 */
.video-item.hidden {
  display: none;
}

/* 无结果提示 */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 18px;
}

.no-results-icon {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .profile-actions {
    flex-direction: row;
    justify-content: center;
  }

  .membership-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .modal-body,
  .modal-header,
  .modal-footer {
    padding: 20px;
  }

  .logo-icon {
    width: 24px;
    height: 24px;
  }

  .logo span {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .profile-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-name {
    font-size: 24px;
  }

  .profile-actions {
    flex-direction: column;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 页脚样式 */
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 40px 0 20px;
  margin-top: 40px;
}

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

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

.footer-section h4 {
  color: #ff6b35;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: bold;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ff6b35;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 5px 0;
  color: #95a5a6;
  font-size: 12px;
}

/* 用户信息样式 */
.user-section {
  position: relative;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.username {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.logout-btn {
  padding: 4px 12px;
  background: #ff6b35;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.logout-btn:hover {
  background: #e55a2b;
}
/* 登录页面特有样式 */
.auth-container {
  width: 100%;
  max-width: 400px;
}

.auth-box {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.auth-tabs {
  display: flex;
  background: #f8f9fa;
}

.tab-btn {
  flex: 1;
  padding: 15px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}

.tab-btn.active {
  color: #ff6b35;
  background: white;
  border-bottom-color: #ff6b35;
}

.auth-form {
  padding: 30px;
}

.form-title {
  font-size: 28px;
  color: #333;
  margin: 0 0 8px 0;
  text-align: center;
  font-weight: bold;
}

.form-subtitle {
  color: #666;
  text-align: center;
  margin: 0 0 30px 0;
  font-size: 14px;
}

.password-input {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  font-size: 16px;
  padding: 4px;
}

.toggle-password:hover {
  color: #ff6b35;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #666;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  transition: all 0.3s;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #ff6b35;
  border-color: #ff6b35;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #ff6b35;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
}

.submit-btn:hover {
  background: #e55a2b;
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/*.btn-loading {*/
/*  display: none;*/
/*}*/

/*.submit-btn.loading .btn-text {*/
/*  display: none;*/
/*}*/

.submit-btn.loading .btn-loading {
  display: inline;
}

.link-btn {
  background: none;
  border: none;
  color: #ff6b35;
  cursor: pointer;
  text-decoration: underline;
  font-size: 14px;
}

.link-btn:hover {
  color: #e55a2b;
}
.main {
  background: linear-gradient(135deg, #f3f0f0 0%, #faf2f2 100%);
  min-height: calc(100vh - 60px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.error-message {
  display: block;
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  min-height: 16px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 14px;
}

.form-footer {
  text-align: center;
  margin-top: 25px;
  color: #666;
  font-size: 14px;
}