/* Index Page Specific Styles */

/* Hero Slider */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.hero-content {
    position: relative;
    z-index: 5;
    padding: 60px 40px;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.game-card {
    background-color: var(--dark-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.game-provider {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.game-thumbnail {
    height: 150px;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
}

.game-thumbnail:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-150%) rotate(30deg);
    }
    100% {
        transform: translateX(150%) rotate(30deg);
    }
}

.play-btn {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-thumbnail:hover .play-btn {
    opacity: 1;
}

.play-btn a {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.play-btn i {
    font-size: 20px;
}

.game-title {
    padding: 15px;
    font-size: 16px;
    text-align: center;
}

.game-section {
    margin-bottom: 40px;
}

/* Welcome Section */
.welcome-section {
    position: relative;
    margin-bottom: 30px;
}

.welcome-section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 28px;
}

.welcome-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Featured Game Banner */
.featured-banner {
    position: relative;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.featured-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: 1;
}

.featured-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.featured-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.featured-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Stats Counter */
.stats-counter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-box {
    background-color: var(--dark-bg);
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-box i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.why-choose-item {
    background-color: var(--dark-bg);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.why-choose-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-choose-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.why-choose-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    margin: 40px 0;
    overflow: hidden;
}

.testimonial-container {
    display: flex;
    flex-wrap: nowrap;
    padding: 20px 0;
}

.testimonial-card {
    flex: 0 0 350px;
    margin-right: 20px;
    background-color: var(--dark-bg);
    border-radius: 10px;
    padding: 25px;
    position: relative;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image i {
    font-size: 20px;
    color: var(--primary-color);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--secondary-color);
}

.author-location {
    font-size: 14px;
    opacity: 0.7;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .stats-counter,
    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonial-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }
    
    .testimonial-card {
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    .stats-counter,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
} 