@layer utilities {
  .text-shadow {
      text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  .text-shadow-lg {
      text-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }
  .bg-gradient-primary {
      background: linear-gradient(135deg, #1f3ba2 0%, #2729b0 100%);
  }
  .bg-gradient-accent {
      background: linear-gradient(135deg, #E91E63 0%, #F06292 100%);
  }
  .glass-effect {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .card-hover {
      transition: all 0.3s ease;
  }
  .card-hover:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  }
  .coin {
      position: relative;
      border-radius: 50%;
      background: linear-gradient(135deg, #FFD700 0%, #FFC107 50%, #FFD700 100%);
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  .coin::before {
      content: '';
      position: absolute;
      top: 10%;
      left: 10%;
      right: 10%;
      bottom: 50%;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50% 50% 0 0;
  }
  .sweep-coin {
      position: relative;
      border-radius: 50%;
      background: linear-gradient(135deg, #C0C0C0 0%, #E0E0E0 50%, #C0C0C0 100%);
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  .sweep-coin::before {
      content: '';
      position: absolute;
      top: 10%;
      left: 10%;
      right: 10%;
      bottom: 50%;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50% 50% 0 0;
  }
  .game-card {
      transition: all 0.3s ease;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  .game-card:hover {
      transform: scale(1.05);
  }
  .game-card img {
      transition: all 0.3s ease;
  }
  .game-card:hover img {
      transform: scale(1.1);
  }
}

body {
  background-color: #121212;
  background-image: 
radial-gradient(circle at 10% 20%, rgba(123, 31, 162, 0.1) 0%, transparent 20%),
      radial-gradient(circle at 90% 80%, rgba(233, 30, 99, 0.1) 0%, transparent 20%),
      radial-gradient(circle at 50% 50%, rgba(156, 39, 176, 0.05) 0%, transparent 30%);
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-bg {
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 400px;
}

.top-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.top-icon-container img {
  max-width: 100px;
  height: auto;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  background-image: url('image/top1.png');
  background-size: cover;
  background-position: center;
  /* opacity: 0.4; */
  z-index: -1;
}

.top-title {
  color: yellow;
  font-size: 30px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.text-gc{
  font-size: 50px;
  font-weight: bold;
}

.coin-animation {
  animation: float 3s ease-in-out infinite;
}

.plus-sign {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.header-banner {
  background: linear-gradient(90deg, #7B1FA2 0%, #9C27B0 50%, #E91E63 100%);
  padding: 10px 0;
  text-align: center;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.header-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  to { left: 100%; }
}

.play-button {
  background: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.play-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.play-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.join-button {
  background: linear-gradient(135deg, #7B1FA2 0%, #9C27B0 100%);
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.join-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.login-text {
  color: white;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-text:hover {
  color: #E0E0E0;
}

.footer-nav {
  display: flex;
  justify-content: space-around;
  padding: 15px 0;
  background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%);
}

.footer-nav button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-nav button:hover {
  color: #E0E0E0;
}

.game-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  padding: 15px 10px 10px;
  color: white;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
@layer utilities {
  .text-shadow {
      text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  .text-shadow-lg {
      text-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }
  .bg-gradient-primary {
      background: linear-gradient(135deg, #7B1FA2 0%, #9C27B0 100%);
  }
  .bg-gradient-accent {
      background: linear-gradient(135deg, #E91E63 0%, #F06292 100%);
  }
  .card-hover {
      transition: all 0.3s ease;
  }
  .card-hover:hover {
      transform: translateY(-5px);
      background-color: theme('colors.card-hover');
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  }
  .icon-container {
      transition: all 0.3s ease;
  }
  .card-hover:hover .icon-container {
      transform: scale(1.1);
  }
}

body {
  background-color: #121212;
  background-image: 
      radial-gradient(circle at 10% 20%, rgba(123, 31, 162, 0.1) 0%, transparent 20%),
      radial-gradient(circle at 90% 80%, rgba(233, 30, 99, 0.1) 0%, transparent 20%),
      radial-gradient(circle at 50% 50%, rgba(156, 39, 176, 0.05) 0%, transparent 30%);
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
}

.feature-card {
  background-color: theme('colors.card-bg');
  border-radius: 25px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  box-shadow: 0 4px 8px rgba(119, 0, 159, 0.2);
  height: 100%;
  
  border: 3px solid #671F7B;
  background-color: #350C52;
}

.icon-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.feature-title {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 5px;
}

.join-button {
  background: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.join-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.login-button {
  background: transparent;
  border: 2px solid white;
  border-radius: 50px;
  padding: 13px 30px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-button:hover {
  background-color: rgba(255,255,255,0.1);
transform: translateY(-3px);
}


/* 主标题区域 */
.hero {
  padding: 30px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 16px;
  /* opacity: 0.9; */
  color: #CBC6CD;
}


/* 视频容器 */
.video-section {
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
  position: relative;
  border: 4px solid #FFD700;
  border-radius: 8px;
  overflow: hidden;
}

.video-placeholder {
  width: 100%;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.play-btn::after {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #000;
  margin-left: 3px;
}

/* 视频播放控制样式 */
.video-player {
  display: none;
  position: relative;
}

.video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-section:hover .video-controls {
  opacity: 1;
}

.progress-bar {
  height: 4px;
  background: #555;
  margin-bottom: 8px;
  cursor: pointer;
}

.progress {
  height: 100%;
  width: 0%;
  background: #FFD700;
}

.control-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.play-pause {
  cursor: pointer;
}

.time {
  font-size: 14px;
}

/* 功能介绍列表 */
.features {
  width: 90%;
  max-width: 600px;
  margin: 30px auto;
}

.features h2 {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.features ul{
  padding: 0px 20px;
}

.features li{
  list-style-type: disc;
}

.features hr{
  margin-top: 20px;
}

/* 按钮行容器 - 确保按钮在所有屏幕尺寸下都在同一行 */
.buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-width: 300px;
}

/* 调整Responsible Social Gaming按钮以适应flex布局 */
.responsible-button {
  background-color: #FFD700; /* 金黄色背景 */
  color: #121212; /* 深色文字以确保可读性 */
  border: none;
  border-radius: 25px; /* 圆角效果 */
  padding: 12px 16px; /* 适当的内边距 */
  font-size: 14px; /* 稍微减小字体以适应小屏幕 */
  font-weight: bold;
  cursor: pointer;
  display: block;
  flex: 1; /* 允许按钮在容器中占据剩余空间 */
  min-width: 0; /* 允许按钮内容收缩 */
  white-space: nowrap; /* 防止文本换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出时显示省略号 */
  text-align: center;
  text-transform: uppercase; /* 大写文字 */
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}



/* 2. 修改背景渐变 */
.bg-gradient-primary {
  background: linear-gradient(135deg, #136c22 0%, #0c7101 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
}

/* 3. 修改header banner渐变 */
.header-banner {
  background: linear-gradient(90deg, #1565C0 0%, #2196F3 50%, #42A5F5 100%);
  /* 其他样式保持不变 */
}

/* 4. 修改body背景图像 */
body {
  background-color: #121212;
  background-image: 
      radial-gradient(circle at 10% 20%, rgba(21, 101, 192, 0.1) 0%, transparent 20%),
      radial-gradient(circle at 90% 80%, rgba(33, 150, 243, 0.1) 0%, transparent 20%),
      radial-gradient(circle at 50% 50%, rgba(33, 150, 243, 0.05) 0%, transparent 30%);
  /* 其他样式保持不变 */
}

/* 5. 修改play-button按钮 */
.play-button {
  background: linear-gradient(135deg, #1565C0 0%, #2196F3 100%);
  /* 其他样式保持不变 */
}

/* 6. 修改join-button按钮 */
.join-button {
  background: linear-gradient(135deg, #1565C0 0%, #2196F3 100%);
  /* 其他样式保持不变 */
}

/* 7. 修改login-button按钮 */
.login-button {
  background: linear-gradient(135deg, #1565C0 0%, #2196F3 100%);
  color: white;
  /* 其他样式保持不变 */
}

/* 8. 修改login-button悬停效果 */
.login-button:hover {
  background-color: rgba(33, 150, 243, 0.9);
  /* 其他样式保持不变 */
}

/* 9. 修改footer-nav背景 */
.footer-nav {
  background: linear-gradient(135deg, #1565C0 0%, #2196F3 100%);
  /* 其他样式保持不变 */
}

/* 10. 修改feature-card边框和背景 */
.feature-card {
  border: 3px solid #1565C0;
  background-color: #0C3552;
  box-shadow: 0 4px 8px rgba(21, 101, 192, 0.2);
  /* 其他样式保持不变 */
}

/* 11. 修改video-section边框 */
.video-section {
  border: 4px solid #2196F3;
  /* 其他样式保持不变 */
}

/* 12. 修改play-btn背景 */
.play-btn {
  background: rgba(33, 150, 243, 0.8);
  /* 其他样式保持不变 */
}

.play-btn::after {
  border-color: transparent transparent transparent #ffffff;
  /* 其他样式保持不变 */
}

/* 13. 修改progress进度条 */
.progress {
  background: #2196F3;
  /* 其他样式保持不变 */
}

/* 14. 修改responsible-button按钮 */
.responsible-button {
  background-color: #2196F3;
  color: white;
  /* 其他样式保持不变 */
}

/* 15. 修改responsible-button悬停效果 */
.responsible-button:hover {
  background-color: #1565C0;
  /* 其他样式保持不变 */
}

/* 16. 修改age-circle-button边框 */
.age-circle-button {
  width: 48px;
  height: 48px;
  border: 1px solid #2196F3;
  display: flex;
  border-radius: 50%; /* 圆形效果 */
  align-items: center;
  justify-content: center;
  /* 其他样式保持不变 */
}

/* 17. 修改age-circle-text颜色 */
.age-circle-text {
  color: #ffffff; /* 金黄色文字 */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  /* 其他样式保持不变 */
}

/* 18. 修改fixed-bottom-buttons边框 */
.fixed-bottom-buttons {
  border-top: 1px solid rgba(33, 150, 243, 0.3);
  /* 其他样式保持不变 */
}


.age-circle-button:hover {
  background-color: rgba(255, 215, 0, 0.1); /* 悬停时轻微背景色 */
  transform: scale(1.05); /* 轻微放大效果 */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* 添加阴影 */
}

/* 响应式调整 - 确保按钮始终在同一行 */
@media (max-width: 768px) {
  .buttons-row {
    gap: 8px;
  }
  
  .responsible-button {
    padding: 10px 12px;
    font-size: 12px; /* 进一步减小字体大小 */
    border-radius: 20px;
  }
  
  .age-circle-button {
    width: 40px;
    height: 40px;
  }
  
  .age-circle-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .buttons-row {
    gap: 6px;
  }
  
  .responsible-button {
    padding: 8px 10px;
    font-size: 11px;
    letter-spacing: 0;
  }
  
  .age-circle-button {
    width: 36px;
    height: 36px;
  }
  
  .age-circle-text {
    font-size: 12px;
  }
}
/* 固定在底部的按钮容器 */
.fixed-bottom-buttons {
  position: fixed; /* 固定定位 */
  bottom: 0; /* 距离底部0像素 */
  left: 0; /* 距离左侧0像素 */
  right: 0; /* 距离右侧0像素 */
  background: linear-gradient(to top, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0.95) 100%); /* 渐变背景 */
  padding: 15px 0;
  z-index: 1000; /* 确保在最上层 */
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* 顶部边框 */
}

/* 底部按钮容器 - 改为水平排列 */
.bottom-buttons-container {
  display: flex;
  gap: 10px; /* 按钮之间的间距 */
  width: 100%;
}

/* 调整JOIN NOW!按钮样式 - 设置为固定宽度百分比 */
.join-button {
  background: linear-gradient(135deg, #55ff8d 0%, #00ff00 100%);
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  color: black;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  flex: 1; /* 让按钮平分空间 */
  min-width: 0; /* 允许按钮内容收缩 */
  white-space: nowrap; /* 防止文本换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出时显示省略号 */
  text-align: center;
}

/* 调整LOGIN按钮样式 - 使用显眼的金黄色背景 */
.login-button {
  background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%); /* 金黄色渐变背景 */
  border: none; /* 移除白色边框 */
  border-radius: 50px;
  padding: 10px 20px;
  color: #121212; /* 使用深色文字以确保可读性 */
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1; /* 让按钮平分空间 */
  min-width: 0; /* 允许按钮内容收缩 */
  white-space: nowrap; /* 防止文本换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出时显示省略号 */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* 添加阴影效果 */
}

/* 调整LOGIN按钮悬停效果 */
.login-button:hover {
  background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%); /* 悬停时稍深的金黄色 */
  transform: translateY(-2px); /* 轻微上浮效果 */
  box-shadow: 0 6px 12px rgba(0,0,0,0.3); /* 增强阴影 */
}

/* 响应式调整保持不变 */
@media (max-width: 768px) {
  .login-button {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .login-button {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .fixed-bottom-buttons {
    padding: 12px 0;
  }
  
  .bottom-buttons-container {
    gap: 8px;
  }
  
  .join-button {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .login-button {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .fixed-bottom-buttons {
    padding: 10px 0;
  }
  
  .bottom-buttons-container {
    gap: 6px;
  }
  
  .join-button {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .login-button {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* 为页面主要内容添加底部间距，避免被固定按钮遮挡 */
body {
  padding-bottom: 80px; /* 为底部固定按钮留出空间 */
  background-color: #006500;
}

/* 响应式调整底部间距 */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 60px;
  }
}