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

:root {
    --primary-bg: #000000;
    --secondary-bg: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100vh;
}

/* Canvas 背景 */
#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 动态渐变背景层 */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    animation: gradientMove 15s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% { 
        transform: translate(50px, -30px) scale(1.1);
        opacity: 0.8;
    }
    66% { 
        transform: translate(-30px, 50px) scale(0.95);
        opacity: 0.7;
    }
}

/* 扫光效果 */
.scan-line {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        transparent 100%);
    animation: scanMove 8s linear infinite;
    z-index: 0;
}

@keyframes scanMove {
    0% {
        top: 0;
        left: -100%;
    }
    50% {
        left: 100%;
    }
    50.01% {
        top: 100%;
        left: -100%;
    }
    100% {
        top: 100%;
        left: 100%;
    }
}

/* 主容器 */
.container {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

/* Logo */
.logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 10;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

/* 主要内容区 */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    padding: 80px 40px 0 40px;
}

.hero-title {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    margin-top: 0;
    letter-spacing: -2px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: translateY(-10px);
        text-shadow: 0 0 60px rgba(255, 255, 255, 0.5);
    }
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-desc {
    font-size: clamp(13px, 1.5vw, 16px);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    margin-top: 0;
    max-width: 700px;
    line-height: 1.6;
}

/* 3D卡片展示 */
.cards-container {
    display: flex;
    gap: 30px;
    margin: 5px 0 20px 0;
    perspective: 1000px;
    flex-wrap: wrap;
    justify-content: center;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 50px;
    min-width: 220px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.info-card.merged-card {
    min-width: 320px;
    padding: 25px 45px;
}

.merged-card .card-number {
    font-size: clamp(18px, 3vw, 24px);
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 0;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.card-number {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-label {
    font-size: clamp(12px, 2vw, 16px);
    color: var(--text-secondary);
    font-weight: 500;
}

/* 内容标签 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
}

.tag-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 8px 18px;
    font-size: clamp(12px, 1.5vw, 14px);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.tag-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.tag-item:hover::before {
    left: 100%;
}

.tag-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 1);
}

.tag-item:active {
    transform: translateY(-1px) scale(1.02);
}

/* 突出标签样式 */
.tag-item.tag-highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.tag-item.tag-highlight:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.18) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* 图片滚动展示 */
.image-scroll-container {
    width: 100%;
    max-width: 900px;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
}

.image-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: transparent;
    padding: 20px 0;
}

.image-scroll-track {
    display: flex;
    gap: 25px;
    animation: scrollImages 10s linear infinite;
    width: fit-content;
    padding: 0 25px;
}

.image-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scrollImages {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scroll-image-container {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 200px;
}

.scroll-image {
    height: 160px;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    filter: brightness(0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.scroll-image-desc {
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 8px 8px;
    margin-top: -10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-image-container:hover .scroll-image {
    transform: scale(1.05) translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
    filter: brightness(1.1);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
}

.scroll-image-container:hover .scroll-image-desc {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 下载按钮 */
.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 25px;
}

.download-btn {
    padding: 18px 60px;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    background: var(--text-primary);
    color: var(--primary-bg);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
    min-width: 260px;
    justify-content: center;
}

/* PC端右上角显示 */
@media (min-width: 769px) {
    .download-buttons {
        position: fixed;
        top: 30px;
        right: 30px;
        margin-top: 0;
        z-index: 100;
    }

    .download-btn {
        padding: 6px 16px !important;
        font-size: 12px !important;
        min-width: auto !important;
        gap: 5px !important;
    }

    .download-btn span:first-child {
        font-size: 14px;
    }
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-btn:hover::before {
    width: 400px;
    height: 400px;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.4);
}

.download-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.download-btn span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.btn-secondary::before {
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--primary-bg);
}

/* 页脚 */
footer {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: clamp(10px, 1.2vw, 11px);
}

/* PC端大屏优化 */
@media (min-width: 1440px) {
    .hero {
        max-width: 1600px;
    }

    .image-scroll-container {
        max-width: 1000px;
    }

    .scroll-image-container {
        max-width: 220px;
    }

    .scroll-image {
        height: 180px;
    }
    
    .scroll-image-desc {
        font-size: 13px;
        padding: 12px 10px;
        min-height: 45px;
    }

    .info-card {
        padding: 35px 60px;
        min-width: 250px;
    }
}

/* 响应式设计 - 平板 */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    .container {
        height: auto;
        min-height: 100vh;
        padding: 60px 20px 80px 20px;
    }

    .hero {
        padding: 0 20px;
    }

    .logo {
        top: 20px;
        font-size: clamp(24px, 6vw, 32px);
    }

    .cards-container {
        gap: 20px;
        margin: 30px 0 20px 0;
    }

    .info-card {
        padding: 25px 40px;
        min-width: 180px;
    }

    .info-card.merged-card {
        min-width: 280px;
        max-width: 90%;
        padding: 22px 35px;
    }

    .merged-card .card-number {
        font-size: clamp(16px, 3.5vw, 20px);
        margin-bottom: 0;
    }

    .tags-container {
        gap: 10px;
        margin: 20px auto;
        max-width: 100%;
    }

    .tag-item {
        padding: 7px 15px;
        font-size: 13px;
    }

    .image-scroll-container {
        max-width: 100%;
        margin: 30px 0;
    }

    .image-scroll-wrapper {
        padding: 20px 0;
    }

    .image-scroll-track {
        gap: 20px;
        padding: 0 20px;
    }

    .scroll-image-container {
        max-width: 220px;
    }

    .scroll-image {
        height: 200px;
    }
    
    .scroll-image-desc {
        font-size: 12px;
        padding: 10px 8px;
        min-height: 40px;
    }

    .download-buttons {
        gap: 15px;
        margin-top: 15px;
    }

    .download-btn {
        padding: 16px 40px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    footer {
        position: relative;
        margin-top: 40px;
        bottom: auto;
        left: 0;
        transform: none;
        width: 100%;
        text-align: center;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 480px) {
    .container {
        padding: 35px 15px 50px 15px;
    }

    .hero {
        padding: 0 10px;
    }

    .logo {
        font-size: 20px;
        top: 12px;
    }

    .hero-title {
        margin-bottom: 10px;
    }

    .hero-subtitle {
        margin-bottom: 8px;
    }

    .hero-desc {
        margin-bottom: 5px;
        line-height: 1.5;
    }

    .cards-container {
        gap: 10px;
        margin: 3px 0 8px 0;
    }

    .info-card {
        padding: 15px 20px;
        min-width: 140px;
    }

    .info-card.merged-card {
        min-width: 240px;
        max-width: 90%;
        padding: 14px 20px;
    }

    .merged-card .card-number {
        font-size: clamp(14px, 3.8vw, 17px);
        margin-bottom: 0;
    }

    .merged-card .card-label {
        font-size: 11px;
    }

    .tags-container {
        gap: 5px;
        margin: 8px auto 10px;
        padding: 0 10px;
    }

    .tag-item {
        padding: 5px 10px;
        font-size: 11px;
    }

    .image-scroll-container {
        margin: 10px 0;
    }

    .image-scroll-wrapper {
        padding: 10px 0;
    }

    .image-scroll-track {
        gap: 12px;
        padding: 0 12px;
    }

    .scroll-image-container {
        max-width: 180px;
    }

    .scroll-image {
        height: 140px;
    }
    
    .scroll-image-desc {
        font-size: 11px;
        padding: 9px 6px;
        min-height: 38px;
        line-height: 1.3;
    }

    .download-buttons {
        margin-top: 8px;
    }

    .download-btn {
        padding: 12px 25px;
        gap: 6px;
        min-width: 220px;
    }

    footer {
        margin-top: 20px;
        font-size: 9px;
        text-align: center;
    }
}

/* 小屏幕高度优化 - 只在移动端且屏幕高度较小时生效 */
@media (max-width: 768px) and (max-height: 700px) {
    .container {
        padding: 25px 15px 40px 15px;
    }

    .logo {
        font-size: 18px;
        top: 10px;
    }

    .hero {
        padding-top: 30px;
    }

    .hero-title {
        margin-bottom: 8px;
    }

    .hero-subtitle {
        margin-bottom: 6px;
    }

    .hero-desc {
        margin-bottom: 4px;
    }

    .cards-container {
        margin: 2px 0 6px 0;
    }

    .info-card.merged-card {
        padding: 10px 16px;
        max-width: 92%;
    }

    .merged-card .card-number {
        font-size: clamp(11px, 3.2vw, 13px);
        margin-bottom: 0;
    }

    .tags-container {
        margin: 6px auto 8px;
        gap: 4px;
    }

    .tag-item {
        padding: 3px 7px;
        font-size: 9px;
    }

    .image-scroll-container {
        margin: 8px 0;
    }

    .image-scroll-wrapper {
        padding: 8px 0;
    }

    .scroll-image-container {
        max-width: 130px;
    }

    .scroll-image {
        height: 95px;
    }
    
    .scroll-image-desc {
        font-size: 9px;
        padding: 6px 4px;
        min-height: 30px;
        line-height: 1.15;
    }

    .download-buttons {
        margin-top: 6px;
    }

    .download-btn {
        padding: 9px 18px;
        min-width: 180px;
        font-size: 14px;
    }

    footer {
        margin-top: 12px;
        font-size: 8px;
    }
}

/* 大屏幕手机优化 - 高度大于700px的移动设备 */
@media (max-width: 768px) and (min-height: 701px) {
    .container {
        padding: 60px 20px 50px 20px;
    }

    .hero {
        padding-top: 20px;
    }

    .cards-container {
        margin: 15px 0 20px 0;
    }

    .tags-container {
        margin: 18px auto 20px;
    }

    .image-scroll-container {
        margin: 25px 0;
    }

    .download-buttons {
        margin-top: 30px;
    }

    footer {
        margin-top: 40px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 375px) {
    .container {
        padding: 30px 12px 45px 12px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 8px;
    }

    .hero-subtitle {
        margin-bottom: 6px;
    }

    .hero-desc {
        margin-bottom: 4px;
    }

    .cards-container {
        margin: 2px 0 6px 0;
    }

    .info-card.merged-card {
        min-width: 220px;
        max-width: 92%;
        padding: 12px 16px;
    }

    .merged-card .card-number {
        font-size: clamp(13px, 4vw, 15px);
        margin-bottom: 0;
    }

    .tags-container {
        margin: 6px auto 8px;
        gap: 4px;
    }

    .tag-item {
        padding: 4px 8px;
        font-size: 10px;
    }

    .image-scroll-container {
        margin: 8px 0;
    }

    .image-scroll-wrapper {
        padding: 8px 0;
    }

    .scroll-image-container {
        max-width: 140px;
    }

    .scroll-image {
        height: 120px;
    }

    .scroll-image-desc {
        font-size: 10px;
        padding: 7px 5px;
        min-height: 33px;
    }

    .download-buttons {
        margin-top: 6px;
    }

    .download-btn {
        padding: 11px 22px;
        min-width: 200px;
    }
}

/* 性能优化 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 加载动画 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

