/* style/index.css */

/* Variables */
:root {
    --page-index-primary-color: #FFD700; /* Gold */
    --page-index-secondary-color: #1A237E; /* Dark Blue */
    --page-index-text-dark: #1A237E; /* Dark blue for text on light backgrounds */
    --page-index-text-light: #FFFFFF; /* White for text on dark backgrounds */
    --page-index-accent-color: #DC143C; /* Crimson for highlights/CTA, ensuring contrast */
    --page-index-bg-light: #F8F8F8;
    --page-index-bg-dark: #1A237E;
    --page-index-border-color: #ccc;
    --page-index-spacing-unit: 20px;
}

.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-index-text-dark);
    background-color: var(--page-index-bg-light);
}

.page-index-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-index-spacing-unit);
}

.page-index-section-title {
    font-size: 2.5em;
    color: var(--page-index-secondary-color);
    text-align: center;
    margin-bottom: var(--page-index-spacing-unit);
    font-weight: bold;
    padding-top: var(--page-index-spacing-unit) * 2;
}

.page-index-section-subtitle {
    font-size: 1.2em;
    color: var(--page-index-text-dark);
    text-align: center;
    margin-bottom: var(--page-index-spacing-unit) * 2;
    opacity: 0.9;
}

.page-index-highlight {
    color: var(--page-index-primary-color);
}

.page-index-text-center {
    text-align: center;
}

.page-index-mt-40 {
    margin-top: 40px;
}

/* Buttons */
.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-index-btn-primary {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-secondary-color); /* Dark text on gold button */
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-index-btn-primary:hover {
    background-color: #E6C200;
    color: var(--page-index-secondary-color);
}

.page-index-btn-secondary {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-text-light); /* Light text on dark blue button */
    border: 2px solid var(--page-index-primary-color);
}

.page-index-btn-secondary:hover {
    background-color: #0F1A6B;
    border-color: #E6C200;
}

.page-index-btn-outline {
    background-color: transparent;
    color: var(--page-index-secondary-color);
    border: 2px solid var(--page-index-secondary-color);
}

.page-index-btn-outline:hover {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-text-light);
}

.page-index-btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-index-btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-index-btn-outline-small {
    padding: 6px 12px;
    font-size: 0.85em;
    border-radius: 4px;
    border: 1px solid var(--page-index-secondary-color);
    color: var(--page-index-secondary-color);
}

.page-index-btn-outline-small:hover {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-text-light);
}

/* Hero Section */
.page-index-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--page-index-secondary-color) 0%, #303F9F 100%); /* Dark blue gradient */
    color: var(--page-index-text-light);
    padding: 80px var(--page-index-spacing-unit);
    min-height: 600px;
    gap: 40px;
}

.page-index-hero-content {
    flex: 1;
    max-width: 600px;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: var(--page-index-spacing-unit);
    line-height: 1.2;
    color: var(--page-index-text-light);
}

.page-index-hero-description {
    font-size: 1.3em;
    margin-bottom: var(--page-index-spacing-unit) * 2;
    opacity: 0.9;
}

.page-index-hero-actions {
    display: flex;
    gap: var(--page-index-spacing-unit);
}

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

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

/* About Section */
.page-index-about {
    padding: 80px 0;
    background-color: var(--page-index-bg-light);
}

.page-index-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--page-index-spacing-unit) * 2;
    text-align: center;
}

.page-index-feature-item {
    background-color: var(--page-index-text-light);
    padding: var(--page-index-spacing-unit) * 2;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-index-feature-item:hover {
    transform: translateY(-5px);
}

.page-index-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--page-index-spacing-unit);
}

.page-index-feature-title {
    font-size: 1.5em;
    color: var(--page-index-secondary-color);
    margin-bottom: var(--page-index-spacing-unit) / 2;
}

.page-index-feature-text {
    color: var(--page-index-text-dark);
    opacity: 0.8;
}

/* Game Categories */
.page-index-game-categories {
    padding: 80px 0;
    background-color: #F0F2F5; /* Slightly darker light background */
}

.page-index-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--page-index-spacing-unit) * 2;
}

.page-index-category-card {
    background-color: var(--page-index-text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index-category-card:hover {
    transform: translateY(-5px);
}

.page-index-category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-index-category-card h3 {
    font-size: 1.4em;
    color: var(--page-index-secondary-color);
    margin: var(--page-index-spacing-unit) 0 var(--page-index-spacing-unit) / 2;
}

.page-index-category-description {
    padding: 0 var(--page-index-spacing-unit);
    margin-bottom: var(--page-index-spacing-unit);
    color: var(--page-index-text-dark);
    opacity: 0.8;
}

.page-index-category-card .page-index-btn-small {
    margin-bottom: var(--page-index-spacing-unit);
}

/* Promotions Section */
.page-index-promotions {
    padding: 80px 0;
    background-color: var(--page-index-bg-light);
}

.page-index-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--page-index-spacing-unit) * 2;
}

.page-index-promo-card {
    background-color: var(--page-index-text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index-promo-card:hover {
    transform: translateY(-5px);
}

.page-index-promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-index-promo-title {
    font-size: 1.5em;
    color: var(--page-index-secondary-color);
    margin: var(--page-index-spacing-unit) 0 var(--page-index-spacing-unit) / 2;
}

.page-index-promo-description {
    padding: 0 var(--page-index-spacing-unit);
    margin-bottom: var(--page-index-spacing-unit);
    color: var(--page-index-text-dark);
    opacity: 0.8;
}

/* Mobile App Section */
.page-index-mobile-app {
    background: linear-gradient(90deg, var(--page-index-secondary-color) 0%, #303F9F 100%); /* Dark blue gradient */
    color: var(--page-index-text-light);
    padding: 80px 0;
}

.page-index-mobile-app .page-index-section-title,
.page-index-mobile-app .page-index-section-subtitle {
    color: var(--page-index-text-light);
}

.page-index-mobile-app-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--page-index-spacing-unit) * 2;
}

.page-index-mobile-app-content {
    flex: 1;
    max-width: 600px;
}

.page-index-app-features {
    list-style: none;
    padding: 0;
    margin-top: var(--page-index-spacing-unit);
    margin-bottom: var(--page-index-spacing-unit) * 2;
}

.page-index-app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--page-index-text-light);
    opacity: 0.9;
}

.page-index-app-features li img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: brightness(1.5); /* Make checkmark stand out */
}

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

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

/* Testimonials Section */
.page-index-testimonials {
    padding: 80px 0;
    background-color: var(--page-index-bg-light);
}

.page-index-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--page-index-spacing-unit) * 2;
}

.page-index-testimonial-card {
    background-color: var(--page-index-text-light);
    padding: var(--page-index-spacing-unit) * 1.5;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-style: italic;
    position: relative;
}

.page-index-testimonial-card::before {
    content: '“';
    font-size: 4em;
    color: var(--page-index-primary-color);
    position: absolute;
    top: 0px;
    left: 15px;
    opacity: 0.3;
    line-height: 1;
}

.page-index-testimonial-text {
    margin-bottom: var(--page-index-spacing-unit);
    color: var(--page-index-text-dark);
    opacity: 0.9;
    padding-top: var(--page-index-spacing-unit);
}

.page-index-testimonial-author {
    font-weight: bold;
    color: var(--page-index-secondary-color);
    text-align: right;
    font-style: normal;
}

/* Responsible Gambling Section */
.page-index-responsible-gambling {
    padding: 80px 0;
    background-color: #F0F2F5;
}

.page-index-responsible-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: var(--page-index-spacing-unit) auto;
}

.page-index-responsible-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--page-index-text-dark);
}

.page-index-responsible-list li img {
    width: 28px;
    height: 28px;
    margin-right: 15px;
    filter: invert(15%) sepia(80%) saturate(6000%) hue-rotate(220deg) brightness(80%) contrast(100%); /* Adjust to dark blue */
}

.page-index-responsible-cta {
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--page-index-accent-color);
    margin-top: var(--page-index-spacing-unit) * 2;
}

/* Detail Pages Section */
.page-index-detail-pages {
    padding: 80px 0;
    background-color: var(--page-index-bg-dark);
    color: var(--page-index-text-light);
}

.page-index-detail-pages .page-index-section-title,
.page-index-detail-pages .page-index-section-subtitle {
    color: var(--page-index-text-light);
}

.page-index-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--page-index-spacing-unit) * 2;
}

.page-index-detail-item {
    background-color: #2b3595; /* Slightly lighter dark blue */
    padding: var(--page-index-spacing-unit);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-index-detail-item:hover {
    transform: translateY(-5px);
}

.page-index-detail-title {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-index-detail-title a {
    color: var(--page-index-primary-color);
    text-decoration: none;
}

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

.page-index-detail-description {
    color: var(--page-index-text-light);
    opacity: 0.8;
    margin-bottom: var(--page-index-spacing-unit);
}

/* Final CTA Section */
.page-index-cta-final {
    padding: 80px 0;
    background-color: var(--page-index-primary-color);
    color: var(--page-index-secondary-color);
}

.page-index-cta-final .page-index-section-title,
.page-index-cta-final .page-index-section-subtitle {
    color: var(--page-index-secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero {
        flex-direction: column;
        text-align: center;
        padding: 60px var(--page-index-spacing-unit);
    }

    .page-index-hero-content,
    .page-index-hero-image-wrapper {
        max-width: 100%;
    }

    .page-index-hero-title {
        font-size: 2.8em;
    }

    .page-index-hero-description {
        font-size: 1.1em;
    }

    .page-index-hero-actions {
        justify-content: center;
    }

    .page-index-mobile-app-flex {
        flex-direction: column-reverse;
        text-align: center;
    }

    .page-index-mobile-app-content {
        max-width: 100%;
    }

    .page-index-app-features {
        text-align: left;
        padding-left: var(--page-index-spacing-unit);
    }
}

@media (max-width: 768px) {
    .page-index-section-title {
        font-size: 2em;
    }

    .page-index-hero-title {
        font-size: 2.2em;
    }

    .page-index-hero-actions {
        flex-direction: column;
    }

    .page-index-btn {
        width: 100%;
    }

    .page-index-features,
    .page-index-categories-grid,
    .page-index-promo-grid,
    .page-index-testimonial-grid,
    .page-index-detail-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-index-hero {
        padding: 40px var(--page-index-spacing-unit) / 2;
    }

    .page-index-hero-title {
        font-size: 1.8em;
    }

    .page-index-hero-description {
        font-size: 1em;
    }

    .page-index-section-title {
        font-size: 1.8em;
    }

    .page-index-btn-large {
        font-size: 1em;
    }
}