.page-container {
  background-color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.scroll-content {
  flex: 1;
  height: calc(100vh - 100px); /* 留出底部栏高度 */
}

.cover-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.content-wrapper {
  padding: 30px;
  background: #000;
  border-radius: 30px 30px 0 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.header-section {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;

  .title {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
  }

  .tags-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;

    .tag {
      background: rgba(255, 255, 255, 0.1);
      color: #aaa;
      padding: 6px 16px;
      border-radius: 8px;
      font-size: 24px;

      &.highlight {
        background: rgba(0, 240, 255, 0.2);
        color: #00f0ff;
        border: 1px solid rgba(0, 240, 255, 0.3);
      }
    }
  }

  .price {
    font-size: 48px;
    color: #00f0ff;
    font-weight: bold;
  }
}

.section {
  margin-bottom: 50px;

  .section-title {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 24px;
    display: block;
    position: relative;
    padding-left: 20px;
    
    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: 8px;
      bottom: 8px;
      width: 6px;
      background: #00f0ff;
      border-radius: 3px;
    }
  }
}

.instructor-section {
  .instructor-row {
    display: flex;
    align-items: center;
    background: #111;
    padding: 20px;
    border-radius: 16px;

    .avatar-placeholder {
      width: 100px;
      height: 100px;
      background: #333;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 20px;
      flex-shrink: 0;
      
      text {
        color: #666;
        font-size: 24px;
      }
    }

    .avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      margin-right: 20px;
      border: 2px solid #333;
      flex-shrink: 0;
    }

    .instructor-info {
      flex: 1;
      .name {
        color: #fff;
        font-size: 30px;
        font-weight: bold;
        display: block;
        margin-bottom: 8px;
        display: flex;
        align-items: center;

        .title-tag {
          font-size: 20px;
          color: #000;
          background: #00f0ff;
          padding: 2px 10px;
          border-radius: 8px;
          margin-left: 10px;
          font-weight: normal;
        }
      }
      .desc {
        color: #888;
        font-size: 24px;
        line-height: 1.4;
      }
    }
  }
}

.info-grid {
  display: flex;
  justify-content: space-between;
  background: #111;
  padding: 30px;
  border-radius: 16px;

  .grid-item {
    text-align: center;
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.1);

    &:last-child {
      border-right: none;
    }

    .label {
      color: #666;
      font-size: 24px;
      margin-bottom: 10px;
      display: block;
    }

    .value {
      color: #fff;
      font-size: 30px;
      font-weight: bold;
    }
  }
}

.desc-text {
  color: #aaa;
  font-size: 28px;
  line-height: 1.6;
}

.detail-images {
  .detail-long-image {
    width: 100%;
    border-radius: 16px;
    display: block;
  }
  
  .placeholder-box {
    width: 100%;
    height: 300px;
    background: #111;
    border: 2px dashed #333;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
  }
}

.bottom-bar {
  height: 120px;
  background: #111;
  border-top: 1px solid #222;
  display: flex;
  align-items: center;
  padding: 0 30px;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  
  .price-container {
    flex: 1;
    
    .label {
      color: #aaa;
      font-size: 24px;
      margin-right: 10px;
    }
    
    .amount {
      color: #00f0ff;
      font-size: 40px;
      font-weight: bold;
    }
  }
  
  .btn-buy {
    width: 240px;
    height: 80px;
    line-height: 80px;
    background: linear-gradient(90deg, #00f0ff, #0099ff);
    color: #000;
    font-size: 30px;
    font-weight: bold;
    border-radius: 40px;
    border: none;
    margin: 0;
    
    &::after {
      border: none;
    }
  }
}
