  <style>
    /* 基础样式 */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Microsoft YaHei", sans-serif;
    }
    
    body {
      background-color: #f5f5f5;
      color: #333;
      line-height: 1.6;
    }
    
    .container {
      max-width: 640px;
      margin: 0 auto;
      /*background-color: #fff;*/
      position: relative;
    }
    
    /* 头部区域样式 */
    .header {
      position: relative;
      padding: 20px 15px;
      background: linear-gradient(135deg, #4285f4, #34a853);
      color: white;
      text-align: center;
      overflow: hidden;
    }
    
    .header h1 {
      font-size: 20px;
      margin-bottom: 10px;
    }
    
    .countdown {
      font-size: 14px;
      margin-top: 5px;
      padding: 5px 10px;
      background-color: rgba(255, 255, 255, 0.2);
      border-radius: 20px;
      display: inline-block;
    }
    
    .status-tag {
      position: absolute;
      top: 10px;
      right: 15px;
      padding: 3px 8px;
      font-size: 12px;
      border-radius: 10px;
    }
    
    .status-active {
      background-color: #ff9800;
    }
    
    .status-ended {
      background-color: #f44336;
    }
    
    /* 用户信息样式 */
    .user-info {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      background-color: rgba(0, 0, 0, 0.5);
      padding: 5px 10px;
      border-radius: 20px;
      color: white;
      font-size: 14px;
      display: none;
    }
    
    /* 音乐按钮样式 */
    .music-btn {
      position: fixed;
      top: 20px;
      right: 20px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: #ff9800;
      color: white;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
     .user-header {
        position: fixed;
        top: 10px;
        width: 100%;
        height: 50px;
        color: white;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .music-btn i {
      font-size: 24px;
    }
    
    .music-btn.playing {
      animation: rotate 2s linear infinite;
    }
    
    @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    
    /* 图片轮播样式 */
    .image-carousel {
      position: relative;
      width: 100%;
      height: 300px;
      overflow: hidden;
    }
    
    .carousel-container {
      display: flex;
      height: 100%;
      transition: transform 0.5s ease;
    }
    
    .carousel-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .carousel-dots {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
    }
    
    .dot {
      width: 8px;
      height: 8px;
      margin: 0 3px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      cursor: pointer;
    }
    
    .dot.active {
      background-color: white;
    }
    
    /* 活动内容样式 */
    .activity-content {
      padding: 20px 15px;
    }
    
    .section-title {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 15px;
      color: #fff;
      position: relative;
      padding-left: 15px;
    }
    
    .section-title::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 5px;
      height: 20px;
      background-color: #4285f4;
      border-radius: 2px;
    }
    
    .benefits-list {
      margin-bottom: 20px;
    }
    
    .benefit-item {
      padding: 12px 15px;
      margin-bottom: 10px;
      background-color: #f9f9f9;
      border-left: 3px solid #34a853;
      border-radius: 4px;
    }
    
    .benefit-item h3 {
      font-size: 14px;
      margin-bottom: 5px;
      color: #555;
    }
    
    .benefit-item p {
      font-size: 12px;
      color: #777;
    }
    
    .activity-limit {
      padding: 12px 15px;
      background-color: #fff8e1;
      border-radius: 4px;
      font-size: 14px;
      color: #ff9800;
      margin-bottom: 20px;
    }
    
    /* 支付区域样式 */
    .payment-area {
      /*padding: 20px 15px;*/
      text-align: center;
/*      background-color: #fff;*/
      position: absolute;
      bottom: 0;
      /*border-top: 1px solid #eee;*/
/*      z-index: 100;*/
    }
    
    .pay-button {
      display: inline-block;
      padding: 12px 40px;
      background-color: #4285f4;
      color: white;
      border-radius: 12px;
      font-size: 16px;
      font-weight: bold;
      margin-top: 10px;
      cursor: pointer;
      border: none;
      transition: background-color 0.3s;
    }
    
    .pay-button:hover {
      background-color: #3367d6;
    }
    
    .ended-tip {
      padding: 10px;
      background-color: #ffebee;
      color: #c62828;
      border-radius: 4px;
      font-size: 14px;
      display: none;
    }
    
    /* 组队分享区域 */
    .team-area {
      padding: 20px 15px;
      background-color: #fff;
    }
    
    .team-title {
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 15px;
      color: #333;
    }
    
    .team-steps {
      margin-bottom: 20px;
    }
    
    .step-item {
      margin-bottom: 15px;
      padding-left: 25px;
      position: relative;
    }
    
    .step-item::before {
      content: counter(step);
      counter-increment: step;
      position: absolute;
      left: 0;
      top: 0;
      width: 20px;
      height: 20px;
      background-color: #4285f4;
      color: white;
      border-radius: 50%;
      text-align: center;
      line-height: 20px;
      font-size: 12px;
    }
    
    .share-btn {
      display: inline-block;
      padding: 10px 30px;
      background-color: #ff9800;
      color: white;
      border-radius: 25px;
      font-size: 14px;
      cursor: pointer;
      margin-top: 10px;
      border: none;
    }
    
    .reward-title {
      font-size: 14px;
      color: #555;
      margin-top: 20px;
      margin-bottom: 10px;
    }
    
    .reward-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    
    .reward-item {
      flex: 1 1 calc(50% - 5px);
      padding: 10px;
      background-color: #f9f9f9;
      border-radius: 4px;
      font-size: 12px;
    }
    
    /* 购买记录滚动样式 */
    .purchase-record {
      padding: 15px;
      background-color: #fff;
      margin-top: 10px;
    }
    
    .record-title {
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 10px;
      color: #fff;
      display: flex;
      align-items: center;
    }
    
    .record-title i {
      color: #4285f4;
      margin-right: 5px;
    }
    
    .record-container {
      height: 80px;
      overflow: hidden;
      position: relative;
    }
    
    .record-list {
      position: absolute;
      width: 100%;
      top: 0;
      animation: scroll 15s linear infinite;
    }
    
    @keyframes scroll {
      0% { top: 0; }
      100% { top: -100%; }
    }
    
    .record-item {
      padding: 8px 0;
      font-size: 14px;
      color: #555;
      border-bottom: 1px dashed #eee;
    }
    
    .record-item:last-child {
      border-bottom: none;
    }
    
    /* 底部信息样式 */
    .footer {
      padding: 20px 15px;
      background-color: #333;
      color: #aaa;
      font-size: 12px;
    }
    
    .footer h3 {
      color: white;
      margin-bottom: 10px;
      font-size: 14px;
    }
    
    .contact-info {
      margin-bottom: 15px;
    }
    
    .contact-item {
      margin-bottom: 5px;
      display: flex;
      align-items: center;
    }
    
    .contact-item i {
      margin-right: 5px;
    }
    
    .copyright {
      margin-top: 20px;
      padding-top: 15px;
      border-top: 1px solid #444;
      text-align: center;
    }

    /* 抢购成功弹出层样式 */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}
.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
}
.popup-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}
.input-group {
    margin-bottom: 15px;
}
.input-group label {
    display: block;
    margin-bottom: 5px;
}
.input-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.pay-btn, .close-btn {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.pay-btn {
    background-color: #4CAF50;
    color: white;
}
.close-btn {
    background-color: #f44336;
    color: white;
}


  :root {
            --primary-color: #4a6cf7;
            --bg-color: #fff;
            --text-color: #333;
            --border-color: #eaeaea;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            --success-color: #00b42a;
            --warning-color: #ff7d00;
            --danger-color: #f53f3f;
            --input-bg: #f7f8fa;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #2E373E;
            /*padding: 20px;*/
        }
        
        .container {
            width: 100%;
            max-width: 400px;
        }
        
        .btn-open {
            width: 100%;
            padding: 12px 16px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }
        
        .btn-open:hover {
            background-color: #3a5ce7;
            transform: translateY(-2px);
        }
        
        .btn-open i {
            font-size: 18px;
        }
        
        /* 弹窗容器样式 */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .modal-content {
            background-color: var(--bg-color);
            border-radius: 12px;
            width: 100%;
            max-width: 500px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transform: translateY(20px);
            transition: all 0.3s ease;
        }
        
        .modal.active .modal-content {
            transform: translateY(0);
        }
        
        /* 弹窗头部样式 */
        .modal-header {
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
        }
        
        .modal-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-color);
        }
        
        .btn-close {
            background: none;
            border: none;
            color: #666;
            font-size: 20px;
            cursor: pointer;
            transition: color 0.3s ease;
        }
        
        .btn-close:hover {
            color: #333;
        }
        
        /* 弹窗内容样式 */
        .modal-body {
            padding: 0;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        /* 表单样式 */
        .form-container {
            padding: 20px;
        }
        
        .form-group {
            margin-bottom: 16px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #666;
        }
        
        .form-control {
            width: 100%;
            padding: 10px 12px;
            background-color: var(--input-bg);
            border: 1px solid var(--border-color);
            border-radius: 6px;
            font-size: 16px;
            color: var(--text-color);
            transition: border-color 0.3s ease;
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
        }
        
        /* 状态选择样式 */
        .status-select {
            display: flex;
            gap: 12px;
        }
        
        .status-option {
            flex: 1;
            padding: 10px;
            text-align: center;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .status-option:hover {
            border-color: var(--primary-color);
        }
        
        .status-option.active {
            background-color: rgba(74, 108, 247, 0.1);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }
        
        .status-option i {
            margin-right: 6px;
        }
        
        /* 表单底部按钮样式 */
        .form-actions {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            margin-top: 24px;
        }
        
        .btn {
            padding: 10px 16px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #3a5ce7;
        }
        
        .btn-secondary {
            background-color: #f5f7fa;
            color: #666;
        }
        
        .btn-secondary:hover {
            background-color: #eaeaea;
        }
        
        /* 加载状态样式 */
        .loading-state {
            padding: 40px 20px;
            text-align: center;
        }
        
        .loading-spinner {
            display: inline-block;
            width: 24px;
            height: 24px;
            border: 3px solid #eee;
            border-radius: 50%;
            border-top-color: var(--primary-color);
            animation: spin 1s linear infinite;
            margin-bottom: 16px;
        }
        
        .loading-text {
            font-size: 16px;
            color: #666;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .divRadius {
            background-color: RGB(63,72,79);
            border-radius: 10px;
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .fade-in {
            animation: fadeIn 0.3s ease forwards;
        }

      .bg-primary {
          --tw-bg-opacity: 1;
          background-color: rgb(22 93 255 / var(--tw-bg-opacity, 1));
      }
      .py-12 {
        padding-top: 3rem;
        padding-bottom: 8rem;
      }

      .stats-container {
      display: flex;
      justify-content: space-around;
      margin: 20px 0;
    }

    .stats-item {
      width: 120px;
      height: 80px;
      background-color: #343a40; 
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: #fff; 
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
    }

    .stats-number {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 5px;
    }

    .stats-text {
      font-size: 14px;
    }
    .bg-gray-medium {
        background-color: rgb(150, 150, 150 / 1.0);
    }

     /* 表格样式 */
    .custom-table {
        width: 100%;
        border-collapse: collapse;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .custom-table th,
    .custom-table td {
        padding: 12px 15px;
        text-align: left;
        width: 70px;
        border-bottom: 1px solid #eaeaea;
    }
    
    .custom-table th {
        font-weight: 600;
        color: #fff;
    }
    
    .custom-table tr:last-child td {
        border-bottom: none;
    }
    
    .custom-table tr:hover {
        background-color: #f9fafb;
        transition: background-color 0.2s;
    }

  </style>
  <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .text-shadow {
                text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            }
            .payment-button {
                @apply bg-primary hover:bg-primary/90 text-white font-medium py-3 px-6 rounded-lg transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-0.5;
            }
            .payment-button-ended {
                @apply bg-gray-400 text-gray-700 cursor-not-allowed;
            }
        }
</style>