.page-index {
    color: #ffffff; /* Light text for dark body background */
    background-color: #000000; /* Ensure consistency with body background */
    padding-top: var(--header-offset, 120px); /* Desktop header offset */
}

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

.page-index__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold accent for titles */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.page-index__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-index__section-text {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

/* Hero Section */
.page-index__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-index__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-index__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay for text readability */
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: #ffffff;
}

.page-index__hero-title {
    font-size: 4em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    font-weight: 900;
}

.page-index__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #f0f0f0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

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

.page-index__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.page-index__cta-button--primary {
    background-color: #FFD700; /* Gold button */
    color: #000000;
    border: 2px solid #FFD700;
}

.page-index__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-index__cta-button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-index__cta-button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.page-index__cta-button--tertiary {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 30px;
}

.page-index__cta-button--tertiary:hover {
    background-color: rgba(255, 215, 0, 0.05);
}

.page-index__cta-button--small {
    padding: 10px 15px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #FFD700;
    color: #000000;
    border: none;
}

.page-index__cta-button--small:hover {
    background-color: #e6c200;
}

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

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

.page-index__feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-index__feature-icon {
    width: 250px; /* Min size 200px */
    height: 180px; /* Min size 200px */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-index__feature-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__feature-description {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.6;
}

/* Game Showcase Section */
.page-index__game-showcase-section {
    padding: 80px 0;
    background-color: #000000;
}

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

.page-index__game-card {
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.page-index__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.page-index__game-image {
    width: 100%;
    height: 250px; /* Example height for game cards */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-index__game-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-index__game-description {
    font-size: 0.95em;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-index__game-link {
    display: inline-block;
    background-color: #FFD700;
    color: #000000;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-index__game-link:hover {
    background-color: #e6c200;
}

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

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

.page-index__promo-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.15);
}

.page-index__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-index__promo-title {
    font-size: 1.7em;
    color: #FFD700;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-index__promo-description {
    font-size: 0.95em;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 20px;
}

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

.page-index__advantages-list {
    list-style: none;
    padding: 0;
    margin: 50px auto;
    max-width: 900px;
}

.page-index__advantage-item {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    padding: 20px 30px;
    border-left: 5px solid #FFD700;
    border-radius: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
    line-height: 1.6;
    transition: background-color 0.3s ease;
}

.page-index__advantage-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-index__advantage-item strong {
    color: #FFD700;
}

/* App Download Section */
.page-index__app-download-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.page-index__app-container {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-index__app-content {
    flex: 1;
}

.page-index__app-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index__app-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.page-index__app-cta-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Responsible Gaming Section */
.page-index__responsible-gaming-section {
    padding: 80px 0;
    background-color: #000000;
}

/* FAQ Section */
.page-index__faq-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.page-index__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px 30px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index__faq-question {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-index__faq-answer {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.6;
    display: block;
}

/* Call to Action Section */
.page-index__call-to-action-section {
    padding: 80px 0;
    background-color: #000000;
}

.page-index__cta-banner {
    background: linear-gradient(45deg, #000000, #333333);
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}

.page-index__cta-banner-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 800;
}

.page-index__cta-banner-text {
    font-size: 1.4em;
    color: #f0f0f0;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Details Pages Section */
.page-index__details-pages-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

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

.page-index__details-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__details-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.page-index__details-title {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-index__details-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-index__details-title a:hover {
    text-decoration: underline;
}

.page-index__details-description {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index__hero-title {
        font-size: 3.5em;
    }
    .page-index__hero-description {
        font-size: 1.3em;
    }
    .page-index__section-title {
        font-size: 2.5em;
    }
    .page-index__app-container {
        flex-direction: column;
        text-align: center;
    }
    .page-index__app-image-wrapper {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }
    .page-index__app-cta-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-index {
        padding-top: var(--header-offset, 120px); /* Mobile header offset */
    }
    .page-index__hero-section {
        min-height: 60vh;
        padding: 40px 15px;
    }
    .page-index__hero-title {
        font-size: 2.5em;
    }
    .page-index__hero-description {
        font-size: 1.1em;
    }
    .page-index__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-index__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
        width: 100%;
    }
    .page-index__section-title {
        font-size: 2em;
    }
    .page-index__section-text {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-index__feature-grid, .page-index__game-grid, .page-index__promo-grid, .page-index__details-grid {
        grid-template-columns: 1fr;
    }
    .page-index__feature-icon, .page-index__game-image, .page-index__promo-image, .page-index__app-image {
        max-width: 100%;
        height: auto;
        max-height: 300px; /* Constrain height on smaller screens */
        object-fit: cover;
    }
    .page-index__feature-icon, .page-index__game-image, .page-index__promo-image, .page-index__app-image {
      max-width: 100% !important; 
      height: auto !important;
    }
    .page-index__cta-banner-title {
        font-size: 2em;
    }
    .page-index__cta-banner-text {
        font-size: 1.2em;
    }
    .page-index__faq-question {
        font-size: 1.3em;
    }
    .page-index__advantage-item {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 2em;
    }
    .page-index__hero-description {
        font-size: 0.9em;
    }
    .page-index__cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__cta-banner-title {
        font-size: 1.8em;
    }
    .page-index__cta-banner-text {
        font-size: 1em;
    }
    .page-index__app-cta-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* Ensure no image filter is applied */
.page-index img {
    filter: none; /* Absolutely no CSS filters to change image colors */
}

/* Global image size constraint for content area */
.page-index img:not(.page-index__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Explicitly ensure no small image sizing in content area */
.page-index__feature-icon, 
.page-index__game-image, 
.page-index__promo-image, 
.page-index__app-image, 
.page-index__details-card img {
    width: auto; /* Allow natural width */
    height: auto; /* Allow natural height */
    max-width: 100%; /* Ensure responsiveness */
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
    object-fit: cover; /* Maintain aspect ratio */
}