/*.zhengchang_span:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.4);
    background: linear-gradient(135deg, #66a9ff 0%, #409eff 100%);
}*/

.zhengchang_span {
    background: linear-gradient(135deg, #16b777 0%, #16b777 100%);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.3);
    position: relative;
    overflow: hidden;
}


.weihu_span {
    background: linear-gradient(135deg, #c08d0ac7 0%, #b58a1b 100%);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.3);
    position: relative;
    overflow: hidden;
}


.mianfei_span {
    background: linear-gradient(135deg, #dd6843 0%, #f14008 100%);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.3);
    position: relative;
    overflow: hidden;
}


body#box {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 0;
}

.container {
    position: sticky;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
    z-index: 1000;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-item {
    position: relative;
    padding: 25px;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 4px 20px rgba(64, 158, 255, 0.08);
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(64, 158, 255, 0.2);
    border-color: #409eff;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #409eff, #66a9ff, #409eff);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-item:hover::before {
    opacity: 1;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.usage-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 12px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
    min-width: 50px;
    text-align: center;
}

.usage-badge.hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    animation: glow 2s ease-in-out infinite alternate;
}

.usage-badge.popular {
    background: linear-gradient(135deg, #ffa502 0%, #ff6348 100%);
}

.usage-badge.new {
    background: linear-gradient(135deg, #2ed573 0%, #17a2b8 100%);
}

@keyframes glow {
    0% { 
        box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
        transform: scale(1);
    }
    100% { 
        box-shadow: 0 5px 20px rgba(255, 107, 107, 0.6);
        transform: scale(1.05);
    }
}

.product-desc {
    font-size: 15px;
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 25px;
    min-height: 65px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-stats {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.eval-btn {
    background: linear-gradient(135deg, #409eff 0%, #66a9ff 100%);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.eval-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.eval-btn:hover::before {
    left: 100%;
}

.eval-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.4);
    background: linear-gradient(135deg, #66a9ff 0%, #409eff 100%);
}

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

.hot-tool {
    position: relative;
}

.hot-tool::after {
    content: '🔥';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 24px;
    animation: flame 2s ease-in-out infinite alternate;
    z-index: 10;
}

@keyframes flame {
    0% { 
        transform: rotate(-10deg) scale(1);
        filter: hue-rotate(0deg);
    }
    100% { 
        transform: rotate(10deg) scale(1.1);
        filter: hue-rotate(20deg);
    }
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    padding: 25px;
    margin-bottom: 35px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-box {
    flex: 1 1 100%;
    max-width: 100%;
    position: relative;
}

.filter-tabs {
    flex: 1 1 100%;
    display: flex;
    gap: 12px;
    padding-top: 10px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e8ecf0;
    border-radius: 30px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.search-input:focus {
    border-color: #409eff;
    box-shadow: 0 0 20px rgba(64, 158, 255, 0.2);
    outline: none;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #409eff, #66a9ff);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.4);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 15px;
    max-width: 100vw;
    box-sizing: border-box;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 2px solid #e8ecf0;
    border-radius: 25px;
    background: white;
    color: #5a6c7d;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    max-width: calc(100vw - 40px); 
    box-sizing: border-box;
    white-space: normal;
}

.filter-tab-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
}



.filter-tab.active {
    border-color: #409eff;
    background: linear-gradient(135deg, #409eff, #66a9ff);
    color: white;
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.3);
}

.filter-tab:hover:not(.active) {
    border-color: #409eff;
    color: #409eff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .product-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .toolbar {
        align-items: unset;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .search-box {
        max-width: 100%;
    }

    .filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .product-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .container {
        padding: 0 10px;
    }

    .product-item {
        padding: 20px;
    }

    .product-title {
        font-size: 18px;
    }

    .usage-badge {
        font-size: 12px;
        padding: 4px 8px;
    }
}

.footer-note {
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 10px;
    backdrop-filter: blur(20px);
    color: #000;
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
    user-select: text;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.container {
    padding-bottom: 100px; /* 防止内容被底部导航遮挡 */
}


.layui-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.layui-logo {
    font-size: 20px !important;
    font-weight: 700 !important;
}

.product-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-wrapper-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    user-select: none;
    position: relative;
    padding-bottom: 15px;
}

.product-wrapper-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #409eff, #66a9ff);
    border-radius: 2px;
}

.loading-animation {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #409eff, #66a9ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(64, 158, 255, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
}

.back-to-top.show {
    opacity: 1;
    transform: scale(1);
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(64, 158, 255, 0.5);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
.logo-gradient {
    background: linear-gradient(270deg, #0000CD, #87CEEB, #7FFFD4, #FFD700, #FF8C00, #FF7F50, #696969);
    background-size: 1400% 1400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientJump 7s steps(7) infinite;
    display: inline-block;
    transform: skew(-10deg);
}

@keyframes gradientJump {
    0% {
        background-position: 0% 50%;
    }
    14.28% {
        background-position: 100% 50%;
    }
    28.56% {
        background-position: 0% 50%;
    }
    42.84% {
        background-position: 100% 50%;
    }
    57.12% {
        background-position: 0% 50%;
    }
    71.4% {
        background-position: 100% 50%;
    }
    85.68% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}
