/* style/index.css */

/* General page container and typography */
.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f5e6d0; /* Light text for general content on dark backgrounds */
    background-color: #0A192F; /* Primary dark background */
}

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

.page-index__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    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__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #e0e0e0; /* Slightly lighter than main text for readability */
}

/* 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, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1em;
}

.page-index__btn--primary {
    background-color: #E74C3C; /* Striking Red for primary CTA */
    color: #FFFFFF;
}

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

.page-index__btn--secondary {
    background-color: #FFD700; /* Gold */
    color: #0A192F; /* Deep blue text */
}

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

.page-index__btn--tertiary {
    background-color: #0A192F; /* Deep blue */
    color: #FFFFFF;
    border: 2px solid #FFD700; /* Gold border */
}

.page-index__btn--tertiary:hover {
    background-color: #1a3250;
    transform: translateY(-2px);
}

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

.page-index__cta-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Hero Section */
.page-index__hero-section {
    background: linear-gradient(135deg, #0A192F 0%, #1a3250 100%); /* Dark blue gradient */
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-index__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

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

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

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

.page-index__hero-image-wrapper {
    margin-top: 50px;
}

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

/* About MCW Section */
.page-index__about-mcw-section {
    padding: 60px 0;
    background-color: #0A192F;
    color: #f5e6d0;
}

/* Features Section */
.page-index__features-section {
    padding: 60px 0;
    background-color: #0A192F; /* Dark background */
    color: #f5e6d0;
}

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

.page-index__feature-item {
    background-color: #1a3250; /* Slightly lighter dark blue */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-index__feature-item:hover {
    transform: translateY(-10px);
}

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

.page-index__feature-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 15px;
}

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

/* How to Play Section */
.page-index__how-to-play-section {
    padding: 60px 0;
    background-color: #0A192F;
    color: #f5e6d0;
}

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

.page-index__step-item {
    background-color: #1a3250;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-index__step-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* Promotions Section */
.page-index__promotions-section {
    padding: 60px 0;
    background-color: #0A192F;
    color: #f5e6d0;
}

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

.page-index__promo-card {
    background-color: #1a3250;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-index__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

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

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

.page-index__promo-description {
    font-size: 0.95em;
    color: #e0e0e0;
    flex-grow: 1; /* Pushes button to bottom */
    margin-bottom: 20px;
}

.page-index__promo-card .page-index__btn {
    margin: 0 20px 20px 20px;
}

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

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

.page-index__app-text {
    flex: 1;
    min-width: 300px;
}

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

.page-index__app-benefits li {
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #e0e0e0;
}

.page-index__icon-check {
    color: #FFD700; /* Gold checkmark */
    margin-right: 10px;
    font-size: 1.2em;
}
.page-index__icon-check::before {
    content: '✓'; /* Unicode checkmark */
}


.page-index__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

/* Detail Pages Section */
.page-index__detail-pages-section {
    padding: 60px 0;
    background-color: #0A192F;
    color: #f5e6d0;
}

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

.page-index__detail-card {
    background-color: #1a3250;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-index__detail-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-index__detail-card-title {
    font-size: 1.3em;
    margin: 20px 20px 10px 20px;
}

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

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

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

.page-index__detail-card .page-index__btn {
    margin: 0 20px 20px 20px;
}

/* Testimonials Section */
.page-index__testimonials-section {
    padding: 60px 0;
    background-color: #0A192F;
    color: #f5e6d0;
}

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

.page-index__testimonial-card {
    background-color: #1a3250;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.page-index__testimonial-card::before {
    content: '“';
    font-size: 5em;
    color: rgba(255, 215, 0, 0.3); /* Faded gold quote */
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.page-index__testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #e0e0e0;
    padding-top: 30px; /* Space for quote icon */
}

.page-index__testimonial-author {
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
}

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

/* FAQ Section */
.page-index__faq-section {
    padding: 60px 0;
    background-color: #0A192F;
    color: #f5e6d0;
}

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

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

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

.page-index__faq-question:hover {
    background-color: #2a4060;
}

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

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

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

.page-index__faq-item.active .page-index__faq-answer {
    max-height: 200px; /* Adjust based on max expected content height */
    padding: 20px;
}

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

/* Contact Section */
.page-index__contact-section {
    padding: 60px 0 80px 0;
    background-color: #0A192F;
    color: #f5e6d0;
    text-align: center;
}

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

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

    .page-index__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-index__section-title {
        font-size: 2em;
    }

    .page-index__app-content {
        flex-direction: column;
    }

    .page-index__app-image-wrapper {
        order: -1; /* Image above text on mobile */
    }
}

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

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

    .page-index__btn {
        width: 100%;
    }

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

    .page-index__features-grid,
    .page-index__steps-grid,
    .page-index__promotions-grid,
    .page-index__detail-cards-grid,
    .page-index__testimonials-grid {
        grid-template-columns: 1fr;
    }
}