/* Homepage Specific Styles */

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.8), rgba(91, 33, 182, 0.8));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-cards {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.hero-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.main-promo {
    background: url('../images/1.avif') center center/cover no-repeat;
    position: relative;
}

.cashback-card {
    background: url('../images/4.avif') center center/cover no-repeat;
    position: relative;
}

.bonus-card {
    background: url('../images/11.png') center center/cover no-repeat;
    position: relative;
}

.card-content h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: white;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.card-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.5;
}

.participate-btn, .casino-btn, .registration-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.participate-btn:hover, .casino-btn:hover, .registration-btn:hover {
    background: white;
    color: var(--bg-dark);
    border-color: white;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.9), rgba(16, 33, 62, 0.9));
    position: relative;
}

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

.welcome-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-light);
    opacity: 0.9;
}

.welcome-content > p {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.8;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 50px;
}

.feature {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.feature h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.feature p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Game Categories */
.game-categories {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(16, 33, 62, 0.9), rgba(30, 27, 75, 0.9));
}

.game-categories h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

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

.category-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    display: flex;
		flex-direction: column;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.category-icon {
    font-size: 48px;
    color: var(--secondary-color);
    min-width: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.category-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.category-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.game-count {
    font-size: 16px;
    color: var(--accent-color);
    font-weight: 500;
}

/* Games Spotlight */
.games-spotlight {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
}

.games-spotlight h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

.games-section h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--accent-color);
}

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

.game-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 20px 8px;
    color: white;
}

.game-card p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0 20px 20px;
}

.game-card .play-btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    justify-content: center;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(91, 33, 182, 0.9), rgba(30, 27, 75, 0.9));
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

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

.testimonial {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 80px;
    color: var(--secondary-color);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial cite {
    font-size: 16px;
    color: var(--accent-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-card {
        min-height: 200px;
        padding: 24px;
    }
    
    .card-content h2 {
        font-size: 24px;
    }
    
    .card-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .welcome-content h1 {
        font-size: 36px;
    }
    
    .welcome-content h2 {
        font-size: 22px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-card {
        padding: 20px;
        min-height: 180px;
    }
    
    .card-content h2 {
        font-size: 20px;
    }
    
    .card-content h3 {
        font-size: 18px;
    }
    
    .welcome-content h1 {
        font-size: 28px;
    }
    
    .welcome-content h2 {
        font-size: 18px;
    }
    
    .feature {
        padding: 24px;
    }
    
    .feature i {
        font-size: 36px;
    }
}