/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #dae2eb;
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}


.home-hero-container {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    height: 100vh; /* 视口高度 */
    padding: 1rem;
    height: 100vh;

}


/* 玻璃磨砂质感背景 */
.glass-container {
    position: relative;
    min-height: 100vh;
}

.glass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    z-index: -1;
}

/* 导航栏 */
/* nav {
    background-color: rgb(162 181 213);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 80px;
} */


/* 导航栏 - 新的悬浮玻璃样式 */
.navbar.fixed-top {
    /* 1. 玻璃磨砂质感 */
    background-color: rgba(224, 231, 240, 0.5) !important; /* 半透明背景，颜色可以微调 */
    backdrop-filter: blur(12px); /* 关键的模糊效果 */
    -webkit-backdrop-filter: blur(12px); /* 兼容 Safari 浏览器 */

    /* 2. 尺寸与居中 */
    width: 75%;                /* 占据屏幕宽度的75% */
    left: 50%;                 /* 从左边50%处开始 */
    transform: translateX(-50%); /* 向左移动自身宽度的50%，实现完美水平居中 */
    right: auto;               /* 重置Bootstrap的 right: 0 */
    top: 20px;                 /* 与屏幕顶部保留20px的间距 */

    /* 3. 外形与阴影 */
    border-radius: 15px;       /* 设置圆角 */
    border: 1px solid rgba(255, 255, 255, 0.3); /* 添加一个微妙的亮边，增加质感 */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); /* 更柔和、更深邃的阴影 */
}

/* 为了让下拉菜单也有一致的玻璃质感 */
.navbar .dropdown-menu {
    background-color: rgba(224, 231, 240, 0.7); /* 可以让下拉菜单稍微不那么透明 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin-top: 10px; /* 让下拉菜单和导航栏之间有点空隙 */
}

/* 修改下拉菜单项的悬停效果，使其更明显 */
.navbar .dropdown-item:hover {
    background-color: rgba(162, 181, 213, 0.7);
    color: #333;
}


.footer{
    margin-top: 0 !important;
    background-color:  rgba(218, 226, 235, 1) !important;
    color: #333 !important  ;
}
.footer .float-end {
    /* display: flex; */
    margin-top: 0;
    margin-right: 15vw;
}

.logo {
    height: 50px;
    width: 60px;
}


/* 主要内容 */
.main-content {
    text-align: center;
    padding-top: 120px; /* 确保内容不被导航栏遮挡 */
    margin-top: 0;
    height: 100vh;
    background-color:  rgba(218, 226, 235, 1);
    
}

/* 标题样式 */

.title-container {
    margin-bottom: 2rem;
    text-align: center;
    height: 100vh; /* 确保标题容器占满视口高度 */
    display: flex;
    flex-direction: column;
}


.main-title {
    font-weight: 800;
    color: #6a5acd;
    margin-bottom: 1.5rem; 
    letter-spacing: -0.1em; 
    line-height: 1;
    margin-top: 20vh;
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: scaleY(0.5) scaleX(0.8);
  animation: stretchIn 1s forwards;
  font-weight: 800;
  font-size: 28vh; 
  line-height: 0.8; 
  margin-right: -0.1em;
  transform-origin: bottom center;
}

/* 细长字体专用动画 */
@keyframes stretchIn {
  from {
    opacity: 0;
    transform: scaleY(0.2) scaleX(0.5);
  }
  to {
    opacity: 1;
    transform: scaleY(1.2) scaleX(0.8);
  }
}

.letter-1 {
  color: #9db1d2;
  animation-delay: 0.5s;
}

.letter-2 {
  color: #55628d;
  animation-delay: 0.6s;
}

.letter-3 {
  color: #9db1d2;
  animation-delay: 0.7s;
}

.letter-4 {
  color: #6977a6;
  animation-delay: 0.8s;
}

.letter-5 {
  color: #9db1d2;
  animation-delay: 0.9s;
}

.subtitle {
    font-size: 2rem;
    color: #777;
    margin: 0 auto;
}

/* 齿轮动画 */
.gears-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    position: relative;
    /* margin-top: 20vh; */
}

.gear {
    width: 100px;
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50,15L55,30L70,30L60,40L65,55L50,45L35,55L40,40L30,30L45,30Z" fill="%236a5acd"/></svg>');
    background-size: contain;
    margin: 0 -15px;
}

.gear.small {
    width: 70px;
    height: 70px;
    margin-top: 15px;
}

.gear-label {
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Arial', cursive;
    color: #6a5acd;
    font-size: 1.2rem;
}

.signal-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #6a5acd;
    border-radius: 50%;
}

/* 页面内容 */
.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    /* background-color: rgba(255, 255, 255, 0.7); */
    background-color:  rgba(218, 226, 235, 1);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 打字效果 */
.typing-container {
    display: inline-block;
    text-align: left;
    margin-bottom: 1.5rem;
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #6a5acd;
    font-size: 2rem;
    font-weight: 700;
    color: #777;
}



/* 响应式设计 */
@media (max-width: 768px) {
    .home-hero-container {
        flex-direction: column;
        height: auto; 
        min-height: 80vh; 
        text-align: center;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .letter {
      font-size: 18vw; 
     }
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .gear {
        width: 70px;
        height: 70px;
    }
    
    .gear.small {
        width: 50px;
        height: 50px;
    }
    
    .gear-label {
        left: 10%;
        font-size: 1rem;
    }
}

/*banner*/
.game_banner {
width: 100%;
height: 450px;
background-size: cover;
}
@media screen and (max-width: 1250px){
.game_banner {
width: 1250px;
}
}