



/* 搜索框样式 */
.search-container {
    margin: 20px;
    position: relative;
    z-index: 100;
}

.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 24px;
    padding: 10px 20px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.08), -2px -2px 6px rgba(255, 255, 255, 0.8);
    border: 1px solid #d0e8f0;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.12), -3px -3px 8px rgba(255, 255, 255, 0.9);
    border-color: #2a9d8f;
    transform: translateY(-1px);
}

.search-icon {
    color: #2a9d8f;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: #264653;
    transform: scale(1.1);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #2c3e50;
    font-size: 1rem;
    padding: 8px 0;
    font-weight: 500;
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

.search-clear-btn {
    background: #2a9d8f;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
}

.search-clear-btn:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 8px rgba(42, 157, 143, 0.3);
}

.search-clear-btn:active {
    transform: scale(0.95);
}

.search-clear-btn svg {
    width: 14px;
    height: 14px;
}

/* 搜索结果样式 */
.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid #d0e8f0;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 8px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #2a9d8f;
    border-radius: 8px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #264653;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #dce8ec;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f0f8fc;
    padding-left: 24px;
}

.search-result-item:active {
    background: #e0f0f5;
}

.search-result-img {
    width: 60px;
    height: 60px;
    border-radius: 2px;
    object-fit: cover;
    margin-right: 15px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-result-item:hover .search-result-img {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-desc {
    color: #5a7a8a;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-no-results {
    padding: 30px 20px;
    text-align: center;
    color: #5a7a8a;
    font-size: 1rem;
    opacity: 0.7;
}

.search-no-results svg {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    color: #2a9d8f;
    opacity: 0.5;
}

/* 热门游戏横向滚动展示区域 */
.hot-games-scroll-container {
    position: relative;
    margin: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.08), -4px -4px 12px rgba(255, 255, 255, 0.8);
    background: #ffffff;
    border: 1px solid #d0e8f0;
    padding: 24px 20px;
}

.hot-games-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px 16px 4px;
    scrollbar-width: thin;
    scrollbar-color: #2a9d8f #f0f8fc;
}

.hot-games-scroll::-webkit-scrollbar {
    height: 8px;
}

.hot-games-scroll::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 8px;
}

.hot-games-scroll::-webkit-scrollbar-thumb {
    background: #2a9d8f;
    border-radius: 8px;
}

.hot-games-scroll::-webkit-scrollbar-thumb:hover {
    background: #264653;
}

.hot-game-item {
    flex-shrink: 0;
    width: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.hot-game-item:hover {
    transform: translateY(-6px);
}

.hot-game-item-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.06), -4px -4px 10px rgba(255, 255, 255, 0.8);
    border: 1px solid #d0e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hot-game-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2a9d8f;
    border-radius: 16px 16px 0 0;
}

.hot-game-item:hover .hot-game-item-card {
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.1), -6px -6px 16px rgba(255, 255, 255, 0.9);
    border-color: #2a9d8f;
    background: #f0f8fc;
}

.hot-game-item-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08);
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
}

.hot-game-item:hover .hot-game-item-img {
    border-color: #dce8ec;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}

.hot-game-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* 可滚动的游戏展示区域 */
.idvbzk-recommend-content-scrollable {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 10px;
    padding: 20px;
    background: #faf7f5;
    border-radius: 16px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.06), -4px -4px 10px rgba(255, 255, 255, 0.8);
    border: 1px solid #e8d8d0;
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e8917a #faf7f5;
}

.idvbzk-recommend-content-scrollable::-webkit-scrollbar {
    width: 8px;
}

.idvbzk-recommend-content-scrollable::-webkit-scrollbar-track {
    background: #faf7f5;
    border-radius: 8px;
}

.idvbzk-recommend-content-scrollable::-webkit-scrollbar-thumb {
    background: #e8917a;
    border-radius: 8px;
}

.idvbzk-recommend-content-scrollable::-webkit-scrollbar-thumb:hover {
    background: #d47a65;
}

.recommend-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    background: #faf7f5;
    padding: 8%;
    border: 1px solid #e8d8d0;
    border-radius: 16px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.06), -3px -3px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.recommend-item:hover {
    transform: translateY(-4px);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1), -4px -4px 12px rgba(255, 255, 255, 0.9);
    border-color: #e8917a;
}

.recommend-item a {
    align-items: center;
    justify-self: center;
    text-decoration: none;
    width: 100%;

}
.recommend-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.recommend-item img:hover {
    transform: scale(1.02);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.12);
}

.recommend-item-info{
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.recommend-item-info h3 {
    color: #333333;
    font-size: clamp(0.75rem, 2.5vw, 0.95rem);
    margin: 0;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recommend-item-info p {
    display: flex;
    color: #666666;
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    margin: 6px 0 0 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommend-item-btn a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.recommend-item-btn {
    display: flex;
    width: 100%;
    height: 40px;
    background: #e8917a;
    border-radius: 12px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.recommend-item-btn:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.12);
    background: #d47a65;
}
.recommend-item-btn img {
    width: 28px;
    height: 16px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.recommend-item-btn:hover img {
    transform: scale(1.05);
}

.idvbzk-recommend-content{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 10px;
    padding: 20px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.idvbzk-recommend-content-hot{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 10px 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.idvbzk-recommend-content-hot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e8917a;
}

@keyframes gradientFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.idvbzk-recommend-content img {
    width: 100%;
}



.idvbzk-recommend-content-hot img {
    width: 100%;
}

/* 分类宫格区域样式 */
.category-grid-container {
    margin: 35px 20px;
    padding: 30px;
    background: #faf7f5;
    border-radius: 16px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.06), -4px -4px 10px rgba(255, 255, 255, 0.8);
    border: 1px solid #e8d8d0;
    position: relative;
    overflow: hidden;
}

.category-grid-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e8917a;
    z-index: 1;
    border-radius: 16px 16px 0 0;
}

.category-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.category-title h2 {
    font-size: 1.9rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #333333;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0;
    perspective: 1000px;
}

.category-item {
    position: relative;
    height: 120px;
    background: #faf7f5;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e8d8d0;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.06), -3px -3px 8px rgba(255, 255, 255, 0.8);
    text-decoration: none;
    color: inherit;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(232, 145, 122, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e8917a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 0 0 16px 16px;
}

.category-item:hover {
    transform: translateY(-4px);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1), -4px -4px 12px rgba(255, 255, 255, 0.9);
    border-color: #e8917a;
    background: #faf7f5;
}

.category-item:hover::before {
    opacity: 1;
}

.category-item:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.12);
}

.category-item:hover::after {
    transform: scaleX(1);
}

.category-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
    background: #e8917a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.category-icon svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.category-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333333;
    text-align: center;
    z-index: 2;
    line-height: 1.3;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.category-item:hover .category-name {
    color: #4a90d9;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .category-item {
        height: 105px;
    }
    
    .idvbzk-recommend-content-scrollable {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .carousel-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .search-container {
        margin: 15px;
    }
    
    .search-box {
        padding: 6px 15px;
        border-radius: 20px;
    }
    
    .search-input {
        font-size: 0.9rem;
    }
    
    .search-result-img {
        width: 50px;
        height: 50px;
    }
    
    .search-result-title {
        font-size: 0.9rem;
    }
    
    .search-result-desc {
        font-size: 0.8rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-item {
        height: 95px;
        border-radius: 16px;
    }
    
    .category-icon {
        width: 38px;
        height: 38px;
    }
    
    .category-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .category-name {
        font-size: 0.88rem;
    }
    
    .idvbzk-recommend-content-scrollable {
        grid-template-columns: repeat(2, 1fr);
        max-height: 400px;
    }
    
    .hot-games-scroll-container {
        margin: 15px;
        padding: 18px 15px;
    }
    
    .hot-game-item {
        width: 120px;
    }
    
    .hot-game-item-card {
        padding: 10px;
    }
    
    .hot-game-item-name {
        font-size: 0.8rem;
    }
    
    .idvbzk-category-nav {
        gap: 5px;
    }
    
    .category-nav-item {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .category-item {
        height: 80px;
    }
    
    .category-title h2 {
        font-size: 1.5rem;
    }
    
    .idvbzk-recommend-content-scrollable {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px;
        max-height: 350px;
    }
    
    .hot-games-scroll-container {
        margin: 10px;
        padding: 15px 10px;
    }
    
    .hot-game-item {
        width: 100px;
    }
    
    .hot-game-item-card {
        padding: 8px;
    }
    
    .hot-game-item-name {
        font-size: 0.75rem;
    }
}

/* SEO Content Section Styles */
.seo-content-section {
    background: #f5f9fa;
    padding: 45px 20px;
    margin: 45px 20px;
    border-radius: 16px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.06), -4px -4px 10px rgba(255, 255, 255, 0.8);
    border: 1px solid #dce8ec;
}

.seo-content-section h2 {
    color: #5a8a9a;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 35px;
    font-weight: 700;
}

.seo-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 35px;
}

.benefit-item {
    background: #f5f9fa;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #dce8ec;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.06), -3px -3px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    background: #e8f0f2;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1), -4px -4px 12px rgba(255, 255, 255, 0.9);
    border-color: #8fb8c4;
}

.benefit-item h3 {
    color: #5a8a9a;
    font-size: 1.4rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.benefit-item p {
    color: #666666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Game Types Section */
.game-types-section {
    background: #f5f9fa;
    padding: 45px 30px;
    margin: 45px 20px;
    border-radius: 16px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.06), -4px -4px 10px rgba(255, 255, 255, 0.8);
    border: 1px solid #dce8ec;
}

.game-types-section h2 {
    color: #5a8a9a;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 35px;
    font-weight: 700;
}

.game-type-info h3 {
    color: #5a8a9a;
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 107, 157, 0.15);
}

.game-type-info p {
    color: #666666;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Category Subtitle */
.category-subtitle {
    color: #666666;
    font-size: 1.2rem;
    text-align: center;
    margin: 20px 0 40px 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}




