/* style/index-deposit-withdrawal.css */
.page-index-deposit-withdrawal {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark, so text is light */
    background-color: transparent; /* inherited from body #0a0a0a */
}

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

.page-index-deposit-withdrawal__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 0; /* Handled by shared.css body padding */
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for readability */
}

.page-index-deposit-withdrawal__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-index-deposit-withdrawal__hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 800px;
    padding: 20px;
}

.page-index-deposit-withdrawal__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-index-deposit-withdrawal__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-index-deposit-withdrawal__hero-buttons,
.page-index-deposit-withdrawal__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-index-deposit-withdrawal__btn-primary,
.page-index-deposit-withdrawal__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-deposit-withdrawal__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-index-deposit-withdrawal__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

.page-index-deposit-withdrawal__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-index-deposit-withdrawal__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

.page-index-deposit-withdrawal__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-index-deposit-withdrawal__subsection-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-index-deposit-withdrawal__text-block {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 25px;
    text-align: justify;
}

.page-index-deposit-withdrawal__about-transactions-section,
.page-index-deposit-withdrawal__deposit-guide-section,
.page-index-deposit-withdrawal__withdrawal-guide-section,
.page-index-deposit-withdrawal__troubleshooting-section,
.page-index-deposit-withdrawal__limits-fees-section,
.page-index-deposit-withdrawal__security-section,
.page-index-deposit-withdrawal__faq-section,
.page-index-deposit-withdrawal__final-cta-section {
    padding: 60px 0;
    background-color: #0a0a0a;
}

.page-index-deposit-withdrawal__final-cta-section .page-index-deposit-withdrawal__container {
    background-color: #017439; /* Brand color for CTA background */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.page-index-deposit-withdrawal__dark-bg .page-index-deposit-withdrawal__section-title,
.page-index-deposit-withdrawal__dark-bg .page-index-deposit-withdrawal__text-block {
    color: #ffffff;
}

.page-index-deposit-withdrawal__features-grid,
.page-index-deposit-withdrawal__issues-grid,
.page-index-deposit-withdrawal__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-index-deposit-withdrawal__feature-item,
.page-index-deposit-withdrawal__issue-item,
.page-index-deposit-withdrawal__info-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-index-deposit-withdrawal__feature-title,
.page-index-deposit-withdrawal__issue-title,
.page-index-deposit-withdrawal__card-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-index-deposit-withdrawal__feature-description,
.page-index-deposit-withdrawal__issue-description,
.page-index-deposit-withdrawal__card-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-index-deposit-withdrawal__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 10px;
    object-fit: cover;
}

.page-index-deposit-withdrawal__list,
.page-index-deposit-withdrawal__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 25px;
    color: #f0f0f0;
}

.page-index-deposit-withdrawal__ordered-list {
    list-style-type: decimal;
}

.page-index-deposit-withdrawal__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-index-deposit-withdrawal__list-item strong {
    color: #ffffff;
}

.page-index-deposit-withdrawal__list-item a {
    color: #FFFF00; /* Register/Login font color */
    text-decoration: underline;
}

.page-index-deposit-withdrawal__faq-list {
    margin-top: 30px;
}

.page-index-deposit-withdrawal__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

.page-index-deposit-withdrawal__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-index-deposit-withdrawal__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-index-deposit-withdrawal__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-index-deposit-withdrawal__faq-item.active .page-index-deposit-withdrawal__faq-toggle {
    transform: rotate(45deg);
}

.page-index-deposit-withdrawal__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1em;
    color: #e0e0e0;
}

.page-index-deposit-withdrawal__faq-item.active .page-index-deposit-withdrawal__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 20px;
}

.page-index-deposit-withdrawal__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
    color: #e0e0e0;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-index-deposit-withdrawal__hero-title {
        font-size: 2.8em;
    }

    .page-index-deposit-withdrawal__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index-deposit-withdrawal {
        font-size: 16px;
        line-height: 1.6;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .page-index-deposit-withdrawal__container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* HERO 主图区域 */
    .page-index-deposit-withdrawal__hero-section {
        height: auto;
        min-height: 400px;
        padding: 40px 0;
        padding-top: 0; /* Handled by shared.css body padding */
    }

    .page-index-deposit-withdrawal__hero-title {
        font-size: 2em;
    }

    .page-index-deposit-withdrawal__hero-description {
        font-size: 1em;
    }

    .page-index-deposit-withdrawal__hero-buttons,
    .page-index-deposit-withdrawal__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 通用图片与容器 */
    .page-index-deposit-withdrawal img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box !important;
    }

    .page-index-deposit-withdrawal__section,
    .page-index-deposit-withdrawal__card,
    .page-index-deposit-withdrawal__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .page-index-deposit-withdrawal__btn-primary,
    .page-index-deposit-withdrawal__btn-secondary,
    .page-index-deposit-withdrawal a[class*="button"],
    .page-index-deposit-withdrawal 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: 12px 20px;
    }

    .page-index-deposit-withdrawal__cta-buttons,
    .page-index-deposit-withdrawal__button-group,
    .page-index-deposit-withdrawal__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* 其他内容模块 */
    .page-index-deposit-withdrawal__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
        padding-top: 25px;
    }

    .page-index-deposit-withdrawal__subsection-title {
        font-size: 1.5em;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-index-deposit-withdrawal__text-block,
    .page-index-deposit-withdrawal__list-item,
    .page-index-deposit-withdrawal__feature-description,
    .page-index-deposit-withdrawal__issue-description,
    .page-index-deposit-withdrawal__card-description,
    .page-index-deposit-withdrawal__faq-answer p {
        font-size: 0.95em;
    }

    .page-index-deposit-withdrawal__features-grid,
    .page-index-deposit-withdrawal__issues-grid,
    .page-index-deposit-withdrawal__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-deposit-withdrawal__feature-item,
    .page-index-deposit-withdrawal__issue-item,
    .page-index-deposit-withdrawal__info-card,
    .page-index-deposit-withdrawal__faq-item {
        padding: 15px;
    }

    .page-index-deposit-withdrawal__faq-question {
        padding: 15px;
        font-size: 1em;
    }

    .page-index-deposit-withdrawal__faq-answer {
        padding: 0 15px;
    }

    .page-index-deposit-withdrawal__faq-item.active .page-index-deposit-withdrawal__faq-answer {
        padding: 10px 15px;
    }

    .page-index-deposit-withdrawal__about-transactions-section,
    .page-index-deposit-withdrawal__deposit-guide-section,
    .page-index-deposit-withdrawal__withdrawal-guide-section,
    .page-index-deposit-withdrawal__troubleshooting-section,
    .page-index-deposit-withdrawal__limits-fees-section,
    .page-index-deposit-withdrawal__security-section,
    .page-index-deposit-withdrawal__faq-section,
    .page-index-deposit-withdrawal__final-cta-section {
        padding: 40px 0;
    }
    
    .page-index-deposit-withdrawal__final-cta-section .page-index-deposit-withdrawal__container {
        padding: 30px;
    }
}