/* New Fresh Blue-Purple Theme Styles */

.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;
    flex-wrap: wrap;
    position: relative;
}

.recommend-item-info h3 {
    color: #6366f1;
    font-size: 1rem;
    margin: 0px 10px;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}
.recommend-item-info p {
    display: flex;
    color: #4a5568;
    font-size: 0.8rem;
    margin: 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: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6366f1 100%);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.recommend-item-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.8s ease;
}

.recommend-item-btn:hover::before {
    left: 100%;
}

.recommend-item-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 50%, #6366f1 100%);
}
.recommend-item-btn img {
    width: 28px;
    height: 16px;

}

.qscvs-recommend-content{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 10px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 0 0 16px 16px;
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.qscvs-recommend-content-hot{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 10px 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 244, 246, 0.98) 100%);
    border-radius: 16px;
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.2),
        0 0 0 1px rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.qscvs-recommend-content-hot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #6366f1, #667eea);
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.qscvs-recommend-content img {
    width: 100%;
}



.qscvs-recommend-content-hot img {
    width: 100%;
}

/* Category Grid Styles - New Theme */
.category-grid-container {
    margin: 30px 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-radius: 20px;
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.category-grid-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #6366f1, #667eea);
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
    z-index: 1;
}

.category-title {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.category-title h2 {
    font-size: 1.8rem;
    color: #6366f1;
    margin: 0;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -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: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    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: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 
        0 8px 30px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-decoration: none;
    color: inherit;
    transform-style: preserve-3d;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    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(102, 126, 234, 0.3),
        0 0 0 3px rgba(99, 102, 241, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.5);
    border-color: rgba(102, 126, 234, 0.5);
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
}

.category-item:hover::before {
    opacity: 1;
}

.category-item:hover .category-icon {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.5),
        0 0 0 3px rgba(165, 180, 252, 0.3);
}

.category-item:hover::after {
    transform: scaleX(1);
}

.category-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    background: linear-gradient(145deg, #667eea, #764ba2, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 6px 20px rgba(102, 126, 234, 0.4),
        0 0 0 2px rgba(165, 180, 252, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.category-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #4a5568;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    text-align: center;
    z-index: 2;
    line-height: 1.3;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #6366f1, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-item:hover .category-name {
    text-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@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 2px rgba(0, 0, 0, 0.05);
    }
}

@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 - New Theme */
.seo-content-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.seo-content-section h2 {
    color: #6366f1;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.seo-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-item {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.benefit-item h3 {
    color: #6366f1;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

/* Game Types Section - New Theme */
.game-types-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.game-types-section h2 {
    color: #6366f1;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.game-type-info h3 {
    color: #6366f1;
    font-size: 1.4rem;
    margin: 25px 0 10px 0;
    font-weight: 600;
}

.game-type-info p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Category Subtitle */
.category-subtitle {
    color: #4a5568;
    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;
}

/* Daily Featured Game Section */
.daily-featured-section {
    margin: 30px 20px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.daily-featured-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.daily-featured-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.daily-featured-header h2 {
    color: #ffffff;
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.daily-featured-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.daily-featured-content {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.daily-featured-img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.daily-featured-info {
    flex: 1;
}

.daily-featured-info h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.daily-featured-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.daily-featured-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #ffffff;
    color: #6366f1;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.daily-featured-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
}

/* Game Tips/Guides Section */
.game-tips-section {
    margin: 30px 20px;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 
        0 12px 40px rgba(99, 102, 241, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.15);
}

.game-tips-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.game-tips-header h2 {
    color: #6366f1;
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.game-tips-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background: linear-gradient(145deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tip-card {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.tip-card h3 {
    color: #6366f1;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.tip-card p {
    color: #4a5568;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.tip-tag {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Search Bar Component */
.search-bar-container {
    margin: 20px 20px 30px 20px;
    position: relative;
}

.search-bar {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 30px;
    font-size: 1rem;
    color: #4a5568;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.search-bar::placeholder {
    color: #a0aec0;
}

.search-bar:focus {
    border-color: #6366f1;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(145deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-icon:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.search-icon svg {
    width: 14px;
    height: 14px;
    fill: #ffffff;
}

/* Fun Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    margin: 20px 20px 30px 20px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: #4a5568;
    margin-top: 5px;
}

/* Responsive for new components */
@media (max-width: 768px) {
    .daily-featured-content {
        flex-direction: column;
        text-align: center;
    }
    
    .daily-featured-img {
        width: 100%;
        max-width: 200px;
        height: 200px;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
}
