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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: linear-gradient(135deg, #0a1128 0%, #121e47 50%, #0a1128 100%);
    color: #e6e6e6;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 85%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(66, 105, 225, 0.05) 0%, transparent 70%),
        linear-gradient(-45deg, rgba(66, 105, 225, 0.05) 0%, transparent 70%);
    z-index: -1;
}

/* 通用容器样式 */
.container, .test-container, .result-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Logo样式 */
.logo-section {
    text-align: center;
    margin-bottom: 20px;
}

/* 主Logo带白色底底层 + 发光呼吸灯效果 */
.logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    
    /* 半透明白色圆形底层 */
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 95%, transparent 100%);
    display: block;
    padding: 6px;
    background-clip: padding-box;
    box-sizing: border-box;
    margin: 0 auto;
    object-fit: contain;
    
    /* 初始阴影 */
    box-shadow:
        0 0 15px rgba(66, 105, 225, 0.5),
        0 0 30px rgba(66, 105, 225, 0.35),
        0 0 45px rgba(135, 206, 250, 0.25),
        inset 0 0 15px rgba(255, 255, 255, 0.08);
    
    transition: transform 0.3s ease;
    /* 更新：5秒周期，使用 ease-in-out 缓动 */
    animation: breathingGlow 5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
/* 迷你Logo带白色底层 */
.logo-img-mini {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    /* 半透明白色圆形底层 */
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 95%, transparent 100%);
    display: block;
    padding: 4px;
    background-clip: padding-box;
    box-sizing: border-box;
    margin: 0 auto;
    object-fit: contain;
    
    /* 初始阴影 */
    box-shadow: 
        0 0 8px rgba(66, 105, 225, 0.45),
        0 0 16px rgba(66, 105, 225, 0.3),
        0 0 24px rgba(135, 206, 250, 0.2);
    
    /* 更新：5秒周期 */
    animation: breathingGlowMini 5s ease-in-out infinite;
}


/* Logo容器居中 */
.logo-section, .logo-section-mini {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .logo-img {
        width: 80px;
        height: 80px;
        padding: 5px; /* 响应式下微调padding */
    }
    
    .logo-img-mini {
        width: 50px;
        height: 50px;
        padding: 3px; /* 响应式下微调padding */
    }
}



/* 欢迎卡片样式 */
.welcome-card {
    background: rgba(16, 24, 48, 0.85);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 60px rgba(66, 105, 225, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 80px rgba(66, 105, 225, 0.15);
}

/* 主标题样式 */
.main-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(66, 105, 225, 0.8);
    position: relative;
}

.main-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4169e1, transparent);
    margin: 10px auto 0;
}

.subtitle {
    display: block;
    font-size: 1rem;
    font-weight: normal;
    color: #a9b8d9;
    margin-top: 5px;
}

/* 介绍部分样式 */
.intro-section {
    margin-bottom: 30px;
}

.intro-section h2 {
    color: #4169e1;
    margin-bottom: 15px;
    font-size: 1.4rem;
    border-left: 4px solid #4169e1;
    padding-left: 10px;
}

.intro-section h3 {
    color: #6a8cd8;
    margin-bottom: 10px;
    margin-top: 20px;
    font-size: 1.2rem;
}

.greeting {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.intro-text {
    margin-bottom: 20px;
    line-height: 1.7;
}

.intro-text p {
    margin-bottom: 10px;
}

.intro-text strong {
    color: #4169e1;
}

/* 测试信息和提示框 */
.test-info, .tips-box {
    background: rgba(106, 140, 216, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 3px solid #4169e1;
}

.test-info ul, .tips-box ul {
    list-style-type: none;
    padding-left: 5px;
}

.test-info li, .tips-box li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.test-info li::before, .tips-box li::before {
    content: "•";
    color: #4169e1;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.test-info strong, .tips-box strong {
    color: #ffffff;
}

/* 开始按钮 */
.start-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4169e1, #1e3a8a);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.start-btn:hover {
    background: linear-gradient(135deg, #6a8cd8, #4169e1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 105, 225, 0.5);
}

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

.btn-text {
    margin-right: 10px;
}

.btn-icon {
    font-size: 1.4rem;
}

/* 版权信息 */
.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #6a8cd8;
}

/* 进度条样式 */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4169e1, #6a8cd8);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: #6a8cd8;
    margin-bottom: 20px;
}

/* 测试卡片样式 */
.test-card {
    background: rgba(16, 24, 48, 0.85);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 60px rgba(66, 105, 225, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 题目区域 */
.question-section {
    margin-bottom: 30px;
}

.question-number {
    font-size: 1.1rem;
    color: #6a8cd8;
    margin-bottom: 10px;
    font-weight: bold;
}

.question-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ffffff;
}

.dimension-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(65, 105, 225, 0.2);
    color: #6a8cd8;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* 答案选项 */
.answers-section {
    margin-bottom: 30px;
}

.answer-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #e6e6e6;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.answer-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #4169e1;
    transform: translateX(5px);
}

.answer-btn.selected {
    background: rgba(65, 105, 225, 0.3);
    border-color: #4169e1;
    box-shadow: 0 0 15px rgba(65, 105, 225, 0.3);
}

.answer-btn.selected::before {
    content: '✓';
    position: absolute;
    right: 15px;
    color: #4169e1;
    font-weight: bold;
    font-size: 1.2rem;
}

.answer-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: rgba(65, 105, 225, 0.2);
    color: #6a8cd8;
    border-radius: 50%;
    margin-right: 12px;
    font-weight: bold;
}

.answer-text {
    display: inline-block;
    vertical-align: middle;
}

/* 导航按钮 */
.navigation-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nav-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #e6e6e6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    margin: 0 5px;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(65, 105, 225, 0.2);
    border-color: #4169e1;
}

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

.nav-submit {
    background: linear-gradient(135deg, #4169e1, #1e3a8a) !important;
    color: white;
}

.nav-submit:hover {
    background: linear-gradient(135deg, #6a8cd8, #4169e1) !important;
}

/* 题目导航点 */
.dots-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.3);
}

.dot.current {
    background: #4169e1;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(65, 105, 225, 0.5);
}

.dot.answered {
    background: rgba(65, 105, 225, 0.3);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(16, 24, 48, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-content h3 {
    color: #4169e1;
    margin-bottom: 15px;
}

.modal-warning {
    color: #ff6b6b;
    font-weight: bold;
    margin: 15px 0;
}

.incomplete-info {
    font-size: 0.9rem;
    color: #6a8cd8;
    margin: 10px 0;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #e6e6e6;
}

.modal-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-confirm {
    background: #4169e1;
    color: white;
}

.modal-confirm:hover {
    background: #6a8cd8;
}

/* 结果页面样式 */
.result-card {
    background: rgba(16, 24, 48, 0.85);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 60px rgba(66, 105, 225, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(66, 105, 225, 0.8);
}

.result-title span {
    margin: 0 10px;
}

.score-display {
    margin-bottom: 20px;
}

.total-score {
    font-size: 3rem;
    font-weight: bold;
    color: #4169e1;
    text-shadow: 0 0 20px rgba(65, 105, 225, 0.5);
}

.score-label {
    font-size: 1.1rem;
    color: #6a8cd8;
}

.character-match {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.character-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #4169e1;
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.5);
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.character-type {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}

.character-deterrence {
    font-size: 1.1rem;
    color: #6a8cd8;
}

/* 核心特质 */
.core-traits {
    margin-bottom: 30px;
}

.core-traits h3 {
    color: #4169e1;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.core-traits blockquote {
    font-style: italic;
    color: #a9b8d9;
    border-left: 3px solid #4169e1;
    padding-left: 20px;
    margin: 0;
    line-height: 1.7;
}

/* 优势与挑战 */
.strengths-challenges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.section h3 {
    color: #4169e1;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.strengths ul, .challenges ul {
    list-style-type: none;
    padding-left: 5px;
}

.strengths li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    color: #a9b8d9;
}

.strengths li::before {
    content: "✅";
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.challenges li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    color: #a9b8d9;
}

.challenges li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

/* 成长建议 */
.growth-suggestions {
    margin-bottom: 30px;
}

.growth-suggestions h3 {
    color: #4169e1;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.growth-suggestions ol {
    padding-left: 25px;
    color: #a9b8d9;
}

.growth-suggestions li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 适合职业 */
.career-suggestion {
    margin-bottom: 30px;
}

.career-suggestion h3 {
    color: #4169e1;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

#careerList {
    color: #a9b8d9;
    line-height: 1.6;
}

/* 名言 */
.quote-section {
    margin-bottom: 30px;
    text-align: center;
}

.quote-section blockquote {
    font-style: italic;
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.7;
    padding: 20px;
    background: rgba(65, 105, 225, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(65, 105, 225, 0.2);
}

/* 雷达图 */
.radar-chart-section {
    margin-bottom: 30px;
    text-align: center;
}

.radar-chart-section h3 {
    color: #4169e1;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.radar-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
}

/* 维度详细分析 */
.dimensions-analysis {
    margin-bottom: 30px;
}

.dimensions-analysis h3 {
    color: #4169e1;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

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

.dimension-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dimension-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dimension-card h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.dimension-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4169e1;
    margin-bottom: 10px;
}

.dimension-max {
    font-size: 1rem;
    color: #6a8cd8;
    font-weight: normal;
}

.dimension-description {
    color: #a9b8d9;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 分享区域 */
.share-section {
    margin-bottom: 30px;
}

.share-section h3 {
    color: #4169e1;
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-align: center;
}

.share-text {
    margin-bottom: 15px;
}

.share-text textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e6e6e6;
    font-size: 1rem;
    resize: none;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-btn {
    padding: 10px 20px;
    background: rgba(65, 105, 225, 0.2);
    color: #4169e1;
    border: 1px solid #4169e1;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #4169e1;
    color: white;
}

/* 再次测试按钮 */
.retake-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4169e1, #1e3a8a);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.retake-btn:hover {
    background: linear-gradient(135deg, #6a8cd8, #4169e1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 105, 225, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container, .test-container, .result-container {
        padding: 15px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .welcome-card, .test-card, .result-card {
        padding: 20px;
    }

    .strengths-challenges {
        grid-template-columns: 1fr;
    }

    .dimension-cards {
        grid-template-columns: 1fr;
    }

    .character-match {
        flex-direction: column;
        text-align: center;
    }

    .navigation-section {
        flex-direction: column;
    }

    .nav-btn {
        margin: 5px 0;
    }

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

    .share-btn {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
    }

    .question-text {
        font-size: 1.1rem;
    }

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

    .total-score {
        font-size: 2.5rem;
    }

    .result-title {
        font-size: 1.7rem;
    }

    .radar-container {
        height: 300px;
    }
}

/* Logo样式 */
.logo-section {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    /* 修改为蓝白色发光效果 */
    box-shadow: 
        0 0 20px rgba(66, 105, 225, 0.6),
        0 0 40px rgba(66, 105, 225, 0.4),
        0 0 60px rgba(135, 206, 250, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    /* 添加呼吸灯动画 */
    animation: breathingGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* 主Logo呼吸灯动画 - 5秒周期，更柔和的渐变 */
@keyframes breathingGlow {
    0% {
        box-shadow: 
            0 0 15px rgba(66, 105, 225, 0.5),
            0 0 30px rgba(66, 105, 225, 0.35),
            0 0 45px rgba(135, 206, 250, 0.25),
            inset 0 0 15px rgba(255, 255, 255, 0.08);
        filter: brightness(0.95);
    }
    25% {
        box-shadow: 
            0 0 20px rgba(66, 105, 225, 0.65),
            0 0 40px rgba(66, 105, 225, 0.5),
            0 0 60px rgba(135, 206, 250, 0.35),
            0 0 80px rgba(135, 206, 250, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.12);
        filter: brightness(1.05);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(66, 105, 225, 0.75),
            0 0 50px rgba(66, 105, 225, 0.6),
            0 0 75px rgba(135, 206, 250, 0.45),
            0 0 100px rgba(135, 206, 250, 0.25),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
        filter: brightness(1.1);
    }
    75% {
        box-shadow: 
            0 0 20px rgba(66, 105, 225, 0.65),
            0 0 40px rgba(66, 105, 225, 0.5),
            0 0 60px rgba(135, 206, 250, 0.35),
            0 0 80px rgba(135, 206, 250, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.12);
        filter: brightness(1.05);
    }
    100% {
        box-shadow: 
            0 0 15px rgba(66, 105, 225, 0.5),
            0 0 30px rgba(66, 105, 225, 0.35),
            0 0 45px rgba(135, 206, 250, 0.25),
            inset 0 0 15px rgba(255, 255, 255, 0.08);
        filter: brightness(0.95);
    }
}

/* Logo底部光环效果 */
.logo-section::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: radial-gradient(
        ellipse at center,
        rgba(66, 105, 225, 0.35) 0%,
        rgba(135, 206, 250, 0.25) 30%,
        rgba(255, 255, 255, 0.08) 60%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(10px);
    /* 更新：5秒周期 */
    animation: glowPulse 5s ease-in-out infinite;
    z-index: 1;
}

/* 底部光环呼吸动画 - 5秒周期 */
@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: translateX(-50%) scaleX(0.95) scaleY(0.95);
    }
    25% {
        opacity: 0.7;
        transform: translateX(-50%) scaleX(1.05) scaleY(1.05);
    }
    50% {
        opacity: 0.85;
        transform: translateX(-50%) scaleX(1.15) scaleY(1.1);
    }
    75% {
        opacity: 0.7;
        transform: translateX(-50%) scaleX(1.05) scaleY(1.05);
    }
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scaleX(0.95) scaleY(0.95);
    }
}


.logo-img:hover {
    transform: scale(1.05);
    animation-play-state: paused;
}

/* 迷你Logo样式（测试页和结果页） */
.logo-section-mini {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.logo-img-mini {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 0 10px rgba(66, 105, 225, 0.5),
        0 0 20px rgba(66, 105, 225, 0.3),
        0 0 30px rgba(135, 206, 250, 0.2);
    animation: breathingGlowMini 3s ease-in-out infinite;
}

/* 迷你Logo呼吸灯动画 - 5秒周期 */
@keyframes breathingGlowMini {
    0% {
        box-shadow: 
            0 0 8px rgba(66, 105, 225, 0.45),
            0 0 16px rgba(66, 105, 225, 0.3),
            0 0 24px rgba(135, 206, 250, 0.2);
        filter: brightness(0.95);
    }
    25% {
        box-shadow: 
            0 0 12px rgba(66, 105, 225, 0.6),
            0 0 24px rgba(66, 105, 225, 0.45),
            0 0 36px rgba(135, 206, 250, 0.3);
        filter: brightness(1.05);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(66, 105, 225, 0.7),
            0 0 30px rgba(66, 105, 225, 0.55),
            0 0 45px rgba(135, 206, 250, 0.4);
        filter: brightness(1.1);
    }
    75% {
        box-shadow: 
            0 0 12px rgba(66, 105, 225, 0.6),
            0 0 24px rgba(66, 105, 225, 0.45),
            0 0 36px rgba(135, 206, 250, 0.3);
        filter: brightness(1.05);
    }
    100% {
        box-shadow: 
            0 0 8px rgba(66, 105, 225, 0.45),
            0 0 16px rgba(66, 105, 225, 0.3),
            0 0 24px rgba(135, 206, 250, 0.2);
        filter: brightness(0.95);
    }
}
/* 迷你Logo底部光环 */
.logo-section-mini::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: radial-gradient(
        ellipse at center,
        rgba(66, 105, 225, 0.28) 0%,
        rgba(135, 206, 250, 0.18) 40%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(8px);
    /* 更新：5秒周期 */
    animation: glowPulseMini 5s ease-in-out infinite;
}

/* 迷你Logo底部光环呼吸动画 - 5秒周期 */
@keyframes glowPulseMini {
    0% {
        opacity: 0.4;
        transform: translateX(-50%) scaleX(0.95) scaleY(0.95);
    }
    25% {
        opacity: 0.6;
        transform: translateX(-50%) scaleX(1.05) scaleY(1.05);
    }
    50% {
        opacity: 0.75;
        transform: translateX(-50%) scaleX(1.12) scaleY(1.08);
    }
    75% {
        opacity: 0.6;
        transform: translateX(-50%) scaleX(1.05) scaleY(1.05);
    }
    100% {
        opacity: 0.4;
        transform: translateX(-50%) scaleX(0.95) scaleY(0.95);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .logo-img {
        width: 80px;
        height: 80px;
    }
    
    .logo-section::before {
        width: 100px;
        height: 25px;
    }
    
    .logo-img-mini {
        width: 50px;
        height: 50px;
    }
    
    .logo-section-mini::before {
        width: 60px;
        height: 15px;
    }
}

