/* style/index.css */
.page-index {
    color: #333333; /* Default text color for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-index__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-index__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #0A2342;
}

.page-index__hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 80px 20px;
    min-height: 500px; /* Minimum height for hero section */
}

.page-index__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Slightly dim image to make text pop */
    z-index: 1;
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-index__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #F2C94C; /* Accent color for title */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-index__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Button Styles */
.page-index__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-index__btn--primary {
    background-color: #F2C94C; /* Accent color */
    color: #0A2342; /* Main color for text */
    border: 2px solid #F2C94C;
}

.page-index__btn--primary:hover {
    background-color: #e0b43c;
    transform: translateY(-2px);
}

.page-index__btn--secondary {
    background-color: transparent;
    color: #F2C94C;
    border: 2px solid #F2C94C;
}

.page-index__btn--secondary:hover {
    background-color: #F2C94C;
    color: #0A2342;
    transform: translateY(-2px);
}

.page-index__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-index__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Section Titles and Intros */
.page-index__section-title {
    font-size: 2.5em;
    color: #0A2342; /* Main color */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-index__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: #555555;
}

/* About Section */
.page-index__about-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.page-index__about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__about-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index__about-item:hover {
    transform: translateY(-10px);
}

.page-index__about-item img {
    width: 200px; /* Minimum width for content images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-index__about-item-title {
    font-size: 1.5em;
    color: #0A2342;
    margin-bottom: 15px;
}

.page-index__about-item-description {
    color: #666666;
}

/* Games Section */
.page-index__games-section {
    padding: 80px 0;
}

.page-index__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index__game-card:hover {
    transform: translateY(-10px);
}

.page-index__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-index__game-card-title {
    font-size: 1.4em;
    color: #0A2342;
    margin: 20px 0 10px;
    padding: 0 20px;
}

.page-index__game-card-title a {
    text-decoration: none;
    color: #0A2342;
}

.page-index__game-card-title a:hover {
    color: #F2C94C;
}

.page-index__game-card-description {
    color: #666666;
    padding: 0 20px 20px;
}

.page-index__game-card .page-index__btn {
    margin-bottom: 20px;
}

/* Promotions Section */
.page-index__promotions-section {
    background-color: #0A2342;
    padding: 80px 0;
    color: #ffffff;
}

.page-index__promotions-section .page-index__section-title,
.page-index__promotions-section .page-index__section-intro {
    color: #ffffff;
}

.page-index__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index__promo-card:hover {
    transform: translateY(-10px);
}

.page-index__promo-card img {
    width: 100%;
    height: 250px; /* Larger fixed height for promo images */
    object-fit: cover;
    display: block;
}

.page-index__promo-card-title {
    font-size: 1.4em;
    color: #F2C94C;
    margin: 20px 0 10px;
    padding: 0 20px;
}

.page-index__promo-card-title a {
    text-decoration: none;
    color: #F2C94C;
}

.page-index__promo-card-title a:hover {
    color: #e0b43c;
}

.page-index__promo-card-description {
    color: #f0f0f0;
    padding: 0 20px 20px;
}

.page-index__promo-card .page-index__btn {
    margin-bottom: 20px;
    background-color: #F2C94C;
    color: #0A2342;
    border: none;
}

.page-index__promo-card .page-index__btn:hover {
    background-color: #e0b43c;
}

/* Why Choose Us Section */
.page-index__why-choose-us-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-index__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index__feature-item:hover {
    transform: translateY(-10px);
}

.page-index__feature-item img {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-index__feature-item-title {
    font-size: 1.5em;
    color: #0A2342;
    margin-bottom: 15px;
}

.page-index__feature-item-description {
    color: #666666;
    margin-bottom: 20px;
}

/* Testimonials Section */
.page-index__testimonials-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.page-index__testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index__testimonial-card {
    background-color: #f0f5fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-index__testimonial-text {
    font-style: italic;
    color: #444444;
    margin-bottom: 20px;
}

.page-index__testimonial-author {
    font-weight: bold;
    color: #0A2342;
}

/* Call to Action Section */
.page-index__cta-section {
    background-color: #F2C94C; /* Accent color background */
    padding: 80px 0;
    text-align: center;
}

.page-index__cta-content {
    max-width: 900px;
}

.page-index__cta-section .page-index__section-title {
    color: #0A2342;
}

.page-index__cta-section .page-index__section-intro {
    color: #333333;
    margin-bottom: 40px;
}

.page-index__cta-section .page-index__btn--large {
    background-color: #0A2342;
    color: #F2C94C;
    border: 2px solid #0A2342;
}

.page-index__cta-section .page-index__btn--large:hover {
    background-color: #1a3a5e;
    border-color: #1a3a5e;
}

/* Floating Button */
.page-index__floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.page-index__floating-btn-link {
    display: flex;
    align-items: center;
    background-color: #F2C94C; /* Accent color */
    color: #0A2342; /* Main color for text */
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__floating-btn-link:hover {
    background-color: #e0b43c;
    transform: translateY(-3px);
}

.page-index__floating-btn-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index__hero-title {
        font-size: 3em;
    }
    .page-index__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index {
        padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    }
    .page-index__hero-container {
        padding: 60px 20px;
        min-height: 400px;
    }
    .page-index__hero-title {
        font-size: 2.5em;
    }
    .page-index__hero-description {
        font-size: 1em;
    }
    .page-index__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index__btn {
        width: 80%;
        max-width: 300px;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__section-intro {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-index__about-grid, .page-index__game-grid, .page-index__promo-grid, .page-index__features-grid, .page-index__testimonial-grid {
        grid-template-columns: 1fr;
    }
    /* Ensure content area images are responsive and not too small */
    .page-index img {
        max-width: 100%;
        height: auto;
    }
    .page-index__about-item img, .page-index__feature-item img {
        width: 100%; /* Make sure these images expand to fill container if needed */
        max-width: 300px; /* But don't exceed a reasonable size */
        height: auto;
    }
    .page-index__game-card img {
        
    }
    .page-index__promo-card img {
        height: 220px;
    }
    .page-index__floating-button {
        bottom: 15px;
        right: 15px;
    }
    .page-index__floating-btn-link {
        padding: 10px 15px;
        font-size: 1em;
    }
    .page-index__floating-btn-icon {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 2em;
    }
    .page-index__hero-description {
        font-size: 0.9em;
    }
    .page-index__section-title {
        font-size: 1.5em;
    }
    .page-index__section-intro {
        font-size: 0.9em;
    }
}