/* 现代化详情页面样式 - 优化版 */

/* 返回首页导航样式 */
.modern-detail-nav {
    margin-bottom: 20px;
    padding: 10px 0;
}

.modern-detail-nav .nav-home-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #667eea;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.modern-detail-nav .nav-home-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modern-detail-nav .nav-icon {
    margin-right: 8px;
    font-size: 18px;
    font-weight: bold;
}

.modern-detail-nav .nav-text {
    font-size: 14px;
}

/* PC端导航样式优化 */
@media (min-width: 1200px) {
    .modern-detail-nav {
        margin-bottom: 25px;
    }
    
    .modern-detail-nav .nav-home-link {
        font-size: 14px;
        padding: 6px 14px;
    }
}

/* 中等屏幕导航样式优化 */
@media (min-width: 992px) and (max-width: 1199px) {
    .modern-detail-nav {
        margin-bottom: 20px;
    }
    
    .modern-detail-nav .nav-home-link {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* 主容器优化 */
.modern-detail-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* PC端基础样式 */
@media (min-width: 1200px) {
    .modern-detail-container {
        max-width: 1600px;
        padding: 40px;
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
    }
    
    /* 确保PC端题目和选项之间没有额外间距 */
    .modern-detail-question {
        margin-bottom: 0 !important;
    }
    
    .modern-detail-options {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* PC端布局优化 - 首屏优化布局 */
@media (min-width: 1200px) {
    .modern-detail-container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: auto auto auto auto auto auto;
        row-gap: 0;
        column-gap: 15px;
        align-items: start;
    }
    
    /* 导航栏网格位置 */
    .modern-detail-nav {
        grid-column: 1 / -1;
        grid-row: 0;
        margin-bottom: 20px;
    }
    
    /* 导航栏网格位置 */
    .modern-detail-nav {
        grid-column: 1 / -1;
        grid-row: 0;
        margin-bottom: 20px;
    }
    
    /* 创建题目和选项的包装容器 */
    .modern-detail-content-wrapper {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    /* 左侧主要内容区 - 作为flex容器子元素 */
    .modern-detail-question {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        padding: 18px;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .modern-detail-options {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        padding: 15px;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .modern-detail-answer {
        grid-column: 1 / -1;
        grid-row: 3;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        padding: 15px;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }
    

    
    .modern-detail-questions {
        grid-column: 1 / -1;
        grid-row: 4;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        padding: 15px 10px 15px 10px;
        margin-top: 12px;
    }
    
    /* 底部代码块样式 - PC端 */
    .detail-codes {
        grid-column: 1 / -1;
        grid-row: 5;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
        margin-top: 20px;
        padding: 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
        text-align: center;
    }
    
    /* 二维码区域样式 - PC端 */
    .qrcode-section {
        flex: 1;
        text-align: center;
    }
    
    /* 备案号区域样式 - PC端 */
    .beian-section {
        flex: 1;
        text-align: center;
        padding: 10px;
    }
    
    /* 底部链接样式 - PC端 */
    .detail-footer {
        grid-column: 1 / -1;
        grid-row: 6;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        padding: 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
        text-align: center;
    }
    
    .detail-codes .img {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .detail-codes .img img {
        max-width: 300px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .detail-codes .txt {
        text-align: center;
        font-size: 14px;
        color: #666;
        line-height: 1.4;
    }
    
    .detail-codes .txt a {
        color: #666;
        text-decoration: none;
    }
    
    .detail-codes .txt a:hover {
        color: #667eea;
    }
    
    /* 浮动代码块样式 - 隐藏在PC端网格布局中 */
    .float-codes {
        display: none;
    }
}

/* 中等屏幕布局优化 - 首屏优化 */
@media (min-width: 992px) and (max-width: 1199px) {
    .modern-detail-container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: auto auto auto auto auto auto;
        row-gap: 0;
        column-gap: 12px;
        align-items: start;
        max-width: 1300px;
        margin: 0 auto;
        padding: 25px;
    }
    
    /* 创建题目和选项的包装容器 */
    .modern-detail-content-wrapper {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    /* 确保中等屏幕题目和选项之间没有额外间距 */
    .modern-detail-question {
        margin-bottom: 0 !important;
    }
    
    .modern-detail-options {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* 左侧主要内容区 - 作为flex容器子元素 */
    .modern-detail-question {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        padding: 15px;
        margin-bottom: 0;
    }
    
    .modern-detail-options {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        padding: 12px;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .modern-detail-answer {
        grid-column: 1 / -1;
        grid-row: 3;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        padding: 12px;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }
    

    
    .modern-detail-questions {
        grid-column: 1 / -1;
        grid-row: 4;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        padding: 12px 8px 12px 8px;
        margin-top: 10px;
    }
    
    /* 底部代码块样式 - 中等屏幕 */
    .detail-codes {
        grid-column: 1 / -1;
        grid-row: 5;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
        padding: 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
        text-align: center;
    }
    
    /* 二维码区域样式 - 中等屏幕 */
    .qrcode-section {
        flex: 1;
        text-align: center;
    }
    
    /* 备案号区域样式 - 中等屏幕 */
    .beian-section {
        flex: 1;
        text-align: center;
        padding: 10px;
    }
    
    /* 底部链接样式 - 中等屏幕 */
    .detail-footer {
        grid-column: 1 / -1;
        grid-row: 6;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        padding: 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
        text-align: center;
    }
    
    .detail-codes .img {
        text-align: center;
        margin-bottom: 8px;
    }
    
    .detail-codes .img img {
        max-width: 280px;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }
    
    .detail-codes .txt {
        text-align: center;
        font-size: 13px;
        color: #666;
        line-height: 1.3;
    }
    
    .detail-codes .txt a {
        color: #666;
        text-decoration: none;
    }
    
    .detail-codes .txt a:hover {
        color: #667eea;
    }
    
    /* 浮动代码块样式 - 隐藏在中等屏幕网格布局中 */
    .float-codes {
        display: none;
    }
    
    /* 中等屏幕增强效果 */
    .modern-detail-option:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2);
    }
    
    .modern-detail-option.correct {
        box-shadow: 0 12px 30px rgba(40, 167, 69, 0.35);
    }
    
    .modern-detail-questions .question-item:hover {
        transform: translateX(10px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
    }
    
    .modern-detail-question .title h1 {
        font-size: 22px;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    /* 中等屏幕选项优化 */
    .modern-detail-option .option-num {
        width: 30px;
        height: 30px;
        font-size: 13px;
        font-weight: 600;
    }
    
    .modern-detail-option .option-text {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .modern-detail-option {
        padding: 10px 12px;
        margin-bottom: 6px;
        border-radius: 8px;
    }
    
    /* 中等屏幕答案优化 */
    .modern-detail-answer .answer-title {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .modern-detail-answer .answer-content {
        font-size: 15px;
        line-height: 1.4;
    }
}



/* 题目区域优化 */
.modern-detail-question {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

/* PC端题目区域进一步优化 */
@media (min-width: 992px) {
    .modern-detail-question {
        margin-bottom: 0 !important;
        border-radius: 12px;
        padding: 15px;
    }
    
    /* 确保所有PC端题目和选项之间没有额外间距 */
    .modern-detail-options {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

.modern-detail-question:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
}

.modern-detail-question .title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 3px solid linear-gradient(90deg, #667eea, #764ba2);
    position: relative;
    width: 100%;
    display: block;
}

.modern-detail-question .title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.modern-detail-question .title h1 {
    font-size: 24px;
    color: #2d3748;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.modern-detail-question .title h1 span {
    color: #667eea;
    font-weight: 800;
    margin-right: 8px;
}

/* 选项列表优化 */
.modern-detail-options {
    display: grid;
    gap: 8px;
    margin-top: 0;
    margin-bottom: 0;
}

/* PC端选项列表进一步优化 */
@media (min-width: 992px) {
    .modern-detail-options {
        gap: 6px;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.modern-detail-option {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* PC端选项进一步优化 */
@media (min-width: 992px) {
    .modern-detail-option {
        padding: 12px;
        border-radius: 8px;
    }
}

.modern-detail-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.modern-detail-option:hover::before {
    left: 100%;
}

.modern-detail-option:hover {
    border-color: #667eea;
    border-width: 3px;
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.modern-detail-option.correct {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #28a745;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

.modern-detail-option .option-num {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

/* PC端选项数字进一步优化 */
@media (min-width: 992px) {
    .modern-detail-option .option-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 10px;
    }
}

.modern-detail-option.correct .option-num {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.modern-detail-option .option-text {
    flex: 1;
    font-size: 14px;
    color: #2d3748;
    line-height: 1.4;
    word-break: break-word;
}

/* PC端选项文字进一步优化 */
@media (min-width: 992px) {
    .modern-detail-option .option-text {
        font-size: 13px;
        line-height: 1.3;
    }
}

.modern-detail-option.correct .option-text {
    color: #155724;
    font-weight: 600;
}

/* 答案区域优化 */
.modern-detail-answer {
    background: white;
    border-radius: 16px;
    padding: 18px;
    margin-top: 8px;
    margin-bottom: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
}

/* PC端答案区域进一步优化 */
@media (min-width: 992px) {
    .modern-detail-answer {
        padding: 15px;
        margin-top: 5px;
        margin-bottom: 8px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.modern-detail-answer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
}

.modern-detail-answer .answer-title {
    font-size: 16px;
    font-weight: 700;
    color: #155724;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    width: 100%;
}

/* PC端答案标题进一步优化 */
@media (min-width: 992px) {
    .modern-detail-answer .answer-title {
        font-size: 14px;
        margin-bottom: 8px;
        padding-bottom: 6px;
        width: 100%;
        box-sizing: border-box;
    }
}

.modern-detail-answer .answer-title::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.25);
}

/* PC端答案标题图标进一步优化 */
@media (min-width: 992px) {
    .modern-detail-answer .answer-title::before {
        width: 20px;
        height: 20px;
        margin-right: 6px;
        box-shadow: 0 2px 6px rgba(40, 167, 69, 0.2);
    }
}

.modern-detail-answer .answer-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
    border-left: 3px solid #28a745;
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 100%;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    hyphens: auto;
    box-sizing: border-box;
}

.modern-detail-answer .answer-content p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
    margin: 0 0 10px 0;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.modern-detail-answer .answer-content p:last-child {
    margin-bottom: 0;
}

/* PC端答案内容进一步优化 */
@media (min-width: 992px) {
    .modern-detail-answer .answer-content {
        padding: 12px;
        font-size: 13px;
        line-height: 1.4;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
}



/* 推荐标签优化 */
/* 题目列表优化 */
.modern-detail-questions {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.1);
}

.modern-detail-questions .questions-title {
    font-size: 20px;
    font-weight: 700;
    color: #721c24;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    padding-left: 5px;
    border-bottom: 2px solid #e9ecef;
}

.modern-detail-questions .questions-title::before {
    content: '📝';
    margin-right: 12px;
    font-size: 24px;
}

.modern-detail-questions .questions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.modern-detail-questions .question-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 15px 12px 15px 12px;
    transition: all 0.3s ease;
    border-left: 4px solid #dc3545;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modern-detail-questions .question-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
}

.modern-detail-questions .question-link {
    color: #495057;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    display: block;
    transition: all 0.3s ease;
}

.modern-detail-questions .question-link:hover {
    color: #dc3545;
}

.modern-detail-questions .question-type {
    color: #dc3545;
    font-weight: 600;
    margin-right: 8px;
    padding: 2px 8px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 6px;
    font-size: 14px;
}



/* 响应式设计 */

/* PC端大屏幕优化 */
@media (min-width: 1200px) {
    .modern-detail-container {
        max-width: 1400px;
        padding: 20px;
    }
    
    .modern-detail-question,
    .modern-detail-answer,
    .modern-detail-questions {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .modern-detail-question .title h1 {
        font-size: 24px;
        width: 100%;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .modern-detail-answer .answer-title {
        font-size: 18px;
    }
    
    .modern-detail-answer .answer-content {
        font-size: 16px;
    }
    
    .modern-detail-option {
        padding: 15px;
    }
    
    .modern-detail-option .option-num {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .modern-detail-option .option-text {
        font-size: 16px;
    }
    

    
    .modern-detail-questions .questions-title {
        font-size: 18px;
    }
    
    .modern-detail-questions .question-link {
        font-size: 16px;
    }
    
    .modern-detail-questions .question-type {
        font-size: 14px;
    }
    
    /* PC端增强效果 */
    .modern-detail-option:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 35px rgba(102, 126, 234, 0.25);
        border-color: #667eea;
        background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    }
    
    .modern-detail-option.correct {
        box-shadow: 0 15px 35px rgba(40, 167, 69, 0.4);
        background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
        border-color: #28a745;
        transform: scale(1.01);
    }
    
    .modern-detail-questions .question-item:hover {
        transform: translateX(12px) scale(1.02);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
        background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    }
    
    /* PC端卡片悬浮效果 */
    .modern-detail-question:hover,
    .modern-detail-options:hover,
    .modern-detail-answer:hover,
    .modern-detail-questions:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
        border-color: #667eea;
    }
    

}

/* 中等屏幕优化 */
@media (min-width: 992px) and (max-width: 1199px) {
    .modern-detail-container {
        max-width: 1200px;
        padding: 18px;
    }
    
    .modern-detail-question,
    .modern-detail-answer,
    .modern-detail-questions {
        padding: 18px;
        margin-bottom: 12px;
    }
    
    .modern-detail-question .title h1 {
        font-size: 22px;
        width: 100%;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .modern-detail-option {
        padding: 12px;
    }
    
    .modern-detail-option .option-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .modern-detail-option .option-text {
        font-size: 17px;
    }
}

/* 平板和小屏幕PC优化 */
@media (min-width: 768px) and (max-width: 991px) {
    .modern-detail-container {
        padding: 25px;
        max-width: 100%;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }
    
    .modern-detail-question,
    .modern-detail-answer,
    .modern-detail-questions {
        padding: 25px;
        margin-bottom: 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    }
    
    /* 平板端代码块样式 */
    .detail-codes {
        margin-top: 20px;
        padding: 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
        text-align: center;
    }
    
    .detail-codes .img {
        margin-bottom: 15px;
    }
    
    .detail-codes .img img {
        max-width: 220px;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .detail-codes .txt {
        font-size: 15px;
        color: #666;
        line-height: 1.4;
    }
    
    .detail-codes .txt a {
        color: #666;
        text-decoration: none;
    }
    
    .detail-codes .txt a:hover {
        color: #667eea;
    }
    
    /* 平板端隐藏浮动代码块 */
    .float-codes {
        display: none;
    }
    
    .modern-detail-question .title h1 {
        font-size: 24px;
        font-weight: 600;
        color: #2d3748;
        width: 100%;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .modern-detail-option {
        padding: 18px;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .modern-detail-option:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
        border-color: #667eea;
    }
    
    .modern-detail-option .option-num {
        width: 38px;
        height: 38px;
        font-size: 16px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-weight: 600;
    }
    
    .modern-detail-option .option-text {
        font-size: 16px;
        font-weight: 500;
        color: #2d3748;
    }
    
    .modern-detail-option.correct {
        background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
        border-color: #28a745;
        box-shadow: 0 8px 20px rgba(40, 167, 69, 0.25);
    }
    
    /* 平板端列表项增强 */
    .modern-detail-questions .question-item:hover {
        transform: translateX(8px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.12);
    }
}

@media (max-width: 768px) {
    .modern-detail-container {
        padding: 15px;
        background: #f8fafc;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .modern-detail-question,
    .modern-detail-answer,
    .modern-detail-questions {
        padding: 15px 10px 15px 10px;
        margin-bottom: 20px;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .modern-detail-answer .answer-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 12px;
        font-size: 13px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .modern-detail-answer .answer-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
        margin: 0 0 8px 0;
        line-height: 1.5;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* 手机端代码块样式 */
    .detail-codes {
        margin-top: 20px;
        padding: 15px;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    /* 二维码区域样式 - 手机端 */
    .qrcode-section {
        text-align: center;
    }
    
    /* 备案号区域样式 - 手机端 */
    .beian-section {
        text-align: center;
        padding: 10px;
    }
    
    .detail-codes .img {
        margin-bottom: 10px;
    }
    
    .detail-codes .img img {
        max-width: 150px;
        height: auto;
        border-radius: 8px;
    }
    
    .detail-codes .txt {
        font-size: 14px;
        color: #666;
        line-height: 1.4;
    }
    
    .detail-codes .txt a {
        color: #666;
        text-decoration: none;
    }
    
    .detail-codes .txt a:hover {
        color: #667eea;
    }
    
    /* 手机端显示浮动代码块 */
    .float-codes {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        cursor: pointer;
    }
    
    .float-codes .img img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
    }
    
    .float-codes:hover .img img {
        transform: scale(1.1);
    }
    
    .modern-detail-question .title h1 {
        font-size: 20px;
        font-weight: 600;
        color: #2d3748;
        width: 100%;
        display: block;
        margin: 0;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
    }
    
    .modern-detail-option {
        padding: 15px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .modern-detail-option .option-num {
        width: 32px;
        height: 32px;
        font-size: 14px;
        background: #667eea;
        color: white;
        font-weight: 600;
    }
    
    .modern-detail-option .option-text {
        font-size: 14px;
        color: #2d3748;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
    }
    
    .modern-detail-option.correct {
        background: #d4edda;
        border-color: #28a745;
    }
    
    /* 手机端简化交互 */
    .modern-detail-option:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .modern-detail-questions .question-item:hover {
        transform: none;
        background: #f8fafc;
    }
}

@media (max-width: 480px) {
    .modern-detail-container {
        padding: 10px;
        background: #f8fafc;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .modern-detail-question,
    .modern-detail-answer,
    .modern-detail-questions {
        padding: 12px 8px 12px 8px;
        margin-bottom: 15px;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .modern-detail-answer .answer-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
        overflow-wrap: break-word;
        hyphens: auto;
        padding: 10px;
        font-size: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .modern-detail-answer .answer-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
        margin: 0 0 6px 0;
        line-height: 1.4;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .modern-detail-question .title h1 {
        font-size: 18px;
        font-weight: 600;
        color: #2d3748;
        line-height: 1.3;
        width: 100%;
        display: block;
        margin: 0;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
    }
    
    .modern-detail-option {
        padding: 12px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        margin-bottom: 8px;
    }
    
    .modern-detail-option .option-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
        background: #667eea;
        color: white;
        font-weight: 600;
    }
    
    .modern-detail-option .option-text {
        font-size: 13px;
        color: #2d3748;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        white-space: pre-wrap;
    }
    
    .modern-detail-option.correct {
        background: #d4edda;
        border-color: #28a745;
    }
    
    /* 超小屏幕极简交互 */
    .modern-detail-option:hover {
        transform: none;
        background: #f1f5f9;
    }
    
    .modern-detail-questions .question-item:hover {
        transform: none;
        background: #f8fafc;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-detail-question,
.modern-detail-answer,
.modern-detail-search,
.modern-detail-questions {
    animation: fadeInUp 0.6s ease-out;
}

.modern-detail-question {
    animation-delay: 0.1s;
}

.modern-detail-answer {
    animation-delay: 0.2s;
}

.modern-detail-search {
    animation-delay: 0.3s;
}



.modern-detail-questions {
    animation-delay: 0.5s;
}