﻿/* 手机端隐藏标签栏 */
@media (max-width: 767px) {
    .tags-section.mobile-hide {
        display: none;
    }
}




                                /* 通用图片基础样式 */
                                img[src*=".jpg"], 
                                img[src*=".png"], 
                                img[src*=".jpeg"], 
                                img[src*=".gif"],
                                img[src*=".webp"] {
                                    max-width: 100%;
                                    height: auto;
                                    display: block;
                                }

                                /* 普通栏目图片 (栏目1-3) */
                                .normal-img {
                                    width: 100%;
                                    height: auto;
                                    max-width: 100%;
                                    display: block;
                                    margin: 0 auto 20px auto;
                                    border-radius: 15px; 
                                    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
                                }

                                /* 特殊栏目图片 (栏目4-5) */
                                .responsive-special-img {
                                    width: 100%;
                                    height: auto;
                                    display: block;
                                    margin: 0 auto 20px auto;
                                    border-radius: 15px; 
                                    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
                                    background-color: #f5f5f5;
                                }

                                /* PC端适配 */
                                @media (min-width: 768px) {
                                    .normal-img {
                                        width: auto;
                                        max-width: 100%;
                                    }
                                    
                                    .responsive-special-img {
                                        width: 60%;
                                        height: auto;
                                        max-width: 100%;
                                    }
                                }





<!-- 响应式媒体查询 -->

@media (min-width: 768px) {
    /* 平板及以上设备使用水平布局 */
    footer > div > div {
        flex-direction: row !important;
    }
    
    footer > div > div > div:first-child {
        font-size: 24px !important;
    }
    
    footer > div > div > div:nth-child(2) {
        font-size: 20px !important;
    }
}

@media (max-width: 767px) {
    /* 手机端调整内边距和字体大小 */
    footer {
        padding: 8px 0 !important;
    }
    
    footer > div {
        padding: 0 10px !important;
    }
}




/* 电脑端显示，手机端隐藏 */
.website-intro-block.desktop-only {
    display: block;
}

/* 遮罩层样式 */
.intro-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.intro-overlay-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

.close-intro-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ff6b9d;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.3s ease;
}

.close-intro-btn:hover {
    background: #ff4d7f;
    transform: rotate(90deg);
}

/* 手机端显示按钮 */
.show-intro-btn {
    display: none;
    width: 90%;
    max-width: 400px;
    padding: 15px;
    margin: 20px auto;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4d7f 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,107,157,0.3);
    transition: all 0.3s ease;
}

.show-intro-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,157,0.4);
}

/* 遮罩层动画 */
@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.intro-overlay {
    animation: fadeIn 0.3s ease;
}

/* 滚动条样式 */
.intro-overlay-content::-webkit-scrollbar {
    width: 8px;
}

.intro-overlay-content::-webkit-scrollbar-track {
    background: #f8f8f8;
    border-radius: 4px;
}

.intro-overlay-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4d7f 100%);
    border-radius: 4px;
}

/* 响应式设计 */
@media (min-width: 768px) {
    /* 电脑端：显示简介区块，隐藏按钮 */
    .website-intro-block.desktop-only {
        display: block !important;
    }
    .show-intro-btn {
        display: none !important;
    }
    
    /* 遮罩层在电脑端更大 */
    .intro-overlay-content {
        max-width: 800px;
        padding: 40px;
    }
}

@media (max-width: 767px) {
    /* 手机端：隐藏简介区块，显示按钮 */
    .website-intro-block.desktop-only {
        display: none !important;
    }
    .show-intro-btn {
        display: block;
    }
    
    /* 手机端遮罩层适配 */
    .intro-overlay-content {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .close-intro-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}
