/* Category Page Styles */

/* Category Hero Section */
.category-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.category-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-size: 2.5rem;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.category-info-text {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 900px;
    margin: 1.5rem auto 0;
    line-height: 1.9;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Category Introduction Section */
.category-introduction {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
    position: relative;
}

.category-introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(102, 126, 234, 0.2), transparent);
}

.category-intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.category-intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.category-intro-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 2px;
    margin: 1.5rem auto 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Gaming Tips Section */
.gaming-tips-section {
    padding: 5rem 0;
    background: white;
}

.gaming-tips-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tip-item {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tip-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #667eea, #764ba2);
    transition: left 0.4s ease;
}

.tip-item:hover::before {
    left: 0;
}

.tip-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.tip-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.tip-item p {
    color: #555;
    line-height: 1.9;
    font-size: 1.05rem;
}

.intro-cards {
    max-width: 900px;
    margin: 4rem auto 0;
    text-align: left;
}

.intro-card {
    margin-bottom: 3.5rem;
    position: relative;
    padding-left: 7rem;
    transition: transform 0.3s ease;
}

.intro-card:last-child {
    margin-bottom: 0;
}

.intro-card:hover {
    transform: translateX(10px);
}

.intro-card-icon {
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.intro-card:hover .intro-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.intro-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.intro-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.intro-card:hover h3::after {
    width: 100%;
}

.intro-card p {
    color: #555;
    line-height: 2;
    font-size: 1.12rem;
    text-align: left;
    font-weight: 400;
}

/* Top Games Section */
.top-games-section {
    padding: 4rem 0;
    background: white;
}

.top-games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* All Category Games Section */
.all-category-games {
    padding: 4rem 0;
    background: #f8f9fa;
}

.all-category-games h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: flex-end;
}

.filter-bar label {
    font-weight: 600;
    color: #555;
}

.filter-bar select {
    padding: 0.6rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-bar select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Game Card Description & Button */
.game-card-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.8rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3rem;
}

.game-card-btn {
    display: inline-block;
    width: 100%;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.game-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8f 100%);
}

/* Disclaimer Section */
.disclaimer-section {
    background: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.disclaimer-section p {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer Disclaimer - Remove old styles */
/* .footer-disclaimer styles removed as it's now in separate section */

/* Responsive Design */
@media (max-width: 768px) {
    .category-hero h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .category-icon {
        width: 3rem;
        height: 3rem;
        font-size: 2rem;
    }
    
    .category-info-text {
        font-size: 1.05rem;
        padding: 0 1.5rem;
    }
    
    .category-intro-content h2 {
        font-size: 2rem;
    }
    
    .intro-cards {
        margin-top: 3rem;
    }
    
    .intro-card {
        padding-left: 0;
        margin-bottom: 3rem;
    }
    
    .intro-card-icon {
        position: static;
        margin-bottom: 1.2rem;
        width: 65px;
        height: 65px;
        font-size: 2.3rem;
    }
    
    .intro-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .intro-card p {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tip-item {
        padding: 2rem;
    }
    
    .gaming-tips-section h2 {
        font-size: 2rem;
    }
}
