/* 基础样式 */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f5f5f5;
}

.side-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 0; /* JS 可以动态调整 */
  z-index: 1100;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  padding: 0;
  box-sizing: border-box;
}

.side-nav ul {
  margin: 0;
  padding: 10px 0;
  list-style: none;
  width: 100%; /* ul 撑满侧边栏 */
}

.side-nav li {
  width: 100%;   /* li 撑满 ul */
  margin: 6px 0;
}

.side-nav a {
  display: flex;       /* 图标+文字水平排列 */
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border-radius: 2px;
  box-sizing: border-box;
  transition: background 0.2s, color 0.2s;
}

.side-nav a:hover {
  background: #E5F0FF;
  color: #2568FC;
}

.side-nav a.active {
    background-color: #E5F0FF; /* 高亮底色 */
    color: #2568FC;               /* 文字高亮颜色 */
    font-weight: 600;
}

.nav_ico {
  width: 24px;
  flex-shrink: 0;
  text-align: center;
}

.nav_text {
  flex: 1;
  text-align: left;
}

/* 固定“成为VIP”按钮样式 */
#sideNav .vip-btn {
    padding-top: 3px;
}

#sideNav .vip-link {
    background: linear-gradient(90deg, #fbb6ff, #ffde7a);
    color: #51430d !important;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 0 -5px;
}

#sideNav .vip-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(255, 190, 0, 0.5);
}

@media (max-width: 900px) {
  .side-nav { display: none; }
}

.container {
    width: 70%;
    min-width: 500px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

header, footer {
text-align: center;
padding: 20px 0;
}

.main {
padding: 0 0 67%;
}

/* 响应式设计 */
@media (max-width: 768px) {
.container {
padding: 10px 20px;
}
}

.notice {
    display: flex;
    align-items: center; /* 垂直居中整个行 */
    height: 24px;
    overflow: hidden;
    line-height: 24px;    /* 行高与容器高度一致，实现垂直居中 */
    border: 0.15em dashed #a14fe954; /* 虚线边框 */
    border-radius: 6px;      /* 圆角 */
    padding: 5px 6px;         /* 内边距，让内容离边框有间距 */
    background-color: #fff;   /* 背景色 */
}

.notice-title {
    flex-shrink: 0;
    text-align: center;
    font-size: 16px;      /* 与内容字体一致 */
    color: #47bfff;
    font-weight: 600;
    line-height: 24px;    /* 垂直居中 */
    margin-right: 15px;
}

.notice-content-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: 24px;          /* 单条公告高度 */
    margin-top: 1px;
}

.notice-list {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;       /* 与标题一致 */
    line-height: 24px;     /* 与容器一致，实现垂直居中 */
    color: #4e5358;
}

.notice-list li {
    height: 24px;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.head {
    position: relative; /* 关键：为绝对定位的gif提供定位上下文 */
    text-align: center;
    white-space: nowrap;
    padding: 35px 0 20px 0;
    border-radius: 5px;
    margin-top: -20px;
    /*background:
        radial-gradient(circle at 0% 90%, #e2f1ff 0%, transparent 20%),
        radial-gradient(circle at 80% 10%, #e2f1ff 0%, transparent 40%),
        #f4fbff; /* 主背景底色 */
}

.head .head-gif-link {
    position: absolute;
    bottom: 5px;
    right: 10px;
    display: inline-block;
    width: 15%;   /* 与图片大小一致 */
    height: auto;
    text-decoration: none;
}

/* 图片样式 */
.head .head-gif {
    width: 100%;
    height: auto;
    pointer-events: auto; /* 允许点击 */
    opacity: 0.9;
    transition: transform 0.2s ease;
}

.head h1{
    position: relative; 
    font-size: 35px;
    font-weight: 600;
    line-height: 1.1;
    color: #4e5358;
    margin-top: 18px;
    margin-bottom: 5px;
    padding-bottom: 10px;
}
.head h1::before{
    left: 0;
    right: 0;
    margin: auto;
    transform-origin: center;
    position: absolute;
    content: '';
    width: 90px;
    height: 4px;
    background: #47bfff;
    transition: .4s;
    bottom: 3px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px -1px var(--theme-color);
}
.head h1:hover:before{
    width: 168px;
}

.head p{
    font-size: 24px;
    font-weight: 600;
    color: #4e5358;
    line-height: 1.1;
    margin: 0;
}

.head span {
    display: block;
    font-size: 16px;
    color: #4e5358;
    margin-top: 11px;
    display: inline-block;
}

.ad{
    padding: 0 15px;
}

.ad p{
    font-size: 17px;
    color: #4e5358;
    line-height: 1.6;
}

@keyframes colorfulFlash {
    0%   { color: #a14fe9; }  /* 紫色 */
    25%  { color: #4917ff; }  /* 粉色 */
    50%  { color: #a14fe9; }  /* 粉色 */
    75%  { color: #ff17b2; }  /* 粉色 */
    100% { color: #a14fe9; }  /* 回到紫色 */
}

.blink {
    animation: colorfulFlash 0.5s infinite;
    font-weight: 600;
}


.classify {
    background: 
        radial-gradient(circle at 5% 190%, #6895ff 0%, transparent 30%), 
        radial-gradient(circle at 55% -350%, #8ae8f7 0%, transparent 35%), 
        radial-gradient(circle at 92% -180%, #d1efff 0%, transparent 15%), 
        #47bfff;
    padding: 12px 16px 10px 16px;          /* 内边距，增加视觉呼吸感 */
    border-radius: 8px;           /* 圆角，让标题更柔和 */
    margin: 20px 0 8px 0;        /* 上下间距分隔卡片列表 */
    box-shadow: 0 1px 4px rgba(0,0,0,0.08); /* 轻微阴影，增强层次 */
}

.classify p {
    font-size: 20px;      /* 字号稍大 */
    font-weight: 700;     /* 加粗 */
    color: #fff;       /* 深紫色文字 */
    margin: 0;            /* 去掉段落默认外边距 */
    line-height: 1.4;     /* 行高适中 */
}


.list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 默认 4 列 */
    gap: 16px 15px; /* 卡片间距 */
    max-width: 1280px;
    margin: 0 5px; /* 居中 */
    padding: 10px 0;
}

.software {
    /* 背景：淡紫底 + 气泡渐变 */
    background:
        radial-gradient(circle at 0% 90%, #e2f1ff 0%, transparent 20%),
        radial-gradient(circle at 80% 10%, #ebf6ff 0%, transparent 40%),
        #f8fcff; /* 主背景底色 */
    min-width: 272px;
    border-radius: 12px;
    padding: 5px 8px;
    text-align: center;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    display: inline-block;
    cursor: pointer;
    box-sizing: border-box; /* 让宽度包含padding */
    /*box-shadow: 0 2px 3px rgba(3, 58, 160, 0.3); */
    border: 0.1em solid #182f4d38;
}
.software:hover {
    /* 移除位移效果 */
    transform: none;
    background:
        radial-gradient(circle at 0% 90%, #f0eefd 0%, transparent 20%),
        radial-gradient(circle at 80% 10%, #f5f4ff 0%, transparent 40%),
        #ffffff; /* 主背景底色 */
    /* 柔和阴影 */
    box-shadow: 0 4px 10px rgba(46, 6, 156, 0.3);
}

.software:hover .explain span.win,
.software:hover .explain span.Mac {
    border: 1px dashed #ff2dc0;   /* 新增虚线边框，颜色可调整 */
}

.seo-text {
    position: absolute;
    left: -9999px; /* 移出屏幕外 */
}

.card_top {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: flex-start; /* 左对齐 */
    gap: 10px; /* 图标与文字之间间距 */
}

.icon {
    flex: 0 0 40px; /* 固定宽度，不伸缩 */
    height: 40px;
    margin: 5px 8px;
    background-color: white;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图像填满，不变形 */
    border-radius: 8px;
}

.Introduction {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左对齐文字 */
    justify-content: flex-start; /* 顶部对齐，不垂直居中 */
    text-align: left; /* 确保内部文字左对齐 */
}

.title p {
    font-size: 16px;
    font-weight: 600;
    color: #4e5358;
    margin: 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;

    white-space: nowrap;        /* 禁止换行 */
    overflow: hidden;           /* 超出隐藏 */
    text-overflow: ellipsis;    /* 显示省略号 */
}

/* 基本样式：让 <l> 成为块级元素并撑满 */
l {
  display: block;
  width: 100%;
  box-sizing: border-box;   /* 避免 padding 影响宽度 */
  padding: 5px 0 3px;          /* 上下内边距，可调 */
  color: inherit;           /* 继承文字颜色 */
  font-size: 15px;          /* 可按需调整 */
    line-height: 1.4;
    position: relative;       /* 伪元素定位参考 */
    color: #FFDC80;
    font-weight: 600;
    border-bottom: 1px dashed #ffffff;
    margin-bottom: 4px;
}

r{
    color: #9eff7e; 
    font-size: 14px;
    font-weight: 600;
}

/* 如果你希望分割线和文字有间距（线在元素下方 8px） */
l.divider-below {
  padding-bottom: 18px;     /* 给伪元素留空间 */
}
l.divider-below::after {
  bottom: 8px;              /* 线距底部 8px */
  transform: none;
}

.software:hover .title p {
    color: #ff2dc0;
    text-shadow: 0 0 4px #fff, 0 0 8px #fff, 0 0 12px #fff; /* 白色外发光 */
}
.software .tooltiptext {
    visibility: hidden;
    width: 100%;
    box-sizing: border-box; /* 同样启用盒模型 */
    background-color: rgb(14 3 35 / 79%);
    color: #ebf7ff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 15px;
    text-align: left;
    border: 1px dashed #8C75FF;
    line-height: 1.4;
    position: absolute;
    z-index: 10;
    bottom: 104%;  /* 在卡片上方显示 */
    left: 0;

    opacity: 0;
    transition: opacity 0.3s ease;
}

.software:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    transition-delay: 0.3s; /* 延迟1秒出现 */
}

/* 鼠标移开后立即隐藏 */
.software:not(:hover) .tooltiptext {
    transition-delay: 0.1s;
}

.explain {
    display: flex;          /* 启用弹性布局 */
    align-items: center;    /* 垂直居中 */
}

.explain p {
    font-size: 14px;
    color: #666;
    margin: 2px 0 0 0;
    display: flex;           /* 内部文字+图标继续用 flex */
    align-items: center;     /* 保证图标和文字垂直居中 */
    gap: 4px;                /* 可选，文字与图标间距 */
}


.explain span {
    display: inline-flex;
    align-items: center;     /* 图标和文字垂直居中 */
}
.explain span.win,
.explain span.Mac {
    margin-top: 2px;
    margin-right: 4px;
    border: 1px dashed #2CB1F8;   /* 新增虚线边框，颜色可调整 */
    border-radius: 6px;
    padding: 0 5px;
}

.explain span.win::before,
.explain span.Mac::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 4px;       /* 图标与文字间距 */
}

.explain span.win::before {
    background-image: url('https://imokla.oss-accelerate.aliyuncs.com/file/img/winicon.png');
}

.explain span.Mac::before {
    background-image: url('https://imokla.oss-accelerate.aliyuncs.com/file/img/macicon.png');
}


.card_bot {
    display: flex;
    align-items: center; /* 子元素垂直居中，减少视觉高度 */
    justify-content: flex-start;
    gap: 10px;
    margin-top: 4px;
    padding: 0; /* 确保没有额外内边距 */
    line-height: 1.2; /* 紧凑行高 */
}


.button_title {
    flex: 0 0 50px;        /* 固定宽度，不影响高度 */
    font-weight: 600;
    color: #5c7489;
    display: flex;          /* 用 flex 消除默认文字高度差 */
    align-items: center;    /* 垂直居中文字 */
    height: auto;           /* 明确声明高度自动 */
    margin: 2px;
}

.button_title p {
    margin: 0;              /* 去掉默认外边距 */
    line-height: 1.2;       /* 紧凑行高 */
    font-size: 12.5px;
}

.button_box {
    flex: 1; /* 占据剩余空间 */
    display: flex;
    flex-wrap: wrap; /* 自动换行 */
    gap: 8px; /* 按钮间距 */
    justify-content: flex-start; /* 左对齐 */
    margin-top: -1px;
}

.button_box .button {
    display: inline-block;
    padding: 2px 5px 1px 5px;
    background: #2cb1f8;
    border: 1px solid #d3cfff;
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.button_box .button:hover {
    background: #8C75FF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.footer{
    margin: 35px auto;
    text-align: center;
    line-height: 2;
    color: #4e5358;
}

/* 宽度在1080px到1200px之间 → 4列 */
@media (min-width: 1634px) {
    .list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 宽度在810px到1080px之间 → 3列 */
@media (max-width: 1633px) and (min-width: 926px) {
    .list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 宽度在540px到810px之间 → 2列 */
@media (max-width: 925px) and (min-width: 614px) {
    .list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1279px){
    .container{
        width: 96%;
    }
    .side-nav{
        display: none;
    }
}

/* 宽度小于540px → 1列 */
@media (max-width: 618px) {
        .list {
        grid-template-columns: 1fr;
    }
    .head .head-gif-link {
        display: none;
    }
    .title p {
        font-size: 1.3em;
    }
    .button_box .button{
        font-size: 1em;
    }
    .explain p{
        margin: 5px 0 4px;
        font-size: 15.5px;
    }
    .button_title{
        flex: 0 0 55px;
    }
    .button_title p{
        font-size: 13px;
    }
    .button_box .button{
        padding: 4px 7px 3px 7px;
    }
    .main{
        width: 75%;
        margin-left: auto;
    }
    .side-nav{
        display: block !important;
        top: 100%;
        transform: translateY(-101%);
    }
    .head{
        padding: 25px 0 10px 0;
    }
}