/* ============================================
   成员详情页（member-detail.html）独立样式
   视觉风格与全站一致：紫色系渐变 + 毛玻璃卡片
   ============================================ */

.profile-page {
    padding: 120px 20px 80px;
    min-height: calc(100vh - 200px);
}

.public-model-banner {
    background: linear-gradient(135deg, #ffb3c1, #ff94a8);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(255, 148, 168, 0.3);
    display: none;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.public-model-banner.show {
    display: block;
}

.public-model-banner i {
    margin-right: 10px;
}

.profile-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 40px;
    background: var(--surface);
    border-radius: 30px;
    border: 1px solid rgba(199, 125, 255, 0.2);
    backdrop-filter: blur(10px);
}

.profile-avatar {
    width: 280px;
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(199, 125, 255, 0.25);
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-name {
    font-size: 3rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.profile-role {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin: 0;
}

.profile-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    white-space: pre-line;
}

.profile-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.profile-links a {
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-links .bilibili-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
    color: white;
}

.profile-links .bilibili-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(199, 125, 255, 0.5);
}

.profile-links .back-btn {
    background: rgba(199, 125, 255, 0.08);
    color: var(--color-primary);
    border: 1px solid rgba(199, 125, 255, 0.3);
}

.profile-links .back-btn:hover {
    background: rgba(199, 125, 255, 0.15);
    transform: translateY(-3px);
}

.profile-section {
    max-width: 1200px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .title-icon {
    background: none;
    -webkit-text-fill-color: initial;
    font-size: 1.6rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(199, 125, 255, 0.15);
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 8px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.settings-list {
    background: var(--surface);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(199, 125, 255, 0.15);
}

.settings-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(199, 125, 255, 0.1);
}

.settings-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.settings-item:first-child {
    padding-top: 0;
}

.settings-label {
    flex-shrink: 0;
    width: 120px;
    color: var(--text-muted);
    font-size: 1rem;
}

.settings-value {
    flex: 1;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.6;
}

.intro-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(199, 125, 255, 0.15);
}

.intro-text {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 2;
    margin: 0;
    white-space: pre-line;
}

.qa-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qa-item {
    background: var(--surface);
    border-radius: 16px;
    padding: 25px 30px;
    border: 1px solid rgba(199, 125, 255, 0.15);
}

.qa-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 15px 0;
}

.qa-answer {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid var(--color-primary);
}

.loading, .error {
    text-align: center;
    padding: 80px 20px;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.pending-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 50px 40px;
    border: 1px solid rgba(199, 125, 255, 0.15);
    text-align: center;
}

.pending-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 2.2;
    margin: 0 0 15px;
}

.pending-text:last-child {
    margin-bottom: 0;
}

.error {
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .profile-page {
        padding: 100px 15px 60px;
    }

    .profile-hero {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }

    .profile-avatar {
        width: 200px;
        height: 250px;
    }

    .profile-name {
        font-size: 2.2rem;
        text-align: center;
    }

    .profile-role {
        text-align: center;
    }

    .profile-desc {
        text-align: center;
    }

    .profile-links {
        justify-content: center;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
