/* 全局样式重置 */
* {  /* 选择所有元素 */
    margin: 0;  /* 清除默认外边距 */
    padding: 0;  /* 清除默认内边距 */
    box-sizing: border-box;  /* 使用border-box盒模型 */
    touch-action: manipulation;  /* 优化触摸设备上的交互体验 */
}

/* 页面基础样式 */
body {  /* 页面主体 */
    height: 100vh;  /* 高度为视口高度 */
    display: flex;  /* 使用flex布局 */
    justify-content: center;  /* 水平居中 */
    align-items: center;  /* 垂直居中 */
    overflow: hidden;  /* 隐藏溢出内容 */
    background-color: #000;  /* 背景色为黑色 */
}

/* 核心容器 - 响应式满视口显示 */
.container {
    position: relative;
    display: flex;  /* 采用弹性布局 */
    flex-direction: column;  /* 垂直方向排列子元素 */
    aspect-ratio: 9/16;  /* 保持9:16宽高比 */
    /* 在PC端保持9:16竖屏显示，左右填充黑色背景 */
    max-width: min(100vh * 9/16, 100vw); /* 最大宽度为视口高度的9/16或视口宽度，取较小值 */
    max-height: 100vh; /* 最大高度为视口高度 */
    width: 100%;  /* 宽度自适应 */
    height: 100vh;  /* 高度强制为视口高度 */
    overflow: hidden;
    background-color: #fff;
    margin: auto;  /* 居中显示 */

    /* 子元素继承弹性布局特征 */
    > * {
        flex: 1;  /* 子元素填充可用空间 */
        width: 100%;  /* 宽度继承容器宽度 */
        height: 100%;  /* 高度继承容器高度 */
    }
}

/* 页面通用样式 */
.page {  /* 页面容器 */
    position: relative;  /* 相对定位，参与弹性布局 */
    display: none;  /* 默认隐藏 */
    height: 100%;  /* 页面高度占满容器 */
}

/* 首页默认显示 */
#homePage {  /* 首页 */
    display: block;  /* 显示首页 */
}

/* 背景图片样式 */
.background {  /* 背景图容器 */
    position: absolute;  /* 绝对定位 */
    top: 0;  /* 顶部对齐 */
    left: 0;  /* 左侧对齐 */
    width: 100%;  /* 宽度100% */
    height: 100%;  /* 高度100% */
    background-size: cover;  /* 背景图覆盖整个容器 */
    background-position: center;  /* 背景图居中 */
    transition: all 0.5s ease;  /* 所有属性过渡动画0.5秒 */
}

/* 科技炸裂效果容器 */
.tech-explosion-container {  /* 科技炸裂动画容器 */
    position: absolute;  /* 绝对定位 */
    top: 0;  /* 顶部对齐 */
    left: 0;  /* 左侧对齐 */
    width: 100%;  /* 宽度100% */
    height: 100%;  /* 高度100% */
    pointer-events: none;  /* 不响应鼠标事件 */
    z-index: 10;  /* 层级为10 */
}

/* 网格线样式 */
.grid-line {  /* 网格线基础样式 */
    position: absolute;  /* 绝对定位 */
    background-color: rgba(0, 255, 255, 0.5);  /* 背景色为半透明青色 */
    transform-origin: center;  /* 变换原点为中心 */
}

.grid-line-horizontal {  /* 水平网格线 */
    width: 100%;  /* 宽度100% */
    height: 1px;  /* 高度1px */
    top: 50%;  /* 位于50%高度处 */
    left: 0;  /* 左侧对齐 */
}

.grid-line-vertical {  /* 垂直网格线 */
    width: 1px;  /* 宽度1px */
    height: 100%;  /* 高度100% */
    top: 0;  /* 顶部对齐 */
    left: 50%;  /* 位于50%宽度处 */
}

/* 粒子样式 */
.particle {  /* 粒子元素 */
    position: absolute;  /* 绝对定位 */
    border-radius: 50%;  /* 圆形 */
    background-color: #0ff;  /* 背景色为青色 */
    opacity: 0;  /* 初始透明度为0 */
}

/* 光效样式 */
.light-effect {  /* 光效元素 */
    position: absolute;  /* 绝对定位 */
    top: 50%;  /* 顶部对齐50% */
    left: 50%;  /* 左侧对齐50% */
    width: 0;  /* 初始宽度0 */
    height: 0;  /* 初始高度0 */
    border-radius: 50%;  /* 圆形 */
    background-color: rgba(0, 255, 255, 0.7);  /* 半透明青色 */
    transform: translate(-50%, -50%);  /* 居中对齐 */
    box-shadow: 0 0 50px 20px rgba(0, 255, 255, 0.5);  /* 发光效果 */
}


/* 移除:hover::before的样式，由动画控制 */

.unlock-btn:active {  /* 解锁按钮被点击时 */
    transform: scale(0.98);  /* 稍微缩小 */
    box-shadow: 0 0 10px rgba(0, 205, 212, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);  /* 减弱发光效果 */
}

/* 密码显示样式 */
.code-display {  /* 密码显示区域 */
    padding: 10px 20px;  /* 内边距10px 20px */
    background-color: rgba(255, 255, 255, 0.6);  /* 半透明白色背景 */
    border-radius: 5px;  /* 圆角5px */
    font-size: 24px;  /* 字体大小24px */
    font-weight: bold;  /* 粗体 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
}

/* FH返回图标样式（可单独修改width/height调整大小，left/top调整位置） */
.fh-btn {
    position: absolute;  /* 绝对定位（相对于内容页容器） */
    left: 10%;  /* 水平居中基准点 */
    top: 5%;  /* 垂直居中基准点 */
    transform: translate(-50%, -50%);  /* 精确居中 */
    width: 5vh;  /* 默认宽度（可修改） */
    height: 5vh;  /* 默认高度（可修改） */
    cursor: pointer;  /* 鼠标指针变为手型 */
    z-index: 200;  /* 确保显示在背景图上方 */
    background: rgba(255,0,0,0);  /* 调试用半透明红色背景 */
    opacity: 0.7;  /* 设置图标透明度为0.7 */
}

/* 数字底板容器样式 */
.number-plates-container {
    position: absolute; /* 绝对定位在密码页中 */
    top: 43%; /* 调整为更靠上的位置 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 精确居中 */
    display: flex; /* 弹性布局排列数字底板 */
    gap: 2px; /* 缩短横向间隔为10px */
}

/* 单个数字底板样式 */
.number-plate {
    width: 70px; /* 缩小后单个数字底板宽度 */
    height: 70px; /* 缩小后单个数字底板高度 */
    background-image: url('picture/input.png'); /* 使用input.png作为背景 */
    background-size: contain; /* 背景图按比例包含在底板内，保持原图形状 */
    background-position: center; /* 背景图居中 */
    display: flex; /* 弹性布局让数字居中 */
    justify-content: center; /* 数字水平居中 */
    align-items: center; /* 数字垂直居中 */
    font-size: 53px; /* 增大数字字体大小 */
    font-family: '方正超粗黑简体'; /* 修改为用户指定的方正超粗黑简体字体 */
    font-weight: 990; /* 单独设置字重数值（100-900，900最粗） */
    src: url('fonts/方正超粗黑简体.ttf') format('truetype'); /* 指向字体文件路径 */
    font-weight: bold; /* 数字粗体 */
    color: #ffffff; /* 数字白色 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 数字阴影 */
}

/* 新增密码输入板容器样式 */
.password-input-board {
    width: 180px; /* 再次缩小一半宽度（原200px） */
    height: 40px; /* 再次缩小一半高度（原40px） */
    background-image: url('picture/input-1.png'); /* 使用input-1.png作为底板 */
    background-size: cover; /* 覆盖容器 */
    background-position: center; /* 背景居中 */
    display: flex; /* 弹性布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    gap: 13px; /* 箭头与数字间距（可单独修改此值调整间距大小） */
    position: absolute; /* 绝对定位 */
    top: 180%; /* 继续下移位置（原80%） */
    left: 50%; /* 水平位置 */
    transform: translate(-50%, -50%); /* 居中对齐 */
}

/* 箭头图标样式 */
.arrow {
    width: 20px; /* 图标宽度（可单独修改） */
    height: 20px; /* 图标高度（可单独修改） */
    background-size: contain; /* 背景图自适应 */
    background-position: center; /* 背景居中 */
    cursor: pointer; /* 鼠标指针样式 */
}
.left-arrow {
  /* 始终启动闪动动画 */
  animation: blink 0.5s infinite alternate;
  background-image: url('picture/left-arrow.png'); /* 左箭头图片 */
}
/* 定义闪动动画 */
@keyframes blink {
  from { opacity: 1; }
  to { opacity: 0.3; }
}

.right-arrow {
  /* 始终启动闪动动画 */
  animation: blink 0.5s infinite alternate;
  background-image: url('picture/right-arrow.png'); /* 右箭头图片 */
}

/* 输入板数字样式 */
.jsmm-btn {
  position: fixed;
  bottom: -165px; /* 底部边距（可单独修改此值调整垂直位置，数值越大越靠下） */
  left: 50%;
  transform: translateX(-50%);
  width: 180px; /* 按钮宽度（可单独修改此值调整大小） */
  height: 80px; /* 按钮高度（可单独修改此值调整大小） */
  cursor: pointer;
  z-index: 100;
}

.password-digit {
    font-size: 20px; /* 数字字体大小（可单独修改此值调整字号） */
    font-family: 'Microsoft YaHei'; /* 改为微软雅黑字体 */
    color: #ffffff; /* 白色数字 */
    font-weight: 900; /* 字重加粗 */
    letter-spacing: -2px; /* 数字字体间距（可单独修改此值调整，负数缩小间距，正数增大间距） */
}

/* 响应式调整 */
/* 小屏幕手机 */
@media (max-width: 360px) {  /* 屏幕宽度小于等于360px时 */
    .dial {  /* 拨码开关 */
        width: 40px;  /* 宽度40px */
        height: 60px;  /* 高度60px */
        font-size: 24px;  /* 字体大小24px */
    }
    .unlock-btn {  /* 解锁按钮 */
        padding: 8px 16px;  /* 内边距8px 16px */
        font-size: 14px;  /* 字体大小14px */
    }
    .code-display {  /* 密码显示区域 */
        font-size: 18px;  /* 字体大小18px */
        padding: 8px 16px;  /* 内边距8px 16px */
    }
    .back-btn {  /* 返回按钮 */
        width: 70px;  /* 宽度70px */
        height: 35px;  /* 高度35px */
        font-size: 14px;  /* 字体大小14px */
    }
}

/* 中等屏幕手机 */
@media (min-width: 361px) and (max-width: 480px) {  /* 屏幕宽度在361px到480px之间 */
    .dial {  /* 拨码开关 */
        width: 50px;  /* 宽度50px */
        height: 70px;  /* 高度70px */
        font-size: 30px;  /* 字体大小30px */
    }
    .unlock-btn {  /* 解锁按钮 */
        padding: 10px 20px;  /* 内边距10px 20px */
        font-size: 16px;  /* 字体大小16px */
    }
    .code-display {  /* 密码显示区域 */
        font-size: 20px;  /* 字体大小20px */
    }
}

/* 大屏幕手机和小型平板 */
@media (min-width: 481px) and (max-width: 768px) {  /* 屏幕宽度在481px到768px之间 */
    .dial {  /* 拨码开关 */
        width: 60px;  /* 宽度60px */
        height: 80px;  /* 高度80px */
        font-size: 36px;  /* 字体大小36px */
    }
    .unlock-btn {  /* 解锁按钮 */
        padding: 12px 24px;  /* 内边距12px 24px */
        font-size: 18px;  /* 字体大小18px */
    }
    .code-display {  /* 密码显示区域 */
        font-size: 24px;  /* 字体大小24px */
        padding: 12px 24px;  /* 内边距12px 24px */
    }
}



/* 页面通用样式 */
.page {  /* 页面容器 */
    position: absolute;  /* 绝对定位 */
    top: 0;  /* 顶部对齐 */
    left: 0;  /* 左侧对齐 */
    width: 100%;  /* 宽度100% */
    height: 100%;  /* 高度100% */
    display: none;  /* 默认隐藏 */
}

/* 首页默认显示 */
#homePage {  /* 首页 */
    display: block;  /* 显示首页 */
}

/* 背景图片样式 */
.background {  /* 背景图容器 */
    position: absolute;  /* 绝对定位 */
    top: 0;  /* 顶部对齐 */
    left: 0;  /* 左侧对齐 */
    width: 100%;  /* 宽度100% */
    height: 100%;  /* 高度100% */
    background-size: cover;  /* 背景图覆盖整个容器 */
    background-position: center;  /* 背景图居中 */
    transition: all 0.5s ease;  /* 所有属性过渡动画0.5秒 */
}

/* 科技炸裂效果容器 */
.tech-explosion-container {  /* 科技炸裂动画容器 */
    position: absolute;  /* 绝对定位 */
    top: 0;  /* 顶部对齐 */
    left: 0;  /* 左侧对齐 */
    width: 100%;  /* 宽度100% */
    height: 100%;  /* 高度100% */
    pointer-events: none;  /* 不响应鼠标事件 */
    z-index: 10;  /* 层级为10 */
}

/* 网格线样式 */
.grid-line {  /* 网格线基础样式 */
    position: absolute;  /* 绝对定位 */
    background-color: rgba(0, 255, 255, 0.5);  /* 背景色为半透明青色 */
    transform-origin: center;  /* 变换原点为中心 */
}

.grid-line-horizontal {  /* 水平网格线 */
    width: 100%;  /* 宽度100% */
    height: 1px;  /* 高度1px */
    top: 50%;  /* 位于50%高度处 */
    left: 0;  /* 左侧对齐 */
}

.grid-line-vertical {  /* 垂直网格线 */
    width: 1px;  /* 宽度1px */
    height: 100%;  /* 高度100% */
    top: 0;  /* 顶部对齐 */
    left: 50%;  /* 位于50%宽度处 */
}

/* 粒子样式 */
.particle {  /* 粒子元素 */
    position: absolute;  /* 绝对定位 */
    border-radius: 50%;  /* 圆形 */
    background-color: #0ff;  /* 背景色为青色 */
    opacity: 0;  /* 初始透明度为0 */
}

/* 光效样式 */
.light-effect {  /* 光效元素 */
    position: absolute;  /* 绝对定位 */
    top: 50%;  /* 顶部对齐50% */
    left: 50%;  /* 左侧对齐50% */
    width: 0;  /* 初始宽度0 */
    height: 0;  /* 初始高度0 */
    border-radius: 50%;  /* 圆形 */
    background-color: rgba(0, 255, 255, 0.7);  /* 半透明青色 */
    transform: translate(-50%, -50%);  /* 居中对齐 */
    box-shadow: 0 0 50px 20px rgba(0, 255, 255, 0.5);  /* 发光效果 */
}

/* 拨码容器样式 */
.dial-container {  /* 拨码容器 */
    position: absolute;  /* 绝对定位 */
    top: 50%;  /* 顶部对齐50% */
    left: 50%;  /* 左侧对齐50% */
    transform: translate(-50%, -50%);  /* 居中对齐 */
    width: 90%;  /* 宽度90% */
    display: flex;  /* 使用flex布局 */
    flex-direction: column;  /* 垂直排列 */
    align-items: center;  /* 垂直居中 */
    gap: 30px;  /* 元素间距30px */
}

/* 拨码开关样式 */
.dials {  /* 拨码开关组 */
    display: flex;  /* 使用flex布局 */
    justify-content: center;  /* 水平居中 */
    gap: 15px;  /* 元素间距15px */
    width: 100%;  /* 宽度100% */
}

.dial {  /* 单个拨码开关 */
    width: 60px;  /* 宽度60px */
    height: 80px;  /* 高度80px */
    border: 3px solid rgba(180, 190, 200, 0.4);  /* 半透明金属色边框 (透明度改为0.4) */
    border-radius: 10px;  /* 圆角10px */
    background: linear-gradient(135deg, rgba(200, 210, 220, 0.4), rgba(150, 160, 170, 0.4));  /* 金属渐变背景 (透明度改为0.4) */
    display: flex;  /* 使用flex布局 */
    justify-content: center;  /* 水平居中 */
    align-items: center;  /* 垂直居中 */
    font-size: 36px;  /* 字体大小36px */
    font-weight: bold;  /* 粗体 */
    color: #fff;  /* 字体颜色白色 */
    cursor: pointer;  /* 鼠标指针为手型 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 255, 255, 0.3) inset, 0 0 0 2px rgba(255, 255, 255, 0.5);  /* 添加轮廓阴影 */
    transition: all 0.3s ease;  /* 所有属性过渡动画0.3秒 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
    position: relative;  /* 相对定位 */
    overflow: hidden;  /* 隐藏溢出内容 */
    backdrop-filter: blur(2px);  /* 毛玻璃效果 */
}

.dial:hover {  /* 拨码开关悬停时 */
    transform: translateY(-5px);  /* 上移5px */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.4) inset, 0 0 0 2px rgba(255, 255, 255, 0.7);  /* 增强阴影和轮廓 */
    border-color: rgba(200, 210, 220, 0.6);  /* 边框颜色变亮 (透明度调整为0.6) */
}

/* 拨码按住效果 */
.dial:active {  /* 拨码开关被按住时 */
    background: linear-gradient(135deg, rgba(180, 190, 200, 0.4), rgba(130, 140, 150, 0.4));  /* 按下时背景变化 (透明度改为0.4) */
    transform: translateY(0) scale(0.98);  /* 恢复位置并稍微缩小 */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), 0 0 8px rgba(255, 255, 255, 0.2) inset, 0 0 0 2px rgba(255, 255, 255, 0.3);  /* 阴影减弱 */
}

/* 解锁区域样式 */
.unlock-area {  /* 解锁区域容器 */
    display: flex;  /* 使用flex布局 */
    justify-content: center;  /* 水平居中 */
    align-items: center;  /* 垂直居中 */
    gap: 20px;  /* 元素间距20px */
    width: 100%;  /* 宽度100% */
}

.unlock-btn {  /* 解锁按钮 */
    padding: 15px 40px;  /* 增加内边距，让按钮更大气 */
    background: linear-gradient(135deg, #0f4c81, #00bcd4);  /* 科技感蓝青色渐变背景 */
    color: white;  /* 字体颜色白色 */
    border: 1px solid rgba(255, 255, 255, 0.3);  /* 半透明白色边框 */
    border-radius: 40px;  /* 更大的圆角 */
    font-size: 18px;  /* 字体大小18px */
    font-weight: bold;  /* 粗体 */
    cursor: pointer;  /* 鼠标指针为手型 */
    box-shadow: 0 0 15px rgba(0, 205, 212, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);  /* 科技感发光效果和阴影 */
    transition: all 0.3s ease;  /* 所有属性过渡动画0.3秒 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
    position: relative;  /* 相对定位，用于添加装饰元素 */
    overflow: hidden;  /* 隐藏溢出内容 */
}

/* 添加按钮上的科技线条 */
.unlock-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: scanLine 2s linear infinite;
}

/* 定义扫描线动画 */
@keyframes scanLine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.unlock-btn:hover {  /* 解锁按钮悬停时 */
    background: linear-gradient(135deg, #0a3d62, #00acc1);  /* 加深渐变颜色 */
    transform: scale(1.05);  /* 稍微放大 */
    box-shadow: 0 0 25px rgba(0, 205, 212, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);  /* 增强发光效果 */
}

/* 移除:hover::before的样式，由动画控制 */

.unlock-btn:active {  /* 解锁按钮被点击时 */
    transform: scale(0.98);  /* 稍微缩小 */
    box-shadow: 0 0 10px rgba(0, 205, 212, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);  /* 减弱发光效果 */
}

/* 密码显示样式 */
.code-display {  /* 密码显示区域 */
    padding: 10px 20px;  /* 内边距10px 20px */
    background-color: rgba(255, 255, 255, 0.6);  /* 半透明白色背景 */
    border-radius: 5px;  /* 圆角5px */
    font-size: 24px;  /* 字体大小24px */
    font-weight: bold;  /* 粗体 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
}

/* 返回按钮样式 */
.back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a77cc, #00bcd4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.6), 0 0 40px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 100;
    overflow: hidden;
}

/* 响应式调整 */
@media (max-width: 480px) {  /* 屏幕宽度小于等于480px时 */
    .dial {  /* 拨码开关 */
        width: 50px;  /* 宽度50px */
        height: 70px;  /* 高度70px */
        font-size: 30px;  /* 字体大小30px */
    }
    .unlock-btn {  /* 解锁按钮 */
        padding: 10px 20px;  /* 内边距10px 20px */
        font-size: 16px;  /* 字体大小16px */
    }
    .code-display {  /* 密码显示区域 */
        font-size: 20px;  /* 字体大小20px */
    }
}

/* 定义扫描线动画 */
@keyframes scanLine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.unlock-btn:hover {  /* 解锁按钮悬停时 */
    background: linear-gradient(135deg, #0a3d62, #00acc1);  /* 加深渐变颜色 */
    transform: scale(1.05);  /* 稍微放大 */
    box-shadow: 0 0 25px rgba(0, 205, 212, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);  /* 增强发光效果 */
}

/* 移除:hover::before的样式，由动画控制 */

.unlock-btn:active {  /* 解锁按钮被点击时 */
    transform: scale(0.98);  /* 稍微缩小 */
    box-shadow: 0 0 10px rgba(0, 205, 212, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);  /* 减弱发光效果 */
}

/* 密码显示样式 */
.code-display {  /* 密码显示区域 */
    padding: 10px 20px;  /* 内边距10px 20px */
    background-color: rgba(255, 255, 255, 0.6);  /* 半透明白色背景 */
    border-radius: 5px;  /* 圆角5px */
    font-size: 24px;  /* 字体大小24px */
    font-weight: bold;  /* 粗体 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
}



/* 响应式调整 */
@media (max-width: 480px) {  /* 屏幕宽度小于等于480px时 */
    .dial {  /* 拨码开关 */
        width: 50px;  /* 宽度50px */
        height: 70px;  /* 高度70px */
        font-size: 30px;  /* 字体大小30px */
    }
    .unlock-btn {  /* 解锁按钮 */
        padding: 10px 20px;  /* 内边距10px 20px */
        font-size: 16px;  /* 字体大小16px */
    }
    .code-display {  /* 密码显示区域 */
        font-size: 20px;  /* 字体大小20px */
    }
}

/* 定义扫描线动画 */
@keyframes scanLine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.unlock-btn:hover {  /* 解锁按钮悬停时 */
    background: linear-gradient(135deg, #0a3d62, #00acc1);  /* 加深渐变颜色 */
    transform: scale(1.05);  /* 稍微放大 */
    box-shadow: 0 0 25px rgba(0, 205, 212, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);  /* 增强发光效果 */
}

/* 移除:hover::before的样式，由动画控制 */

.unlock-btn:active {  /* 解锁按钮被点击时 */
    transform: scale(0.98);  /* 稍微缩小 */
    box-shadow: 0 0 10px rgba(0, 205, 212, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);  /* 减弱发光效果 */
}

/* 密码显示样式 */
.code-display {  /* 密码显示区域 */
    padding: 10px 20px;  /* 内边距10px 20px */
    background-color: rgba(255, 255, 255, 0.6);  /* 半透明白色背景 */
    border-radius: 5px;  /* 圆角5px */
    font-size: 24px;  /* 字体大小24px */
    font-weight: bold;  /* 粗体 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
}

/* 返回按钮样式 */
.back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a77cc, #00bcd4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.6), 0 0 40px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 100;
    overflow: hidden;
}

/* 按钮发光效果 */
.back-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.6s ease;
}

/* 按钮悬停效果 */
.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.8), 0 0 50px rgba(0, 188, 212, 0.5);
}

.back-btn:hover::before {
    transform: scale(1);
    opacity: 1;
}

/* 按钮点击效果 */
.back-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6), 0 0 30px rgba(0, 188, 212, 0.3);
}

/* 响应式调整 */
@media (max-width: 480px) {  /* 屏幕宽度小于等于480px时 */
    .dial {  /* 拨码开关 */
        width: 50px;  /* 宽度50px */
        height: 70px;  /* 高度70px */
        font-size: 30px;  /* 字体大小30px */
    }
    .unlock-btn {  /* 解锁按钮 */
        padding: 10px 20px;  /* 内边距10px 20px */
        font-size: 16px;  /* 字体大小16px */
    }
    .code-display {  /* 密码显示区域 */
        font-size: 20px;  /* 字体大小20px */
    }
}

/* 定义扫描线动画 */
@keyframes scanLine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.unlock-btn:hover {  /* 解锁按钮悬停时 */
    background: linear-gradient(135deg, #0a3d62, #00acc1);  /* 加深渐变颜色 */
    transform: scale(1.05);  /* 稍微放大 */
    box-shadow: 0 0 25px rgba(0, 205, 212, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);  /* 增强发光效果 */
}

/* 移除:hover::before的样式，由动画控制 */

.unlock-btn:active {  /* 解锁按钮被点击时 */
    transform: scale(0.98);  /* 稍微缩小 */
    box-shadow: 0 0 10px rgba(0, 205, 212, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);  /* 减弱发光效果 */
}

/* 密码显示样式 */
.code-display {  /* 密码显示区域 */
    padding: 10px 20px;  /* 内边距10px 20px */
    background-color: rgba(255, 255, 255, 0.6);  /* 半透明白色背景 */
    border-radius: 5px;  /* 圆角5px */
    font-size: 24px;  /* 字体大小24px */
    font-weight: bold;  /* 粗体 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
}

/* 返回按钮样式 */
.back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a77cc, #00bcd4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.6), 0 0 40px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 100;
    overflow: hidden;
}

/* 按钮发光效果 */
.back-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.6s ease;
}

/* 按钮悬停效果 */
.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.8), 0 0 50px rgba(0, 188, 212, 0.5);
}

.back-btn:hover::before {
    transform: scale(1);
    opacity: 1;
}

/* 按钮点击效果 */
.back-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6), 0 0 30px rgba(0, 188, 212, 0.3);
}

/* 响应式调整 */
@media (max-width: 480px) {  /* 屏幕宽度小于等于480px时 */
    .dial {  /* 拨码开关 */
        width: 50px;  /* 宽度50px */
        height: 70px;  /* 高度70px */
        font-size: 30px;  /* 字体大小30px */
    }
    .unlock-btn {  /* 解锁按钮 */
        padding: 10px 20px;  /* 内边距10px 20px */
        font-size: 16px;  /* 字体大小16px */
    }
    .code-display {  /* 密码显示区域 */
        font-size: 20px;  /* 字体大小20px */
    }
}



/* 页面通用样式 */
.page {  /* 页面容器 */
    position: absolute;  /* 绝对定位 */
    top: 0;  /* 顶部对齐 */
    left: 0;  /* 左侧对齐 */
    width: 100%;  /* 宽度100% */
    height: 100%;  /* 高度100% */
    display: none;  /* 默认隐藏 */
}

/* 首页默认显示 */
#homePage {  /* 首页 */
    display: block;  /* 显示首页 */
}

/* 背景图片样式 */
.background {  /* 背景图容器 */
    position: absolute;  /* 绝对定位 */
    top: 0;  /* 顶部对齐 */
    left: 0;  /* 左侧对齐 */
    width: 100%;  /* 宽度100% */
    height: 100%;  /* 高度100% */
    background-size: cover;  /* 背景图覆盖整个容器 */
    background-position: center;  /* 背景图居中 */
    transition: all 0.5s ease;  /* 所有属性过渡动画0.5秒 */
}

/* 科技炸裂效果容器 */
.tech-explosion-container {  /* 科技炸裂动画容器 */
    position: absolute;  /* 绝对定位 */
    top: 0;  /* 顶部对齐 */
    left: 0;  /* 左侧对齐 */
    width: 100%;  /* 宽度100% */
    height: 100%;  /* 高度100% */
    pointer-events: none;  /* 不响应鼠标事件 */
    z-index: 10;  /* 层级为10 */
}

/* 网格线样式 */
.grid-line {  /* 网格线基础样式 */
    position: absolute;  /* 绝对定位 */
    background-color: rgba(0, 255, 255, 0.5);  /* 背景色为半透明青色 */
    transform-origin: center;  /* 变换原点为中心 */
}

.grid-line-horizontal {  /* 水平网格线 */
    width: 100%;  /* 宽度100% */
    height: 1px;  /* 高度1px */
    top: 50%;  /* 位于50%高度处 */
    left: 0;  /* 左侧对齐 */
}

.grid-line-vertical {  /* 垂直网格线 */
    width: 1px;  /* 宽度1px */
    height: 100%;  /* 高度100% */
    top: 0;  /* 顶部对齐 */
    left: 50%;  /* 位于50%宽度处 */
}

/* 粒子样式 */
.particle {  /* 粒子元素 */
    position: absolute;  /* 绝对定位 */
    border-radius: 50%;  /* 圆形 */
    background-color: #0ff;  /* 背景色为青色 */
    opacity: 0;  /* 初始透明度为0 */
}

/* 光效样式 */
.light-effect {  /* 光效元素 */
    position: absolute;  /* 绝对定位 */
    top: 50%;  /* 顶部对齐50% */
    left: 50%;  /* 左侧对齐50% */
    width: 0;  /* 初始宽度0 */
    height: 0;  /* 初始高度0 */
    border-radius: 50%;  /* 圆形 */
    background-color: rgba(0, 255, 255, 0.7);  /* 半透明青色 */
    transform: translate(-50%, -50%);  /* 居中对齐 */
    box-shadow: 0 0 50px 20px rgba(0, 255, 255, 0.5);  /* 发光效果 */
}

/* 拨码容器样式 */
.dial-container {  /* 拨码容器 */
    position: absolute;  /* 绝对定位 */
    top: 50%;  /* 顶部对齐50% */
    left: 50%;  /* 左侧对齐50% */
    transform: translate(-50%, -50%);  /* 居中对齐 */
    width: 90%;  /* 宽度90% */
    display: flex;  /* 使用flex布局 */
    flex-direction: column;  /* 垂直排列 */
    align-items: center;  /* 垂直居中 */
    gap: 30px;  /* 元素间距30px */
}

/* 拨码开关样式 */
.dials {  /* 拨码开关组 */
    display: flex;  /* 使用flex布局 */
    justify-content: center;  /* 水平居中 */
    gap: 15px;  /* 元素间距15px */
    width: 100%;  /* 宽度100% */
}

.dial {  /* 单个拨码开关 */
    width: 60px;  /* 宽度60px */
    height: 80px;  /* 高度80px */
    border: 3px solid rgba(180, 190, 200, 0.4);  /* 半透明金属色边框 (透明度改为0.4) */
    border-radius: 10px;  /* 圆角10px */
    background: linear-gradient(135deg, rgba(200, 210, 220, 0.4), rgba(150, 160, 170, 0.4));  /* 金属渐变背景 (透明度改为0.4) */
    display: flex;  /* 使用flex布局 */
    justify-content: center;  /* 水平居中 */
    align-items: center;  /* 垂直居中 */
    font-size: 36px;  /* 字体大小36px */
    font-weight: bold;  /* 粗体 */
    color: #fff;  /* 字体颜色白色 */
    cursor: pointer;  /* 鼠标指针为手型 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 255, 255, 0.3) inset, 0 0 0 2px rgba(255, 255, 255, 0.5);  /* 添加轮廓阴影 */
    transition: all 0.3s ease;  /* 所有属性过渡动画0.3秒 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
    position: relative;  /* 相对定位 */
    overflow: hidden;  /* 隐藏溢出内容 */
    backdrop-filter: blur(2px);  /* 毛玻璃效果 */
}

.dial:hover {  /* 拨码开关悬停时 */
    transform: translateY(-5px);  /* 上移5px */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.4) inset, 0 0 0 2px rgba(255, 255, 255, 0.7);  /* 增强阴影和轮廓 */
    border-color: rgba(200, 210, 220, 0.6);  /* 边框颜色变亮 (透明度调整为0.6) */
}

/* 拨码按住效果 */
.dial:active {  /* 拨码开关被按住时 */
    background: linear-gradient(135deg, rgba(180, 190, 200, 0.4), rgba(130, 140, 150, 0.4));  /* 按下时背景变化 (透明度改为0.4) */
    transform: translateY(0) scale(0.98);  /* 恢复位置并稍微缩小 */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), 0 0 8px rgba(255, 255, 255, 0.2) inset, 0 0 0 2px rgba(255, 255, 255, 0.3);  /* 阴影减弱 */
}

/* 解锁区域样式 */
.unlock-area {  /* 解锁区域容器 */
    display: flex;  /* 使用flex布局 */
    justify-content: center;  /* 水平居中 */
    align-items: center;  /* 垂直居中 */
    gap: 20px;  /* 元素间距20px */
    width: 100%;  /* 宽度100% */
}

.unlock-btn {  /* 解锁按钮 */
    padding: 15px 40px;  /* 增加内边距，让按钮更大气 */
    background: linear-gradient(135deg, #0f4c81, #00bcd4);  /* 科技感蓝青色渐变背景 */
    color: white;  /* 字体颜色白色 */
    border: 1px solid rgba(255, 255, 255, 0.3);  /* 半透明白色边框 */
    border-radius: 40px;  /* 更大的圆角 */
    font-size: 18px;  /* 字体大小18px */
    font-weight: bold;  /* 粗体 */
    cursor: pointer;  /* 鼠标指针为手型 */
    box-shadow: 0 0 15px rgba(0, 205, 212, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);  /* 科技感发光效果和阴影 */
    transition: all 0.3s ease;  /* 所有属性过渡动画0.3秒 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
    position: relative;  /* 相对定位，用于添加装饰元素 */
    overflow: hidden;  /* 隐藏溢出内容 */
}

/* 添加按钮上的科技线条 */
.unlock-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: scanLine 2s linear infinite;
}

/* 定义扫描线动画 */
@keyframes scanLine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.unlock-btn:hover {  /* 解锁按钮悬停时 */
    background: linear-gradient(135deg, #0a3d62, #00acc1);  /* 加深渐变颜色 */
    transform: scale(1.05);  /* 稍微放大 */
    box-shadow: 0 0 25px rgba(0, 205, 212, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);  /* 增强发光效果 */
}

/* 移除:hover::before的样式，由动画控制 */

.unlock-btn:active {  /* 解锁按钮被点击时 */
    transform: scale(0.98);  /* 稍微缩小 */
    box-shadow: 0 0 10px rgba(0, 205, 212, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);  /* 减弱发光效果 */
}

/* 密码显示样式 */
.code-display {  /* 密码显示区域 */
    padding: 10px 20px;  /* 内边距10px 20px */
    background-color: rgba(255, 255, 255, 0.6);  /* 半透明白色背景 */
    border-radius: 5px;  /* 圆角5px */
    font-size: 24px;  /* 字体大小24px */
    font-weight: bold;  /* 粗体 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
}

/* 返回按钮样式 */
.back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a77cc, #00bcd4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.6), 0 0 40px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 100;
    overflow: hidden;
}

/* 按钮发光效果 */
.back-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.6s ease;
}

/* 按钮悬停效果 */
.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.8), 0 0 50px rgba(0, 188, 212, 0.5);
}

.back-btn:hover::before {
    transform: scale(1);
    opacity: 1;
}

/* 按钮点击效果 */
.back-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6), 0 0 30px rgba(0, 188, 212, 0.3);
}

/* 响应式调整 */
@media (max-width: 480px) {  /* 屏幕宽度小于等于480px时 */
    .dial {  /* 拨码开关 */
        width: 50px;  /* 宽度50px */
        height: 70px;  /* 高度70px */
        font-size: 30px;  /* 字体大小30px */
    }
    .unlock-btn {  /* 解锁按钮 */
        padding: 10px 20px;  /* 内边距10px 20px */
        font-size: 16px;  /* 字体大小16px */
    }
    .code-display {  /* 密码显示区域 */
        font-size: 20px;  /* 字体大小20px */
    }
}

/* 定义扫描线动画 */
@keyframes scanLine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.unlock-btn:hover {  /* 解锁按钮悬停时 */
    background: linear-gradient(135deg, #0a3d62, #00acc1);  /* 加深渐变颜色 */
    transform: scale(1.05);  /* 稍微放大 */
    box-shadow: 0 0 25px rgba(0, 205, 212, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);  /* 增强发光效果 */
}

/* 移除:hover::before的样式，由动画控制 */

.unlock-btn:active {  /* 解锁按钮被点击时 */
    transform: scale(0.98);  /* 稍微缩小 */
    box-shadow: 0 0 10px rgba(0, 205, 212, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);  /* 减弱发光效果 */
}

/* 密码显示样式 */
.code-display {  /* 密码显示区域 */
    padding: 10px 20px;  /* 内边距10px 20px */
    background-color: rgba(255, 255, 255, 0.6);  /* 半透明白色背景 */
    border-radius: 5px;  /* 圆角5px */
    font-size: 24px;  /* 字体大小24px */
    font-weight: bold;  /* 粗体 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
}

/* 返回按钮样式 */
.back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a77cc, #00bcd4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.6), 0 0 40px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 100;
    overflow: hidden;
}

/* 按钮发光效果 */
.back-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.6s ease;
}

/* 按钮悬停效果 */
.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.8), 0 0 50px rgba(0, 188, 212, 0.5);
}

.back-btn:hover::before {
    transform: scale(1);
    opacity: 1;
}

/* 按钮点击效果 */
.back-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6), 0 0 30px rgba(0, 188, 212, 0.3);
}

/* 响应式调整 */
@media (max-width: 480px) {  /* 屏幕宽度小于等于480px时 */
    .dial {  /* 拨码开关 */
        width: 50px;  /* 宽度50px */
        height: 70px;  /* 高度70px */
        font-size: 30px;  /* 字体大小30px */
    }
    .unlock-btn {  /* 解锁按钮 */
        padding: 10px 20px;  /* 内边距10px 20px */
        font-size: 16px;  /* 字体大小16px */
    }
    .code-display {  /* 密码显示区域 */
        font-size: 20px;  /* 字体大小20px */
    }
}

/* 定义扫描线动画 */
@keyframes scanLine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.unlock-btn:hover {  /* 解锁按钮悬停时 */
    background: linear-gradient(135deg, #0a3d62, #00acc1);  /* 加深渐变颜色 */
    transform: scale(1.05);  /* 稍微放大 */
    box-shadow: 0 0 25px rgba(0, 205, 212, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);  /* 增强发光效果 */
}

/* 移除:hover::before的样式，由动画控制 */

.unlock-btn:active {  /* 解锁按钮被点击时 */
    transform: scale(0.98);  /* 稍微缩小 */
    box-shadow: 0 0 10px rgba(0, 205, 212, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);  /* 减弱发光效果 */
}

/* 密码显示样式 */
.code-display {  /* 密码显示区域 */
    padding: 10px 20px;  /* 内边距10px 20px */
    background-color: rgba(255, 255, 255, 0.6);  /* 半透明白色背景 */
    border-radius: 5px;  /* 圆角5px */
    font-size: 24px;  /* 字体大小24px */
    font-weight: bold;  /* 粗体 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
}

/* 返回按钮样式 */
.back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a77cc, #00bcd4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.6), 0 0 40px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 100;
    overflow: hidden;
}

/* 按钮发光效果 */
.back-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0.5);
    opacity: 0;
    transition: all 0.6s ease;
}

/* 按钮悬停效果 */
.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.8), 0 0 50px rgba(0, 188, 212, 0.5);
}

.back-btn:hover::before {
    transform: scale(1);
    opacity: 1;
}

/* 按钮点击效果 */
.back-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6), 0 0 30px rgba(0, 188, 212, 0.3);
}

/* 响应式调整 */
@media (max-width: 480px) {  /* 屏幕宽度小于等于480px时 */
    .dial {  /* 拨码开关 */
        width: 50px;  /* 宽度50px */
        height: 70px;  /* 高度70px */
        font-size: 30px;  /* 字体大小30px */
    }
    .unlock-btn {  /* 解锁按钮 */
        padding: 10px 20px;  /* 内边距10px 20px */
        font-size: 16px;  /* 字体大小16px */
    }
    .code-display {  /* 密码显示区域 */
        font-size: 20px;  /* 字体大小20px */
    }
}

/* 定义扫描线动画 */
@keyframes scanLine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

.unlock-btn:hover {  /* 解锁按钮悬停时 */
    background: linear-gradient(135deg, #0a3d62, #00acc1);  /* 加深渐变颜色 */
    transform: scale(1.05);  /* 稍微放大 */
    box-shadow: 0 0 25px rgba(0, 205, 212, 0.7), 0 4px 15px rgba(0, 0, 0, 0.3);  /* 增强发光效果 */
}

/* 移除:hover::before的样式，由动画控制 */

.unlock-btn:active {  /* 解锁按钮被点击时 */
    transform: scale(0.98);  /* 稍微缩小 */
    box-shadow: 0 0 10px rgba(0, 205, 212, 0.5), 0 2px 5px rgba(0, 0, 0, 0.2);  /* 减弱发光效果 */
}

/* 密码显示样式 */
.code-display {  /* 密码显示区域 */
    padding: 10px 20px;  /* 内边距10px 20px */
    background-color: rgba(255, 255, 255, 0.6);  /* 半透明白色背景 */
    border-radius: 5px;  /* 圆角5px */
    font-size: 24px;  /* 字体大小24px */
    font-weight: bold;  /* 粗体 */
    font-family: "Microsoft YaHei", sans-serif;  /* 字体 */
}

/* 返回按钮样式 */
.back-btn {
    position: absolute;
    bottom: 5%;  /* 距离底部5% */
    left: 5%;  /* 距离左侧5% */
    width: 60px;  /* 调整为圆形图标大小 */
    height: 60px;  /* 调整为圆形图标大小 */
    background-color: rgba(0, 150, 255, 0.7);  /* 蓝色背景，透明度0.7 */
    color: transparent;  /* 隐藏文字 */
    border: 2px solid rgba(255, 255, 255, 0.5);  /* 半透明白色边框 */
    border-radius: 50%;  /* 圆形按钮 */
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.7);  /* 发光效果 */
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    overflow: hidden;
}

/* 添加图标 */
.back-btn::before {
    content: '\2190';  /* 左箭头符号 */
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* 悬停效果 */
.back-btn:hover {
    background-color: rgba(0, 180, 255, 0.8);  /* 稍微加深颜色 */
    transform: scale(1.1);  /* 稍微放大 */
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.9);  /* 增强发光效果 */
}

/* 点击效果 */
.back-btn:active {
    transform: scale(0.95);  /* 稍微缩小 */
}