@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Noto+Sans+SC:wght@400;500;700&display=swap');

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

html, body {
    height: 100%;
    overflow: hidden;
    background: #0a0a14;
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
}

/* ===== 动态虚化背景 ===== */
.blur-bg {
    position: fixed;
    inset: -40px; /* 比视口大一圈，避免边缘露出 */
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(50px) brightness(0.4) saturate(1.3);
    transform: scale(1.15);
    transition: background-image 0.6s ease;
    pointer-events: none;
}

/* ===== 品牌加载屏 ===== */
.loader {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

.loader-brand {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(129, 140, 248, 0.4);
    animation: pulseText 2s ease-in-out infinite;
}

@keyframes pulseText {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.loader-bar-track {
    width: 260px;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #818cf8, #a78bfa);
    border-radius: 99px;
    transition: width 0.15s ease;
}

.loader-percent {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===== 垂直滚动容器 ===== */
.scroll-container {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1;
}
.scroll-container::-webkit-scrollbar { display: none; }

/* ===== spacer ===== */
.scroll-spacer {
    width: 100%;
}

/* ===== 卡片 ===== */
.slide-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
}

.card-inner {
    position: relative;
    width: 92vw;
    max-width: 92vw;
    border-radius: 10px;
    overflow: hidden;
    transform: scale(var(--scale, 0.5));
    opacity: var(--opacity, 0.4);
    transition: transform 0.15s ease-out, opacity 0.15s ease-out, box-shadow 0.2s ease;
    will-change: transform, opacity;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-inner.active {
    box-shadow:
        0 25px 70px rgba(0,0,0,0.8),
        0 0 0 1px rgba(255,255,255,0.1),
        0 0 40px rgba(129, 140, 248, 0.12);
}

.card-inner img {
    width: 100%;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ===== 右侧圆点导航 ===== */
.page-dot-bar {
    position: fixed;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 100;
    padding: 6px 3px;
    border-radius: 99px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.25s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.dot.active {
    background: #818cf8;
    width: 7px;
    height: 7px;
    box-shadow: 0 0 6px rgba(129, 140, 248, 0.6);
}

/* ===== 底部页码 ===== */
.page-label {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 18px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1.5px;
    z-index: 100;
}

/* ===== 桌面端适配（铺满画面） ===== */
@media (min-width: 768px) {
    .slide-card {
        padding: 10px 40px;
    }
    .card-inner {
        width: 85vw;
        max-width: 85vw;
        border-radius: 16px;
    }
    .loader-brand {
        font-size: 28px;
    }
    .page-dot-bar {
        right: 12px;
        gap: 6px;
        padding: 8px 5px;
    }
    .dot {
        width: 6px;
        height: 6px;
    }
    .dot.active {
        width: 9px;
        height: 9px;
    }
    .page-label {
        font-size: 14px;
        padding: 6px 24px;
    }
}

/* ===== 超宽屏（≥1400px）进一步放大 ===== */
@media (min-width: 1400px) {
    .card-inner {
        width: 75vw;
        max-width: 1200px;
    }
}

