*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* 使元素的宽度和高度包括padding和border */
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* background-color: #FFF9D9; */
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
}

/* 移除按钮和输入框的默认样式 */
button,
input,
textarea {
  border: none;
  outline: none;
}

img {
  border-style: none;
}

/* 清除浮动 */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* 辅助类：文本对齐 */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* 溢出三行显示小圆点 */
.text-wrap-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 以上为默认样式 */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
    /* background-color: #FFDE95; */
}

.mainBox {
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  margin: 10px 0;
}

.gamesUl-title {
  color: #333;
  font-size: 22px;
  font-weight: bold;
  margin: 20px 0;
  padding: 0;
  text-align: center;
}

/* 响应式标题样式 */
@media (max-width: 600px) {
  .cool-title {
    font-size: 2em;
    /* 在小屏幕上减小标题大小 */
  }
}

.mainBox h3 {
  margin: 16px 0;
}

.mainBox p {
  color: #444444;
}


.footerlist {
  width: 100%;
  background-color: #fff;
  padding: 10px;
  margin: 20px 0 0 0;
  list-style: none;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease-in-out;
  will-change: transform;
}

.footertitle {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  color: #000;
  padding: 10px;
}

.footertitle p:nth-of-type(1) {
  color: #666;
  margin-bottom: 0;
  color: #666;
  font-family: "Nunito", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 10px;
  margin-top: 0;
}

.footertitle p:nth-of-type(2) {
  color: #666;
  font-size: 13px;
  font-weight: normal;
  letter-spacing: 0;
  line-height: 22px;
}


.logo-text {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-text text {
  font-size: 20px;
}

.tag-content {
  display: flex;
  justify-content: center;
  margin: 20px;
  min-height: 100px;
  background-color: #f3f4f5;
}

:root {

  --primary-color: #007bff;

  --secondary-color: #6c757d;

  --success-color: #28a745;

  --danger-color: #dc3545;

  --warning-color: #ffc107;

  --info-color: #17a2b8;

  --light-color: #f8f9fa;

  --font-size: 22px;

  --font-height: 1.5;

}



/* 样式1: 现代简约风格 */

.style1 {

  font-family: 'Helvetica Neue', sans-serif;

  font-size: var(--font-size);

  color: #333;

  padding: 10px;

  border-radius: 4px;

  line-height: var(--font-height);

}



/* 样式2: 优雅风格 */

.style2 {

  font-family: 'Times New Roman', serif;

  font-size: var(--font-size);

  color: #5a5a5a;

  line-height: var(--font-height);

}



/* 样式3: 明亮风格 */

.style3 {

  font-family: 'Arial', sans-serif;

  font-size: var(--font-size);

  color: #000;

  padding: 8px 15px;

  text-transform: uppercase;

  line-height: var(--font-height);

}



/* 样式4: 手写风格 */

.style4 {

  font-family: 'Lucida Handwriting', cursive;

  font-size: var(--font-size);

  color: #8a2be2;

  padding: 5px;

  line-height: var(--font-height);

}



/* 样式5: 技术风格 */

.style5 {

  font-family: 'Courier New', monospace;

  font-size: var(--font-size);

  color: black;

  padding: 10px;

  border-radius: 3px;

  line-height: var(--font-height);

}



/* 样式6: 渐变背景 */

.style6 {

  font-family: 'Roboto', sans-serif;

  font-size: var(--font-size);

  background: linear-gradient(45deg, #ff9a9e, #fad0c4);

  color: transparent;

  -webkit-background-clip: text;

  background-clip: text;

  -webkit-text-fill-color: transparent;

  line-height: var(--font-height);

}



/* 样式7: 阴影效果 */

.style7 {

  font-family: 'Open Sans', sans-serif;

  font-size: var(--font-size);

  color: #333;

  text-shadow: 1px 1px 2px #aaa;

  line-height: var(--font-height);

}









/* 样式15: 投影文本 */

.style15 {

  font-family: 'Roboto Condensed', sans-serif;

  font-size: var(--font-size);

  color: #34495e;

  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);

  line-height: var(--font-height);

}





/* 样式17: 斜体文本 */

.style17 {

  font-family: 'Merriweather', serif;

  font-size: var(--font-size);

  color: #2c3e50;

  font-style: italic;

  line-height: var(--font-height);

}



/* 样式18: 紧凑文本框 */

.style18 {

  font-family: 'PT Sans', sans-serif;

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #7f8c8d;

  padding: 3px 10px;

  border-radius: 3px;



}



/* 样式19: 粗体文本 */

.style19 {

  font-family: 'Raleway', sans-serif;

  font-size: var(--font-size);

  color: #16a085;

  font-weight: bold;

  line-height: var(--font-height);

}



/* 样式20: 多彩文本 */

.style20 {

  font-family: 'Ubuntu', sans-serif;

  font-size: var(--font-size);

  background: linear-gradient(to right, #fbc2eb, #a18cd1);

  -webkit-background-clip: text;

  color: transparent;

  font-weight: 600;

  line-height: var(--font-height);

}



/* 文本阴影和大小变化 */

.text-style-1 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #3498db;

  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}



/* 柔和的文本阴影 */

.text-style-2 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #9b59b6;

  text-shadow: 1px 1px 2px rgba(155, 89, 182, 0.8);

}



/* 闪烁的文本效果 */

@keyframes blink-text {

  50% {

    opacity: 0;

  }

}





/* 3D 浮动文本 */

.text-style-4 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #f1c40f;

  text-shadow: 0 1px 0 #fff, 0 2px 0 #aaa, 0 3px 0 #e4e4e4, 0 4px 0 #bbb, 0 5px 0 #bcbcbc;



}



/* 斜体文本带阴影 */

.text-style-5 {

  font-style: italic;

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #2ecc71;

  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);

}



/* 轮廓文本 */

.text-style-6 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #95a5a6;

  -webkit-text-stroke: 1px #34495e;

}



/* 响应式文本阴影大小 */

.text-style-7 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #3498db;

  text-shadow: 2px 2px 1px #aaa;

}



/* 彩虹文本 */

.text-style-8 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  background: -webkit-linear-gradient(45deg, #ff9a9e, #fad0c4);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

  color: transparent;

}









.text-style-10 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #f39c12;

  animation: bounce-text 2s infinite;

}



/* 缩放文本动画 */

.text-style-11 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #d35400;

}





/* 手写风格文本 */

.text-style-12 {

  font-family: 'Lucida Handwriting', cursive;

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #16a085;

}



/* 压缩文本效果 */

.text-style-13 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #8e44ad;

  font-stretch: condensed;

}



/* 扩展文本效果 */

.text-style-14 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #27ae60;

  font-stretch: expanded;

}



/* 重音文本 */

.text-style-15 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #2980b9;

  font-weight: 900;

}



/* 细线文本 */

.text-style-16 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #e67e22;

  font-weight: 100;

}



/* 闪烁的星星文本 */

.text-style-19 {

  font-size: var(--font-size);

  line-height: var(--font-height);

  color: #9b59b6;

  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #9b59b6, 0 0 40px #9b59b6, 0 0 80px #9b59b6;

}



/* 使用 Google Fonts 来引入自定义字体 */

@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Roboto:wght@300;700&display=swap');



/* 优雅手写字体 */

.text-style-21 {

  font-family: 'Lobster', cursive;

  font-size: 32px;

  color: #8e44ad;

  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);

}



/* 现代轻盈字体 */

.text-style-22 {

  font-family: 'Roboto', sans-serif;

  font-weight: 300;

  font-size: 20px;

  color: #34495e;

  letter-spacing: 1px;

}



/* 渐变文字颜色 */

.text-style-23 {

  font-size: 28px;

  background: linear-gradient(to right, #ff7e5f, #feb47b);

  -webkit-background-clip: text;

  color: transparent;

  font-weight: bold;

}



/* 闪烁文字动画 */

@keyframes twinkle {

  50% {

    opacity: 0.5;

  }

}



.text-style-24 {

  font-size: 24px;

  color: #fff;

  animation: twinkle 0.5s infinite alternate;

  text-shadow: 0 0 8px #09c;

}



/* 投影文字 */

.text-style-25 {

  font-size: 22px;

  color: #ff7e5f;

  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);

}



/* 轮廓文字 */

.text-style-26 {

  font-size: 26px;

  -webkit-text-stroke: 1px #3498db;

  color: #3498db;

  font-weight: bold;

}











/* 彩虹文字渐变 */

.text-style-31 {

  font-size: 32px;

  background-image: linear-gradient(to right, violet, indigo, blue, green, yellow, orange, red);

  -webkit-background-clip: text;

  color: transparent;

  animation: rainbow 10s linear infinite;

}



/* 彩虹动画 */

@keyframes rainbow {

  0% {

    background-position: 0 0;

  }



  100% {

    background-position: 100% 0;

  }

}



/* 压缩加粗文本 */

.text-style-33 {

  font-size: 22px;

  color: #3498db;

  font-stretch: condensed;

  font-weight: bold;

}



/* 斜体文本带下划线 */

.text-style-34 {

  font-style: italic;

  font-size: 20px;

  color: #2c3e50;

  text-decoration: underline;

  text-underline-offset: 5px;

}



/* 手写文本带阴影 */

.text-style-35 {

  font-family: 'Lobster', cursive;

  font-size: 28px;

  color: #e74c3c;

  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}



/* 细线文本带阴影 */

.text-style-36 {

  font-weight: 100;

  font-size: 24px;

  color: #9b59b6;

  text-shadow: 0 0 5px rgba(155, 89, 182, 0.8);

}

/* 轮廓加粗文本 */

.text-style-37 {

  font-size: 22px;

  -webkit-text-stroke: 2px #f39c12;

  color: #f39c12;

  font-weight: bold;

}



/* 细体文本带阴影和渐变 */

.text-style-38 {

  font-family: 'Roboto', sans-serif;

  font-weight: 100;

  font-size: 18px;

  background: linear-gradient(to right, #9c27b0, #e91e63);

  -webkit-background-clip: text;

  color: transparent;

  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);

}



/* 手写文本带彩虹阴影 */

.text-style-39 {

  font-family: 'Lobster', cursive;

  font-size: 32px;

  color: #fff;

  text-shadow: 0 0 10px rgba(255, 0, 0, 0.7), 10px -10px 0 rgba(255, 255, 0, 0.5);

}







/* gamelist的title样式 */

.gamelist-title-common {
  text-align: center;
  font-size: 3rem;
  padding: 20px;
}

@media screen and (max-width: 768px) {
  .gamelist-title-common {
    font-size: 1.5rem;
  }
}

.glow {
  color: white;
  text-align: center;
  animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #9bf1ff, 0 0 20px #9bf1ff, 0 0 25px #9bf1ff, 0 0 30px #9bf1ff, 0 0 35px #9bf1ff;
  }

  to {
    text-shadow: 0 0 10px #fff, 0 0 20px #9bf1ff, 0 0 30px #9bf1ff, 0 0 40px #9bf1ff, 0 0 50px #9bf1ff, 0 0 60px #9bf1ff, 0 0 70px #9bf1ff;
  }
}

.flip {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 1s;
}

.flip:hover {
  transform: rotateY(180deg);
}

.stroke {
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: black;
  color: white;
}

.wave {
  display: inline-block;
  position: relative;
  color: #060c2a;
  font-size: 2em;
  animation: wave-animation 1s ease-in-out infinite alternate;
}

@keyframes wave-animation {
  to {
    transform: translate3d(-20px, 0, 0);
  }
}

.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

.glitter {
  color: #fff;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


.pulse {
  overflow: hidden;
  position: relative;
}

.pulse::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  100% {
    left: 100%;
  }
}

.gradient-text {
  font-size: 3em;
  color: #4d4b4b;
  -webkit-text-stroke: 2px #000;
  text-stroke: 2px #000;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
}

.flash-text {
  animation: flash-animation 1s infinite alternate;
}

@keyframes flash-animation {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.2;
  }
}

.underline-animate {
  position: relative;
  display: inline-block;
}

.underline-animate::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.underline-animate:hover::after {
  transform: scaleX(1);
}

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid;
  animation: typing 3.5s steps(30, end), blink-caret 0.5s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  50% {
    border-color: transparent;
  }
}

.jumping-shadow {
  color: #fff;
  text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 20px #000, 0 0 30px #e60073, 0 0 40px #e60073;
  animation: jumping 1s infinite;
}

@keyframes jumping {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.wave-text {
  display: inline-block;
  font-size: 3em;
  animation: wave-animation 2s infinite linear;
}

@keyframes wave-animation {

  0%,
  100% {
    transform: translateY(-2%);
  }

  50% {
    transform: translateY(2%);
  }
}

.glitter-bg {
  font-size: 3em;
  background: linear-gradient(45deg, #000, #f4f5f6);
  background-size: 300% 300%;
  animation: move-bg 3s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes move-bg {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.slide-in-text {
  overflow: hidden;
  white-space: nowrap;
  font-size: 3em;
  animation: slide-in 5s steps(30, end) forwards;
}

@keyframes slide-in {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}