* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ZCOOL KuaiLe', cursive;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #333;
}

/* 头部样式 */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 2rem;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

/* 主要内容区域 */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-content h2 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
}

.api-url-inline {
    color: #ff6b6b;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 1.1rem;
    font-weight: bold;
}

.register-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.token-instructions {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.token-instructions h3 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 1.8rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    text-align: center;
}

.token-instructions ol {
    list-style-position: inside;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.token-instructions li {
    margin-bottom: 0.5rem;
}

.register-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.register-btn:hover:before {
    left: 100%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.neko-character {
    width: 300px;
    height: 300px;
    background: url('https://files.catbox.moe/jr9nsc.webp') center/cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.neko-character:before {
    content: '🐾';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 2rem;
    animation: rotate 2s linear infinite;
}

/* 页脚样式 */
footer {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem;
    text-align: center;
    color: #666;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        order: 2;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .neko-character {
        width: 150px;
        height: 150px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .token-instructions {
        padding: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .token-instructions h3 {
        font-size: 1.5rem;
    }
    
    .token-instructions ol {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .register-btn {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
    }
    
    /* 更小屏幕的优化 */
    @media (max-width: 480px) {
        .hero-content h2 {
            font-size: 2rem;
        }
        
        .hero-content p {
            font-size: 1.1rem;
        }
        
        .neko-character {
            width: 120px;
            height: 120px;
        }
        
        .token-instructions {
            padding: 0.8rem;
        }
        
        .token-instructions h3 {
            font-size: 1.3rem;
        }
        
        .token-instructions ol {
            font-size: 0.9rem;
        }
        
        .register-btn {
            padding: 0.7rem 1.5rem;
            font-size: 1rem;
        }
    }
}