/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色系 - 粉色系 */
    --primary-color: #FF69B4;
    --primary-light: #FFB6C1;
    --primary-dark: #FF1493;
    --secondary-color: #FFC0CB;

    /* 背景色 */
    --bg-gradient: linear-gradient(135deg, #FFE4E1 0%, #FFF0F5 50%, #FFE4E1 100%);
    --card-bg: rgba(255, 255, 255, 0.95);

    /* 文字色 */
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;

    /* 渐变边框 */
    --gradient-border: linear-gradient(45deg, #FF69B4, #FFC0CB, #FF69B4);

    /* 阴影 */
    --shadow-light: 0 4px 6px rgba(255, 105, 180, 0.1);
    --shadow-medium: 0 6px 12px rgba(255, 105, 180, 0.15);
    --shadow-heavy: 0 10px 25px rgba(255, 105, 180, 0.2);

    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* 圆角 */
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 30px;
}

/* 基础设置 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-sm);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* 装饰背景 - 动画气泡 */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.4), rgba(255, 105, 180, 0.2));
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.bubble-2 {
    width: 60px;
    height: 60px;
    right: 20%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.bubble-3 {
    width: 100px;
    height: 100px;
    left: 30%;
    animation-duration: 22s;
    animation-delay: 4s;
}

.bubble-4 {
    width: 70px;
    height: 70px;
    right: 10%;
    animation-duration: 17s;
    animation-delay: 6s;
}

.bubble-5 {
    width: 90px;
    height: 90px;
    left: 60%;
    animation-duration: 20s;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-100px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-200px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-100px) rotate(270deg);
        opacity: 0.6;
    }
}

/* 内容包装器 */
.content-wrapper {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.content-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-border);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.6;
}

/* 标题区域 */
.test-intro {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.title .emoji {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

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

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.xhs-link {
    margin-bottom: var(--spacing-lg);
}

.xhs-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.xhs-link a:hover {
    color: var(--primary-dark);
    transform: translateY(-1px);
}


/* 页脚 */
.footer {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    border-top: 2px solid var(--primary-color);
    margin-top: var(--spacing-xl);
    background: rgba(255, 105, 180, 0.05);
}

.footer-content {
    max-width: 480px;
    margin: 0 auto;
    padding: var(--spacing-md);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
    background: white;
}

.footer p {
    margin: 0;
    line-height: 1.6;
}

.copyright {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.rights {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* 8种潜能类型预览 - 环绕式布局 */
.types-preview-circle {
    position: relative;
    width: 280px;
    height: 280px;
    margin: var(--spacing-lg) auto;
}

.type-orbit {
    position: relative;
    width: 100%;
    height: 100%;
}

.type-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 105, 180, 0.08);
    border: 2px solid rgba(255, 105, 180, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 2;
}

.center-text {
    line-height: 1.4;
}

.type-item {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-item:hover {
    transform: scale(1.15);
    z-index: 10;
}

.type-emoji {
    font-size: 1.8rem;
}

.type-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.type-item:hover .type-tooltip {
    opacity: 1;
}

/* 定位8个图标围绕圆形 */
.type-item:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.type-item:nth-child(2) {
    top: 14.6%;
    right: 14.6%;
    transform: translate(50%, 0);
}
.type-item:nth-child(3) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.type-item:nth-child(4) {
    bottom: 14.6%;
    right: 14.6%;
    transform: translate(50%, 0);
}
.type-item:nth-child(5) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.type-item:nth-child(6) {
    bottom: 14.6%;
    left: 14.6%;
    transform: translate(-50%, 0);
}
.type-item:nth-child(7) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.type-item:nth-child(8) {
    top: 14.6%;
    left: 14.6%;
    transform: translate(-50%, 0);
}


/* 呼吸动画 */
@keyframes breathe {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* 给每个图标添加延迟的呼吸动画 */
.type-item:nth-child(1) { animation: breathe 4s ease-in-out infinite 0s; }
.type-item:nth-child(2) { animation: breathe 4s ease-in-out infinite 0.5s; }
.type-item:nth-child(3) { animation: breathe 4s ease-in-out infinite 1s; }
.type-item:nth-child(4) { animation: breathe 4s ease-in-out infinite 1.5s; }
.type-item:nth-child(5) { animation: breathe 4s ease-in-out infinite 2s; }
.type-item:nth-child(6) { animation: breathe 4s ease-in-out infinite 2.5s; }
.type-item:nth-child(7) { animation: breathe 4s ease-in-out infinite 3s; }
.type-item:nth-child(8) { animation: breathe 4s ease-in-out infinite 3.5s; }

/* hover时暂停动画 */
.type-item:hover {
    animation-play-state: paused;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .types-preview-circle {
        width: 240px;
        height: 240px;
    }

    .type-center {
        width: 90px;
        height: 90px;
        font-size: 0.85rem;
    }

    .type-item {
        width: 50px;
        height: 50px;
    }

    .type-emoji {
        font-size: 1.5rem;
    }

    .type-tooltip {
        font-size: 0.75rem;
        bottom: -25px;
    }
}

/* 输入区域 */
.input-section {
    margin-bottom: var(--spacing-xl);
}

.input-group {
    margin-bottom: var(--spacing-lg);
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.label-emoji {
    font-size: 1.2rem;
}

input[type="text"] {
    width: 100%;
    padding: 0.8rem var(--spacing-sm);
    border: 2px solid #FFB6C1;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

/* 免责声明 */
.disclaimer {
    background: rgba(255, 182, 193, 0.1);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.disclaimer-title {
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    font-size: 1.1rem;
}

.disclaimer-content p {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.disclaimer-content ul {
    list-style: none;
    padding-left: 0;
}

.disclaimer-content li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.disclaimer-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 开始按钮 */
.start-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.start-btn:hover::before {
    left: 100%;
}

.start-btn:active {
    transform: translateY(-1px);
}

.start-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.2);
}

.start-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.2);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.btn-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.start-btn:hover .btn-arrow {
    transform: translateX(8px);
}

/* 答题页面样式 */
.test-container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-md);
    min-height: 100vh;
    padding-bottom: 100px; /* 为固定底部按钮留出空间 */
}

.progress-bar {
    background: rgba(255, 182, 193, 0.3);
    height: 6px;
    border-radius: 3px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.question-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-medium);
    margin-bottom: 1rem;
}

.question-number {
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.question-text {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--text-primary);
}

.question-hint {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.option-item {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid #FFB6C1;
    border-radius: var(--border-radius-sm);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.option-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.option-item.selected {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.option-item.selected::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.option-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.option-item.disabled:hover {
    transform: none;
    border-color: #FFB6C1;
    box-shadow: none;
}

.option-letter {
    font-weight: bold;
    color: var(--primary-color);
    min-width: 20px;
}

.option-text {
    flex: 1;
}

/* 导航按钮 */
.navigation {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.nav-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn.primary {
    background: var(--primary-color);
    color: white;
}

.nav-btn.primary:hover:not(:disabled) {
    background: var(--primary-dark);
}

/* 固定底部导航按钮 */
.navigation-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem var(--spacing-md);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-sm);
    z-index: 100;
}

.navigation-bottom .nav-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

/* 结果页面样式 */
body.result-page .container {
    max-width: 900px;
}

.result-container {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-heavy);
    margin-bottom: var(--spacing-lg);
}

.result-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 182, 193, 0.1);
    border-radius: var(--border-radius-md);
}

.result-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.page-title {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-weight: normal;
}

.potential-intro {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.main-potential {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 1px;
}

.result-emoji {
    font-size: 6rem;
    margin-bottom: var(--spacing-xl);
    animation: bounce 2s infinite;
}


.section-title {
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.chart-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: var(--spacing-md);
    position: relative;
}

.chart-container canvas {
    width: 100% !important;
    height: auto !important;
    max-height: 400px;
}

.career-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: var(--spacing-sm);
}

.career-item {
    display: inline-block;
    background: linear-gradient(135deg, #FF69B4, #FFB6C1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}

.career-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 105, 180, 0.4);
}

.suggestion-list {
    list-style: none;
}

.suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.suggestion-item::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.action-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.action-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex: 1;
    min-width: 200px;
    justify-content: center;
    font-size: 1.2rem;
}

.action-btn.primary {
    background: var(--primary-color);
    color: white;
}

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

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: var(--spacing-sm);
    }

    body.result-page .container {
        max-width: 100%;
        padding: var(--spacing-sm);
    }

    .result-container {
        padding: 1.5rem;
    }

    .result-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .chart-container {
        padding: 0.5rem;
    }

    .chart-container canvas {
        max-height: 350px;
    }

    .content-wrapper {
        padding: var(--spacing-lg);
    }

    .title {
        font-size: 1.8rem;
    }

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

    .gender-options {
        flex-direction: column;
    }

    /* 优化测试页面头部间距 */
    .test-container {
        padding: var(--spacing-sm);
        padding-bottom: 100px;
    }

    .progress-bar {
        margin-bottom: 0.5rem;
    }

    /* 移动端按钮更大 */
    .navigation-bottom {
        padding: 1.25rem var(--spacing-md);
    }

    .navigation-bottom .nav-btn {
        padding: 1.25rem 1rem;
        font-size: 1.1rem;
        min-height: 54px; /* 确保按钮有足够的触摸区域 */
    }

    .progress-text {
        margin-bottom: 0.75rem;
        font-size: 0.8rem;
    }

    .question-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .question-number {
        margin-bottom: 0.4rem;
        font-size: 0.95rem;
        font-weight: 900;
    }

    .question-text {
        font-size: 1.15rem;
        margin-bottom: 0.6rem;
        font-weight: 700;
    }

    .question-hint {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .gender-btn {
        width: 100%;
    }

    .career-item {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        font-size: 1.5rem;
        min-height: 60px;
    }
}

/* 中等屏幕适配 */
@media (min-width: 768px) and (max-width: 1023px) {
    .navigation-bottom .nav-btn {
        padding: 1.1rem 1.5rem;
        font-size: 1.05rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: var(--spacing-lg);
    }

    .test-container {
        padding: var(--spacing-lg);
        padding-bottom: 100px;
    }

    /* 大屏幕上按钮可以稍微小一点 */
    .navigation-bottom .nav-btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 淡入动画 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* 滑入动画 */
.slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* 加载覆盖层 */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    display: none;
}

#loadingOverlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

#loadingOverlay p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* 涟漪动画 */
@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}