/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light gray for text on dark background */
    background-color: #0A2342; /* Main dark blue background */
}

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

.page-index__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Accent gold for titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
}

.page-index__section-subtitle {
    font-size: 1.2em;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 40px;
}

.page-index__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.page-index__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #0A2342; /* Dark blue text */
    border: 2px solid #FFD700;
}

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

.page-index__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
    margin-left: 15px;
}

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

.page-index__btn--outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 10px 20px;
}

.page-index__btn--outline:hover {
    background-color: #FFD700;
    color: #0A2342;
}

.page-index__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #FFD700;
    color: #0A2342;
    border: none;
}

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

.page-index__btn--app {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 10px 10px 0;
    padding: 12px 20px;
}

.page-index__btn--app i {
    margin-right: 8px;
    font-size: 1.2em;
}

.page-index__mt-4 {
    margin-top: 40px;
}

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

/* Hero Section */
.page-index__hero-section {
    background: linear-gradient(135deg, #0A2342 0%, #304e7a 100%); /* Dark blue to slightly lighter blue */
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap-reverse; /* Image on right for desktop, text on top for mobile */
    gap: 40px;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.page-index__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,dark_pattern,789P_background]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.page-index__hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 2;
    padding: 0 20px;
}

.page-index__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-index__hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-index__hero-image-wrapper {
    flex-shrink: 0;
    z-index: 2;
    max-width: 500px;
    padding: 0 20px;
}

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

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

.page-index__about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-index__about-text {
    flex: 2;
    min-width: 300px;
    color: #e0e0e0;
    font-size: 1.1em;
}

.page-index__about-text p {
    margin-bottom: 15px;
}

.page-index__about-image-wrapper {
    flex: 1;
    min-width: 250px;
}

.page-index__about-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.page-index__features-section {
    padding: 80px 0;
    background-color: #1a3a5e;
}

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

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

.page-index__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

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

.page-index__feature-description {
    color: #c0c0c0;
    font-size: 1em;
}

/* Offers Section */
.page-index__offers-section {
    padding: 80px 0;
    background-color: #0A2342;
}

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

.page-index__offer-card {
    background-color: #1a3a5e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-index__offer-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-index__offer-card h3,
.page-index__offer-card p,
.page-index__offer-card a {
    padding: 0 20px;
}

.page-index__offer-title {
    font-size: 1.4em;
    color: #FFD700;
    margin: 20px 0 10px;
}

.page-index__offer-description {
    color: #c0c0c0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Games Section */
.page-index__games-section {
    padding: 80px 0;
    background-color: #1a3a5e;
}

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

.page-index__game-card {
    background-color: #0A2342;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-index__game-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-index__game-card h3,
.page-index__game-card p,
.page-index__game-card a {
    padding: 0 20px;
}

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

.page-index__game-description {
    color: #c0c0c0;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-index__app-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.page-index__app-text {
    flex: 2;
    min-width: 300px;
    color: #e0e0e0;
    font-size: 1.1em;
}

.page-index__app-text p {
    margin-bottom: 15px;
}

.page-index__app-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-index__app-benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #c0c0c0;
}

.page-index__app-benefits li i {
    color: #FFD700;
    margin-right: 10px;
    font-size: 1.2em;
}

.page-index__app-download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.page-index__app-qr {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.page-index__qr-image {
    width: 200px;
    height: 200px;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index__app-qr p {
    color: #e0e0e0;
    margin-top: 15px;
    font-size: 1.1em;
}

/* Responsible Gambling Section */
.page-index__responsible-gambling-section {
    padding: 80px 0;
    background-color: #1a3a5e;
    text-align: center;
}

.page-index__responsible-content {
    max-width: 800px;
    margin: 0 auto;
    color: #e0e0e0;
    font-size: 1.1em;
}

.page-index__responsible-content p {
    margin-bottom: 20px;
}

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

.page-index__faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-index__faq-question {
    width: 100%;
    background-color: #FFD700;
    color: #0A2342;
    padding: 18px 25px;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-index__faq-question::after {
    content: '\002B'; /* Plus sign */
    font-size: 1.5em;
    color: #0A2342;
    transition: transform 0.3s ease;
}

.page-index__faq-question.active::after {
    content: '\2212'; /* Minus sign */
    transform: rotate(180deg);
}

.page-index__faq-answer {
    padding: 0 25px;
    background-color: #0A2342;
    color: #e0e0e0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index__faq-answer p {
    padding: 15px 0;
    margin: 0;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
    padding: 80px 0;
    background-color: #1a3a5e;
}

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

.page-index__detail-card {
    background-color: #0A2342;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

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

.page-index__detail-card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-index__detail-card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__detail-card-title a:hover {
    color: #e6c200;
}

.page-index__detail-card-description {
    color: #c0c0c0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index__hero-title {
        font-size: 2.8em;
    }
    .page-index__hero-description {
        font-size: 1.1em;
    }
    .page-index__section-title {
        font-size: 2.2em;
    }
    .page-index__hero-section {
        flex-direction: column;
        text-align: center;
    }
    .page-index__hero-content {
        text-align: center;
    }
    .page-index__hero-cta-group {
        justify-content: center;
    }
    .page-index__about-content {
        flex-direction: column;
    }
    .page-index__app-content {
        flex-direction: column;
    }
    .page-index__app-text {
        text-align: center;
    }
    .page-index__app-download-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-index__hero-title {
        font-size: 2.2em;
    }
    .page-index__hero-description {
        font-size: 1em;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__btn--secondary {
        margin-left: 0;
        margin-top: 10px;
    }
    .page-index__features-grid,
    .page-index__offers-grid,
    .page-index__games-grid,
    .page-index__detail-pages-grid {
        grid-template-columns: 1fr;
    }
    .page-index__hero-section, .page-index__about-section, .page-index__features-section, .page-index__offers-section, .page-index__games-section, .page-index__app-section, .page-index__responsible-gambling-section, .page-index__faq-section, .page-index__detail-pages-section {
        padding: 60px 0;
    }
}

@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.5em;
    }
    .page-index__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-index__hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    .page-index__btn--secondary {
        margin-top: 10px;
    }
    .page-index__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
}