* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #64748b;
    --background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    --surface: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
}

.page {
    display: none;
    width: 100%;
}

.page.active {
    display: block;
}

/* ============================================
   开始页面 - 高级专业设计
   ============================================ */

/* 顶部品牌标识 */
.header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-secondary);
}

.brand-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
}

/* 主视觉区 */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 30px;
    font-size: 0.8rem;
    color: #6366f1;
    margin-bottom: 30px;
}

.badge-icon {
    font-size: 0.6rem;
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.title-gradient {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* 主按钮 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 48px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* 数据展示 */
.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.meta-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* 特性卡片网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.features-grid .feature-card {
    background: var(--surface);
    padding: 30px 24px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.features-grid .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.features-grid .feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    color: #6366f1;
    margin-bottom: 16px;
}

.features-grid .feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.features-grid .feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-card {
    background: var(--surface);
    padding: 30px 24px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    color: #6366f1;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 信任标识 */
.trust-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trust-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ============================================
   内容区块
   ============================================ */
.section {
    padding: 50px 0;
}

.section-gray {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 20px;
    padding: 50px 30px;
    margin: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   八大维度展示
   ============================================ */
.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dimension-card {
    background: var(--surface);
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.dimension-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.dimension-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin: 0 auto 16px;
    font-size: 1.8rem;
}

.dimension-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dimension-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   测评流程
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   身份卡预览
   ============================================ */
.identity-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.identity-preview {
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}

.identity-preview.level-basic {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-left: 3px solid #86efac;
}

.identity-preview.level-intermediate {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 4px solid #f59e0b;
}

.identity-preview.level-advanced {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-left: 5px solid #fbbf24;
}

.identity-preview.level-advanced h4,
.identity-preview.level-advanced p {
    color: white;
}

.preview-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.level-basic .preview-level {
    background: #86efac;
    color: #166534;
}

.level-intermediate .preview-level {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.level-advanced .preview-level {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
}

.identity-preview h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.identity-preview p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
}

.identity-types {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
}

.type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.type-count {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.type-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================================
   觉醒层级
   ============================================ */
.awakening-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.awakening-card {
    background: var(--surface);
    padding: 30px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

/* 神话级觉醒卡片 */
.awakening-card.level-mythic {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 50%, #f59e0b 100%);
    border: 2px solid #d97706;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4),
                0 0 40px rgba(251, 191, 36, 0.2);
    position: relative;
    overflow: hidden;
}

.awakening-card.level-mythic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.awakening-card.level-mythic .awakening-icon {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.8)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(251, 191, 36, 1)); }
}

.awakening-card.level-mythic h3 {
    color: #78350f !important;
    position: relative;
    z-index: 1;
}

.awakening-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.awakening-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.awakening-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.awakening-desc {
    font-size: 0.85rem;
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 8px;
}

.awakening-detail {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   用户评价
   ============================================ */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
}

.testimonial-quote {
    font-size: 3rem;
    color: #6366f1;
    line-height: 1;
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================================
   CTA区域
   ============================================ */
.cta-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 24px;
    margin: 50px 0;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
    background: white;
    color: #6366f1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.badge-check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: 700;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
    margin-top: 50px;
}

/* 按钮 - 通用样式 */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 答题页面按钮 */
.btn .btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-secondary);
    border: 2px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 答题页面 */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.question-counter {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.question-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.question-text {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.5;
}

.rare-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.option:hover {
    border-color: var(--primary-color);
    background: #f0fdf4;
}

.option.selected {
    border-color: var(--primary-color);
    background: #eef2ff;
}

.option-label {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.option.selected .option-label {
    background: var(--primary-color);
    color: white;
}

.navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.navigation .btn {
    flex: 1;
}

/* 加载页面 */
.loading {
    text-align: center;
    padding: 60px 20px;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.mini-spinner {
    animation: spin 1s linear infinite;
}

.loading p {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.loading-tip {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 0.95rem;
}

/* 结果页面 */
.result-container {
    background: var(--surface);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.result-container h2 {
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-content {
    min-height: 300px;
    margin-bottom: 30px;
}

.result-content h3 {
    color: var(--primary-color);
    margin: 20px 0 10px;
}

.result-content p, .result-content li {
    color: var(--text-secondary);
    line-height: 1.8;
}

.result-content ul {
    padding-left: 20px;
}

.result-content li {
    margin-bottom: 8px;
}

.talent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.talent-tag {
    background: linear-gradient(135deg, #eef2ff, #f3e8ff);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ============================================
   身份卡觉醒层级样式
   ============================================ */

/* 通用身份卡动画 */
.identity-card {
    animation: identityReveal 0.8s ease-out;
}

@keyframes identityReveal {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ============================================
   未觉醒 - 简约中性风（空白画布专用）
   ============================================ */
.identity-card.level-dormant {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0) !important;
    border-left: 3px solid #94a3b8 !important;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.2);
}

.identity-card.level-dormant .level-badge {
    background: #94a3b8;
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.identity-card.level-dormant h3 {
    color: #475569 !important;
    font-size: 1.3rem;
    font-weight: 500;
}

/* ============================================
   初级觉醒 - 极简清新风
   ============================================ */
.identity-card.level-basic {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7) !important;
    border-left: 3px solid #86efac !important;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(134, 239, 172, 0.15);
}

.identity-card.level-basic .level-badge {
    background: #86efac;
    color: #166534;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.identity-card.level-basic h3 {
    color: #166534 !important;
    font-size: 1.3rem;
    font-weight: 600;
}

/* ============================================
   中级觉醒 - 活力成长风
   ============================================ */
.identity-card.level-intermediate {
    background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
    border-left: 4px solid #f59e0b !important;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.identity-card.level-intermediate::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent);
    border-radius: 50%;
}

.identity-card.level-intermediate .level-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.identity-card.level-intermediate h3 {
    color: #b45309 !important;
    font-size: 1.4rem;
    font-weight: 700;
}

/* ============================================
   高级觉醒 - 奢华璀璨风
   ============================================ */
.identity-card.level-advanced {
    background: linear-gradient(135deg, #1e1b4b, #312e81, #4c1d95) !important;
    border-left: 5px solid #fbbf24 !important;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4),
                0 0 40px rgba(251, 191, 36, 0.15);
    position: relative;
    overflow: hidden;
}

/* 高级卡背景粒子效果 */
.identity-card.level-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* 高级卡流动光效 */
.identity-card.level-advanced::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, #f472b6, #fbbf24, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.identity-card.level-advanced .level-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.identity-card.level-advanced h3 {
    color: #fbbf24 !important;
    font-size: 1.6rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.identity-card.level-advanced .manifesto {
    color: #e9d5ff !important;
    font-style: italic;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.identity-card.level-advanced .superpowers-box {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.identity-card.level-advanced .superpowers-box li {
    color: #e9d5ff !important;
}

.identity-card.level-advanced .metaphor {
    color: #c4b5fd !important;
}

/* 高级卡闪烁星星装饰 */
.identity-card.level-advanced .star-decoration {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 6px #fbbf24;
    animation: twinkle 2s infinite;
}

.identity-card.level-advanced .star-decoration:nth-child(1) {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.identity-card.level-advanced .star-decoration:nth-child(2) {
    bottom: 20%;
    right: 25%;
    animation-delay: 0.7s;
}

.identity-card.level-advanced .star-decoration:nth-child(3) {
    top: 60%;
    left: 8%;
    animation-delay: 1.4s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ============================================
   神话级觉醒 - 超越凡俗的辉煌
   ============================================ */
.identity-card.level-mythic {
    background: linear-gradient(145deg, #fef9c3 0%, #fbbf24 25%, #f59e0b 50%, #d97706 75%, #fef9c3 100%) !important;
    border: 3px solid transparent !important;
    background-clip: padding-box;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 35px;
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.5),
                0 0 80px rgba(251, 191, 36, 0.3),
                0 0 120px rgba(245, 158, 11, 0.2),
                inset 0 0 60px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: visible;
    animation: mythic-entrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 神话卡震撼入场动画 */
@keyframes mythic-entrance {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-8deg) translateY(100px);
        filter: blur(10px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(2deg) translateY(-20px);
        filter: blur(0px);
    }
    70% {
        transform: scale(0.95) rotate(-1deg) translateY(10px);
    }
    100% {
        transform: scale(1) rotate(0deg) translateY(0);
    }
}

/* 流光边框效果 */
.identity-card.level-mythic::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(90deg,
        #fbbf24, #f59e0b, #d97706, #fbbf24,
        #f59e0b, #d97706, #ec4899, #fbbf24);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    animation: border-flow 3s linear infinite;
}

@keyframes border-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

/* 光芒四射效果 */
.identity-card.level-mythic::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 40%);
    transform: translate(-50%, -50%);
    animation: pulse-aura 2s ease-in-out infinite;
    z-index: -2;
}

@keyframes pulse-aura {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* 闪电扫过效果 */
.identity-card.level-mythic .lightning-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%);
    transform: skewX(-25deg);
    animation: lightning-sweep 4s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
}

@keyframes lightning-sweep {
    0%, 80% { left: -100%; opacity: 0; }
    85% { left: -100%; opacity: 1; }
    95% { left: 200%; opacity: 1; }
    100% { left: 200%; opacity: 0; }
}

/* 星星雨效果 */
.identity-card.level-mythic .star-rain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 5;
}

.identity-card.level-mythic .star-rain .star-drop {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 10px #fbbf24, 0 0 20px #f59e0b;
    animation: star-fall 3s linear infinite;
}

@keyframes star-fall {
    0% {
        transform: translateY(-20px) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(50px) translateX(10px) scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(400px) translateX(-20px) scale(0.5);
        opacity: 0;
    }
}

/* 粒子爆炸效果 */
.identity-card.level-mythic .particle-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 6;
}

.identity-card.level-mythic .particle-burst .burst-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #fff 0%, #fbbf24 50%, transparent 100%);
    border-radius: 50%;
    animation: particle-explode 2s ease-out infinite;
}

@keyframes particle-explode {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* 彩虹光环扩散 */
.identity-card.level-mythic .rainbow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #d97706, #ec4899, #fbbf24) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transform: translate(-50%, -50%);
    animation: ring-expand 3s ease-out infinite;
    z-index: 4;
    pointer-events: none;
}

@keyframes ring-expand {
    0% {
        width: 50px;
        height: 50px;
        opacity: 0.8;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

.identity-card.level-mythic .level-badge {
    background: linear-gradient(135deg, #78350f, #92400e);
    color: #fbbf24;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 16px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(120, 53, 15, 0.6),
                inset 0 1px 0 rgba(251, 191, 36, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.identity-card.level-mythic h3 {
    color: #78350f !important;
    font-size: 1.8rem;
    font-weight: 900;
    text-shadow: 0 2px 12px rgba(120, 53, 15, 0.6),
                 0 0 30px rgba(251, 191, 36, 0.4);
    position: relative;
    z-index: 1;
}

.identity-card.level-mythic .manifesto {
    color: #92400e !important;
    font-style: italic;
    font-size: 1.05rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.identity-card.level-mythic .superpowers-box {
    background: rgba(120, 53, 15, 0.15) !important;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.identity-card.level-mythic .superpowers-box p {
    color: #78350f !important;
    font-weight: 700;
}

.identity-card.level-mythic .superpowers-box li {
    color: #92400e !important;
    font-weight: 500;
}

.identity-card.level-mythic .metaphor {
    color: #b45309 !important;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* 神话卡星星装饰 */
.identity-card.level-mythic .star-decoration {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 10px #fbbf24, 0 0 20px #f59e0b;
    animation: mythic-twinkle 1.5s infinite;
}

.identity-card.level-mythic .star-decoration:nth-child(1) {
    top: 10%;
    right: 8%;
    animation-delay: 0s;
}

.identity-card.level-mythic .star-decoration:nth-child(2) {
    bottom: 15%;
    right: 15%;
    animation-delay: 0.3s;
}

.identity-card.level-mythic .star-decoration:nth-child(3) {
    top: 40%;
    left: 5%;
    animation-delay: 0.6s;
}

.identity-card.level-mythic .star-decoration:nth-child(4) {
    top: 70%;
    right: 30%;
    animation-delay: 0.9s;
}

@keyframes mythic-twinkle {
    0%, 100% { opacity: 0.4; transform: scale(0.7); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ============================================
   神话级身份卡解锁提示动画
   ============================================ */
.mythic-unlock {
    animation: mythic-unlock-entrance 2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

@keyframes mythic-unlock-entrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(100px) rotateX(45deg);
        filter: brightness(0);
    }
    30% {
        opacity: 1;
        transform: scale(1.1) translateY(-30px) rotateX(-10deg);
        filter: brightness(1.5);
    }
    50% {
        transform: scale(0.95) translateY(10px) rotateX(5deg);
        filter: brightness(1.2);
    }
    70% {
        transform: scale(1.02) translateY(-5px) rotateX(-2deg);
    }
    100% {
        transform: scale(1) translateY(0) rotateX(0deg);
        filter: brightness(1);
    }
}

/* 解锁提示的光晕背景 */
.mythic-unlock::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.2) 0%, transparent 50%);
    animation: rotate-aura 15s linear infinite;
    z-index: 0;
}

@keyframes rotate-aura {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 解锁闪光效果 */
.mythic-unlock::after {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 45%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.6) 55%,
        transparent 100%);
    transform: skewX(-20deg);
    animation: unlock-shine 5s ease-in-out infinite;
    z-index: 100;
    pointer-events: none;
}

@keyframes unlock-shine {
    0%, 70% { left: -200%; }
    75% { left: 200%; }
    100% { left: 200%; }
}

/* 漂浮星星效果 */
.mythic-unlock .floating-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.mythic-unlock .floating-stars .float-star {
    position: absolute;
    font-size: 1.5rem;
    animation: float-up 4s ease-in-out infinite;
    opacity: 0;
}

@keyframes float-up {
    0% {
        transform: translateY(100px) scale(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1) rotate(180deg);
        opacity: 0;
    }
}

/* 脉冲文字效果 */
.mythic-unlock h2 {
    animation: text-pulse 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.8),
                 0 0 40px rgba(251, 191, 36, 0.4);
}

.mythic-unlock h3 {
    animation: text-glow 3s ease-in-out infinite;
}

@keyframes text-glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(120, 53, 15, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(120, 53, 15, 0.8),
                     0 0 30px rgba(251, 191, 36, 0.5);
    }
}

.mythic-unlock strong {
    animation: highlight-pulse 2s ease-in-out infinite;
}

@keyframes highlight-pulse {
    0%, 100% {
        color: #78350f;
        text-shadow: 0 0 5px rgba(251, 191, 36, 0.3);
    }
    50% {
        color: #f59e0b;
        text-shadow: 0 0 15px rgba(251, 191, 36, 0.6),
                     0 0 25px rgba(245, 158, 11, 0.4);
    }
}

/* 卡片悬浮效果 */
.mythic-unlock {
    animation: mythic-reveal 2s cubic-bezier(0.34, 1.56, 0.64, 1),
               mythic-float 6s ease-in-out infinite 2s;
}

@keyframes mythic-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.01);
    }
}

@keyframes text-pulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.8),
                     0 0 40px rgba(251, 191, 36, 0.4);
    }
    50% {
        text-shadow: 0 0 30px rgba(251, 191, 36, 1),
                     0 0 60px rgba(251, 191, 36, 0.6),
                     0 0 80px rgba(245, 158, 11, 0.4);
    }
}

/* ============================================
   神话级结果页面背景动画
   ============================================ */
body.mythic-result #result-page {
    background: linear-gradient(135deg, #fef9c3 0%, #fbbf24 25%, #f59e0b 50%, #d97706 100%) !important;
    animation: mythic-bg-shift 10s ease-in-out infinite;
    position: relative;
}

body.mythic-result #result-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.2) 0%, transparent 50%);
    animation: bg-glow 5s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

/* 确保结果内容在背景之上 */
body.mythic-result .result-container {
    position: relative;
    z-index: 1;
}

@keyframes mythic-bg-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes bg-glow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* 流星划过效果 */
body.mythic-result .shooting-star {
    position: fixed;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #fff, #fbbf24);
    border-radius: 50%;
    box-shadow: 0 0 10px #fbbf24, 0 0 20px #f59e0b, 0 0 30px #fff;
    z-index: 9999;
    animation: shooting 3s linear infinite;
}

body.mythic-result .shooting-star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, #fff, transparent);
    transform: translate(-50%, -50%);
    transform-origin: left center;
}

@keyframes shooting {
    0% {
        top: -10%;
        left: 80%;
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        top: 80%;
        left: 20%;
        opacity: 0;
    }
}

/* ============================================
   特殊身份卡 - 空白画布（去标签化）
   ============================================ */
.identity-card.type-special {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0, #dbeafe) !important;
    border-left: 4px solid #94a3b8 !important;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.15);
    position: relative;
    overflow: hidden;
}

/* 空白画布的水痕效果 */
.identity-card.type-special::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(148, 163, 184, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.identity-card.type-special::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.3), transparent);
    border-radius: 50%;
}

.identity-card.type-special .level-badge {
    background: #94a3b8 !important;
    color: #fff !important;
}

.identity-card.type-special h3 {
    color: #475569 !important;
    font-size: 1.4rem;
    font-weight: 600;
}

.identity-card.type-special .manifesto {
    color: #64748b !important;
    font-size: 1rem;
    font-style: italic !important;
}

.identity-card.type-special .metaphor {
    color: #94a3b8 !important;
    font-style: italic;
}

.identity-card.type-special .superpowers-box {
    background: rgba(148, 163, 184, 0.1) !important;
    border: 1px dashed #94a3b8 !important;
}

.identity-card.type-special .superpowers-box p {
    color: #475569 !important;
}

.identity-card.type-special .superpowers-box li {
    color: #475569 !important;
}

/* ============================================
   稀有身份卡专属样式 - 高端神秘奢华风
   ============================================ */

/* 稀有卡通用样式 - 超越高级觉醒 */
.identity-card.type-rare {
    background: linear-gradient(145deg, #0a0a0f 0%, #1a1025 25%, #0f0a1a 50%, #1a0f2e 75%, #0a0a0f 100%) !important;
    border: 2px solid transparent !important;
    border-radius: 24px !important;
    padding: 35px 30px !important;
    margin-bottom: 40px !important;
    box-shadow:
        0 0 60px rgba(255, 215, 0, 0.15),
        0 0 100px rgba(212, 175, 55, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* 稀有卡神秘光晕背景 */
.identity-card.type-rare::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 40% 60%, rgba(168, 85, 247, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 60% 40%, rgba(236, 72, 153, 0.08) 0%, transparent 30%);
    animation: rareAurora 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes rareAurora {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    33% {
        transform: translate(10%, 10%) rotate(120deg);
        opacity: 0.8;
    }
    66% {
        transform: translate(-5%, 15%) rotate(240deg);
        opacity: 1;
    }
}

/* 稀有卡流光边框效果 */
.identity-card.type-rare::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(255, 215, 0, 0.6) 10%,
        rgba(212, 175, 55, 0.8) 20%,
        rgba(255, 255, 255, 0.9) 30%,
        rgba(212, 175, 55, 0.8) 40%,
        rgba(255, 215, 0, 0.6) 50%,
        transparent 60%,
        rgba(168, 85, 247, 0.6) 70%,
        rgba(236, 72, 153, 0.8) 80%,
        transparent 90%
    );
    background-size: 400% 400%;
    border-radius: 24px;
    z-index: -1;
    animation: rareBorderGlow 6s linear infinite;
}

@keyframes rareBorderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 稀有卡粒子漂浮效果 */
.identity-card.type-rare .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8), transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    animation: particleFloat 6s ease-in-out infinite;
}

.identity-card.type-rare .particle:nth-child(1) {
    top: 10%;
    left: 8%;
    animation-delay: 0s;
}

.identity-card.type-rare .particle:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.identity-card.type-rare .particle:nth-child(3) {
    bottom: 30%;
    left: 12%;
    animation-delay: 3s;
}

.identity-card.type-rare .particle:nth-child(4) {
    bottom: 15%;
    right: 8%;
    animation-delay: 4.5s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }
}

/* 稀有卡标签 */
.identity-card.type-rare .level-badge {
    background: linear-gradient(135deg, #ffd700, #ffb347, #ffd700) !important;
    color: #1a0f00 !important;
    font-size: 0.75rem !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    box-shadow:
        0 4px 15px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    position: relative;
    overflow: hidden;
}

/* 稀有卡标签闪光效果 */
.identity-card.type-rare .level-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* 稀有卡标题 */
.identity-card.type-rare h3 {
    color: #ffd700 !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    text-shadow:
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: 2px !important;
    margin: 15px 0 10px !important;
    position: relative;
}

/* 稀有卡称号图标 */
.identity-card.type-rare .rare-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    animation: iconGlow 2s ease-in-out infinite alternate;
}

@keyframes iconGlow {
    from {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
        transform: scale(1);
    }
    to {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1));
        transform: scale(1.1);
    }
}

/* 稀有卡隐喻 */
.identity-card.type-rare .metaphor {
    color: #e9d5ff !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 8px 0 15px !important;
}

/* 稀有卡宣言 */
.identity-card.type-rare .manifesto {
    color: #fbbf24 !important;
    font-style: italic !important;
    font-size: 1.1rem !important;
    text-shadow:
        0 0 10px rgba(251, 191, 36, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3) !important;
    margin: 15px 0 !important;
    line-height: 1.8 !important;
    padding: 15px 20px;
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid;
    border-image: linear-gradient(to bottom, #ffd700, #d4af37, #b8860b) 1;
    position: relative;
}

/* 稀有卡描述 */
.identity-card.type-rare p:not(.manifesto):not(.metaphor) {
    color: #c4b5fd !important;
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 稀有卡超能力框 */
.identity-card.type-rare .superpowers-box {
    background:
        linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(212, 175, 55, 0.05)) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-top: 20px !important;
    box-shadow:
        0 8px 32px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    position: relative;
}

/* 稀有卡超能力框内发光 */
.identity-card.type-rare .superpowers-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.8), transparent);
}

.identity-card.type-rare .superpowers-box p {
    color: #ffd700 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.identity-card.type-rare .superpowers-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.identity-card.type-rare .superpowers-box li {
    color: #e9d5ff !important;
    font-size: 0.95rem !important;
    padding: 8px 0 8px 25px !important;
    position: relative;
    line-height: 1.6 !important;
}

/* 稀有卡列表项图标 */
.identity-card.type-rare .superpowers-box li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-size: 0.7rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* 稀有卡扩展信息区域 */
.identity-card.type-rare div[style*="background: rgba(255,255,255,0.5)"] {
    background: rgba(255, 215, 0, 0.08) !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1) !important;
}

.identity-card.type-rare div[style*="background: rgba(255,255,255,0.5)"] p strong {
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4) !important;
}

.identity-card.type-rare div[style*="background: rgba(255,255,255,0.5)"] p:not(:first-child) {
    color: #c4b5fd !important;
}

/* 稀有卡类型标签 */
.rare-badge {
    background: linear-gradient(135deg, #ffd700, #ffb347) !important;
    color: #1a0f00 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
}

/* 稀有卡的身份标签（显示在稀有卡上的类型标签） */
.identity-card.type-rare span[style*="background: ${identity.color}"] {
    background: linear-gradient(135deg, #ffd700, #ffb347) !important;
    color: #1a0f00 !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4) !important;
    text-transform: uppercase;
    letter-spacing: 1px !important;
}

/* 三张稀有卡的专属色调 */

/* 系统织梦者 - 紫金神秘 */
.identity-card[data-rare="systemWeaver"] {
    --rare-primary: #a855f7;
    --rare-secondary: #ffd700;
}

.identity-card[data-rare="systemWeaver"]::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 40%);
}

/* 思维镜面师 - 玫瑰金奢华 */
.identity-card[data-rare="mindMirror"] {
    --rare-primary: #ec4899;
    --rare-secondary: #ffd700;
}

.identity-card[data-rare="mindMirror"]::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 182, 193, 0.15) 0%, transparent 40%);
}

/* 迷雾航海家 - 青金神秘 */
.identity-card[data-rare="fogNavigator"] {
    --rare-primary: #06b6d4;
    --rare-secondary: #ffd700;
}

.identity-card[data-rare="fogNavigator"]::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(251, 191, 36, 0.15) 0%, transparent 40%);
}

/* 特殊类型标签 */
.type-special-badge {
    background: #94a3b8 !important;
    color: white !important;
}

/* ============================================
   雷达图（根据觉醒层级调整）
   ============================================ */
.radar-chart {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
}

.radar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.radar-item:last-child {
    margin-bottom: 0;
}

.radar-label {
    width: 80px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.radar-bar-bg {
    flex: 1;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.radar-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
    border-radius: 12px;
    transition: width 0.8s ease;
}

.radar-score {
    width: 40px;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Toast提示 */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e293b;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* 响应式 */
@media (max-width: 768px) {
    .dimensions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .identity-showcase {
        grid-template-columns: 1fr;
    }

    .awakening-levels {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    /* 容器优化 */
    .container {
        padding: 20px 15px;
    }

    /* 主标题 */
    .title-line {
        font-size: 1.5rem;
    }

    .title-gradient {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    /* 按钮优化 */
    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .btn-large {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .hero-meta {
        flex-direction: column;
        gap: 20px;
    }

    .meta-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .trust-section {
        flex-direction: column;
        gap: 15px;
    }

    .dimensions-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .identity-types {
        flex-direction: column;
        gap: 20px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 15px;
    }

    /* 流程步骤优化 */
    .process-step {
        padding: 20px 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .process-step h3 {
        font-size: 1rem;
    }

    .process-step p {
        font-size: 0.85rem;
    }

    /* 觉醒层级卡片 */
    .awakening-card {
        padding: 24px 20px;
    }

    .awakening-icon {
        font-size: 2.5rem;
    }

    .awakening-card h3 {
        font-size: 1rem;
    }

    .awakening-desc,
    .awakening-detail {
        font-size: 0.8rem;
    }

    /* 身份卡预览 */
    .identity-preview {
        padding: 20px;
    }

    .identity-preview h4 {
        font-size: 1rem;
    }

    .identity-preview p {
        font-size: 0.85rem;
    }

    /* 用户评价 */
    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .author-name,
    .author-role {
        font-size: 0.85rem;
    }

    /* 区块间距优化 */
    .section {
        padding: 30px 0;
    }

    .section-gray {
        padding: 30px 15px;
        margin: 30px 0;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .question-card {
        padding: 20px 15px;
        border-radius: 16px;
    }

    .question-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* 选项移动端样式 */
    .option {
        padding: 12px 15px;
        border-radius: 10px;
        gap: 10px;
    }

    .option-label {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }

    /* 导航按钮 */
    .navigation {
        gap: 10px;
    }

    .navigation .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        min-height: 48px; /* 确保触摸区域足够大 */
    }

    /* 加载页面 */
    .loading {
        padding: 40px 20px;
    }

    .loading p {
        font-size: 1rem;
    }

    .spinner {
        width: 50px;
        height: 50px;
    }

    .result-container {
        padding: 20px 15px;
    }

    .result-container h2 {
        font-size: 1.5rem;
    }

    .result-content h3 {
        font-size: 1.1rem;
        margin: 15px 0 8px;
    }

    .result-content p, .result-content li {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* 身份卡移动端样式 */
    .identity-card {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }

    .identity-card h3 {
        font-size: 1.1rem !important;
    }

    .identity-card .metaphor,
    .identity-card .manifesto {
        font-size: 0.8rem !important;
    }

    .identity-card .superpowers-box {
        padding: 10px !important;
    }

    .identity-card .superpowers-box p,
    .identity-card .superpowers-box li {
        font-size: 0.8rem !important;
    }

    /* 天赋标签 */
    .talent-tags {
        gap: 8px;
    }

    .talent-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* 雷达图 */
    .radar-chart {
        padding: 15px;
        margin: 10px 0;
    }

    .radar-item {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px;
    }

    .radar-label {
        width: 100%;
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .radar-bar-bg {
        height: 20px;
    }

    .radar-score {
        width: 100%;
        text-align: left;
        padding-left: 10px;
        font-size: 0.85rem;
    }

    /* 结果操作按钮 */
    .result-actions {
        flex-direction: column;
        gap: 10px;
    }

    .result-actions .btn {
        width: 100%;
    }

    /* 初级觉醒卡 */
    .identity-card.level-basic {
        padding: 15px !important;
        border-radius: 12px;
    }

    /* 中级觉醒卡 */
    .identity-card.level-intermediate {
        padding: 18px !important;
        border-radius: 12px;
    }

    /* 高级觉醒卡 */
    .identity-card.level-advanced {
        padding: 20px !important;
        border-radius: 14px;
    }

    .identity-card.level-advanced h3 {
        font-size: 1.3rem !important;
    }

    /* 特殊身份卡 */
    .identity-card.type-special {
        padding: 18px !important;
        border-radius: 12px;
    }

    /* 觉醒层级统计框 */
    .result-content > div[style*="background: #f8fafc"] {
        padding: 12px !important;
        margin: 15px 0 !important;
    }

    /* 认知科学基础等扩展信息 */
    .result-content div[style*="background: rgba(255,255,255,0.5)"] {
        padding: 10px !important;
        margin-top: 8px !important;
    }

    .result-content div[style*="background: rgba(255,255,255,0.5)"] p {
        font-size: 0.8rem !important;
    }

    .result-content div[style*="background: rgba(255,255,255,0.5)"] ul {
        padding-left: 14px !important;
    }

    /* 神话卡移动端修复 */
    .mythic-unlock {
        padding: 20px 15px !important;
        margin: 20px 0 !important;
    }

    .mythic-unlock h2 {
        font-size: 1.3rem !important;
    }

    .mythic-unlock h3 {
        font-size: 1rem !important;
    }

    .mythic-unlock p {
        font-size: 0.9rem !important;
    }

    .mythic-unlock ul {
        padding-left: 15px !important;
    }

    .mythic-unlock li {
        font-size: 0.85rem !important;
    }

    /* 稀有卡移动端修复 */
    .identity-card.type-rare {
        padding: 25px 20px !important;
    }

    .identity-card.type-rare h3 {
        font-size: 1.5rem !important;
    }

    .identity-card.type-rare .manifesto {
        font-size: 1rem !important;
        padding: 12px 15px !important;
    }
}

/* 超小屏幕适配 (iPhone SE 等) */
@media (max-width: 380px) {
    .title-gradient {
        font-size: 1.8rem;
    }

    .hero-title {
        margin-bottom: 15px;
    }

    .dimension-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .dimension-card h3 {
        font-size: 0.9rem;
    }

    .dimension-card p {
        font-size: 0.75rem;
    }

    .option {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .option-label {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }

    .radar-label {
        font-size: 0.8rem;
    }

    .radar-bar-bg {
        height: 18px;
    }
}
