/* ===== 基础重置与变量 - 浅色主题 ===== */
:root {
    --primary-color: #9146FF;
    --primary-hover: #7B2FE0;
    --primary-light: #E8DCFF;
    --secondary-color: #6441A5;
    --accent-color: #FF6B9D;
    --text-primary: #1A1A2E;
    --text-secondary: #5A5A72;
    --text-muted: #8E8EA0;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F5F5F8;
    --border-color: #E8E8EC;
    --border-hover: #D0D0D8;
    --success-color: #00C853;
    --gradient-primary: linear-gradient(135deg, #9146FF 0%, #FF6B9D 100%);
    --gradient-soft: linear-gradient(135deg, #F8F4FF 0%, #FFF4F8 100%);
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 8px 32px rgba(145, 70, 255, 0.12);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --max-width: 900px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

/* ===== 通用样式 ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

/* ===== 头部导航 ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== 英雄区域 ===== */
.hero {
    padding: 130px 0 60px;
    background: var(--gradient-soft);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-avatar {
    position: relative;
    margin-bottom: 30px;
}

.avatar-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 40px rgba(145, 70, 255, 0.2);
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: #EB0400;
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 10px rgba(235, 4, 0, 0.4);
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-info h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.hero-info .username {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.hero-info .tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-bottom: 32px;
    justify-content: center;
}

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

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(145, 70, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(145, 70, 255, 0.45);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-light);
}

/* ===== 主要内容区 - 单列布局 ===== */
.main-content {
    padding: 50px 0 80px;
}

.single-column-layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* ===== 卡片通用样式 ===== */
.card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.card-title svg {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
}

/* ===== 合作品牌 - 放在上方 ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.brand-item {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    min-height: 70px;
    text-decoration: none;
}

.brand-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    background: white;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.brand-logo-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    transition: var(--transition-base);
}

.brand-logo-fallback {
    display: none;
}

.brand-item:hover .brand-logo-text {
    color: var(--primary-color);
}

/* ===== 个人简介 ===== */
.bio-content p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* ===== 基本信息 ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    text-align: center;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== 写真展示 ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 40%);
    opacity: 0;
    transition: var(--transition-base);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== 社交链接 ===== */
.social-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    text-align: center;
}

.social-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: white;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.social-icon.twitch { background: #9146FF; }
.social-icon.youtube { background: #FF0000; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.tiktok { background: #000000; }
.social-icon.twitter { background: #000000; }

.social-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

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

/* ===== 常见问题 ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-light);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.faq-question:hover {
    background: var(--bg-card-hover);
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: var(--transition-base);
    font-weight: 300;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 250px;
}

.faq-answer-content {
    padding: 24px;
    color: var(--text-secondary);
    line-height: 1.8;
    border-top: 1px solid var(--border-color);
    background: white;
}

/* ===== 页脚 ===== */
.footer {
    background: white;
    padding: 40px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 10px;
}

/* ===== 多语言切换 ===== */
.footer-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 4px 0 16px;
    border-bottom: 1px solid var(--border-color);
}

.footer-lang-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 6px;
}

.footer-lang-label svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.footer-lang-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
}

.lang-item {
    padding: 3px 12px;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-muted);
    border: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.lang-item + .lang-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: var(--border-color);
}

.lang-item:hover {
    color: var(--primary-color);
}

.lang-item.lang-active {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 480px) {
    .lang-item {
        padding: 3px 10px;
        font-size: 0.82rem;
    }
}

/* ===== 响应式设计 ===== */
@media (max-width: 900px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .social-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 110px 0 50px;
    }

    .hero-info h1 {
        font-size: 2.2rem;
    }

    .avatar-wrapper {
        width: 150px;
        height: 150px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .card {
        padding: 28px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        gap: 16px;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-info h1 {
        font-size: 1.9rem;
    }

    .hero-info .tagline {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px 40px;
    }

    .card {
        padding: 24px;
    }

    .card-title {
        font-size: 1.15rem;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .social-link {
        padding: 20px 12px;
    }

    .social-icon {
        width: 42px;
        height: 42px;
    }
}

/* ===== 动画效果 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.5s ease forwards;
}

.single-column-layout .card:nth-child(2) { animation-delay: 0.1s; }
.single-column-layout .card:nth-child(3) { animation-delay: 0.2s; }
.single-column-layout .card:nth-child(4) { animation-delay: 0.3s; }
.single-column-layout .card:nth-child(5) { animation-delay: 0.4s; }
.single-column-layout .card:nth-child(6) { animation-delay: 0.5s; }

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

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}