/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 5%;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(108, 92, 231, 0.2), transparent 40%),
        radial-gradient(circle at bottom left, rgba(162, 155, 254, 0.1), transparent 40%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #a29bfe);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

/* Feature Grid */
.game-features {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.game-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    height: 45px;
    overflow: hidden;
}

.btn-outline {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Gallery Section for Index */
.gallery-section {
    padding: 4rem 0;
    background-color: rgba(30, 41, 59, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.gallery-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-card img {
        height: 160px;
    }

    .gallery-info {
        padding: 1rem;
    }

    .gallery-info h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card img {
        height: 200px;
    }
}

/* About Us Section */
.about-section {
    padding: 5rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: rgba(30, 41, 59, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #a29bfe);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #a29bfe);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: rgba(30, 41, 59, 0.3);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

/* Responsive Styles for New Sections */
@media (max-width: 768px) {
    .about-section,
    .features-section,
    .how-it-works-section,
    .testimonials-section {
        padding: 3rem 0;
    }

    .about-text {
        font-size: 1rem;
    }

    .features-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Partners Section */
.partners-section {
    padding: 5rem 0;
    background-color: rgba(30, 41, 59, 0.3);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.partner-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.partner-card img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.partner-card:hover img {
    filter: grayscale(0%);
}

/* Responsive for FAQ and Partners */
@media (max-width: 768px) {
    .faq-section,
    .partners-section {
        padding: 3rem 0;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-question {
        font-size: 1.05rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .partner-card {
        padding: 1.5rem;
    }

    .partner-card img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}