/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* 玻璃态效果 */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 高级文字效果 */
.premium-text {
    position: relative;
    display: inline-block;
}

.premium-text::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4F46E5, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.7;
    filter: blur(1px);
    z-index: -1;
}

/* 优雅文字效果 */
.elegant-text {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #fff, #f0f0f0, #e0e0e0, #f0f0f0, #fff);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -400% 0;
    }
    100% {
        background-position: 400% 0;
    }
}

/* 滚动显示元素 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal.left {
    transform: translateX(-50px);
}

.scroll-reveal.right {
    transform: translateX(50px);
}

.scroll-reveal.left.active,
.scroll-reveal.right.active {
    transform: translateX(0);
}

/* 灵动岛样式 */
.dynamic-island {
    cursor: pointer;
    transition: all 0.3s ease;
}

.dynamic-island:hover {
    background: rgba(66, 66, 66, 0.9);
    transform: scale(1.05);
}

/* 抽屉样式 */
.drawer-backdrop {
    transition: opacity 0.3s ease;
}

.drawer-content {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 整体页面边距设置 - 电脑端左右各10% */
.container {
    max-width: 80% !important;
    margin-left: 10% !important;
    margin-right: 10% !important;
}

/* 移动端边距调整为左右各5% */
@media (max-width: 768px) {
    .container {
        max-width: 90% !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
    }
}

/* 响应式字体大小优化 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }
    h2 {
        font-size: 2rem !important;
    }
    h3 {
        font-size: 1.5rem !important;
    }
    p {
        font-size: 1rem !important;
    }
    .premium-text, .elegant-text {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.75rem !important;
    }
    h3 {
        font-size: 1.25rem !important;
    }
    p {
        font-size: 0.9rem !important;
    }
    .premium-text, .elegant-text {
        font-size: 1.75rem !important;
    }
    /* 移动端页脚布局调整 */
    footer .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    footer .grid > div {
        text-align: center;
    }
}