/* style/index.css */

/* General Page Styling */
.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light grey for general text on dark background */
    background-color: #00008B; /* Dark blue main background */
}

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

.page-index__section-title,
.page-index__hero-title,
.page-index__cta-title {
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__section-description {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1em;
    color: #cccccc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
}

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

.page-index__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    color: #00005a;
    transform: translateY(-2px);
}

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

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

.page-index__btn--outline {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-index__btn--outline:hover {
    background-color: #FFD700;
    color: #00008B;
    transform: translateY(-1px);
}

.page-index h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-index p {
    margin-bottom: 1em;
}

/* Hero Section */
.page-index__hero-section {
    background: linear-gradient(135deg, #00008B 0%, #00005a 100%); /* Dark blue gradient */
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.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]'); /* Abstract background pattern */
    opacity: 0.1;
    pointer-events: none;
}

.page-index__hero-section .page-index__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.page-index__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-index__hero-buttons {
    display: flex;
    gap: 20px;
}

.page-index__hero-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%; /* Adjust as needed */
    max-width: 800px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.page-index__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

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

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

.page-index__about-text {
    flex: 2;
    font-size: 1.1em;
    color: #cccccc;
}

.page-index__about-text strong {
    color: #FFD700;
}

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

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

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

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

.page-index__game-card {
    background-color: #00005a;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index__game-card:hover {
    transform: translateY(-10px);
    background-color: #00006f;
}

.page-index__game-card-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-index__game-card-description {
    color: #cccccc;
    font-size: 0.95em;
    margin-bottom: 20px;
}

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

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

.page-index__promo-card {
    background-color: #00008B;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-index__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.page-index__promo-title {
    font-size: 1.3em;
    color: #FFD700;
    margin: 20px 15px 10px;
}

.page-index__promo-description {
    color: #cccccc;
    font-size: 0.95em;
    padding: 0 15px 20px;
}

.page-index__promo-cta {
    text-align: center;
}

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

.page-index__reason-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index__reason-list li {
    background-color: #00005a;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-index__reason-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-index__reason-list h4 {
    color: #FFD700;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-index__reason-list p {
    color: #cccccc;
    font-size: 0.95em;
}

/* Download App Section */
.page-index__download-app-section {
    background-color: #00005a;
    padding: 80px 0;
}

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

.page-index__download-text {
    flex: 1;
    font-size: 1.1em;
    color: #cccccc;
}

.page-index__download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

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

.page-index__download-image {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Customer Service Section */
.page-index__customer-service-section {
    background-color: #00008B;
    padding: 80px 0;
}

.page-index__contact-list {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-index__contact-list li {
    font-size: 1.1em;
    color: #cccccc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-index__contact-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.page-index__contact-cta {
    text-align: center;
}

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

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

.page-index__detail-card {
    background-color: #00008B;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__detail-card-title {
    font-size: 1.25em;
    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;
    text-decoration: underline;
}

.page-index__detail-card-description {
    color: #cccccc;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* CTA Section */
.page-index__cta-section {
    background: linear-gradient(45deg, #00008B, #FFD700);
    padding: 80px 0;
    text-align: center;
}

.page-index__cta-title {
    font-size: 3em;
    color: #00008B; /* Dark blue text on gold background for contrast */
    margin-bottom: 20px;
    text-shadow: none; /* Remove text shadow for better contrast */
}

.page-index__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #00005a; /* Darker blue for description */
}

.page-index__cta-description strong {
    color: #00008B;
}

.page-index__cta-section .page-index__btn--primary {
    background-color: #00008B; /* Dark blue button */
    color: #FFD700; /* Gold text */
    border-color: #00008B;
}

.page-index__cta-section .page-index__btn--primary:hover {
    background-color: #00005a; /* Even darker blue */
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index__hero-title {
        font-size: 2.8em;
    }

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

    .page-index__about-content,
    .page-index__download-content {
        flex-direction: column;
        text-align: center;
    }

    .page-index__about-image-wrapper,
    .page-index__download-image-wrapper {
        margin-top: 40px;
    }
    
    .page-index__hero-image-wrapper {
        display: none; /* Hide hero image on smaller screens */
    }
    
    .page-index__hero-section {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-index__section-title,
    .page-index__hero-title,
    .page-index__cta-title {
        font-size: 2em;
    }

    .page-index__section-description,
    .page-index__hero-description,
    .page-index__cta-description {
        font-size: 1em;
    }

    .page-index__hero-buttons,
    .page-index__download-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-index__btn {
        width: 100%;
    }

    .page-index__game-categories,
    .page-index__promotions-grid,
    .page-index__reason-list,
    .page-index__detail-cards-grid {
        grid-template-columns: 1fr;
    }

    .page-index__download-image {
        max-width: 90%;
    }
}