/* ==================== 全局变量 ==================== */
:root {
    --primary-color: #C9A961;
    --secondary-color: #8B0000;
    --accent-color: #D4AF37;
    --dark-bg: #0f0f0f;
    --light-bg: #1a1a1a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-primary: #FFFFFF;
    --text-secondary: #E5E5E5;
    --text-muted: #B8B8B8;
    --border-color: rgba(201, 169, 97, 0.25);
    --font-chinese: 'Noto Serif SC', serif;
    --font-english: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-chinese);
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1410 50%, #0f0f0f 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* ==================== 主容器 ==================== */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

/* ==================== 背景动画 ==================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.5) 0%, transparent 65%);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 65%);
    bottom: -200px;
    right: -200px;
    animation-delay: 5s;
}

.circle-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.35) 0%, transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* ==================== 主内容 ==================== */
.content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

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

/* ==================== Logo ==================== */
.logo {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.logo-text {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-english);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    margin-bottom: 0.3rem;
}

.logo-subtitle {
    font-size: 0.9rem;
    font-family: var(--font-english);
    color: var(--text-muted);
    letter-spacing: 2px;
    font-weight: 400;
}

/* ==================== 主标题 ==================== */
.main-content {
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 20px;
    padding: 2.5rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 100px rgba(201, 169, 97, 0.1);
}

.title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.subtitle {
    font-size: 1rem;
    font-family: var(--font-chinese);
    color: var(--primary-color);
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.description {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.description p {
    font-size: 1rem;
    font-family: var(--font-english);
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.description-cn {
    font-family: var(--font-chinese);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ==================== 联系邮箱 ==================== */
.contact-section {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid rgba(201, 169, 97, 0.35);
    border-radius: 12px;
    transition: all 0.3s ease;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.15) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.35);
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

.contact-info {
    text-align: left;
}

.contact-label {
    font-size: 0.75rem;
    font-family: var(--font-english);
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
}

.contact-email {
    font-size: 1.1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-email:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* ==================== 社交媒体 ==================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 2px solid rgba(201, 169, 97, 0.4);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #0a0a0a;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.5);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* ==================== 页脚 ==================== */
.footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    animation: fadeInUp 1s ease-out 1.4s both;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .main-content {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .logo {
        margin-bottom: 1.5rem;
    }

    .logo-text {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .logo-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .main-content {
        padding: 2rem 1.8rem;
        border-radius: 16px;
    }

    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
        margin-bottom: 1rem;
    }

    .description {
        margin-bottom: 1.5rem;
    }

    .description p {
        font-size: 0.95rem;
    }

    .description-cn {
        font-size: 0.8rem;
    }

    .contact-section {
        margin-bottom: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1.2rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-icon {
        width: 35px;
        height: 35px;
    }

    .contact-email {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 1.2rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .footer {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }

    .circle-1 {
        width: 400px;
        height: 400px;
    }

    .circle-2 {
        width: 350px;
        height: 350px;
    }

    .circle-3 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .logo-subtitle {
        font-size: 0.75rem;
    }

    .main-content {
        padding: 1.8rem 1.5rem;
        border-radius: 12px;
    }

    .title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .description {
        margin-bottom: 1.2rem;
    }

    .description p {
        font-size: 0.9rem;
    }

    .description-cn {
        font-size: 0.75rem;
    }

    .contact-section {
        margin-bottom: 1.2rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-email {
        font-size: 0.85rem;
        word-break: break-all;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer {
        margin-top: 1.2rem;
        padding-top: 1rem;
    }

    .footer p {
        font-size: 0.75rem;
    }

    .circle-1 {
        width: 350px;
        height: 350px;
        filter: blur(70px);
    }

    .circle-2 {
        width: 300px;
        height: 300px;
        filter: blur(70px);
    }

    .circle-3 {
        width: 250px;
        height: 250px;
        filter: blur(70px);
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .container {
        padding: 0.8rem;
    }

    .main-content {
        padding: 1.5rem 1.2rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .title {
        font-size: 1.3rem;
    }

    .contact-email {
        font-size: 0.8rem;
    }
}
