* {
  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;
  background: linear-gradient(180deg, #0f1419 0%, #1a1f2e 100%);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 70px;
  margin-top: 50px;
}

.filter-btn {
  text-decoration: none;
  color: inherit;
}

.filter-btn:hover {
  text-decoration: none;
}

.filter-btn:visited {
  /*color: inherit;*/
}

.app-container {
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0f1419 0%, #1a1f2e 100%);
  min-height: 100vh;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.header-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* Banner Section */
.banner-section {
  position: relative;
  width: 100%;
  padding: 0;
  margin-bottom: 8px;
}

.banner-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.banner-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
  cursor: pointer;
}

.banner-dot.active {
  width: 18px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
}


/* Badge Styles */
.badge-container {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(255, 107, 107, 0.4);
  display: inline-block;
}

.video-auth-booked {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
  display: inline-block;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
}

.video-auth-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.video-auth-card {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-auth-card:hover {
  transform: translateY(-12px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-auth-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px; /* reduced from 380px to 280px */
  overflow: hidden;
  background: #000;
}

.video-auth-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-auth-card:hover .video-auth-image {
  transform: scale(1.08);
}

.video-auth-content {
  padding: 8px; 
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%);
  color: #2d3748;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.video-auth-name-section {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-auth-title {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.video-auth-subtitle {
  font-size: 12px;
  color: #64748b;
  font-weight: 400;
}

.video-auth-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px; /* reduced from 12px to 10px */
  /*      padding: 10px 0;*/
}

.video-auth-info-item {
  padding: 6px; /* reduced from 8px to 6px */
  background: rgba(241, 245, 249, 0.5);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.video-auth-info-item:hover {
  background: rgba(226, 232, 240, 0.8);
  transform: translateY(-1px);
}

.video-auth-info-value {
  font-size: 12px;
  color: #475569;
  font-weight: 600;
  line-height: 1.2;
}

.video-auth-tags {
  margin-top:10px;
  margin-bottom:5px;
  display: flex;
  flex-wrap: wrap;
}

.video-auth-tag {
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  color: #8b5cf6;
  padding: 4px 8px; 
  border-radius: 5px;
  font-size: 10px;
  font-weight: 500;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  margin-right: 5px;
}

.video-auth-tag:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(244, 114, 182, 0.15) 100%);
  border-color: rgba(236, 72, 153, 0.3);
  transform: translateY(-1px);
}

.hidden-option {
  display: none;
}

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

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* 添加移动端适配媒体查询 */
@media (max-width: 768px) {
  .banner-wrapper {
    height: 160px;
  }

  .filter-section {
    padding: 10px;
  }

  .filter-label-text {
    min-width: 35px;
    font-size: 13px;
    padding: 5px 0;
  }

  .filter-btn {
    padding: 5px 10px;
    font-size: 12px;
  }

  .pagination-section {
    padding: 16px 12px;
    gap: 8px;
  }

  .pagination-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .pagination-select {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 70px;
  }
}

@media (max-width: 480px) {
  .banner-wrapper {
    height: 130px;
  }

  .filter-section {
    padding: 10px;
  }

  .filter-label {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-label-text {
    margin-bottom: 8px;
  }

  .pagination-section {
    padding: 12px 8px;
    gap: 6px;
  }

  .pagination-btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  .pagination-select {
    padding: 5px 8px;
    font-size: 11px;
    min-width: 60px;
  }
}
.video-auth-booked svg {
  width: 14px;
  height: 14px;
  fill: #a0a0ff;
}

.video-auth-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgb(244 105 169 / 65%));
  backdrop-filter: blur(4px);
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  font-size: 10px;
  color: #fff;
  font-weight: 500;
  /*          border: 1px solid rgba(100, 100, 255, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  */
  z-index: 5;
}

.video-auth-badge svg {
  width: 14px;
  height: 14px;
  fill: rgba(246 209 92 / 86%);
}

/* 添加置顶标识样式 */
.pin-badge {
  width: 70px;
  position: absolute;
  top: 10px;
  left: 10px;
  /* position: relative; */
  /*    background: linear-gradient(135deg, #ff6b6b 0%, #c92a2a 100%);*/
  /*    background: linear-gradient(135deg, #7c3aed 0%, rgb(255 102 0 / 80%) 70%);*/
  background: linear-gradient(135deg, #7c3aed 0%, rgb(233 30 99 / 50%) 70%);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #fff;
  font-weight: 600;
  /*    border: 1px solid rgba(255, 107, 107, 0.5);*/
  box-shadow: 0 2px 4px rgba(201, 42, 42, 0.4);
}

.pin-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* 添加价格标签样式 */
.price-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  padding: 5px 10px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  font-size: 10px;
  color: #fff;
  /*border: 1px solid rgba(255, 255, 255, 0.2);*/
  z-index: 4;
}

.price-amount {
  color: #ffd700;
  letter-spacing: 0.3px;
}



/* 筛选容器 */
.filter-container {
    margin-top: 55px;
    padding: 10px 10px 0px 10px;
}

/* 筛选行 */
.filter-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-label {
    font-size: 14px;
    color: #9ca3af;
    width: 50px;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

/* 选项容器改为单行，超出隐藏 */
.filter-options {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    overflow: hidden;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

/* 展开时允许换行 */
.filter-options.expanded {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.filter-btn,
.expand-btn {
    text-decoration: none;
    display: inline-block;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 13px;
    color: #9ca3af;
    cursor: pointer;
    white-space: nowrap;
    margin-right: 10px;
    margin-bottom: 0;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* 展开时添加底部间距 */
.filter-options.expanded .filter-btn {
    margin-bottom: 10px;
}

.filter-btn:hover {
    border-color: rgba(138, 100, 200, 0.5);
    color: #c4b5fd;
}

.filter-btn.active {
    border-color: rgba(138, 100, 200, 0.2);
    color: #fff;
    background-color: rgba(138, 100, 200, 0.2);
}

/* 隐藏的选项默认不显示 */
.filter-btn.hidden {
    display: none;
}

.filter-btn.show {
    display: inline-block;
}

/* 展开按钮 */
.expand-btn {
    background-color: transparent;
    border: 1px solid rgba(138, 100, 200, 0.5);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 13px;
    color: #c4b5fd;
    cursor: pointer;
    white-space: nowrap;
    margin-left: auto;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    text-decoration: none;
}

.filter-options.expanded .expand-btn {
    margin-bottom: 10px;
}

.expand-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin-left: 2px;
}

/* 响应式 */
@media screen and (max-width: 480px) {
    .filter-label {
        width: 38px;
        font-size: 13px;
    }
    
    .filter-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .expand-btn {
        padding: 5px 8px;
        font-size: 12px;
    }
}

