/* style/payment-methods-deposit-guide.css */

/* General styles for the deposit guide page */
.page-payment-methods-deposit-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: var(--secondary-color); /* #FFFFFF */
}

.page-payment-methods-deposit-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-payment-methods-deposit-guide__section {
    padding: 60px 0;
    text-align: center;
}

.page-payment-methods-deposit-guide__section--intro {
    background-color: #f9f9f9;
}

.page-payment-methods-deposit-guide__section--methods {
    background-color: #f0f8ff; /* Light blue tint */
}

.page-payment-methods-deposit-guide__section--guide {
    background-color: var(--secondary-color); /* White */
}

.page-payment-methods-deposit-guide__section--notes {
    background-color: #f9f9f9;
}

.page-payment-methods-deposit-guide__section--promotions {
    background-color: #f0f8ff; /* Light blue tint */
}

.page-payment-methods-deposit-guide__section--faq {
    background-color: var(--secondary-color); /* White */
}

.page-payment-methods-deposit-guide__section--conclusion {
    background-color: var(--primary-color); /* Main brand color #26A9E0 */
    color: #ffffff; /* White text for dark background */
    padding: 80px 0;
}

.page-payment-methods-deposit-guide__section-title {
    font-size: 36px;
    color: var(--primary-color); /* Main brand color */
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.page-payment-methods-deposit-guide__section-title--light {
    color: #ffffff; /* White text for dark background sections */
}

.page-payment-methods-deposit-guide__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods-deposit-guide__text-block--light {
    color: #ffffff;
}

/* Hero Section */
.page-payment-methods-deposit-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background: linear-gradient(135deg, #e0f2f7, #ffffff); /* Light gradient background */
}

.page-payment-methods-deposit-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-payment-methods-deposit-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-payment-methods-deposit-guide__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-deposit-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-payment-methods-deposit-guide__hero-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.page-payment-methods-deposit-guide__hero-description {
    font-size: 20px;
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-payment-methods-deposit-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-payment-methods-deposit-guide__cta-button:hover {
    background: #1e87c0; /* Slightly darker primary color */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-deposit-guide__cta-button--bottom {
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-payment-methods-deposit-guide__cta-button--light {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid #ffffff;
}

.page-payment-methods-deposit-guide__cta-button--light:hover {
    background: #e0f2f7;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-deposit-guide__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: #ffffff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.page-payment-methods-deposit-guide__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* Deposit Methods Grid */
.page-payment-methods-deposit-guide__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-payment-methods-deposit-guide__method-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-payment-methods-deposit-guide__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods-deposit-guide__method-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-payment-methods-deposit-guide__method-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-payment-methods-deposit-guide__method-description {
    font-size: 16px;
    color: #555555;
    text-align: left;
}


/* Step-by-Step Guide */
.page-payment-methods-deposit-guide__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-payment-methods-deposit-guide__step-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-payment-methods-deposit-guide__step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-deposit-guide__step-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-payment-methods-deposit-guide__step-description {
    font-size: 16px;
    color: #555555;
    text-align: center;
}

.page-payment-methods-deposit-guide__step-description a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-payment-methods-deposit-guide__step-description a:hover {
    color: #1e87c0;
}

.page-payment-methods-deposit-guide__image-block {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
}

.page-payment-methods-deposit-guide__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}


/* Important Notes List */
.page-payment-methods-deposit-guide__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-payment-methods-deposit-guide__list-item {
    background: #ffffff;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-size: 17px;
    color: #333333;
    transition: transform 0.2s ease;
}

.page-payment-methods-deposit-guide__list-item:hover {
    transform: translateX(5px);
}

.page-payment-methods-deposit-guide__list-item strong {
    color: var(--primary-color);
}

.page-payment-methods-deposit-guide__list-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-payment-methods-deposit-guide__list-item a:hover {
    color: #1e87c0;
}


/* Promotions Grid */
.page-payment-methods-deposit-guide__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-payment-methods-deposit-guide__promo-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-payment-methods-deposit-guide__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods-deposit-guide__promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-payment-methods-deposit-guide__promo-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-payment-methods-deposit-guide__promo-description {
    font-size: 16px;
    color: #555555;
    text-align: center;
    flex-grow: 1; /* Make description take available space */
}

.page-payment-methods-deposit-guide__promo-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-payment-methods-deposit-guide__promo-button:hover {
    background: #1e87c0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-payment-methods-deposit-guide__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* FAQ容器样式 */
.page-payment-methods-deposit-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-payment-methods-deposit-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-payment-methods-deposit-guide__faq-item.active .page-payment-methods-deposit-guide__faq-answer {
    max-height: 2000px !important; /* 🚨 使用!important确保优先级，值足够大以容纳任何内容 */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

/* 问题样式 */
.page-payment-methods-deposit-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-payment-methods-deposit-guide__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-payment-methods-deposit-guide__faq-question:active {
    background: #eeeeee;
}

/* 问题标题样式 */
.page-payment-methods-deposit-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px; /* Slightly larger for better readability */
    font-weight: 600;
    line-height: 1.5;
    color: #333333; /* Ensure contrast */
    pointer-events: none; /* 防止h3标签阻止点击事件 */
}

/* 切换图标 */
.page-payment-methods-deposit-guide__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color); /* Use brand color for toggle */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* 防止图标阻止点击事件 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-payment-methods-deposit-guide__faq-item.active .page-payment-methods-deposit-guide__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect, or keep as '-' */
    color: #000000; /* Darker when active */
}

.page-payment-methods-deposit-guide__faq-answer p {
    font-size: 16px;
    color: #555555;
    margin: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods-deposit-guide__hero-title {
        font-size: 40px;
    }

    .page-payment-methods-deposit-guide__hero-description {
        font-size: 18px;
    }

    .page-payment-methods-deposit-guide__section-title {
        font-size: 30px;
    }
}