/* style/da-ga.css */
.page-da-ga {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Body Background */
}

.page-da-ga__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- Hero Section --- */
.page-da-ga__hero-section {
    padding-top: 10px; /* Fixed header spacing, small top padding */
    padding-bottom: 40px;
    background: #140C0C;
    text-align: center;
}

.page-da-ga__hero-section .page-da-ga__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-da-ga__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-da-ga__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    color: #FFF1E8;
    margin-bottom: 15px;
}

.page-da-ga__hero-description {
    font-size: 1.1rem;
    color: #FFF1E8;
    margin-bottom: 30px;
}

.page-da-ga__hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 500px; /* Limit overall width for aesthetic */
    margin: 0 auto;
}

.page-da-ga__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Important for responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-da-ga__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Custom Button Color */
    color: #ffffff;
    border: none;
}

.page-da-ga__btn-primary:hover {
    opacity: 0.9;
}

.page-da-ga__btn-secondary {
    background: transparent;
    color: #FFB04A;
    border: 2px solid #FFB04A;
}

.page-da-ga__btn-secondary:hover {
    background: rgba(255, 176, 74, 0.1);
}

.page-da-ga__hero-image-wrapper {
    width: 100%;
    max-width: 800px; /* Max width for the image container */
    margin-top: 20px;
}

.page-da-ga__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- General Section Styling --- */
.page-da-ga__section {
    padding: 60px 0;
}

.page-da-ga__dark-section {
    background: #2A1212; /* Card BG */
}

.page-da-ga__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #FFF1E8;
    text-align: center;
    margin-bottom: 40px;
}

.page-da-ga__text-block {
    font-size: 1.05rem;
    color: #FFF1E8;
    margin-bottom: 20px;
    text-align: justify;
}

/* --- Feature Grid (Why Choose) --- */
.page-da-ga__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-da-ga__card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #FFF1E8; /* Text Main */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-da-ga__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
}

.page-da-ga__card-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #FFF1E8;
}

/* --- Types Grid --- */
.page-da-ga__types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-da-ga__type-card {
    /* Inherits .page-da-ga__card styles */
}

/* --- Guide Section (Steps Grid) --- */
.page-da-ga__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-da-ga__step-card {
    /* Inherits .page-da-ga__card styles */
    text-align: center;
}

.page-da-ga__step-card .page-da-ga__card-title {
    color: #FFB04A; /* Lighter gold/orange for steps */
}

.page-da-ga__btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* --- Strategy Section --- */
.page-da-ga__strategy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-da-ga__list-item {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-da-ga__list-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
}

.page-da-ga__list-text {
    font-size: 1rem;
    color: #FFF1E8;
}

/* --- FAQ Section --- */
.page-da-ga__faq-list {
    margin-top: 30px;
}

.page-da-ga__faq-item {
    /* Inherits .page-da-ga__card styles */
    margin-bottom: 15px;
    padding: 20px 25px;
}

.page-da-ga__faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFB04A; /* Lighter gold/orange for questions */
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-da-ga__faq-answer {
    font-size: 1rem;
    color: #FFF1E8;
    padding-top: 15px;
    line-height: 1.5;
}

/* --- Conclusion Section --- */
.page-da-ga__cta-final {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-da-ga__cta-text {
    font-size: 1.2rem;
    color: #FFF1E8;
    margin-bottom: 30px;
    font-weight: 500;
}

/* --- Image Figures --- */
.page-da-ga__image-figure {
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-da-ga__content-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-da-ga__image-caption {
    font-size: 0.9rem;
    color: #F3C54D; /* Gold */
    padding: 10px 15px;
    background: #2A1212; /* Card BG */
    border-top: 1px solid #6A1E1E; /* Border color */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-da-ga__container {
        padding: 0 15px;
    }

    .page-da-ga__section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    /* 1. 顶区标题 + 双 CTA */
    .page-da-ga__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-da-ga__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust H1 for mobile */
        margin-bottom: 10px;
    }

    .page-da-ga__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-da-ga__hero-cta {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        max-width: 90%; /* Adjust max-width for buttons */
        padding: 0 15px; /* Add padding to button container */
        box-sizing: border-box;
    }

    /* 2. 单栏长文容器 */
    .page-da-ga__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-da-ga__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-da-ga__text-block {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .page-da-ga__features-grid,
    .page-da-ga__types-grid,
    .page-da-ga__steps-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-da-ga__card {
        padding: 20px;
        border-radius: 8px;
    }

    .page-da-ga__card-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .page-da-ga__card-text {
        font-size: 0.9rem;
    }

    /* 3. 通用图片与 figure */
    .page-da-ga img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-da-ga__image-figure {
        margin: 30px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Ensure padding for figure container */
    }

    .page-da-ga__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-da-ga__image-caption {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    /* 4. 按钮与按钮容器 */
    .page-da-ga__btn,
    .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: 10px 15px;
        font-size: 1rem;
    }
    
    .page-da-ga__hero-cta,
    .page-da-ga__button-group,
    .page-da-ga__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
    }

    /* 5. 注册教程与 FAQ 区块 */
    .page-da-ga__list-item {
        padding: 20px;
        margin-bottom: 15px;
    }

    .page-da-ga__list-title {
        font-size: 1.1rem;
    }

    .page-da-ga__list-text {
        font-size: 0.9rem;
    }

    .page-da-ga__faq-item {
        padding: 15px 20px;
        margin-bottom: 10px;
    }

    .page-da-ga__faq-question {
        font-size: 1.1rem;
    }

    .page-da-ga__faq-answer {
        font-size: 0.9rem;
        padding-top: 10px;
    }

    .page-da-ga__cta-final {
        padding: 30px 20px;
    }

    .page-da-ga__cta-text {
        font-size: 1rem;
    }
}