/* style/resources-deposit-withdraw-guide.css */

/* Base styles for the page content */
.page-resources-deposit-withdraw-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background #0a0a0a */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-resources-deposit-withdraw-guide__hero-section {
    position: relative;
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-resources-deposit-withdraw-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.page-resources-deposit-withdraw-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-resources-deposit-withdraw-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.page-resources-deposit-withdraw-guide__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-deposit-withdraw-guide__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Section titles */
.page-resources-deposit-withdraw-guide__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-deposit-withdraw-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-resources-deposit-withdraw-guide__subtitle {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Text blocks */
.page-resources-deposit-withdraw-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Default text color for dark background */
}

.page-resources-deposit-withdraw-guide__text-block a {
    color: #FFD700; /* Gold for links */
    text-decoration: none;
}

.page-resources-deposit-withdraw-guide__text-block a:hover {
    text-decoration: underline;
}

/* Content Sections */
.page-resources-deposit-withdraw-guide__content-section {
    padding: 60px 0;
}

.page-resources-deposit-withdraw-guide__methods-section {
    padding: 60px 0;
    background-color: #1A202C; /* Dark brand color for this section */
    color: #f0f0f0;
}

.page-resources-deposit-withdraw-guide__guide-section {
    padding: 60px 0;
    background-color: transparent; /* Use body background */
    color: #f0f0f0;
}

.page-resources-deposit-withdraw-guide__tips-section {
    padding: 60px 0;
    background-color: #1A202C; /* Dark brand color for this section */
    color: #f0f0f0;
}

.page-resources-deposit-withdraw-guide__faq-section {
    padding: 60px 0;
    background-color: transparent; /* Use body background */
    color: #f0f0f0;
}

.page-resources-deposit-withdraw-guide__conclusion-section {
    padding: 60px 0;
    background-color: #1A202C; /* Dark brand color for this section */
    color: #f0f0f0;
    text-align: center;
}

/* Grid layout for cards */
.page-resources-deposit-withdraw-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Card styles */
.page-resources-deposit-withdraw-guide__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-deposit-withdraw-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-deposit-withdraw-guide__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Min size for content images */
    min-height: 200px; /* Min size for content images */
    display: block; /* Ensure it respects max-width */
}

.page-resources-deposit-withdraw-guide__card-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
}

.page-resources-deposit-withdraw-guide__card-text {
    font-size: 1em;
    color: #cccccc;
    flex-grow: 1; /* Make text block fill available space */
}

/* Step list for guides */
.page-resources-deposit-withdraw-guide__step-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources-deposit-withdraw-guide__list-item {
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for list items */
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    border-left: 5px solid #FFD700;
}

.page-resources-deposit-withdraw-guide__list-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources-deposit-withdraw-guide__list-item p {
    color: #f0f0f0;
    margin-bottom: 0;
}

/* Bullet list */
.page-resources-deposit-withdraw-guide__bullet-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-resources-deposit-withdraw-guide__bullet-list .page-resources-deposit-withdraw-guide__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 4px solid #1A202C;
}

.page-resources-deposit-withdraw-guide__bullet-list .page-resources-deposit-withdraw-guide__list-item strong {
    color: #FFD700;
}

/* CTA Buttons */
.page-resources-deposit-withdraw-guide__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-deposit-withdraw-guide__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-resources-deposit-withdraw-guide__btn-primary {
    background-color: #FFD700; /* Gold background */
    color: #1A202C; /* Dark text for gold background */
    border: 2px solid #FFD700;
}

.page-resources-deposit-withdraw-guide__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources-deposit-withdraw-guide__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text for dark background */
    border: 2px solid #FFD700;
}

.page-resources-deposit-withdraw-guide__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-resources-deposit-withdraw-guide__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-deposit-withdraw-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-deposit-withdraw-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #1A202C; /* Dark brand color for question background */
    color: #FFD700;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources-deposit-withdraw-guide__faq-question:hover {
    background-color: #2c3a4d;
}

.page-resources-deposit-withdraw-guide__faq-title {
    margin: 0;
    flex-grow: 1;
    color: #FFD700;
}

.page-resources-deposit-withdraw-guide__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.page-resources-deposit-withdraw-guide__faq-item.active .page-resources-deposit-withdraw-guide__faq-toggle {
    transform: rotate(45deg); /* Change to 'x' or rotate for active state */
}

.page-resources-deposit-withdraw-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-resources-deposit-withdraw-guide__faq-item.active .page-resources-deposit-withdraw-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-resources-deposit-withdraw-guide__faq-answer p {
    margin: 0;
    font-size: 1.05em;
    color: #cccccc;
}

/* Dark background sections */
.page-resources-deposit-withdraw-guide__dark-bg {
    background-color: #1A202C;
    color: #ffffff;
}

/* Light background sections (default or for contrast) */
.page-resources-deposit-withdraw-guide__light-bg {
    background-color: transparent; /* Rely on body background */
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-deposit-withdraw-guide__hero-title {
        font-size: 2.8em;
    }
    .page-resources-deposit-withdraw-guide__hero-description {
        font-size: 1.2em;
    }
    .page-resources-deposit-withdraw-guide__section-title {
        font-size: 2.2em;
    }
    .page-resources-deposit-withdraw-guide__card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    /* Mobile header offset */
    .page-resources-deposit-withdraw-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-deposit-withdraw-guide__hero-title {
        font-size: 2.2em;
        line-height: 1.2;
    }
    .page-resources-deposit-withdraw-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-deposit-withdraw-guide__section-title {
        font-size: 1.8em;
    }
}