/* style/da-ga.css */

/* --- Base Styles --- */
.page-da-ga {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: var(--background-color, #F4F7FB); /* Default background */
}

.page-da-ga__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-da-ga__section-title {
    font-size: clamp(28px, 4vw, 38px); /* Responsive font size */
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
    line-height: 1.2;
}

.page-da-ga__section-description {
    font-size: clamp(16px, 2vw, 18px);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #1F2D3D; /* Text Main */
}

.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
}

.page-da-ga__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-da-ga__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-da-ga__btn-secondary {
    background: #ffffff;
    color: #2F6BFF; /* Primary color */
    border: 2px solid #2F6BFF; /* Primary color */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-da-ga__btn-secondary:hover {
    background: #f0f0f0;
    color: #1e5ad6;
}

.page-da-ga__btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* --- Hero Section --- */
.page-da-ga__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: var(--background-color, #F4F7FB);
}

.page-da-ga__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-da-ga__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
}

.page-da-ga__main-title {
    font-size: clamp(36px, 5vw, 48px); /* Larger font for H1 */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #2F6BFF; /* Primary color for main title */
}

.page-da-ga__hero-description {
    font-size: clamp(18px, 2.5vw, 20px);
    margin-bottom: 30px;
    color: #1F2D3D; /* Text Main */
}

.page-da-ga__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-da-ga__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-da-ga__hero-side-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Intro Section (Module 1 - 3 columns with square images) --- */
.page-da-ga__intro-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-da-ga__icon-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-da-ga__icon-box {
    flex: 1 1 30%;
    min-width: 280px;
    text-align: center;
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #D6E2FF; /* Border */
    box-sizing: border-box;
}

.page-da-ga__icon-box-media {
    width: 200px; /* Fixed size for square */
    height: 200px; /* Fixed size for square */
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #E0EFFF; /* Light background for image */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px #A5C4FF; /* Glow */
}

.page-da-ga__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Keep image round */
    display: block;
}

.page-da-ga__icon-box-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2F6BFF; /* Primary color */
}

.page-da-ga__icon-box-text {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
}

/* --- Gameplay Section --- */
.page-da-ga__gameplay-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Card BG */
}

.page-da-ga__content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-da-ga__content-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.page-da-ga__content-image {
    flex: 1 1 35%;
    min-width: 300px;
    text-align: center;
}

.page-da-ga__responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-da-ga__content-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-da-ga__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-da-ga__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #1F2D3D; /* Text Main */
}

.page-da-ga__list li:before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-da-ga__list-item-title {
    color: #1F2D3D; /* Text Main */
}

/* --- Why Choose Section (Dark Background) --- */
.page-da-ga__why-choose-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Primary color for dark background */
    color: #ffffff; /* White text for dark background */
}

.page-da-ga__why-choose-section .page-da-ga__section-title,
.page-da-ga__why-choose-section .page-da-ga__section-description {
    color: #ffffff;
}

.page-da-ga__features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.page-da-ga__feature-item {
    flex: 1 1 45%;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.page-da-ga__feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #6FA3FF; /* Auxiliary color */
}

.page-da-ga__feature-text {
    font-size: 16px;
    color: #f0f0f0;
}

/* --- FAQ Section --- */
.page-da-ga__faq-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-da-ga__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-da-ga__faq-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-da-ga__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #2F6BFF; /* Primary color */
    cursor: pointer;
    list-style: none; /* Remove default marker for details summary */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-da-ga__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}

.page-da-ga__faq-question:hover {
    background-color: #eaf2ff;
}

.page-da-ga__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: #2F6BFF;
    transition: transform 0.3s ease;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or '-' */
}

.page-da-ga__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
}

.page-da-ga__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}

/* --- Final CTA Section --- */
.page-da-ga__final-cta-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-da-ga__final-cta-section .page-da-ga__container {
    background-color: #2F6BFF; /* Primary color */
    color: #ffffff;
    text-align: center;
    border-radius: 12px;
    padding: 50px 30px;
    box-shadow: 0 10px 30px rgba(47, 107, 255, 0.3);
}

.page-da-ga__final-cta-section .page-da-ga__section-title,
.page-da-ga__final-cta-section .page-da-ga__section-description {
    color: #ffffff;
}

.page-da-ga__final-cta-section .page-da-ga__btn-primary {
    margin-top: 30px;
    min-width: 250px;
}

/* --- Global Image Responsiveness (important for mobile) --- */
.page-da-ga img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box; /* Ensures padding/border are included in width */
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 1024px) {
    .page-da-ga__hero-container,
    .page-da-ga__icon-boxes,
    .page-da-ga__content-grid,
    .page-da-ga__features-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-da-ga__hero-content,
    .page-da-ga__hero-image,
    .page-da-ga__icon-box,
    .page-da-ga__content-text,
    .page-da-ga__content-image,
    .page-da-ga__feature-item {
        flex: 1 1 100%;
        min-width: unset;
    }

    .page-da-ga__hero-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* --- General Mobile Adjustments --- */
    .page-da-ga {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-da-ga__container {
        padding: 20px 15px;
    }

    /* --- Hero Section Mobile --- */
    .page-da-ga__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px;
    }
    .page-da-ga__hero-container {
        padding: 20px 15px;
        gap: 20px;
    }
    .page-da-ga__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-da-ga__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-da-ga__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }
    .page-da-ga__btn-primary,
    .page-da-ga__btn-secondary,
    .page-da-ga a[class*="button"],
    .page-da-ga a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-da-ga__hero-image {
        order: 1; /* Image first, then content */
    }
    .page-da-ga__hero-content {
        order: 2; /* Content after image */
    }


    /* --- Intro Section Mobile (Module 1 - 3 columns with square images) --- */
    .page-da-ga__intro-section {
        padding: 30px 0;
    }
    .page-da-ga__section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .page-da-ga__section-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-da-ga__icon-box {
        padding: 20px;
    }
    .page-da-ga__icon-box-media {
        width: 150px; /* Smaller square for mobile */
        height: 150px; /* Smaller square for mobile */
        margin-bottom: 15px;
    }
    .page-da-ga__icon-box-title {
        font-size: 20px;
    }

    /* --- Gameplay Section Mobile --- */
    .page-da-ga__gameplay-section {
        padding: 30px 0;
    }
    .page-da-ga__content-subtitle {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-da-ga__list li {
        font-size: 15px;
    }

    /* --- Why Choose Section Mobile --- */
    .page-da-ga__why-choose-section {
        padding: 30px 0;
    }
    .page-da-ga__feature-item {
        padding: 25px;
    }
    .page-da-ga__feature-title {
        font-size: 20px;
    }

    /* --- FAQ Section Mobile --- */
    .page-da-ga__faq-section {
        padding: 30px 0;
    }
    .page-da-ga__faq-list {
        margin-top: 20px;
    }
    .page-da-ga__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-da-ga__faq-toggle {
        font-size: 20px;
    }
    .page-da-ga__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }

    /* --- Final CTA Section Mobile --- */
    .page-da-ga__final-cta-section {
        padding: 30px 0;
    }
    .page-da-ga__final-cta-section .page-da-ga__container {
        padding: 30px 20px;
    }
    .page-da-ga__final-cta-section .page-da-ga__btn-primary {
        margin-top: 20px;
    }

    /* --- Universal Image and Container Responsiveness --- */
    .page-da-ga img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-da-ga__section,
    .page-da-ga__card,
    .page-da-ga__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Specific for square images in intro section, they must remain square */
    .page-da-ga__icon-box-media {
        width: 150px; /* Keep square aspect ratio */
        height: 150px; /* Keep square aspect ratio */
        margin: 0 auto 15px;
    }
}