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

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-payment-methods-withdrawal-guide {
    color: var(--text-main); /* Light text for dark background */
    background-color: var(--background-color);
    font-family: 'Arial', sans-serif;
}

.page-payment-methods-withdrawal-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-payment-methods-withdrawal-guide__section {
    padding: 60px 0;
    position: relative;
}

.page-payment-methods-withdrawal-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    color: var(--text-main);
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-payment-methods-withdrawal-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-payment-methods-withdrawal-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-payment-methods-withdrawal-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
}

.page-payment-methods-withdrawal-guide__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-payment-methods-withdrawal-guide__description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-payment-methods-withdrawal-guide__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods-withdrawal-guide__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-payment-methods-withdrawal-guide__cta-button--wide {
    padding: 18px 40px;
    font-size: 1.2em;
    margin-top: 30px;
}

.page-payment-methods-withdrawal-guide__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-payment-methods-withdrawal-guide__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-payment-methods-withdrawal-guide__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-payment-methods-withdrawal-guide__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-payment-methods-withdrawal-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods-withdrawal-guide__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-payment-methods-withdrawal-guide__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-payment-methods-withdrawal-guide__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-payment-methods-withdrawal-guide__guide-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-payment-methods-withdrawal-guide__step-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-payment-methods-withdrawal-guide__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-withdrawal-guide__step-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-payment-methods-withdrawal-guide__step-title::before {
    content: attr(data-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: var(--text-main);
    border-radius: 50%;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-payment-methods-withdrawal-guide__step-item:nth-child(1) .page-payment-methods-withdrawal-guide__step-title::before { content: '1'; }
.page-payment-methods-withdrawal-guide__step-item:nth-child(2) .page-payment-methods-withdrawal-guide__step-title::before { content: '2'; }
.page-payment-methods-withdrawal-guide__step-item:nth-child(3) .page-payment-methods-withdrawal-guide__step-title::before { content: '3'; }
.page-payment-methods-withdrawal-guide__step-item:nth-child(4) .page-payment-methods-withdrawal-guide__step-title::before { content: '4'; }
.page-payment-methods-withdrawal-guide__step-item:nth-child(5) .page-payment-methods-withdrawal-guide__step-title::before { content: '5'; }
.page-payment-methods-withdrawal-guide__step-item:nth-child(6) .page-payment-methods-withdrawal-guide__step-title::before { content: '6'; }

.page-payment-methods-withdrawal-guide__step-description {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-payment-methods-withdrawal-guide__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-payment-methods-withdrawal-guide__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods-withdrawal-guide__issues-section {
    background-color: var(--background-color);
    color: var(--text-main);
}

.page-payment-methods-withdrawal-guide__issue-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
    text-align: left;
}

.page-payment-methods-withdrawal-guide__issue-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-payment-methods-withdrawal-guide__issue-description,
.page-payment-methods-withdrawal-guide__issue-solution {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.page-payment-methods-withdrawal-guide__issue-description strong,
.page-payment-methods-withdrawal-guide__issue-solution strong {
    color: var(--gold-color);
}

.page-payment-methods-withdrawal-guide__faq-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-payment-methods-withdrawal-guide__faq-list {
    margin-top: 30px;
}

.page-payment-methods-withdrawal-guide__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-withdrawal-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* For details/summary */
}

.page-payment-methods-withdrawal-guide__faq-question::-webkit-details-marker {
    display: none;
}

.page-payment-methods-withdrawal-guide__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-payment-methods-withdrawal-guide__faq-toggle {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-payment-methods-withdrawal-guide__faq-item[open] .page-payment-methods-withdrawal-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-payment-methods-withdrawal-guide__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods-withdrawal-guide__hero-content {
        padding: 15px;
    }

    .page-payment-methods-withdrawal-guide__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-payment-methods-withdrawal-guide__description {
        font-size: clamp(0.9em, 1.8vw, 1.1em);
    }

    .page-payment-methods-withdrawal-guide__section-title {
        font-size: clamp(1.6em, 3.5vw, 2.5em);
    }

    .page-payment-methods-withdrawal-guide__grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-payment-methods-withdrawal-guide__card,
    .page-payment-methods-withdrawal-guide__issue-card,
    .page-payment-methods-withdrawal-guide__step-item {
        padding: 25px;
    }

    .page-payment-methods-withdrawal-guide__faq-question {
        padding: 18px 20px;
        font-size: 1.1em;
    }

    .page-payment-methods-withdrawal-guide__faq-answer {
        padding: 12px 20px 15px;
    }
}

@media (max-width: 768px) {
    .page-payment-methods-withdrawal-guide__section {
        padding: 40px 0;
    }

    .page-payment-methods-withdrawal-guide__container {
        padding: 0 15px;
    }

    .page-payment-methods-withdrawal-guide__hero-section {
        min-height: 400px;
        padding-top: 10px !important;
    }

    .page-payment-methods-withdrawal-guide__hero-content {
        padding: 15px;
    }

    .page-payment-methods-withdrawal-guide__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-payment-methods-withdrawal-guide__description {
        font-size: clamp(0.9em, 2.5vw, 1em);
    }

    .page-payment-methods-withdrawal-guide__cta-button,
    .page-payment-methods-withdrawal-guide__cta-button--wide {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-payment-methods-withdrawal-guide__section-title {
        font-size: clamp(1.5em, 4.5vw, 2em);
        margin-bottom: 30px;
    }

    .page-payment-methods-withdrawal-guide__text-block,
    .page-payment-methods-withdrawal-guide__card-text,
    .page-payment-methods-withdrawal-guide__step-description,
    .page-payment-methods-withdrawal-guide__list-item,
    .page-payment-methods-withdrawal-guide__issue-description,
    .page-payment-methods-withdrawal-guide__issue-solution,
    .page-payment-methods-withdrawal-guide__faq-answer {
        font-size: 0.95em;
    }

    .page-payment-methods-withdrawal-guide__grid-container {
        grid-template-columns: 1fr;
    }

    .page-payment-methods-withdrawal-guide__card,
    .page-payment-methods-withdrawal-guide__issue-card,
    .page-payment-methods-withdrawal-guide__step-item {
        padding: 20px;
    }

    .page-payment-methods-withdrawal-guide__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-payment-methods-withdrawal-guide__list-item {
        padding: 15px;
    }

    .page-payment-methods-withdrawal-guide__faq-question {
        font-size: 1em;
        padding: 15px 18px;
    }

    .page-payment-methods-withdrawal-guide__faq-answer {
        padding: 10px 18px 12px;
    }

    /* Ensure all images are responsive */
    .page-payment-methods-withdrawal-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-payment-methods-withdrawal-guide__section,
    .page-payment-methods-withdrawal-guide__card,
    .page-payment-methods-withdrawal-guide__container,
    .page-payment-methods-withdrawal-guide__grid-container,
    .page-payment-methods-withdrawal-guide__issue-card,
    .page-payment-methods-withdrawal-guide__step-item,
    .page-payment-methods-withdrawal-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-payment-methods-withdrawal-guide__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-payment-methods-withdrawal-guide__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}