/**
 * 球盟会官网PC主题样式文件
 */

/* 响应式断点 */
@media (max-width: 768px) {
    .main-wrap {
        flex-direction: column !important;
        margin-top: 2% !important;
    }
    
    .main-wrap > img {
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }
    
    .list-wrap > div {
        width: 90% !important;
        max-width: 300px !important;
        margin: 0 auto 20px auto !important;
    }
    
    .mask-wraps {
        width: 90% !important;
        max-width: 400px !important;
        height: auto !important;
        min-height: 500px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .mask-wraps > div {
        width: 100% !important;
        float: none !important;
        padding: 20px !important;
        text-align: center !important;
    }
    
    .mask-wraps .scan-code {
        width: 100% !important;
        max-width: 250px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    .section-wrap {
        padding: 10px !important;
    }
    
    .logo img {
        max-width: 200px !important;
    }
    
    .list-wrap > div {
        font-size: 16px !important;
        height: 60px !important;
        line-height: 60px !important;
    }
    
    .list-wrap > div > img {
        width: 25px !important;
        height: 25px !important;
    }
    
    .mask-wraps {
        width: 95% !important;
        max-width: 350px !important;
    }
}

/* 触摸设备样式 */
.touch-active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease;
}

/* 加载动画 */
.section-wrap {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

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

/* 移除悬停效果 */
.list-wrap > div {
    /* 移除过渡效果 */
}

/* 弹窗动画 */
.mask-wraps {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mask-wraps.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.mask-wraps.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
}

/* 二维码样式优化 */
.code-box {
    transition: transform 0.2s ease;
}

.code-box:hover {
    transform: scale(1.05);
}

/* 链接样式 */
.link, .link2 {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

#kf a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    width: 100%;
    height: 100%;
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .list-wrap > div {
        border: 2px solid #000;
    }
    
    .mask-wraps .scan-code {
        border: 2px solid #000;
    }
}

/* 打印样式 */
@media print {
    .section-wrap {
        background: none !important;
        color: #000 !important;
    }
    
    .mask-wraps {
        display: none !important;
    }
    
    .list-wrap > div {
        background: #fff !important;
        border: 1px solid #000 !important;
        color: #000 !important;
    }
} 