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

/* 字体设置 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', Roboto, sans-serif;
    line-height: 1;
    color: #333;
    background: #f5f7fa;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 添加漂浮粒子 - 改回紫色 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
ul,li{list-style: none; }
a{color: #333;text-decoration: none;outline: none;}
a:hover{color: #0367fd;text-decoration: underline;}
/* logo  */
.logo-box {
    width: 1300px;
    display: flex;
    overflow: hidden;
    margin: 0 auto;
    align-items: center;
}
.logo-left {
    position: relative;
    width: 252px;
    height: 70px;
    cursor: pointer;
}
.logo-left img {display: block;margin:15px auto 0 auto;width: 252px;height: 55px;}
.logo-right {
    width: 100%;
    color: rgba(0, 0, 0, 1);
    height: 70px;
    text-align: right;
    padding-top: 22px;
    vertical-align: middle;
}
.logo-right img{width: 20px; height: 20px; margin:-5px 3px 0 0;vertical-align: middle;}
.logo-right a{padding: 5px 5px 5px 5px;font-size: 16px;color: #333;text-decoration: none;border-radius:2px;opacity:0.95;filter:alpha(opacity=95); -moz-opacity:0.95; opacity:0.95;background:#fff;box-shadow: 0 0 3px rgb(0 0 0 / 10%);}
.logo-right a:hover{color: #0367fd;text-decoration: underline;}
/* logo end  */

/* 主容器 */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}


/* 搜索框 start */
.search-section {
    display: grid;
    margin-top: 30px;
    margin-bottom: 20px;
    z-index: 100;
    justify-content: center;
}
.search-section {
    position: relative;
    display: flex;
    justify-content: center;
}
.search-left {
    display: flex;
    width: 677px;
    height: 54px;
    line-height: 20px;
    border: 1px solid rgba(217, 217, 217, 0.96);
    background:#ffffff;box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
}
.search-logo {
    width: 40px;
    align-items: center;
    justify-content: center;
    background: url("/images/scgoogle.png") center center no-repeat;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: alpha(opacity=20);
    -moz-opacity: 0.2;
    -khtml-opacity: 0.2;
    opacity: 0.2;
    cursor: pointer;
}
.search-logo:hover {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}
.search-methods {
    display: none;
    position: absolute;
    top: 54px;
    width: 130px;
    font-size: 0.95rem;
    border: 1px solid rgba(217, 217, 217, 0.96);
    background-color: #fff;
}
.search-methods li {
    padding-left: 39px;
    background: url("/images/scgoogle.png") 10px no-repeat;
    overflow: hidden;
    height: 34px;
    line-height: 34px;
    color: #545454;
    cursor: pointer;
}
.search-logo.baidu, li.baidu {
    background-image: url("https://www.baidu.com/favicon.ico");
    background-size: 26px 26px;
}
.search-logo.bing, li.bing {
    background-image: url("https://pp.myapp.com/ma_icon/0/icon_80858_1672391327/256");
    background-size: 28px 28px;
}
.search-logo.sogou, li.sogou {
    background-image: url("https://sogou.com/images/logo/new/favicon.ico");
    background-size: 24px 24px;
}
.search-logo.wangpan, li.wangpan {
    background-image: url("https://pp.myapp.com/ma_icon/0/icon_54381914_1753928663/256");
    background-size: 26px 26px;
}
.search-logo.so, li.so {
    background-image: url("https://ss.360tres.com/static/121a1737750aa53d.ico");
    background-size: 26px 26px;
}
.search-logo.google, li.google {
    background-image: url("https://pp.myapp.com/ma_icon/0/icon_2679_1744013716/256");
    background-size: 28px 28px;
}

.search-methods .search-item:hover {
    background-color: #f0f0f0;
}

.search-result {
    display: none;
    position: absolute;
    width: 637px;
    top: 55px;
    border: 1px solid rgba(187, 187, 187, 1);
    background-color: #fff;
}
.result-item {
    height: 34px;
    line-height: 34px;
    padding-left: 15px;
}
.result-item.active {
    background: #F0F0F0;
}
.result-item:hover {
    background-color: #eee;
    cursor: pointer;
}

.input-wrap {
    position: relative;
    flex: 1;
}
.input-wrap .search-input {
    height: 52px;
    width: 100%;
    outline: 0;
    border: 0;
    font-size: 0.95rem;
    padding-left: 15px;
}

.input-wrap .clear-keyword {
    display: none;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #d2d2d2;
    font-size: 0.95rem;
}

.search-submit {
    width: 123px;
    height: 54px;
    line-height: 26px;
    background-color: #0367fd;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: 35px 35px;
    background-size: 35px 35px;
    color: #fff;
    font-size:1.5rem;
    font-weight: 500;
    text-align: center;
    font-family: Roboto;
    border: 1px solid #0367fd;
    cursor: pointer;
    background: linear-gradient(90deg,#0367fd,#455bfb);
    box-shadow: 2px 5px 10px rgb(0 0 0 / 15%);
}

/* 搜索框 end */

.category-top {width: 100%;margin:1rem 0;position: relative;border-radius:4px;border: 1px solid #e8ebf9; background:#fff;overflow: hidden;box-shadow: 0 0 2px rgb(0 0 0 / 10%);}
.category-top a{color: #FF0000; font-size: 0.98rem;overflow: hidden;}
.category-top a:hover{color: #0367fd;text-decoration: underline;}
.category-top ul{white-space: nowrap;overflow: hidden;overflow: hidden;}
.category-top li{display: block;float: left;line-height: 2.5rem;margin:0 5px 0 5px;overflow: hidden;}
.category-top ul li img{width: 20px; height: 20px; margin:-5px 5px 0 0;vertical-align: middle;}

/* 广告区域样式 - 移到顶部 */
.ad-section {
    background: #fff;
    border-radius: 3px;
    padding: 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    padding: 0.5rem 0.5rem;
    border: 1px solid #e8ebf9;
}

.ad-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
}

.ad-title {
    font-size: 1rem;
    font-weight: 600;
    color: #c084fc;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(196, 181, 253, 0.3);
}

.ad-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px;
    line-height: 1;
    font-size: 0.98rem;
}

.ad-links a{color: #333; font-size: 0.98rem;text-decoration: none;line-height: 1;}
.ad-links a:hover{color: #0367fd;text-decoration: underline;}

.ad-link {
    text-decoration: none;
    padding: 0.41rem 0.41rem;
    margin: 0.3rem 0rem 0.3rem 0rem;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 4px;
}
.ad-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 5px #ccc;
}
.yellow{background:#faff72;font-weight: 600;}/*黄色*/
.red{background:#f47983;font-weight: 600;}/*红色*/
.Black{background:#c2ccd0;font-weight: 600;}/*黑色*/
.green{background:#bce672 !important;font-weight: 600;}/*绿色*/
.purple{background:#cca4e3;font-weight: 600;}/*紫色*/
.blue{background:#70f3ff;font-weight: 600;}/*蓝色*/
.gray{background:#f0f0f4;font-weight: 600;}/*灰色*/
.tuijian{background:#f47983;color: #FF0000;}/*红色*/


/* 主要内容区域 */
.main {
    display: grid;
    margin-bottom: 0rem;
    padding-bottom: 0rem;
    flex: 1;
}

/* 分类卡片样式 - 移除流动边框特效 */
.category-card {
    border-radius: 3px;
    padding: 0.5rem 0 0 0.5rem 0rem;;
    margin-bottom: 0.8rem;
    position: relative;
    overflow: hidden;
}

/* 发光效果 - 改回紫色 */


/* 分类头部 */
.category-header {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8ebf9;
}

.category-icon {
    font-size: 1rem;
    margin-right: 0.75rem;
    display: inline-block;
    color: #333;
}


.category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
    margin-right: 1.5rem;
}

/* 链接网格 */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0rem;
}

/* 导航链接样式 */
.nav-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.3rem;
    margin: 0.3rem 0.3rem 0.3rem 0.3rem;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    font-size: 0.98rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    background:#fff;
}


.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #0367fd;
    transform: translateY(-1px);
    box-shadow: 0 3px 5px #ccc;
}

/* 图标样式 */
.link-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.2rem;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* 网站favicon图标样式 */
.site-favicon {
    width: 20px;
    height: 20px;
    margin-right: 0.2rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.nav-link:hover .link-icon,
.nav-link:hover .site-favicon {
background: rgba(196, 181, 253, 0.25);
}

/* footer 页面底部 */
.link {width:100%;border: 1px solid #e8ebf9;border-radius: 4px;-moz-box-shadow: 1px 2px 2px #e8ebf9;font-size:0.8rem;background:#fff;}
.link ul li {margin: 0.5rem;}
.link ul li a{margin: 0 0.45rem 0 0.45rem;height: 22px;line-height: 22px;}
.link ul li a:hover {text-decoration: underline;color: #0367fd;}
.linktop {width:100%;border-bottom: 1px solid #e8ebf9;height: 36px;background: url(../images/link.png) 8px 7px no-repeat;}
.linktop span {margin-left: 40px;line-height: 36px;}

/* 底部样式 */
.footer {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #e8ebf9;
    margin-top: auto;
    position: relative;
    line-height: 1.5rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
}

.footer p {
    color: #333;
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0.2rem;
    }
    
.logo-box {
    width: 100%;
    display: flex;
    overflow: hidden;
    margin: 0 auto;
    align-items: center;
    height: 40px;
}
.logo-left {
    position: relative;
    width: 138px;
    height: 40px;
    cursor: pointer;
}
.logo-left img {display: block;margin:5px auto;width: 138px;height: 30px;}
.logo-right {
    width: 100%;
    color: rgba(0, 0, 0, 1);
    vertical-align: middle;
}
.logo-right img{width: 0.36rem; height: 0.36rem; margin:0;vertical-align: middle;}
.logo-right a{font-size: 0.36rem;color: #333;margin:0;padding: 0;text-decoration: none;}
.logo-right a:hover{color: #0367fd;text-decoration: underline;}

/* 搜索框 start */
.search-section {
    padding: 0 1.5rem;
    width: 100%;
    display: grid;
    margin-top: 30px;
    margin-bottom: 10px;
    z-index: 100;
    justify-content: center;
}
.search-section {
    position: relative;
    display: flex;
    justify-content: center;
}
.search-left {
    display: flex;
    width: 100%;
    height: 54px;
    line-height: 20px;
    border: 1px solid rgba(217, 217, 217, 0.96);
    background:#ffffff;
}
.search-logo {
    width: 40px;
    align-items: center;
    justify-content: center;
    background: url("/images/scgoogle.png") center center no-repeat;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: alpha(opacity=20);
    -moz-opacity: 0.2;
    -khtml-opacity: 0.2;
    opacity: 0.2;
    cursor: pointer;
}
.search-logo:hover {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}
.search-methods {
    display: none;
    position: absolute;
    top: 54px;
    width: 120px;
    font-size: 0.85rem;
    border: 1px solid rgba(217, 217, 217, 0.96);
    background-color: #fff;
}
.search-methods li {
    padding-left: 39px;
    background: url("/images/scgoogle.png") 10px no-repeat;
    overflow: hidden;
    height: 34px;
    line-height: 34px;
    color: #545454;
    cursor: pointer;
}
.search-logo.baidu, li.baidu {
    background-image: url("https://www.baidu.com/favicon.ico");
    background-size: 26px 26px;
}
.search-logo.bing, li.bing {
    background-image: url("https://pp.myapp.com/ma_icon/0/icon_80858_1672391327/256");
    background-size: 28px 28px;
}
.search-logo.sogou, li.sogou {
    background-image: url("https://sogou.com/images/logo/new/favicon.ico");
    background-size: 24px 24px;
}
.search-logo.wangpan, li.wangpan {
    background-image: url("https://pp.myapp.com/ma_icon/0/icon_54381914_1753928663/256");
    background-size: 26px 26px;
}
.search-logo.so, li.so {
    background-image: url("https://ss.360tres.com/static/121a1737750aa53d.ico");
    background-size: 26px 26px;
}
.search-logo.google, li.google {
    background-image: url("https://pp.myapp.com/ma_icon/0/icon_2679_1744013716/256");
    background-size: 28px 28px;
}

.search-methods .search-item:hover {
    background-color: #f0f0f0;
}

.search-result {
    display: none;
    position: absolute;
    width: 100%;
    top: 55px;
    border: 1px solid rgba(187, 187, 187, 1);
    background-color: #fff;
}
.result-item {
    height: 34px;
    line-height: 34px;
    padding-left: 15px;
}
.result-item.active {
    background: #F0F0F0;
}
.result-item:hover {
    background-color: #eee;
    cursor: pointer;
}

.input-wrap {
    position: relative;
    flex: 1;
}
.input-wrap .search-input {
    height: 52px;
    width: 100%;
    outline: 0;
    border: 0;
    font-size: 0.85rem;
    padding-left: 0.3rem;
}

.input-wrap .clear-keyword {
    display: none;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #d2d2d2;
    font-size: 0.85rem;
}

.search-submit {
    width: 80px;
    height: 54px;
    line-height: 26px;
    background-color: #0367fd;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    font-size:1rem;
    font-weight: 500;
    text-align: center;
    font-family: Roboto;
    border: 1px solid #0367fd;
    cursor: pointer;
    background: linear-gradient(90deg,#0367fd,#455bfb);
}

/* 搜索框 end */

    .ad-links {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0rem;

    }
    .ad-links a{font-size: 0.8rem;}
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0rem;
        
    }
    
    .nav-link {
        padding: 0.2rem 0.2rem;
        line-height: 2rem;
        font-size: 1.1rem;
    }
    
    .ad-link {
        width: 100%;
        text-align: center;
    }
    
    .category-top li{display: block;float: left;line-height: 0.6rem;margin:0.2rem 0.2rem;overflow: hidden;}
    .category-top a{color: #FF0000; font-size: 0.6rem;overflow: hidden;}
    .category-top ul li img{width: 0.6rem; height: 0.6rem; margin:0px 0.1rem 0 0;vertical-align: middle;}
    .footer p {font-size: 0.6rem;}
    
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
    }
    
    .logo-box {
    width: 100%;
    display: flex;
    overflow: hidden;
    margin: 0 auto;
    align-items: center;
    height: 40px;
}
.logo-left {
    position: relative;
    width: 138px;
    height: 40px;
    cursor: pointer;
}
.logo-left img {display: block;margin:5px auto;width: 138px;height: 30px;}
.logo-right {
    width: 100%;
    color: rgba(0, 0, 0, 1);
    vertical-align: middle;
}
.logo-right img{width: 0.36rem; height: 0.36rem; margin:0;vertical-align: middle;}
.logo-right a{font-size: 0.36rem;color: #333;margin:0;padding: 0;text-decoration: none;}
.logo-right a:hover{color: #0367fd;text-decoration: underline;}

    
    .ad-links {
        padding: 0.2rem 0.2rem;
        grid-template-columns: 1fr 1fr;
    }
    .ad-links a{font-size: 0.8rem;}
    .links-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ad-links {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 0rem;
}
    .category-top li{display: block;float: left;line-height: 0.6rem;margin:0.2rem 0.2rem;overflow: hidden;}
    .category-top a{color: #FF0000; font-size: 0.6rem;overflow: hidden;}
    .category-top ul li img{width: 0.6rem; height: 0.6rem; margin:0px 0.1rem 0 0;vertical-align: middle;}
    .footer p {font-size: 0.6rem;}

/* 自定义动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05);
    }
}

@keyframes particleFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

@keyframes subtleFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes titleGlow {
    0%, 100% { 
        opacity: 0.3; 
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes subtitlePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

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

@keyframes footerGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes adGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.category-card {
    animation: fadeInUp 0.8s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }

