body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  background-color: #121212;
  color: #fff;
  line-height: 1.6;
}

a {
  color: #fff;
  text-decoration: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo {
  height: 90px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.btn-gold {
  background-color: #FFD700;
  color: #000;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
}

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

.promotions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #1e1e1e;
  padding: 20px;
  gap: 15px;
}

.promotions img {
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
}

.welcome {
  background-color: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
}

.welcome h2 {
  color: #FFD700;
  margin-bottom: 10px;
}

.games {
  background-color: #181818;
  padding: 40px 20px;
  text-align: center;
}

.games h3 {
  color: #ADFF2F;
  margin-bottom: 20px;
}

.game-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.game-grid img {
  max-width: 100px;
  border-radius: 10px;
  transition: transform 0.2s;
}

.game-grid img:hover {
  transform: scale(1.05);
}

.floating-icons {
  position: fixed;
  top: 50%;
  right: 10px; /* 靠右边距离，可微调 */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-icons a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 10px #000;
  transition: transform 0.3s ease;
}

.floating-icons a img:hover {
  transform: scale(1.1);

}
.register-notice {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  border: 2px solid #d3ff00;
  border-radius: 12px;
  color: #ffffff;
  background-color: transparent;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  box-shadow: 0 0 15px #d3ff00;
  color: #d3ff00;
}
/* 注册模块整体区域 */
.register-section {
  background-color: #1f1f1f;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.register-title {
  font-size: 26px;
  font-weight: bold;
  color: #b6ff00;
  margin-bottom: 10px;
}

.register-subtitle {
  font-size: 14px;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.register-how-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.register-steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* 避免过长时溢出 */
  margin-top: 30px;
}

.register-step {
  flex: 1 1 250px;
  max-width: 300px;
  border: 2px solid #ccff00;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 0 12px #ccff00;
  background-color: #111;
  color: #fff;
}

.step-icon {
  font-size: 30px;
  margin-bottom: 10px;
  color: #b6ff00;
}

.register-step h4 {
  font-size: 18px;
  color: #b6ff00;
  margin-bottom: 10px;
}

.register-step p {
  font-size: 14px;
  color: #eee;
  line-height: 1.5;
}

/* 注册说明文字 */
.register-note {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 20px;
}

/* 注册提示框 */
.register-reminder {
  border: 2px solid #b6ff00;
  padding: 12px 16px;
  display: inline-block;
  border-radius: 8px;
  font-size: 14px;
  background-color: #121212;
  color: #eee;
}
.download-section {
  text-align: center;
  margin: 60px 0;
}

.download-title {
  font-size: 28px;
  color: #d7ff4a;
  font-weight: bold;
  margin-bottom: 20px;
}

.download-banner img {
  width: 90%;
  max-width: 800px;
  border: 2px solid #d7ff4a;
  border-radius: 12px;
  box-shadow: 0 0 15px #d7ff4a77;
}
.device-section {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.device-box {
  background-color: #000;
  border: 2px solid #d7ff4a;
  box-shadow: 0 0 12px #d7ff4a66;
  padding: 30px;
  max-width: 800px;
  width: 90%;
  text-align: center;
  border-radius: 10px;
}

.device-icon {
  font-size: 36px;
  color: #d7ff4a;
  font-weight: bold;
  margin-bottom: 10px;
}

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

.device-list {
  list-style: none;
  padding: 0;
  color: #d7ff4a;
  font-size: 16px;
  line-height: 2;
}

.device-note {
  color: #ccc;
  font-size: 14px;
  margin-top: 20px;
}
.mobile-compatible {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.mobile-compatible h2 {
  color: #d8ff00;
  font-size: 28px;
  font-weight: bold;
  text-shadow: 0 0 10px #d8ff00;
  margin-bottom: 10px;
}

.mobile-compatible .underline {
  width: 180px;
  height: 2px;
  background-color: #d8ff00;
  margin: 0 auto;
}
.mobile-preview {
  text-align: center;
  margin: 40px 0;
}

.mobile-preview img {
  width: 100%;
  max-width: 1000px; /* 控制最大宽度放大到 1000px */
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 255, 0, 0.4);
}
.mobile-benefits {
  text-align: center;
  color: #fff;
  margin: 40px auto;
  max-width: 900px;
}

.benefits-box {
  border: 2px solid #d4ff00;
  box-shadow: 0 0 15px #d4ff00;
  border-radius: 15px;
  padding: 30px 40px;
  margin: 30px auto;
  background: transparent;
  text-align: left;
  font-size: 18px;
  line-height: 2;
  max-width: 800px;
}

.benefits-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.benefits-box li {
  margin-bottom: 10px;
  color: #ffffff;
}

.bottom-text {
  font-size: 16px;
  color: #fff;
  margin-top: 20px;
  line-height: 1.8;
}
.support-section {
  text-align: center;
  color: #fff;
  margin: 80px auto;
  padding: 0 20px;
  max-width: 1000px;
}

.support-title {
  font-size: 30px;
  font-weight: bold;
  color: #d4ff00;
  text-shadow: 0 0 8px #d4ff00;
  margin-bottom: 10px;
}

.support-title span {
  color: #d4ff00;
}

.support-subtitle {
  font-size: 16px;
  margin-bottom: 40px;
  border-bottom: 2px solid #d4ff00;
  display: inline-block;
  padding-bottom: 10px;
}

.support-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.support-item {
  background-color: #1d1d1f;
  border: 2px solid #404040;
  border-radius: 20px;
  padding: 30px 40px;
  width: 240px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.support-item:hover {
  transform: scale(1.05);
  border-color: #d4ff00;
  box-shadow: 0 0 12px #d4ff00;
}

.support-item img {
  width: 200px;
  height: auto;
  margin-bottom: 15px;
}

}

.support-item p {
  font-size: 20px;
  font-weight: bold;
}

.support-lang {
  font-size: 14px;
  color: #ccc;
  margin-top: 20px;
}
.safety-section {
  padding: 60px 20px;
  background: #1e1e1e;
  color: #fff;
  text-align: center;
}

.section-title {
  font-size: 28px;
  color: #d6ff00;
  text-shadow: 0 0 10px #d6ff00;
  margin-bottom: 20px;
}

.section-subtitle {
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 16px;
}

.safety-grid {
  display: grid;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.safety-box {
  background: #111;
  border: 2px solid #d6ff00;
  box-shadow: 0 0 15px #d6ff00;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}

.icon-container {
  margin-bottom: 10px;
}

.safety-title {
  color: #d6ff00;
  font-size: 20px;
  margin-bottom: 10px;
}
.safe-play {
  padding: 60px 20px;
  color: #fff;
  font-family: 'Microsoft YaHei', sans-serif;
  background-color: transparent;
}

.safe-play h2 {
  color: #d6ff00;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0 10px #d6ff00;
  margin-bottom: 10px;
}

.safe-play .intro {
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 16px;
}

.safe-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 800px;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

.safe-list li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.safe-list .icon {
  font-size: 20px;
  margin-right: 8px;
  color: #d6ff00;
}

.safe-box {
  border: 2px solid #d6ff00;
  border-radius: 8px;
  padding: 15px 20px;
  margin: 25px auto;
  max-width: 1000px;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 0 12px #d6ff00;
  background: transparent;
}

.highlight-title {
  text-align: center;
  font-size: 1.6rem;
  color: #d6ff00;
  text-shadow: 0 0 10px #d6ff00;
  margin: 40px 0 15px;
  font-weight: bold;
}

.description {
  max-width: 1000px;
  margin: 0 auto 20px;
  line-height: 1.8;
  font-size: 16px;
  color: #fff;
  text-align: left;
}
.login-help {
  padding: 50px 20px;
  font-family: 'Microsoft YaHei', sans-serif;
  color: #fff;
  background-color: transparent;
}

.title-glow-green {
  color: #d6ff00;
  text-shadow: 0 0 10px #d6ff00;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.steps {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.8;
  padding-left: 20px;
}

.divider {
  height: 2px;
  background-color: #d6ff00;
  border: none;
  margin: 30px auto;
  width: 200px;
  box-shadow: 0 0 10px #d6ff00;
}

.safe-box {
  max-width: 1000px;
  margin: 30px auto 0;
  border: 2px solid #d6ff00;
  border-radius: 8px;
  padding: 15px 20px;
  color: #fff;
  box-shadow: 0 0 12px #d6ff00;
  background: transparent;
  font-size: 16px;
  line-height: 1.7;
}

.safe-box a {
  color: #d6ff00;
  text-decoration: underline;
}
.language-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 8px;
  display: flex;
  align-items: center;
}

.lang-btn .flag-cn,
.lang-btn .flag-en,
.lang-btn .flag-my {
  width: 20px;
  height: 14px;
  margin-right: 6px;
  display: inline-block;
  background-size: cover;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background: #222;
  border: 1px solid #444;
  list-style: none;
  padding: 5px 0;
  z-index: 99;
}

.lang-dropdown li {
  color: white;
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.lang-dropdown li:hover {
  background: #333;
}

.language-selector:hover .lang-dropdown {
  display: block;
}

.language-selector {
  position: relative;
  display: inline-block;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #000;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 5px 0;
  min-width: 100px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 99;
}

.language-selector:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
}

.lang-dropdown li {
  padding: 5px 10px;
  color: #fff;
  cursor: pointer;
}

.lang-dropdown li:hover {
  background-color: #222;
}


/* 国旗图标样式 */
.flag {
  display: inline-block;
  width: 20px;
  height: 15px;
  background-size: cover;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 5px;
}

/* 以下是 SVG 国旗背景（你原来就有） */
.flag-cn {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="20"><rect fill="red" width="30" height="20"/><circle fill="yellow" cx="6" cy="6" r="2"/></svg>');
}

.flag-en {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="20"><rect fill="white" width="30" height="20"/><path d="M0,0 L30,20 M30,0 L0,20" stroke="red" stroke-width="3"/></svg>');
}

.flag-my {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="20"><rect fill="blue" width="30" height="20"/><circle fill="yellow" cx="10" cy="10" r="4"/></svg>');
}
/* 🌐 语言切换容器 */
.language-switcher {
  position: relative;
  display: inline-block;
}

/* 🌐 切换按钮（地球图标） */
.lang-toggle {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: white;
  padding: 6px 12px;
}

/* 🌐 弹出菜单 */
.lang-menu {
  display: none;
  position: absolute;
  right: 0;               /* ✅ 关键：靠右对齐后向左展开 */
  top: 36px;
  background-color: #111;
  border: 1px solid gold;
  border-radius: 5px;
  padding: 6px 0;
  z-index: 1000;
  min-width: 120px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

/* 🌐 显示菜单时 */
.lang-menu.show {
  display: block;
}

/* 🌐 菜单项 */
.lang-menu li {
  padding: 8px 16px;
  cursor: pointer;
  color: gold;
  transition: background-color 0.2s ease;
  font-size: 16px;
}

.lang-menu li:hover {
  background-color: #333;
  color: white;
}

/* 🌐 国旗图标间距 */
.flag {
  margin-right: 8px;
}
/* 顶部语言切换容器：居中显示 */
.top-lang-bar {
  width: 100%;
  background-color: #000; /* 与顶部背景一致 */
  text-align: center;
  padding: 6px 0;
  position: relative;
  z-index: 1000;
}

/* 移动端语言切换横向排列，防止按钮换行 */
@media (max-width: 600px) {
  .top-lang-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 4px 0;
  }
  .top-lang-bar button {
    display: flex;
    align-items: center;
    margin: 0 0;
    font-size: 11px;
    min-width: 48px;
    max-width: none;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0;
  }
  .top-lang-bar .flag {
    width: 13px;
    height: 9px;
    margin-right: 2px;
    flex-shrink: 0;
  }
}

/* 语言按钮容器 */
.language-switcher {
  display: inline-block;
  position: relative;
}

/* 语言按钮 🌐 */
.lang-toggle {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: white;
}

/* 下拉菜单 */
.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111;
  border: 1px solid gold;
  border-radius: 6px;
  padding: 10px 0;
  z-index: 999;
  min-width: 120px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.lang-menu.show {
  display: block;
}

.lang-menu li {
  padding: 8px 16px;
  color: gold;
  cursor: pointer;
  white-space: nowrap;
}

.lang-menu li:hover {
  background-color: #333;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-left: 10px;
}

.section-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px gold);
}

.gold-title {
  font-size: 20px;
  color: gold;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 0 5px gold;
}

.subtitle {
  font-size: 16px;
  color: #fff;
  margin: 4px 0 0;
}
.footer {
  background-color: #000;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: gold;
  margin-bottom: 10px;
  font-size: 16px;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: white;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: gold;
}

.footer-col p {
  margin: 8px 0;
}

.footer .icon {
  width: 20px;
  vertical-align: middle;
  margin-right: 6px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 13px;
  color: #aaa;
}

.gold {
  color: gold;
  font-weight: bold;
}
.icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}
.nav-links li a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-links li a i {
  color: gold;
  font-size: 18px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffd700;
}

.nav-links i {
  font-size: 15px;
}
.nav-links a i {
  display: inline-block;
  color: gold;
  font-size: 18px;
  margin-right: 6px;
}
.nav-links i {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome";
  font-weight: 900;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.left-img img {
  width: 100%;
  max-width: 350px;
  height: auto;
}
.right-text {
  max-width: 350px;
}
.right-text h2 {
  font-size: 22px;
  color: #f0b949;
  margin-bottom: 20px;
}
.right-text p {
  font-size: 16px;
  line-height: 1.6;
}
.register-steps {
  max-width: 960px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}

.register-steps .step {
  margin-bottom: 40px;
  border: 1px solid #ffc107;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px #ffd70040;
  background-color: rgba(0, 0, 0, 0.2);
}

.register-steps img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}

.register-steps h2 {
  font-size: 1.6em;
  color: #ffd700;
  margin-bottom: 10px;
}

.register-steps p {
  font-size: 1.1em;
  color: #eee;
  line-height: 1.6;
}
.download-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.download-banner {
  max-width: 100%;
  width: 350px;
  border: 2px solid yellow;
  border-radius: 10px;
  box-shadow: 0 0 15px limegreen;
  transition: transform 0.3s ease;
}
.download-banner:hover {
  transform: scale(1.05);
}

.download-text {
  max-width: 500px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
}

.download-text h3 {
  font-size: 1.4rem;
  color: gold;
  margin-bottom: 1rem;
}
.download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.download-content img {
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 0 12px #baff39;
  transition: transform 0.3s ease;
}
.download-content img:hover {
  transform: scale(1.02);
}

.download-description {
  max-width: 480px;
  color: #fff;
  text-align: left;
}

.download-info-title {
  color: #ffc400;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.download-description p {
  font-size: 1.1em;
  line-height: 1.6em;
}
.homepage-content h1 {
  color: #FFD700; /* 金色 */
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0 8px #FFD700;
  margin-bottom: 10px;
}

.homepage-content p {
  color: #ADFF2F; /* 荧光绿 */
  font-size: 1.2rem;
  text-align: center;
  text-shadow: 0 0 5px #ADFF2F;
  margin-bottom: 30px;
}
/* 全站标题样式 */
h1 {
  font-size: 2.2rem;
  color: #FFD700; /* 金黄色 */
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5); /* 发光效果 */
  margin-bottom: 15px;
  font-weight: bold;
}

/* h2 游戏分类标题 */
h2 {
  font-size: 1.8rem;
  color: #FFCC00;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.5);
  margin-top: 30px;
  margin-bottom: 10px;
}

/* 所有段落美化 */
p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #DDDDDD;
  margin-bottom: 20px;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.15);
}

/* 可选：main 主内容居中与边距 */
main.homepage-content {
  padding: 20px 10px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
/* 标题发光样式 */
.glow-title {
  font-size: 2.2em;
  color: #FFD700;
  text-shadow: 0 0 8px #FFD700, 0 0 12px #FFA500;
  margin-bottom: 20px;
}

/* 段落柔光样式 */
.glow-text {
  font-size: 1.1em;
  color: #e0e0e0;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* 可选：为 about 区块加个内边距 */
.about-section {
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

