@font-face {
    font-family: 'AlimamaShuHeiTi';
    src: url('./static/AlimamaShuHeiTi-Bold.woff2') format('woff2');
    font-weight: bold;
    font-display: swap;
}

:root {
    --primary-color: #00bac6;
    --accent-glow: rgba(79, 70, 229, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-white: #ffffff;
    --min-page-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'AlimamaShuHeiTi', -apple-system, "Microsoft YaHei", sans-serif;
    min-width: var(--min-page-width);
    background-color: #000;
    color: #333;
    overflow-x: auto;
}

/* 头部导航 */
.header {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 100;
}

.contact-email {
    color: var(--text-white);
    text-decoration: none;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-email:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--accent-glow);
    border-color: transparent;
    transform: translateY(-2px);
}

/* 轮播容器 */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.carousel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    /* cursor: zoom-in; 已移除，保持原有鼠标指针样式 */
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* 渐变遮罩层 */
.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: linear-gradient(
        to bottom, 
        rgba(0,0,0,0.1) 0%, 
        rgba(0,0,0,0.4) 50%, 
        rgba(0,0,0,0.7) 100%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    text-align: center;
    pointer-events: none;
}

.content-box {
    max-width: 900px;
    padding: 0 20px;
    pointer-events: auto;
}

.info-overlay h1 {
    font-size: 72px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.info-overlay p {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 50px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    opacity: 0.9;
}

/* 按钮组 */
.btn-group {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.btn {
    padding: 16px 45px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-web {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-download {
    background-color: var(--glass-bg);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid white;
    color: white;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* 侧边导航 */
.side-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.hero-container:hover .side-nav {
    opacity: 1;
}

.side-nav.prev { left: 40px; }
.side-nav.next { right: 40px; }

.side-nav svg {
    width: 34px;
    height: 34px;
    fill: white;
}

.side-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

/* 轮播圆点 */
.carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
}

.dot.active {
    background: var(--text-white);
    width: 35px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255,255,255,0.6);
}

/* 图片预览模态框 */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.preview-modal.active {
    display: flex;
}

.preview-content {
    position: relative;
    max-width: 88%;
    max-height: 88%;
    padding: 20px;
    box-sizing: border-box;
}

.preview-content img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
}

.preview-close-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    background: rgba(0,0,0,0.6);
    padding: 10px 28px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

/* 页脚 */
.footer {
    background-color: #0f0f0f;
    color: #666;
    padding: 60px 0;
    border-top: 1px solid #222;
}

.footer-inner {
    width: var(--min-page-width);
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    margin: 25px 0;
}

.footer-links a {
    color: #444;
    text-decoration: none;
    margin: 0 20px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}