/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --china-red: #C41E3A;
    --china-red-light: rgba(196, 30, 58, 0.1);
    --china-gold: #D4A84B;
    --china-gold-light: rgba(212, 168, 75, 0.1);
    --china-ink: #2C2C2C;
    --china-paper: #F7F5F0;
    --china-wood: #8B4513;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', serif;
    background-color: var(--china-paper);
    color: var(--china-ink);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--china-red);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--china-ink);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--china-red);
}

.nav-icon {
    width: 18px;
    height: 18px;
}

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.bg-circle-1 {
    width: 300px;
    height: 300px;
    background: var(--china-red-light);
    top: 80px;
    left: 40px;
}

.bg-circle-2 {
    width: 400px;
    height: 400px;
    background: var(--china-gold-light);
    bottom: 80px;
    right: 40px;
}

.bg-circle-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--china-red-light) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--china-red), var(--china-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-realname {
    font-size: 1.5rem;
    color: var(--china-ink);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--china-wood);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--china-red);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: rgba(196, 30, 58, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    border: 2px solid var(--china-wood);
    color: var(--china-wood);
    background: transparent;
}

.btn-outline:hover {
    background: var(--china-wood);
    color: var(--white);
}

.hero-scroll {
    margin-top: 4rem;
    animation: float 3s ease-in-out infinite;
}

.scroll-icon {
    width: 32px;
    height: 32px;
    color: var(--china-wood);
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== 通用区域样式 ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--china-ink);
    margin-bottom: 0.5rem;
}

.text-red {
    color: var(--china-red);
}

.section-subtitle {
    color: var(--china-wood);
    font-size: 1.125rem;
}

/* ===== 个人简介区域 ===== */
.profile {
    background: var(--china-paper);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-image {
    position: sticky;
    top: 100px;
}

.image-card {
    background: linear-gradient(135deg, var(--china-red-light), var(--china-gold-light));
    border-radius: 1rem;
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.avatar-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.avatar-text {
    font-size: 1.25rem;
    color: var(--china-wood);
}

.decoration-circle {
    position: absolute;
    border: 2px solid rgba(212, 168, 75, 0.3);
    border-radius: 50%;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 1rem;
    right: 1rem;
}

.circle-2 {
    width: 64px;
    height: 64px;
    bottom: 1rem;
    left: 1rem;
    border-color: rgba(196, 30, 58, 0.3);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--china-ink);
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    space-y: 0.5rem;
}

.info-list li {
    color: var(--china-wood);
    margin-bottom: 0.5rem;
}

.info-label {
    font-weight: 600;
    color: var(--china-ink);
}

.info-text {
    color: var(--china-wood);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.stat-item:hover {
    transform: scale(1.02);
}

.stat-icon {
    width: 24px;
    height: 24px;
    color: var(--china-red);
    margin: 0 auto 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--china-ink);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--china-wood);
}

/* ===== 音乐作品区域 ===== */
.music {
    background: linear-gradient(to bottom, var(--china-paper), var(--white));
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.music-card {
    border-radius: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.music-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.music-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s;
}

.music-card:hover::after {
    background: rgba(255, 255, 255, 0.1);
}

.card-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(249, 115, 22, 0.2));
}

.card-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
}

.card-amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(234, 179, 8, 0.2));
}

.card-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(20, 184, 166, 0.2));
}

.card-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(244, 63, 94, 0.2));
}

.card-cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 2.5rem;
}

.play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.8);
}

.play-btn svg {
    width: 20px;
    height: 20px;
    color: var(--china-ink);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--china-ink);
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.875rem;
    color: var(--china-wood);
}

/* ===== 平台展示 ===== */
.platforms {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.platform-item {
    text-align: center;
}

.platform-icon {
    width: 24px;
    height: 24px;
    color: var(--china-red);
    margin: 0 auto 0.5rem;
}

.platform-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--china-ink);
    margin-bottom: 0.25rem;
}

.platform-desc {
    font-size: 0.875rem;
    color: var(--china-wood);
}

/* ===== 精彩瞬间 ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.gallery-card {
    border-radius: 1rem;
    padding: 2rem;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-red {
    background: rgba(239, 68, 68, 0.1);
}

.gallery-blue {
    background: rgba(59, 130, 246, 0.1);
}

.gallery-amber {
    background: rgba(245, 158, 11, 0.1);
}

.gallery-pink {
    background: rgba(236, 72, 153, 0.1);
}

.gallery-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.2s;
}

.gallery-card:hover .gallery-icon-wrapper {
    transform: scale(1.1);
}

.gallery-icon {
    font-size: 2rem;
}

.gallery-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--china-ink);
    margin-bottom: 0.5rem;
}

.gallery-desc {
    font-size: 0.875rem;
    color: var(--china-wood);
    text-align: center;
}

/* ===== 引用区域 ===== */
.quote {
    text-align: center;
}

.quote-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.quote-text {
    font-size: 1.5rem;
    color: var(--china-ink);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.quote-line {
    width: 50px;
    height: 2px;
    background: var(--china-gold);
}

.quote-name {
    font-weight: 600;
    color: var(--china-wood);
}

/* ===== 页脚 ===== */
.footer {
    background: var(--china-ink);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-realname {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

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

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.made-with {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--china-paper);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 69, 19, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 69, 19, 0.5);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .music-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        position: relative;
        top: 0;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .music-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-realname {
        font-size: 1.25rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .quote-text {
        font-size: 1.125rem;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
}
