/* 全局样式 - EN404风格 */
:root {
    /* 主色调 - 基于EN404创意设计师作品集 */
    --primary-color: #3498db; /* 蓝色主色调 */
    --secondary-color: #2ecc71; /* 绿色次要色调 */
    --accent-color: #e74c3c; /* 红色强调色 */
    --background-color: #121212; /* 深黑色背景 */
    --card-background: #1e1e1e; /* 卡片背景 */
    --text-color: #ffffff; /* 白色文本 */
    --text-secondary: #b3b3b3; /* 次要文本颜色 */
    --link-color: #3498db; /* 链接颜色 */
    --link-hover-color: #2ecc71; /* 链接悬停颜色 */
    
    /* 字体 */
    --font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* 边框 */
    --border-radius: 8px;
    
    /* 过渡 */
    --transition-speed: 0.5s;
    --transition-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.5);
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    z-index: 99999;
    backdrop-filter: blur(2px);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    cursor: default;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: all var(--transition-speed) var(--transition-function);
    position: relative;
}

a:hover {
    color: var(--link-hover-color);
    transform: translateY(-2px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* 按钮样式 - 现代设计 */
.btn {
    display: inline-block;
    padding: 1.5rem 5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    min-width: 144px;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    color: white;
}

.btn:hover::before {
    left: 0;
}

.btn-small {
    padding: 1rem 3.5rem;
    font-size: 0.85rem;
    border-radius: 30px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 104px;
    text-align: center;
}

.btn-small:hover {
    transform: translateY(-2px) scale(1.02);
    color: white;
}

/* 布局容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 标题样式 - EN404风格 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.5px;
}

h1 {
    font-size: 2.8rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: var(--spacing-md);
}

/* 头部样式 - EN404风格 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(52, 152, 219, 0.15);
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    margin-bottom: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all var(--transition-speed) var(--transition-function);
    display: inline-block;
    text-transform: uppercase;
}

.logo a:hover {
    transform: translateY(-2px);
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    position: relative;
    padding: 0.5rem 0;
    color: #ffffff;
    font-weight: 600;
    transition: all var(--transition-speed) var(--transition-function);
    overflow: hidden;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) var(--transition-function);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 主要内容区域 - Lusion风格 */
main {
    margin-top: 0;
    padding-top: 0;
    min-height: calc(100vh - 200px); /* 减去底部的高度 */
    position: relative;
}

/* 页面区块通用样式 */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

/* hero部分特殊处理，取消顶部padding */
section.hero {
    padding-top: 0;
    margin-top: 0;
}

.section-header {
    text-align: left;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* 底部样式 - ArtStation风格 */
footer {
    background-color: rgba(5, 5, 5, 1);
    color: var(--text-color);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 200, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    opacity: 0.2;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    margin-bottom: var(--spacing-lg);
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    transition: all var(--transition-speed) var(--transition-function);
    text-transform: uppercase;
}

.footer-logo a:hover {
    color: #ffffff;
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(0, 200, 255, 0.6);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-nav,
.footer-social,
.footer-contact {
    min-width: 200px;
}

.footer-links h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 10px rgba(30, 136, 229, 0.4);
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
    transition: transform 0.2s ease;
}

.footer-links ul li:hover {
    transform: translateX(5px);
}

.footer-links ul li a {
    color: var(--text-secondary);
    transition: all var(--transition-speed) ease;
    display: inline-block;
    padding: 3px 0;
    font-weight: 300;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(0, 200, 255, 0.3);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: 12px;
}

.footer-contact ul li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(30, 136, 229, 0.2);
}

.footer-contact ul li:hover i {
    background-color: rgba(30, 136, 229, 0.2);
    color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.4);
}

.footer-contact ul li a {
    color: #b0b0b0;
    transition: color var(--transition-speed) ease;
}

.footer-contact ul li a:hover {
    color: #ffffff;
}

.footer-contact ul li span {
    color: #b0b0b0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(30, 136, 229, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 200, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(30, 136, 229, 0.2);
    color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 200, 255, 0.3);
}

.social-icon:hover::before {
    opacity: 1;
}

.footer-bottom, .copyright {
    text-align: center;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    border-top: 1px solid rgba(0, 200, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), var(--primary-color), transparent);
    box-shadow: 0 0 10px rgba(30, 136, 229, 0.3);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-credits {
    color: #6e6e6e;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-credits:hover {
    color: #b0b0b0;
}

/* 页脚动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

footer .footer-logo,
footer .footer-nav,
footer .footer-social,
footer .footer-contact,
footer .footer-bottom {
    animation: fadeIn 0.8s ease forwards;
}

footer .footer-logo { animation-delay: 0.1s; }
footer .footer-nav { animation-delay: 0.2s; }
footer .footer-social { animation-delay: 0.3s; }
footer .footer-contact { animation-delay: 0.4s; }
footer .footer-bottom { animation-delay: 0.5s; }

/* 响应式设计 */
@media (max-width: 992px) {
    .header-container {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .footer-links {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 4rem;
        left: 0;
        width: 100%;
        height: 0;
        flex-direction: column;
        background-color: white;
        overflow: hidden;
        transition: height var(--transition-speed) ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    
    .nav-links.active {
        height: auto;
        padding: 1rem 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: center;
    }
    
    .footer-links h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav, .footer-social, .footer-contact {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
}