@charset "utf-8";

body{
    
    height: 100vh;
    background-size: cover; /* cover或contain */
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(90%);
    backdrop-filter: blur(5px); /* 添加模糊效果 */
    background-color: rgba(145, 224, 214, 0.63);
    font-family: "Microsoft YaHei", "PingFang SC", "思源黑体", sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
/* 半透明遮罩（增强文字可读性，可选） */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    pointer-events: none;
}



.bottom {
    position: fixed; /* 固定定位，让导航栏固定在页面底部 */
    z-index: 10; /* 设置叠层顺序，确保导航栏显示在最前 */
    width: 500px; /* 设置宽度 */
    height: 70px; /* 设置高度 */
    background-color: rgba(135, 209, 222, 0.412); /* 半透明背景色 */
    bottom: 50px; /* 距离页面底部50px */
    left: 50%; /* 水平居中 */
    transform: translateX(-50%); /* 通过X轴偏移，使其真正居中 */
    transition: width 0.8s, height 0.8s; /* 过渡效果 */
  }
  
  /* 导航图片容器 all-image 样式 */
  .all-image {
    width: 90%; /* 设置宽度 */
    height: 60%; /* 设置高度 */
    text-align: center; /* 图片居中显示 */
    transition: text-align 0.3s; /* 添加过渡效果 */
  }
  
  /* 导航图片 nav-image 样式 */
  .nav-image {
    display: inline-block; /* 让图片可以一行显示 */
    margin-left: 30px; /* 左侧外边距 */
    margin-top: 10px; /* 顶部外边距 */
  }
  
  /* 鼠标悬浮时 bottom 样式变化 */
  .bottom:hover {
    width: 650px; /* 导航栏变宽 */
    height: 100px; /* 导航栏变高 */
  }
  
  /* 鼠标悬浮时 图片样式变化 */
  .bottom img:hover {
    transform: scale(1.5); /* 图片放大1.5倍 */
    margin-left: 30px; /* 左侧外边距增加 */
    margin-right: 30px; /* 右侧外边距增加 */
    transition: transform 0.8s, margin-left 0.3s, margin-right 0.3s; /* 添加过渡效果 */
  }
 /* ========== 标题容器核心样式 ========== */
.title{
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

/* ========== 主标题：KClO4のbox ========== */
.title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    /* 双层发光阴影，适配动漫背景 */
    text-shadow: 0 0 10px rgba(100, 180, 255, 0.9),
                 0 0 20px rgba(100, 180, 255, 0.7),
                 0 0 30px rgba(100, 180, 255, 0.5);
    letter-spacing: 4px;
    margin-bottom: 15px;
    /* 呼吸式发光动画 */
    animation: title-glow 3s ease-in-out infinite alternate;
}


        /* 容器样式 - 负责定位 */
        .title-container {
            height: 100vh;
            display: flex;
            align-items: flex-end;     /* 垂直底部对齐 */
            justify-content: center;   /* 水平居中 */
        }
        
        /* h3 样式 - 保留文字效果 */
        h3 {
            font-size: 1.6rem;
            font-weight: 400;          /* 改为400，避免字体过细 */
            color: #e6f3ff;
            text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
            letter-spacing: 3px;       /* 减小字间距，从8px改为4px */
            margin-bottom: 50px;      /* 减小底部距离，从200px改为100px */
            animation: title-glow 3s ease-in-out infinite alternate;
            text-align: center;        /* 确保文字居中 */
        }