/* General Styles for home */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  /* background-color: #4a3f90; */ /* 原背景颜色 */
  background-image: url('images/background.jpg'); /* 替换成你的背景图片路径 */
  background-size: cover; /* 图片覆盖整个背景 */
  background-position: center; /* 图片居中对齐 */
  background-repeat: no-repeat; /* 防止图片重复 */
  color: white;
}
.triangle {
  position: absolute;
  top: 0;
  left: 0;
  width: 96px; /* 图片的宽度 */
  height: 96px; /* 图片的高度 */
  background-image: url('images/triangle-image.png'); /* 替换为你的图片路径 */
  background-size: cover; /* 让图片填满容器 */
  background-repeat: no-repeat; /* 防止图片重复 */
  background-position: center; /* 居中显示图片 */
}
.header {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 40px;
}
.header p {
  color: #f7ca4d;
  font-size: 14px;
  margin-bottom: 16px;
}
.header h1 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}
.button-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.button-item {
  background-color: #d3d3d3;
  color: #333;
  border-radius: 8px;
  width: 360px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.button-item img {
  height: 64px;
  /*width: 40px;*/
  margin-left: -16px;
}

.button-item .text {
  flex-grow: 1;
}
.button-item h2 {
  font-size: 16px;
  margin: 0;
}
.button-item p {
  font-size: 12px;
  margin: 0;
  color: #666;
}
.button-item button {
  background-color: #d6a74d;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.partners {
  background-color: white;
  color: #333;
  text-align: center;
  padding: 40px 16px;
}
.partners h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}
/*.partner-logos {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.partner-logos img {
  height: 120px;
}
*/
.partner-logos {
display: flex;
flex-wrap: wrap; /* 允许子项自动换行 */
justify-content: center; /* 子项水平居中 */
gap: 16px; /* 子项之间的间距 */
}

.partner-logos img {
  height: 200px; /* 默认高度 */
  width: auto; /* 保持图片宽高比 */
  max-width: 100%; /* 防止图片溢出容器 */
}

@media (max-width: 768px) {
  .partner-logos img {
      height: 32px; /* 小屏幕时调整图片高度 */
  }
}

@media (max-width: 480px) {
  .partner-logos {
      gap: 12px; /* 在更小屏幕上减少间距 */
  }
  .partner-logos img {
      height: 36px; /* 更小屏幕时调整图片高度 */
  }
}
.support {
  color: #666;
  font-size: 16px;
  padding: 40px 16px 2px;
}
footer {
  background-color: #333;
  text-align: center;
  padding: 20px 16px;
  font-size: 12px;
  color: #ccc;
}
.email {
  margin-bottom: 8px;
}
.email-link {
  color: white; /* 将文字颜色设置为白色 */
  text-decoration: none; /* 移除默认的下划线 */
  font-size: 14px; /* 设置字体大小 */
}
.email-link:hover {
  color: #f7ca4d; /* 鼠标悬停时变成金黄色 */
  text-decoration: underline; /* 鼠标悬停时显示下划线 */
}
footer .rights {
  margin-bottom: 12px;
}
footer .age-restriction {
  background-color: #b12323;
  color: white;
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 12px;
  display: inline-block;
}


/* 走马灯样式 */
#counter {
font-size: 0.8em;
color: #333333;
}
.marquee {
overflow: hidden;
white-space: nowrap;
box-sizing: border-box;
width: 76%;
margin: 20px auto;
padding: 10px;
background: #f9f9f9;
border: 1px solid #ddd;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
font-size: 1.0em;
color: #333;
}
.marquee span {
display: inline-block;
animation: marquee 36s linear infinite;
/* position: absolute; */
left: 0; /* 确保内容在初始时可见 */
}
.marquee:hover span {
animation-play-state: paused; /* 鼠标悬停时暂停动画 */
}
@keyframes marquee {
from {
  transform: translateX(10%);
}
to {
  transform: translateX(-100%);
}
}

  