:root {
    --black: #000000;
    --gray: #666666;
    --gray-light: #999999;
    --gray-lighter: #f5f5f5;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Han Sans CN', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--white);
    background-image: url('./images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 0;
}

.bg-dot {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.bg-dot-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
    animation: dotFloat 25s ease-in-out infinite;
}

.bg-dot-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(0,0,0,0.02) 0%, transparent 70%);
    animation: dotFloat 30s ease-in-out infinite reverse;
}

@keyframes dotFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -15px); }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-logo {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--black);
    letter-spacing: 4px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

.hero-inner {
    text-align: center;
}

.hero-name {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
    font-size: clamp(56px, 16vw, 140px);
    font-weight: 700;
    color: var(--black);
    letter-spacing: 12px;
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.name-char {
    display: inline-block;
    animation: charEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.name-char:nth-child(1) { animation-delay: 0.1s; }
.name-char:nth-child(2) { animation-delay: 0.2s; }
.name-char:nth-child(3) { animation-delay: 0.3s; }

@keyframes charEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-english {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 10px;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 0;
    background: transparent;
    z-index: 1;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.footer a {
    font-size: 12px;
    color: var(--black);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer span {
    font-size: 12px;
    color: var(--gray);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero-name {
        letter-spacing: 6px;
    }
    
    .hero-english {
        letter-spacing: 6px;
    }
}
