/* style/da-ga.css */
/* Base Styles */
.page-da-ga {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background: #0A0A0A; /* Page background color */
}

.page-da-ga__section {
    padding: 60px 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.page-da-ga__dark-section {
    background: #111111; /* Card BG for sections */
}

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

.page-da-ga__section-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD36B; /* Glow color for titles */
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.6);
}

.page-da-ga__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #FFF6D6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-da-ga__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-da-ga__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A; /* Text color for primary button */
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-da-ga__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-da-ga__btn--secondary {
    background: #111111; /* Card BG for secondary button */
    color: #FFD36B; /* Glow color for secondary button text */
    border: 2px solid #3A2A12; /* Border color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-da-ga__btn--secondary:hover {
    background: #222222;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-da-ga__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-da-ga__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Images */
.page-da-ga img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* HERO Section */
.page-da-ga__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.page-da-ga__hero-image {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for desktop hero, adjust for mobile */
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 0; /* Hero image usually full width, no border radius */
}

.page-da-ga__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover for desktop to fill space */
    border-radius: 0;
}

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

.page-da-ga__main-title {
    font-size: clamp(32px, 4vw, 56px); /* Use clamp for H1 */
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFD36B;
    text-shadow: 0 0 15px rgba(255, 211, 107, 0.8);
    line-height: 1.2;
}

.page-da-ga__description {
    font-size: 19px;
    color: #FFF6D6;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Intro Section */
.page-da-ga__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-da-ga__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-da-ga__text-block {
    flex: 1;
    font-size: 17px;
    color: #FFF6D6;
}

.page-da-ga__image-block {
    flex: 1;
    min-width: 400px; /* Ensure image block has a minimum width */
}

/* Bet Types Section */
.page-da-ga__type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-da-ga__card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF6D6;
}

.page-da-ga__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-da-ga__card img {
    width: 100%;
    height: 250px; /* Fixed height for card images */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-da-ga__card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD36B;
}

.page-da-ga__card-text {
    font-size: 16px;
    line-height: 1.6;
}

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

.page-da-ga__step-item {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF6D6;
}

.page-da-ga__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-da-ga__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 216, 106, 0.4);
}

.page-da-ga__step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD36B;
}

.page-da-ga__step-text {
    font-size: 16px;
    line-height: 1.6;
}

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

.page-da-ga__strategy-list li {
    margin-bottom: 30px;
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.page-da-ga__strategy-list li:last-child {
    margin-bottom: 0;
}

.page-da-ga__list-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFD36B;
    margin-bottom: 10px;
}

/* Benefits Section */
.page-da-ga__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-da-ga__benefit-item {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF6D6;
}

.page-da-ga__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-da-ga__benefit-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD36B;
}

.page-da-ga__benefit-text {
    font-size: 16px;
    line-height: 1.6;
}

/* FAQ Section */
details.page-da-ga__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6;
}
details.page-da-ga__faq-item summary.page-da-ga__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B;
}
details.page-da-ga__faq-item summary.page-da-ga__faq-question::-webkit-details-marker {
  display: none;
}
details.page-da-ga__faq-item summary.page-da-ga__faq-question:hover {
  background: #1A1A1A;
}
.page-da-ga__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-da-ga__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-da-ga__faq-item .page-da-ga__faq-answer {
  padding: 0 25px 20px;
  background: #0A0A0A; /* Page BG for answer content */
  border-radius: 0 0 12px 12px;
  color: #FFF6D6;
  font-size: 16px;
}
.page-da-ga__faq-answer p {
    margin-top: 0;
}

/* Conclusion Section */
.page-da-ga__conclusion-section {
    padding-bottom: 80px;
}

/* Responsive Styles */
/* @media (max-width: 1024px) for general adjustments */
@media (max-width: 1024px) {
    .page-da-ga__hero-image {
        height: 500px;
    }
    .page-da-ga__section-title {
        font-size: 34px;
    }
    .page-da-ga__description {
        font-size: 18px;
    }
    .page-da-ga__content-grid,
    .page-da-ga__content-grid--reverse {
        flex-direction: column;
    }
    .page-da-ga__image-block {
        min-width: unset;
        width: 100%;
    }
    .page-da-ga__card img {
        height: 200px;
    }
}

/* @media (max-width: 768px) - Must include all 5 categories */
@media (max-width: 768px) {
    /* 1. HERO 主图区域 */
    .page-da-ga__hero-section {
        padding-top: 10px; /* Small top padding, body handles header offset */
        padding-bottom: 40px;
    }
    .page-da-ga__hero-image {
        height: 300px; /* Adjust height for mobile */
        margin-bottom: 30px;
    }
    .page-da-ga__hero-image img {
        object-fit: contain !important; /* Prevent cropping on mobile */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
    }
    .page-da-ga__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    .page-da-ga__description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-da-ga__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        margin-top: 30px;
        padding: 0 15px; /* Add padding to container */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .page-da-ga__cta-buttons .page-da-ga__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    /* 2. 产品展示图区域 - N/A for this page, but general grid handling */
    /* This page does not have a dedicated "Product Grid" section like homepage gameshows. */
    .page-da-ga__type-cards,
    .page-da-ga__steps-grid,
    .page-da-ga__benefits-grid {
        grid-template-columns: 1fr; /* Single column for all grids */
        gap: 20px;
    }
    .page-da-ga__card,
    .page-da-ga__step-item,
    .page-da-ga__benefit-item {
        padding: 20px;
    }
    .page-da-ga__card img {
         /* Smaller height for mobile cards */
    }
    .page-da-ga__type-cards,
    .page-da-ga__steps-grid,
    .page-da-ga__benefits-grid,
    .page-da-ga__content-grid {
        overflow-x: hidden; /* Prevent horizontal scroll for grids */
    }

    /* 3. 装饰主标题 + 长文 SEO 区 */
    .page-da-ga__section {
        padding: 40px 15px; /* Adjust section padding */
    }
    .page-da-ga__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-da-ga__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-da-ga__content-grid {
        gap: 30px;
    }
    .page-da-ga__text-block {
        font-size: 15px;
    }
    .page-da-ga__strategy-list li {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-da-ga__list-title {
        font-size: 20px;
    }

    /* 4. 通用图片与容器 */
    .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,
    .page-da-ga__image-block,
    .page-da-ga__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-da-ga__container {
        padding: 0; /* Container padding handled by section/blocks */
    }
    .page-da-ga__image-block img {
        width: 100%; /* Ensure images inside blocks also adapt */
        height: auto;
    }

    /* 5. 按钮与按钮容器 */
    .page-da-ga__btn,
    .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__cta-buttons,
    .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; /* Allow buttons to wrap */
        gap: 15px; /* Adjust gap for mobile */
    }
    .page-da-ga__cta-buttons {
        flex-direction: column; /* Default to column for CTA buttons */
    }

    /* FAQ specific mobile styles */
    details.page-da-ga__faq-item summary.page-da-ga__faq-question {
        padding: 15px;
    }
    .page-da-ga__faq-qtext {
        font-size: 16px;
    }
    .page-da-ga__faq-toggle {
        font-size: 24px;
        width: 24px;
    }
    details.page-da-ga__faq-item .page-da-ga__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }
}