    /* 全局样式 */
    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #000;
      color: #fff;
      padding-bottom: 40px;
      padding-top: 120px;
    }
    /* 显示/隐藏电脑版和手机版元素 */
.desktop-only { display: inline-block; }
.mobile-only { display: none; }

@media screen and (max-width: 800px) {
  .desktop-only { display: none; }
  .mobile-only { display: inline-block; }
}

    /* header 美化 */
    header {
      background: linear-gradient(90deg, #e50914 0%, #ff2b4a 100%);
      box-shadow: 0 2px 10px rgba(0,0,0,0.4);
      width: 100vw;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
      padding: 8px 0;
      display: flex;
      justify-content: center;
    }
    
    .header-inner {
      width: 100%;
      max-width: 1000px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      position: relative;
    }
    
    .logo img {
      height: 60px;
      margin-left: 10px;
    }
    
    /* 用户区域 */
    .signup-link {
      position: absolute;
      right: 20px;
      top: 5px;
      transform: none;
      display: flex;
      gap: 10px;
      align-items: center;
    }
    
    /* 注册/登录按钮始终显示 */
    .signup-link a {
      display: inline-block;
      background: linear-gradient(45deg, #ffcc00, #ffaa00);
      color: #111;
      padding: 8px 16px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      font-size: 16px;
      box-shadow: 0 2px 8px rgba(255, 204, 0, 0.5);
      transition: all 0.3s ease;
    }
    .signup-link a:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 204, 0, 0.7);
    }
    
    /* 默认隐藏 Akaun 三条线按钮 */
    .user-toggle {
      display: none;
      background: #fff;
      color: #111;
      font-weight: bold;
      padding: 5px 10px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 14px;
    }
    
    /* 只在手机显示 Akaun 三条线按钮 */
    @media screen and (max-width: 800px) {
      .user-toggle {
        display: inline-block;
      }
    }
    
    /* 用户菜单 */
    .user-menu {
      display: none;
      position: absolute;
      top: 45px;
      right: 0;
      background: #222;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
      padding: 10px;
    }
    .user-menu a {
      display: block;
      padding: 6px 12px;
      text-decoration: none;
      color: #fff;
    }
    .user-menu a:hover {
      background: #444;
    }
    .username-label {
      display: block;
      color: #ffd700;
      padding-bottom: 5px;
    }
    
    /* 顶部跑马灯 */
    .marquee-top {
      position: fixed;
      top: 70px;
      left: 0;
      width: 100vw;
      background: #222;
      color: #00ffcc;
      overflow: hidden;
      white-space: nowrap;
      font-weight: bold;
      padding: 5px 0;
      font-size: 12px;
      z-index: 1100;
      border-top: 1px solid #444;
      border-bottom: 1px solid #444;
    }
    .marquee-top span {
      display: inline-block;
      padding-left: 100%;
      animation: scrollTop 50s linear infinite;
    }
    @keyframes scrollTop {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }
    
    /* 底部跑马灯 */
    .marquee {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100vw;
      background: #111;
      color: #ffd700;
      overflow: hidden;
      white-space: nowrap;
      font-weight: bold;
      padding: 5px 0;
      font-size: 20px;
      border-top: 1px solid #444;
      z-index: 9999;
    }
    .marquee span {
      display: inline-block;
      padding-left: 100%;
      animation: scroll 80s linear infinite;
    }
    @keyframes scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }
    
    /* 视频轮播区域 */
    .slider {
      position: relative;
      width: 1000px;
      height: 550px;
      margin: 0px auto 40px auto;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 0 10px #ffcc00;
      background: #111;
    }
    .slides {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }
    .slides video {
      width: 1000px;
      height: 550px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.5);
      color: white;
      font-size: 2rem;
      padding: 5px 10px;
      cursor: pointer;
      z-index: 2;
      border-radius: 5px;
    }
    .prev { left: 10px; }
    .next { right: 10px; }
    .dots {
      position: absolute;
      bottom: 10px;
      width: 100%;
      text-align: center;
      z-index: 3;
    }
    .dot {
      display: inline-block;
      height: 12px;
      width: 12px;
      margin: 0 6px;
      background-color: #bbb;
      border-radius: 50%;
      cursor: pointer;
    }
    .dot.active {
      background-color: #fff;
    }
    
    /* 加入按钮 */
    .join-btn {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #ffd700, #ffcc00);
      color: #111;
      font-size: 20px;
      font-weight: bold;
      padding: 14px 24px;
      border-radius: 40px;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(255, 204, 0, 0.4);
      transition: all 0.3s ease;
      overflow: hidden;
      z-index: 1;
      width: auto;
      margin: 0 auto 40px auto;
      
    }
    .join-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 18px rgba(255, 204, 0, 0.6);
    }
    .join-btn:active {
      transform: scale(0.97);
    }
    .join-btn::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 40px;
      padding: 2px;
      background: linear-gradient(45deg, #ffcc00, #ffd700, #ff9900, #ffcc00);
      background-size: 300% 300%;
      animation: pulse-border 4s ease infinite;
      z-index: -1;
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
              mask-composite: exclude;
    }
    @keyframes pulse-border {
      0% { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }
    
    /* 描述与功能区 */
    .description {
      max-width: 1000px;
      margin: 0 auto 40px auto;
      text-align: center;
      font-size: 26px;
      line-height: 1.5;
      padding: 0 15px;
    }
    .features {
      max-width: 1000px;
      margin: 0 auto 30px auto;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
      padding: 0 15px;
    }
    .feature-box {
      flex: 1 1 220px;
      background: #111;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 5px #ffcc00;
      color: #ffd700;
      text-align: left;
    }
    .feature-box h3 {
      margin-top: 0;
      font-size: 22px;
    }
    .feature-box p {
      font-size: 18px;
      color: #fff;
      margin-bottom: 0;
    }
    
    /* 浮动组件 */
    /* 浮动客服组件 */
.chat-button {
  position: fixed;
  bottom: 80px;
  right: 10px;
  z-index: 9999;
}
.chat-toggle {
  width: 80px;
  height: 80px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.chat-toggle img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.chat-box {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #222;
  color: white;
  border-radius: 10px;
  padding: 10px 15px;
  width: 250px;
  font-size: 14px;
  box-shadow: 0 0 15px #ffcc00;
}
.chat-box .btn {
  display: block;
  margin: 5px 0;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: white;
  font-weight: bold;
}
.btn-wa { background: #25D366; }
.btn-tg { background: #0088cc; }

    
    .floating-lucky-draw {
      position: fixed;
      right: 0px;
      bottom: 300px;
      z-index: 999;
      animation: floatUpDown 2.5s ease-in-out infinite;
    }
    .floating-lucky-draw img {
      width: 80px;
      height: auto;
      cursor: pointer;
    }
    
   .three-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
  
}
.three-buttons-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}
@media screen and (min-width: 801px) {
  .three-buttons .join-btn {
    width: 280px;
    text-align: center;
  }
}
    
    @keyframes floatUpDown {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
    @media screen and (max-width: 800px) {
      .signup-link {
        flex-direction: column;
        align-items: flex-end;
      }
      .user-menu {
    top: 90px; /* 稍微往下移一点避免重叠 */
    right: 10px;
    width: 150px;
    z-index: 9999; /* 确保浮在跑马灯上面 */
  }
}
    /* 响应式样式 */
    @media screen and (max-width: 800px) {
      .slider {
        margin-top: 0px !important;
        width: 100vw;
        height: 56.25vw;
      }
      .slides video {
        width: 100vw;
        height: 56.25vw;
      }
      .logo img {
        height: 50px;
        margin-left: 0;
      }
       .three-buttons {
    flex-direction: row;         /* 横向排列 */
    flex-wrap: wrap;             /* 如果太窄自动换行 */
    justify-content: center;     /* 居中排列 */
    gap: 10px;
    padding: 0 10px;
  }

  .three-buttons .join-btn {
    width: auto;                /* 不要强制 100% */
    flex: 1 1 auto;             /* 自动伸缩 */
    min-width: 100px;           /* 可选：限制最小宽度 */
    padding: 10px 12px;
    font-size: 14px;
    margin: 0;                  /* 去掉垂直 margin */
  }
}
       @media screen and (max-width: 800px) {
  .desktop-only {
    display: none !important;
  }
}
@media screen and (max-width: 800px) {
  .user-menu a {
    display: flex;
    justify-content: center;     /* 水平居中 */
    align-items: center;         /* 垂直居中 */
    height: 18px;                /* 固定高度可让居中更稳定 */
    border-radius: 20px;         /* 可选：让它看起来像按钮 */
    background: #ffd700;         /* 可选：淡背景 */
    color: #000000 !important;
    font-weight: bold;
    margin-bottom: 8px;          /* 可选：按钮之间间距 */
  }

  .user-menu a:hover {
    background: #333;
    color: #ffffff !important;  /* 👉 鼠标悬停时颜色变白 */
  }
}

