/* Homepage Specific Styles */

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: radial-gradient(circle at 30% 50%, rgba(107, 70, 193, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
}

/* Promo Cards */
.promo-cards {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.promo-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.main-promo {
    background: linear-gradient(135deg, rgba(26,26,46,0.5) 0%, rgba(15,15,26,0) 100%), url('images/1.avif') center/cover no-repeat;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.main-promo .promo-content h2 {
    font-size: 2rem;
    color: #fbbf24;
    margin-bottom: 1rem;
    font-weight: 800;
}

.main-promo .promo-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cashback-card {
    background: linear-gradient(135deg, rgba(59,130,246,0.5) 0%, rgba(29,78,216,0.1) 100%), url('images/11.png') center/cover no-repeat;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cashback-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.bonus-card {
    background: linear-gradient(135deg, rgba(139,92,246,0.5) 0%, rgba(107,70,193,0.1) 100%), url('images/4.avif') center/cover no-repeat;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bonus-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Welcome Section */
.welcome {
    padding: 4rem 0;
    background: rgba(26, 26, 46, 0.3);
}

.welcome-content h1 {
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
}

.welcome-content h2 {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.welcome-content > p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Game Categories */
.game-categories {
    padding: 4rem 0;
    background: rgba(15, 15, 26, 0.5);
}

.game-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.category-card:hover::before {
    opacity: 0.1;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.category-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.category-icon i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-info {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.category-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.game-count {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.category-card img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    opacity: 0.3;
    border-radius: 0.5rem;
}

/* Featured Games */
.featured-games {
    padding: 4rem 0;
    background: rgba(26, 26, 46, 0.3);
}

.featured-games h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--text-primary);
}

.games-section {
    margin-bottom: 3rem;
}

.games-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.game-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.game-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: rgba(15, 15, 26, 0.5);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.testimonial-author strong {
    color: var(--accent-color);
    font-weight: 600;
}

.security-badge {
    text-align: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
}

.security-badge i {
    font-size: 2rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.security-badge p {
    color: var(--success-color);
    font-weight: 600;
    margin: 0;
}

/* Responsive Design for Homepage */
@media (max-width: 1024px) {
    .promo-cards {
        grid-template-columns: 1fr;
    }
    
    .main-promo {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .welcome-content h1 {
        font-size: 2rem;
    }
    
    .welcome-content h2 {
        font-size: 1.3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-promo {
        padding: 1.5rem;
    }
    
    .main-promo .promo-content h2 {
        font-size: 1.5rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .game-card {
        padding: 1rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
}