



.recommend-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    margin: 15px 0px;
    position: relative;
}
.recommend-item a {
    align-items: center;
    justify-self: center;
    text-decoration: none;

}
.recommend-item img {
    width: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.recommend-item-info{
    display: flex;
    flex-direction: column;
    padding: 10px;
    /* align-items:flex-start; */
    flex-wrap: wrap;
    position: relative;
}

.recommend-item-info h3 {
    color: #9c27b0;
    font-size: 1.1rem;
    margin: 10px 10px 5px;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(156, 39, 176, 0.3);
}
.recommend-item-info p {
    display: flex;
    color: #333;
    font-size: 0.85rem;
    margin: 5px 10px 10px;
    font-weight: 500;
}

.recommend-item-btn a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.recommend-item-btn {
    display: flex;
    width: 100%;
    height: 40px;
    background: #ff6b8b;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(255, 107, 139, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #ff477e;
    position: relative;
    overflow: hidden;
}

.recommend-item-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 139, 0.7);
    background: #ff477e;
}

.recommend-item-btn img {
    width: 28px;
    height: 16px;

}

.yudcd-recommend-content{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 10px;
    padding: 20px;
    background: #f8f0ff;
    border-radius: 0 0 16px 16px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e1bee7;
}

.yudcd-recommend-content-hot{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 10px 20px;
    padding: 20px;
    background: #f8f0ff;
    border-radius: 16px;
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #e1bee7;
    position: relative;
}

.yudcd-recommend-content-hot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #9c27b0;
}


.yudcd-recommend-content img {
    width: 100%;
}



.yudcd-recommend-content-hot img {
    width: 100%;
}

/* 分类宫格区域样式 */
.category-grid-container {
    margin: 30px 20px;
    padding: 20px;
    background: #f8f0ff;
    border-radius: 20px;
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #e1bee7;
    position: relative;
}

.category-grid-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #9c27b0;
    z-index: 1;
}


.category-title {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.category-title h2 {
    font-size: 1.8rem;
    color: #9c27b0;
    margin: 0;
    text-shadow: 0 2px 10px rgba(156, 39, 176, 0.4);
    font-weight: 700;
    letter-spacing: 1px;
    background: #9c27b0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 0;
    perspective: 1000px;
}

.category-item {
    position: relative;
    height: 110px;
    background: #4ecdc4;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 3px solid #45b7aa;
    box-shadow: 
        0 8px 25px rgba(78, 205, 196, 0.3);
    text-decoration: none;
    color: inherit;
    transform-style: preserve-3d;
}

.category-item:nth-child(1) { background: #ff6b8b; border-color: #ff477e; box-shadow: 0 8px 25px rgba(255, 107, 139, 0.3); }
.category-item:nth-child(2) { background: #ffd93d; border-color: #ffc107; box-shadow: 0 8px 25px rgba(255, 217, 61, 0.3); }
.category-item:nth-child(3) { background: #4ecdc4; border-color: #45b7aa; box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3); }
.category-item:nth-child(4) { background: #45b7d1; border-color: #2196f3; box-shadow: 0 8px 25px rgba(69, 183, 209, 0.3); }
.category-item:nth-child(5) { background: #96ceb4; border-color: #7cb342; box-shadow: 0 8px 25px rgba(150, 206, 180, 0.3); }
.category-item:nth-child(6) { background: #ff9ff3; border-color: #e040fb; box-shadow: 0 8px 25px rgba(255, 159, 243, 0.3); }
.category-item:nth-child(7) { background: #54a0ff; border-color: #2196f3; box-shadow: 0 8px 25px rgba(84, 160, 255, 0.3); }
.category-item:nth-child(8) { background: #ff6b6b; border-color: #f44336; box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3); }


.category-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.category-item:hover {
    transform: translateY(-10px) rotateX(5deg) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(255, 255, 255, 0.4);
}

.category-item:hover::after {
    transform: scaleX(1);
}

.category-item:hover .category-icon {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(255, 255, 255, 0.2);
}


.category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-icon svg {
    width: 20px;
    height: 20px;
    fill: #333;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.category-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.5);
    text-align: center;
    z-index: 2;
    line-height: 1.3;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.category-item:hover .category-name {
    text-shadow: 
        0 3px 6px rgba(255, 255, 255, 0.7);
    color: #fff;
}


/* 响应式设计 */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .category-item {
        height: 105px;
    }
}

@media (max-width: 768px) {
    .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;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-item {
        height: 80px;
    }
    
    .category-title h2 {
        font-size: 1.5rem;
    }
}

/* SEO Content Section Styles */
.seo-content-section {
    background: #f8f0ff;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e1bee7;
}

.seo-content-section h2 {
    color: #9c27b0;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(156, 39, 176, 0.3);
}

.seo-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e1bee7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(156, 39, 176, 0.2);
    border-color: #9c27b0;
}

.benefit-item h3 {
    color: #9c27b0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

/* Game Types Section */
.game-types-section {
    background: #f8f0ff;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 15px;
    border: 2px solid #e1bee7;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.game-types-section h2 {
    color: #9c27b0;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(156, 39, 176, 0.3);
}

.game-type-info h3 {
    color: #9c27b0;
    font-size: 1.4rem;
    margin: 25px 0 10px 0;
    font-weight: 600;
}

.game-type-info p {
    color: #333;
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Category Subtitle */
.category-subtitle {
    color: #333;
    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;
}




