/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部横图 */
.top-banner {
    width: 100%;
    height: 0;
    padding-bottom: calc(5/16 * 100%); /* 16:5 比例 */
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
}

.top-banner img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 主题设置面板 */
.theme-panel {
    position: fixed;
    top: 50%;
    right: -300px;
    transform: translateY(-50%);
    width: 280px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px 0 0 15px;
    padding: 30px;
    box-shadow: -8px 0 32px 0 rgba(31, 38, 135, 0.15);
    transition: right 0.3s ease;
    z-index: 1500;
}

.theme-panel.active {
    right: 0;
}

.theme-panel h3 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.theme-panel h4 {
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-option.active {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wallpaper-options {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.close-panel {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-panel:hover {
    color: #333;
}

/* 全局壁纸背景 */
body.wallpaper-global {
    background-image: var(--wallpaper-url);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.wallpaper-global::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

/* 移除顶部图的悬停缩放效果 */
.top-banner:hover img {
    transform: translate(-50%, -50%);
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 30px 0 15px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    margin-top: -30px;
}

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 20px rgba(31, 38, 135, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.logo:hover img {
    transform: scale(1.1);
    box-shadow: 
        0 12px 28px rgba(31, 38, 135, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

/* 简介弹窗文本样式 */
.intro-text {
    text-align: left;
    line-height: 1.6;
}

.intro-text p {
    margin-bottom: 15px;
    color: #555;
}

.intro-text p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #333;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #007bff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 主要内容 */
.main-content {
    padding: 50px 0;
}

/* 通用板块样式 */
section {
    margin-bottom: 80px;
}

section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #6c757d);
    border-radius: 2px;
}

/* 简介板块 */
.intro-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.intro-content p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    color: #555;
}

/* 轮播图板块 */
.carousel-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 500px;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.carousel-image-link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.carousel-image-link:hover img {
    transform: scale(1.05);
}

.carousel-item .carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    border-radius: 0 0 15px 15px;
}

.carousel-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.carousel-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.carousel-item .carousel-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-item .carousel-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* 其他功能板块 */
.features-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.feature-card p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #555;
}

.feature-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #007bff, #6c757d);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.feature-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* 右侧悬浮按钮 */
.floating-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #333;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 20px rgba(31, 38, 135, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.floating-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: saturate(1.5);
    position: relative;
    z-index: 1;
}

/* QQ和微信图标颜色填充 */
#wechatBtn img {
    filter: saturate(1.5) drop-shadow(0 0 2px #07C160);
}

#qqBtn img {
    filter: saturate(1.5) drop-shadow(0 0 2px #12B7F5);
}

.floating-btn:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 12px 28px rgba(31, 38, 135, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    color: #007bff;
}

/* 微信二维码弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 15% auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.modal-content h3 {
    margin-bottom: 20px;
    color: #333;
}

.modal-content img {
    width: 280px;
    height: 280px;
    object-fit: contain;
}

.reward-text {
    margin-top: 20px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 欢迎弹窗 */
.welcome-modal {
    display: flex;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.6s ease;
}

.welcome-modal-content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: auto;
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    width: 90%;
    max-width: 520px;
    text-align: center;
    box-shadow: 
        0 15px 45px 0 rgba(31, 38, 135, 0.5),
        inset 0 2px 6px rgba(255, 255, 255, 0.4),
        inset 0 -2px 6px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
    transition: transform 0.3s ease;
}

.welcome-modal-content:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.welcome-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 2.5s infinite linear;
    pointer-events: none;
}

.welcome-modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

.welcome-modal-content h3 {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 28px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.welcome-modal-content p {
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.welcome-checkbox {
    position: relative;
    z-index: 1;
    margin-top: 10px;
}

.welcome-checkbox .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.welcome-checkbox .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.welcome-checkbox .checkbox-label input[type="checkbox"]:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.welcome-checkbox .checkbox-label input[type="checkbox"]:checked {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.welcome-btn {
    padding: 18px 24px;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transform: perspective(500px) rotateX(0deg);
}

.welcome-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.welcome-btn:hover::before {
    animation: shine 1.2s ease;
}

.welcome-btn:hover {
    transform: translateY(-8px) scale(1.05) perspective(500px) rotateX(5deg);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 3px 6px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.25);
}

.welcome-btn:active {
    transform: translateY(0) scale(0.98) perspective(500px) rotateX(0deg);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

/* 不同选项按钮的颜色 */
.btn-option1 {
    background: linear-gradient(135deg, #007bff, #0056b3, #003366);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.btn-option1:hover {
    background: linear-gradient(135deg, #0066cc, #004080, #002244);
    box-shadow: 
        0 15px 35px rgba(0, 123, 255, 0.4),
        inset 0 3px 6px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.25);
}

.btn-option2 {
    background: linear-gradient(135deg, #28a745, #1e7e34, #135724);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.btn-option2:hover {
    background: linear-gradient(135deg, #218838, #155724, #0d3d18);
    box-shadow: 
        0 15px 35px rgba(40, 167, 69, 0.4),
        inset 0 3px 6px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.25);
}

.btn-option3 {
    background: linear-gradient(135deg, #dc3545, #c82333, #a71e2a);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.btn-option3:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a, #851a24);
    box-shadow: 
        0 15px 35px rgba(220, 53, 69, 0.4),
        inset 0 3px 6px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.25);
}

/* 选项4按钮样式 */
.btn-option4 {
    background: linear-gradient(135deg, #ffc107, #e0a800, #b38700);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.btn-option4:hover {
    background: linear-gradient(135deg, #e0a800, #b38700, #856400);
    box-shadow: 
        0 15px 35px rgba(255, 193, 7, 0.4),
        inset 0 3px 6px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.25);
}

/* 选项5按钮样式 */
.btn-option5 {
    background: linear-gradient(135deg, #6f42c1, #5a32a3, #462375);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.btn-option5:hover {
    background: linear-gradient(135deg, #5a32a3, #462375, #321447);
    box-shadow: 
        0 15px 35px rgba(111, 66, 193, 0.4),
        inset 0 3px 6px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.25);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .welcome-modal-content {
        padding: 35px 25px;
        max-width: 90%;
        transform: perspective(800px) rotateX(1deg) rotateY(1deg);
    }
    
    .welcome-modal-content h3 {
        font-size: 24px;
    }
    
    .welcome-modal-content p {
        font-size: 16px;
    }
    
    .welcome-btn {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .welcome-buttons {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .welcome-modal-content {
        padding: 30px 20px;
        border-radius: 20px;
        transform: perspective(600px) rotateX(0deg) rotateY(0deg);
    }
    
    .welcome-modal-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .welcome-modal-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .welcome-btn {
        padding: 14px 18px;
        font-size: 13px;
        border-radius: 12px;
    }
    
    .welcome-buttons {
        gap: 12px;
    }
    
    .welcome-btn:hover {
        transform: translateY(-5px) scale(1.03) perspective(400px) rotateX(3deg);
    }
}

/* 页脚 */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    color: #555;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .intro-section,
    .carousel-section,
    .features-section {
        padding: 30px 20px;
    }

    .carousel {
        height: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .floating-buttons {
        right: 20px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 10px;
        padding: 5px;
        box-shadow: 
            0 6px 16px rgba(31, 38, 135, 0.2),
            inset 0 2px 3px rgba(255, 255, 255, 0.3),
            inset 0 -2px 3px rgba(0, 0, 0, 0.1);
    }

    .floating-btn img {
        width: 24px;
        height: 24px;
    }

    .floating-btn:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 
            0 10px 24px rgba(31, 38, 135, 0.3),
            inset 0 2px 3px rgba(255, 255, 255, 0.4),
            inset 0 -2px 3px rgba(0, 0, 0, 0.15);
    }

    section h2 {
        font-size: 24px;
    }

    .intro-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        gap: 15px;
    }

    .carousel {
        height: 200px;
    }

    .floating-buttons {
        right: 15px;
    }

    .floating-btn {
        width: 36px;
        height: 36px;
        font-size: 8px;
        padding: 4px;
        box-shadow: 
            0 5px 14px rgba(31, 38, 135, 0.2),
            inset 0 1px 2px rgba(255, 255, 255, 0.3),
            inset 0 -1px 2px rgba(0, 0, 0, 0.1);
    }

    .floating-btn img {
        width: 20px;
        height: 20px;
    }

    .floating-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 
            0 8px 20px rgba(31, 38, 135, 0.3),
            inset 0 1px 2px rgba(255, 255, 255, 0.4),
            inset 0 -1px 2px rgba(0, 0, 0, 0.15);
    }
}