/* =======================
   INDEX.HTML SPECIFIC STYLES
   ======================= */

/* Hero Section Enhancements */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b35 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    background: linear-gradient(45deg, #fff, #ff6b35, #fff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-features .feature {
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #ff6b35;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Features Section - Zigzag Enhanced */
.features {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 8rem 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.features-grid .feature-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.features-grid .feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), transparent);
    border-radius: 0 25px 0 100px;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Games Spotlight Enhanced */
.games-spotlight {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
    padding: 8rem 0;
}

.games-categories {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    margin: 0 auto 4rem;
}

.games-staggered .game-card {
    position: relative;
    overflow: hidden;
}

.games-staggered .game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.games-staggered .game-card:hover::before {
    animation: shimmer 1s ease-in-out;
    opacity: 1;
}

.game-card .game-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.game-card .game-image img {
    transition: all 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.image-placeholder {
    border-radius: 15px 15px 0 0;
    transition: all 0.4s ease;
    font-size: 3rem;
}

.game-card:hover .image-placeholder {
    transform: scale(1.05);
}

/* Tournament Timeline Enhanced */
.tournaments {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    padding: 8rem 0;
    position: relative;
}

.tournaments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.tournament-timeline {
    position: relative;
}

.tournament-timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
}

.tournament-content {
    position: relative;
    z-index: 3;
}

.tournament-content:hover {
    background: rgba(255, 255, 255, 1);
}

.tournament-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    animation: bounce 2s infinite;
}

/* CTA Section with Timeline */
.cta {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    padding: 8rem 0;
    position: relative;
}

.steps-timeline {
    position: relative;
}

.steps-timeline::after {
    content: '🎯';
    position: absolute;
    left: 30px;
    bottom: -30px;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.steps-timeline .step {
    background: rgba(255, 255, 255, 0.98);
    border-left: 5px solid #ff6b35;
}

.steps-timeline .step:nth-child(odd) .step-number {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.steps-timeline .step:nth-child(even) .step-number {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

/* Promotions Grid Enhanced */
.promotions {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 8rem 0;
    position: relative;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.promo-card:hover::before {
    left: 100%;
}

.promo-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.promo-card:nth-child(even):hover {
    transform: translateY(-15px) rotate(-2deg);
}

.promo-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #333;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.promo-card:hover .promo-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(168, 237, 234, 0.4);
}

.promo-code {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Testimonials Slider Enhanced */
.testimonials {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 8rem 0;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials-slider {
    padding: 2rem 0;
    position: relative;
}

.testimonials-slider::before {
    content: '👈 Swipe';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
    z-index: 10;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #ffecd2, #fcb69f, #ffecd2);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 0.5;
}

.quote-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

/* Responsive Enhancements for Index */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat {
        min-width: 120px;
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .features-grid .feature-card {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .feature-visual, .feature-content {
        flex: none !important;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-slider::before {
        display: none;
    }
}
