.page-index {
    color: #333333; /* Dark text for default white body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-index__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-index__hero-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px; /* Minimum height for hero section */
}

.page-index__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
    z-index: 1;
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff; /* White text over dark/rich background */
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-index__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

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

.page-index__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-index__button--primary {
    background-color: #FFD700; /* Gold primary button */
    color: #8B0000; /* Deep Red text for contrast */
    border: 2px solid #FFD700;
}

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

.page-index__button--secondary {
    background-color: #8B0000; /* Deep Red secondary button */
    color: #FFD700; /* Gold text for contrast */
    border: 2px solid #8B0000;
}

.page-index__button--secondary:hover {
    background-color: #6b0000;
    transform: translateY(-2px);
}

.page-index__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
}

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

.page-index__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Deep Red for section titles */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.page-index__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-index__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

.page-index__features-section,
.page-index__game-categories-section,
.page-index__promotions-section,
.page-index__mobile-app-section,
.page-index__responsible-gaming-section,
.page-index__testimonials-section,
.page-index__faq-section,
.page-index__cta-section {
    padding: 60px 0;
}

.page-index__features-section {
    background-color: #f9f9f9;
}

.page-index__features-grid,
.page-index__categories-grid,
.page-index__promotions-grid,
.page-index__testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index__feature-card,
.page-index__category-card,
.page-index__promo-card,
.page-index__testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index__feature-card:hover,
.page-index__category-card:hover,
.page-index__promo-card:hover,
.page-index__testimonial-card:hover {
    transform: translateY(-5px);
}

.page-index__feature-icon {
    width: 100%; /* Ensure images are not tiny */
    height: auto;
    max-width: 250px;
    margin: 0 auto 20px;
    border-radius: 5px;
}

.page-index__feature-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-index__feature-text {
    font-size: 1em;
    color: #555555;
}

.page-index__category-card {
    text-align: left;
    overflow: hidden;
    padding: 0;
}

.page-index__category-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.page-index__category-content {
    padding: 20px 30px 30px;
}

.page-index__category-title {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-index__category-title a {
    color: #8B0000;
    text-decoration: none;
}

.page-index__category-title a:hover {
    color: #FFD700;
}

.page-index__category-text {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
}

.page-index__promo-card {
    text-align: left;
    overflow: hidden;
    padding: 0;
}

.page-index__promo-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.page-index__promo-content {
    padding: 20px 30px 30px;
}

.page-index__promo-title {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-index__promo-title a {
    color: #8B0000;
    text-decoration: none;
}

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

.page-index__promo-text {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
}

.page-index__full-promo-cta {
    text-align: center;
    margin-top: 40px;
}

.page-index__mobile-app-section {
    background-color: #8B0000; /* Deep Red background */
    color: #ffffff;
}

.page-index__mobile-app-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-index__mobile-app-content {
    flex: 1;
}

.page-index__mobile-app-section .page-index__section-title,
.page-index__mobile-app-section .page-index__section-description {
    color: #ffffff;
}

.page-index__mobile-app-section .page-index__section-title::after {
    background-color: #FFD700;
}

.page-index__mobile-app-benefits {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index__mobile-app-benefits li {
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-index__benefit-icon {
    color: #FFD700; /* Gold checkmark */
    font-size: 1.5em;
    margin-right: 10px;
}

.page-index__mobile-app-image-wrapper {
    flex: 1;
    text-align: center;
}

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

.page-index__responsible-gaming-section {
    background-color: #f9f9f9;
}

.page-index__responsible-gaming-points {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.page-index__responsible-gaming-points li {
    background-color: #ffffff;
    padding: 20px;
    border-left: 5px solid #FFD700;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 1em;
    color: #555555;
}

.page-index__responsible-gaming-cta {
    text-align: center;
    margin-top: 40px;
}

.page-index__testimonials-section {
    background-color: #ffffff;
}

.page-index__testimonial-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-index__testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #FFD700;
}

.page-index__testimonial-text {
    font-style: italic;
    color: #555555;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-index__testimonial-author {
    font-weight: bold;
    color: #8B0000;
    font-size: 1em;
}

.page-index__faq-section {
    background-color: #f9f9f9;
}

.page-index__faq-list {
    max-width: 800px;
    margin: 40px auto;
}

.page-index__faq-item {
    background-color: #ffffff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-index__faq-question {
    padding: 20px;
    background-color: #FFD700;
    color: #8B0000;
    font-size: 1.2em;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-index__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-index__faq-item.active .page-index__faq-question::after {
    transform: rotate(45deg);
}

.page-index__faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #555555;
}

.page-index__faq-item.active .page-index__faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    padding: 20px;
}

.page-index__faq-cta {
    text-align: center;
    margin-top: 40px;
}

.page-index__cta-section {
    background: linear-gradient(135deg, #8B0000, #b30000); /* Deep Red gradient */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

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

.page-index__cta-title {
    font-size: 3em;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-index__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index__hero-title {
        font-size: 2.8em;
    }
    .page-index__section-title {
        font-size: 2em;
    }
    .page-index__mobile-app-container {
        flex-direction: column;
        text-align: center;
    }
    .page-index__mobile-app-image-wrapper {
        margin-top: 40px;
    }
    .page-index__responsible-gaming-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-index__hero-title {
        font-size: 2.2em;
    }
    .page-index__hero-description {
        font-size: 1em;
    }
    .page-index__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index__button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__section-description {
        font-size: 0.95em;
    }
    .page-index__features-grid,
    .page-index__categories-grid,
    .page-index__promotions-grid,
    .page-index__testimonials-grid {
        grid-template-columns: 1fr;
    }
    .page-index__category-image,
    .page-index__promo-image {
        height: 200px;
    }
    .page-index__mobile-app-image {
        max-width: 300px;
    }
    .page-index__cta-title {
        font-size: 2.2em;
    }
    .page-index__cta-description {
        font-size: 1.1em;
    }
    .page-index__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    /* Ensure all content area images are responsive and don't cause overflow */
    .page-index img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 1.8em;
    }
    .page-index__hero-description {
        font-size: 0.9em;
    }
    .page-index__section-title {
        font-size: 1.6em;
    }
    .page-index__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index__cta-title {
        font-size: 1.8em;
    }
}