#menu-toggle {
    display: none;
    font-size: 1.5rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    #menu-toggle {
        display: block;
    }
}






/* 自定义动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeftRight {
    from {
        opacity: 0;
        transform: translateX(-100%) translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* 自定义容器宽度 */
.custom-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}





















/* 导航栏样式 */
nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
}

.logo {
    width: 150px;
    height: 50px;
    background-image: url('sucaik/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    width: 100%;
    border-top: 1px solid #e9ecef;
    padding: 0;
}

.nav-links button {
    font-size: 1.1rem;
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    margin: 0 10px;
    color: #343a40;
    position: relative;
}

.nav-links button:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background-color: #e9ecef;
}

.nav-links button:hover {
    background-color: #e9ecef;
    color: #007bff;
    transform: scale(1.1);
}

/* 图片展示容器样式 */
.image-container {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: calc(500px + 2px); /* 初始值，这里假设 logo 高度 50px + 导航栏底部边框 1px */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .image-container {
    margin-top: calc(200px + 2px); /* 小屏幕下的 margin-top 值 */
    }
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease-in-out;
}

.image-container img.active {
    opacity: 1;
}




















/* 授权图片样式 */
.left-image,
.right-image {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto; 
    z-index: 10;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible; /* 允许内容溢出，确保阴影和轮廓可见 */
}

.left-image {
    left: 0;
}

.right-image {
    right: 0;
}

/* 鼠标悬停时的高光明亮效果 */
.left-image:hover,
.right-image:hover {
    filter: brightness(1.2);
}

/* 金光闪耀效果 */
@keyframes goldenShine {
    0% {
        box-shadow: 0 0 5px 2px rgba(255, 215, 0, 0.3);
        outline: 1px solid rgba(255, 215, 0, 0.2);
    }
    20% {
        box-shadow: 0 0 25px 15px rgba(255, 215, 0, 0.8);
        outline: 3px solid rgba(255, 215, 0, 0.6);
    }
    40% {
        box-shadow: 0 0 15px 8px rgba(255, 215, 0, 0.6);
        outline: 2px solid rgba(255, 215, 0, 0.4);
    }
    60% {
        box-shadow: 0 0 30px 20px rgba(255, 215, 0, 0.9);
        outline: 4px solid rgba(255, 215, 0, 0.7);
    }
    80% {
        box-shadow: 0 0 20px 12px rgba(255, 215, 0, 0.7);
        outline: 3px solid rgba(255, 215, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 5px 2px rgba(255, 215, 0, 0.3);
        outline: 1px solid rgba(255, 215, 0, 0.2);
    }
}

.left-image::before,
.right-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 0 5px 2px rgba(255, 215, 0, 0.3);
    outline: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: inherit;
    animation: goldenShine 1.5s infinite;
    pointer-events: none;
}

.left-image::before,
.right-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 0 10px 5px rgba(255, 215, 0, 0.5);
    outline: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: inherit;
    animation: goldenShine 2s infinite;
    pointer-events: none;
}

/* 当屏幕宽度小于 768px 时，隐藏新增的图片 */
@media (max-width: 768px) {
    .left-image,
    .right-image {
        display: none;
    }
}





















/* 个人简介标题下划线星光环绕闪烁特效 */
#home h2 {
    position: relative;
    display: inline-block;
}

#home h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7);
    animation: starEffect 2s infinite;
}

#home h2::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    bottom: -20px;
    z-index: -1;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 70%);
    background-size: 20px 20px;
    background-position: 0 0;
    animation: starOrbit 10s linear infinite;
}

@keyframes starEffect {
    0%, 100% {
        box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 20px 4px rgba(255, 255, 255, 0.9);
    }
}

@keyframes starOrbit {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}
       




/* 个人简介整体样式 */
#home {
    padding: 60px 40px; /* 保留内边距 */
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* 居中显示 */
    margin-top: 20px; /* 与轮播大图保持间距 */
    background: none; /* 去掉背景色 */
    box-shadow: none; /* 去掉阴影 */
}

#home::before {
    display: none; /* 移除背景图片 */
}

/* 头像容器样式 */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .profile-container {
        flex-direction: row; /* 在中等屏幕及以上采用横向布局 */
    }
}

/* 头像样式 */
.profile-image {
    position: relative;
    width: 240px;
    height: 240px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(0, 123, 255, 0.5);
}

.profile-image::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed rgba(0, 123, 255, 0.5);
    border-radius: 50%;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 简介文字样式 */
.profile-info {
    text-align: center;
}

#home h2 {
    font-size: 56px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 3px;
    position: relative;
}

#home h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 123, 255, 0) 0%, rgba(0, 123, 255, 1) 50%, rgba(0, 123, 255, 0) 100%);
}

#home p {
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    color: #ccc;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #home {
        padding: 40px 20px;
        margin: 0 20px;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    #home h2 {
        font-size: 42px;
    }

    #home p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    #home {
        padding: 30px 15px;
        margin: 0 10px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    #home h2 {
        font-size: 32px;
    }

    #home p {
        font-size: 16px;
    }
}




















/* 技能部分整体样式 */
.skills-section {
    background-color: #f4f4f4;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.section-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.skill-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.skill-card {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    font-size: 48px;
    color: #007BFF;
    margin-bottom: 20px;
}

.skill-card-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.skill-card-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* 技能部分网格布局样式 */
#skills .grid {
    grid-template-columns: repeat(4, 1fr); /* 始终显示 4 列 */
    gap: 8px; /* 减小间距 */
}

/* 技能卡片样式 */
.skill-card {
    width: auto; /* 自动调整宽度 */
    padding: 16px; /* 减小内边距 */
}

/* 技能标题样式 */
.skill-title {
    font-size: 24px; /* 减小标题字体大小 */
}

/* 技能描述样式 */
.skill-description {
    font-size: 16px; /* 减小描述字体大小 */
}

/* 小屏幕下的技能部分样式 */
@media (max-width: 768px) {
    #skills .grid {
        grid-template-columns: 1fr; /* 小屏幕下显示 1 列 */
        gap: 20px; /* 增加卡片之间的间距 */
    }

    .skill-card {
        width: 100%; /* 卡片宽度占满屏幕 */
        position: relative; /* 恢复正常定位 */
    }
}














/* 资源分享部分新的装饰元素样式 */
#ziyuanfenxiang .new-decoration {
    position: relative;
}

#ziyuanfenxiang .line {
    position: absolute;
    background-color: rgba(0, 123, 255, 0.1);
    animation: lineMove 10s linear infinite;
}

#ziyuanfenxiang .line-1 {
    top: 10%;
    left: 0;
    width: 100%;
    height: 2px;
    animation-delay: 0s;
}

#ziyuanfenxiang .line-2 {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    animation-delay: 2s;
}

#ziyuanfenxiang .line-3 {
    top: 90%;
    left: 0;
    width: 100%;
    height: 2px;
    animation-delay: 4s;
}

#ziyuanfenxiang .circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.05);
    animation: circleFloat 8s ease-in-out infinite;
}

#ziyuanfenxiang .circle-1 {
    top: 20%;
    left: 20%;
    width: 50px;
    height: 50px;
    animation-delay: 1s;
}

#ziyuanfenxiang .circle-2 {
    top: 70%;
    left: 80%;
    width: 30px;
    height: 30px;
    animation-delay: 3s;
}

@keyframes lineMove {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes circleFloat {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
    100% {
        transform: translate(0, 0);
    }
}



















#server-rental {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background-color: #f9fafb;
}

#server-rental .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

#server-rental h2 {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    color: #1f2937;
    margin-bottom: 2rem;
}

#server-rental p.section-description {
    font-size: 1.125rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

#server-rental .server-item {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#server-rental .server-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#server-rental .server-item-header {
    margin-bottom: 1.5rem;
}

#server-rental .server-item-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}

#server-rental .server-item-header span {
    font-size: 0.875rem;
    color: #34d399;
    background-color: #d1fae5;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    display: inline-block;
    margin-top: 0.5rem;
}

#server-rental .server-config-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#server-rental .server-config-list li {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

#server-rental .price {
    font-size: 1.875rem;
    font-weight: bold;
    color: #f97316;
    margin-top: 1.5rem;
}

#server-rental .price span.original-price {
    text-decoration: line-through;
    color: #9ca3af;
    margin-right: 0.5rem;
}

#server-rental .cta-button {
    display: block;
    background-color: #3b82f6;
    color: #ffffff;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    margin-top: 1.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#server-rental .cta-button:hover {
    background-color: #2563eb;
}




















/* 网站美工部分整体样式 */
.web-design-upgraded {
    background: linear-gradient(135deg, #f9fafb, #e5e7eb); /* 添加背景渐变 */
    border-radius: 20px; /* 增加圆角 */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* 增强阴影效果 */
    padding: 60px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.web-design-upgraded::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewY(-5deg);
    transform-origin: top left;
    z-index: 1;
}

/* 网站美工部分标题样式 */
.web-design-upgraded h2 {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    border-bottom: 4px solid #007BFF;
    padding-bottom: 15px;
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
    z-index: 2;
}

/* 网站美工部分描述样式 */
.web-design-upgraded p {
    font-size: 22px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* 网站美工图片展示样式 */
.web-design-images-inner {
    display: flex;
    animation: slide 20s linear infinite;
    position: relative;
    z-index: 2;
}

.web-design-image {
    width: 18%;
    text-align: center;
    flex-shrink: 0;
    margin: 0 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.web-design-image:hover {
    transform: scale(1.08); /* 增大缩放比例 */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* 增强悬停阴影效果 */
}

.web-design-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: filter 0.3s ease;
}

.web-design-image:hover img {
    filter: brightness(1.1); /* 悬停时增加图片亮度 */
}

.web-design-image h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.web-design-image p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4b5563;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .web-design-image {
        width: 30%;
    }
}

@media (max-width: 480px) {
    .web-design-image {
        width: 45%;
    }
}



















/* 脚本定制部分整体样式 */
.script-customization-section {
    background-color: #f9fafb;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 60px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.script-customization-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.script-customization-section:hover::before {
    opacity: 1;
}

/* 标题样式 */
.script-customization-section .section-title {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    border-bottom: 4px solid #007BFF;
    padding-bottom: 15px;
    margin-bottom: 30px;
    display: inline-block;
}

/* 描述样式 */
.script-customization-section .section-description {
    font-size: 20px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
}

/* 定制步骤样式 */
.customization-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 220px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    color: #007BFF;
    margin-bottom: 20px;
}

.step-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.step-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* 立即定制按钮样式 */
#customize-now {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 18px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#customize-now:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* 弹出框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.modal form label {
    display: block;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.modal form input,
.modal form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.modal form input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal form input[type="submit"]:hover {
    background-color: #0056b3;
}








.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}














/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* 页脚样式 */
.footer {
    background-color: black;
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* 页脚链接样式 */
.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links span {
    color: white;
}

/* 页脚信息样式 */
.footer-info {
    margin-bottom: 10px;
}

.footer-info p {
    margin: 5px 0;
}

/* 页脚警告信息样式 */
.footer-warning {
    margin-bottom: 10px;
}

.footer-warning p {
    margin: 5px 0;
}

/* 页脚举报信息样式 */
.footer-report {
    margin-bottom: 10px;
}

.footer-report p {
    margin: 5px 0;
}




















/* 整体页面样式 */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* 侧边栏样式 */
.sidebar {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.sidebar-item {
    background-color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.sidebar-item span {
    display: none;
    position: absolute;
    right: 120%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 14px;
}

.sidebar-item:hover span {
    display: block;
}

/* 二维码样式 */
.qr-code {
    position: fixed;
    top: 50%;
    right: 100px;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 101;
}

.qr-code img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.qr-code.show {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

/* 回到顶部按钮样式 */
#back-to-top {
    background-color: #007BFF;
    color: white;
}

#back-to-top:hover {
    background-color: #0056b3;
}

#back-to-top.hidden {
    display: none;
}      






















/* 开区版本部分整体样式 */
.server-version-section {
    background-color: #f9fafb;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 60px;
    margin: 40px 0;
    text-align: center;
}

/* 标题样式 */
.server-version-section .section-title {
    font-size: 42px;
    font-weight: bold;
    color: #333;
    border-bottom: 4px solid #007BFF;
    padding-bottom: 15px;
    margin-bottom: 30px;
    display: inline-block;
}

/* 描述样式 */
.server-version-section .section-description {
    font-size: 20px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
}

/* 版本网格布局 */
.version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* 每个版本项样式 */
.version-item {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.version-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.version-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.version-item h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.version-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* 按钮样式 */
.cta-button {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}


#scroll-container {
    display: grid;
    grid-template-columns: repeat(8, auto);
    gap: 5px;
    width: fit-content;
    margin: 0 auto;
}

#scroll-container img {
    width: auto;
    height: auto;
    transition: transform 0.3s ease; /* 缩短过渡时间，增强动感 */
}












/* 随机变换位置特效 */
.shuffle {
    animation: shuffleAnimation 0.3s ease; /* 缩短动画时间，增强动感 */
}

@keyframes shuffleAnimation {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.5) rotate(30deg); /* 增大缩放比例和旋转角度，增强动感 */
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}