﻿* {
  padding: 0;
  margin: 0;
  border: none;
  text-decoration: none;
  font-family: "Fredoka", sans-serif;
  letter-spacing: 1px;
}

body {
  background-color: grey;
}

#about {
  /* background-image: url(img/UU语音.jpg); */
  background: linear-gradient(135deg, #FFB6C1 10%, #b16cff 50%, #DC143C 90%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 0;
}



#study {
  /* background-image: url(img/UU语音.jpg); */
  background: linear-gradient(135deg, #FFB6C1 10%, #b16cff 50%, #DC143C 90%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#study::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

#download {
  /* background-image: url(img/UU语音.jpg);
  background: linear-gradient(135deg, #f9d465 10%, #f9a5dd 50%, #61caff 90%); */
  background: linear-gradient(135deg, #0e0e0e 10%, #b16cff 50%, #000000 90%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#download::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 0;
}



#social {
  /* background-image: url(img/UU语音.jpg); */
  background: linear-gradient(135deg, #FFB6C1 10%, #b16cff 50%, #DC143C 90%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#social::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 0;
}



#question {
  /* background-image: url(img/UU语音.jpg); */
 background: linear-gradient(135deg, #0e0e0e 10%, #b16cff 50%, #000000 90%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#question::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 0;
}



.hero-section-container {
  background-color: rgba(255, 255, 255, 0.1);
  height: 85vh;
  width: 85%;
  border-radius: 30px;
  border: 2px solid rgba(211, 211, 211, 0.2);
  backdrop-filter: blur(8px);
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
  margin: 10px;
  z-index: 1;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  position: relative;
}

.logo span {
  color: rgb(93, 0, 255);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: white;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  display:flex;
  justify-content: center;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -10px;
  height: 2px;
  width: 80%;
  box-shadow: 0 0 5px white;
  transform: scaleX(0) translateY(-100%);
  background-color: white;
  transition: 0.3s;
}
nav a:hover::after {
  transform: scaleX(0.5) translateY(0);

}

.active {
  color: rgb(93, 0, 255);
}

.active::after {
  background-color: rgb(0, 225, 225);
}

header button {
  font-size: 18px;
  font-weight: bold;
  padding: 7px 25px;
  background-color: transparent;
  border: 1px solid white;
  border-radius: 20px;
  color: white;
  transition: 0.3s;
  cursor: pointer;
}

header button:hover {
  background-color: rgb(93, 0, 255);
  color: rgba(0, 0, 0, 0.6);
  border-color: rgb(93, 0, 255);
}

/* Hero Content */
.hero-content {
  padding: 15px 25px 0 25px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

/* Right Section */
.hero-content img {
  width: 35%;
  filter: drop-shadow(0 0 10px rgb(255, 186, 225));
           /* drop-shadow(0 0 20px rgb(255, 186, 225)); */
    /* drop-shadow(0 0 40px rgb(255, 186, 225)) */
    /* drop-shadow(0 0 100px rgb(255, 186, 225)); */
    position: absolute;
   top: 50px;
      /* 添加过渡效果 */
  transition: transform 0.2s ease-in-out, filter 0.3s ease-in-out;
}

/* 鼠标悬停时的样式 */
.hero-content img:hover {
  /* transform: scale(1.1); 放大10% */
  filter: drop-shadow(0 0 20px rgb(244, 86, 176));
           /* drop-shadow(0 0 40px rgb(253, 97, 186));  */
}

.right-section {
  display: flex;
  justify-content: center;
  align-items: center;
  
}

/* Right Section Animation */
@keyframes rotatePlanet {
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}

.image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  /* animation: rotatePlanet 120s linear infinite; */
  /* position: fixed; */
  /* animation: gentleBreath 5.5s ease-in-out infinite; */
}



/* left Section */
.left-section {
  display:flex;
  align-items: center;
  z-index: 1;
  /* position: relative; */
  
}

.left-section h3 {
  font-size: 4rem;
  letter-spacing: 20px;
  color: white;
  position: absolute;
  top: 17%;
  left: 5%;
}

.left-section h2 {
  font-size: 9rem;
  font-weight: 800;
  color: white;
  margin: -20px 0 0 0;
  position: absolute;
  left: 2%;
  top: 33%;
}

h2 .color-change {
  color: rgb(93, 0, 255);
}

.left-section p {
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.5;
  color: rgb(230, 230, 230);
  width: 100%;
  /* margin-bottom: 50px; */
  position: absolute;
  top: 55%;
  left: 2%;
}

p span {
  color: white;
  font-weight: 600;
}

.big-cta-btn {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  width: 250px;
  height: 55px;
  border-radius: 50px;
  background-color: rgb(93, 0, 255);
  color: rgba(0, 0, 0, 0.699);
  text-transform: uppercase;
  transition: all 0.3s;
  position: absolute;
  top: 75%;
  left: 5%;
  
}

.speed-badge {
  color: rgba(0, 0, 0, 0.699);
  color: white;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 12px;
  min-width: 60px;
  text-align: center;
  transition: all 0.3s;
  position: absolute;
  left: 13%;
  top: 74%;
}
 #latency {
  position: fixed;
  top: 94%;
  right: 5px;
  animation-delay: 0.8s;
  color: rgba(0, 0, 0, 0.699);
  color: white;
  padding: 10px 50px;
  border-radius: 50px;
  font-size: 30px;
  z-index: 9999;
}

.big-cta-btn:hover{
  letter-spacing: 5px;
  background-color: rgb(255, 190, 231);
}

.social-icons {
  color: white;
  display: flex;
  justify-content: center;
  gap: 40px;
  position: absolute;
  right: 5%;
  top: 85%;
  width: 100%;
}

.social-icons i {
  font-size: 18px;
  width: 20px;
  height: 20px;
  border: 1px solid white;
  padding: 15px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}
.social-icons i:hover {
  color: rgb(0, 225, 225);
  border-color: rgb(0, 225, 225);
  transform: rotate(360deg) scale(1.1);
}

/* Hero Section Animation */
@keyframes sideInLeft {
  from{
    transform: translateX(-100%);
    opacity: 0;
  }
  to{
    transform: translateX(0%);
    opacity: 1;
  }
}

@keyframes sideInRight {
  from{
    transform: translateX(100%);
    opacity: 0;
  }
  to{
    transform: translateX(0%);
    opacity: 1;
  }
}

@keyframes topIn {
  from{
    transform: translateY(-100%);
    opacity: 0;
  }
  to{
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes bottomIn {
  from{
    transform: translateY(100%);
    opacity: 0;
  }
  to{
    transform: translateY(0%);
    opacity: 1;
  }
}

/* Appling Animation */
 header {
  animation: topIn 1.2s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
 }

 h3 {
  animation: sideInLeft 1s ease-out forwards;
  opacity: 0;
 }
 
 h2 {
  animation: sideInLeft 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
 }


 

 p {
  animation: sideInLeft 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
 }

 .big-cta-btn {
  animation: sideInLeft 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.8s;
 }

 .social-icons {
  animation: bottomIn 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
 }

 .right-section img {
  animation: sideInRight 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
 }















 .container {
  display: flex;
  justify-content: space-around; /* 图片之间均匀分布 */
  align-items: center; /* 垂直居中对齐 */
  padding: 20px; /* 容器内边距 */
}

.item {
  text-align: center; /* 文本居中对齐 */
  margin: 40px; /* 图片容器之间的间距 */
  display: flex; /* 使用Flexbox布局 */
  flex-direction: column; /* 垂直堆叠子元素 */
  align-items: center; /* 水平居中对齐子元素 */

}

.item img {
  width: 100px; /* 图片宽度 */
  margin-bottom: 35px; 
   top: 20%;
  margin-left: -2.9%; 
  cursor: pointer;
}

.download-link {
  font-size: 18px; /* 文本字体大小 */
  color: #ffffff; /* 文本颜色 */
  text-decoration: none; /* 去掉下划线 */
  background-color: #22efa0; /* 背景颜色 */
  padding: 12px 20px; /* 内边距 */
  border-radius: 20px; /* 圆角 */
  display: inline-block; /* 使其表现为块级元素 */
  width: 80px;
  transition: background-color 0.3s ease; /* 平滑过渡效果 */
  /* bottom: 50%; */
}

.download-link:hover {
  background-color: #ffa8dc; /* 鼠标悬停时背景颜色变为更深的蓝色 */
}


.btn-study {
  /* 基本样式 */
  background-color: #00d8c6; /* 蓝色背景 */
  color: white; /* 白色文字 */
  border: none; /* 无边框 */
  padding: 10px 25px; /* 内边距 */
  font-size: 20px; /* 字体大小 */
  text-align: center; /* 文字居中 */
  text-decoration: none; /* 去掉下划线 */
  display: inline-block; /* 行内块元素 */
  border-radius: 5px; /* 圆角 */
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; /* 平滑过渡效果 */

  /* 阴影效果 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 悬停效果 */
.btn-study:hover {
  background-color: #0056b3; /* 更深的蓝色背景 */
  transform: scale(1.05); /* 缩放效果 */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* 更强的阴影效果 */
}

/* 按下效果 */
.btn-study:active {
  background-color: #004080; /* 更深的蓝色背景 */
  transform: scale(0.95); /* 缩放效果 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 较弱的阴影效果 */
}

/* 禁用状态 */
.btn-study:disabled {
  background-color: #ccc; /* 灰色背景 */
  color: #666; /* 灰色文字 */
  cursor: not-allowed; /* 禁止点击的光标 */
  box-shadow: none; /* 移除阴影 */
}