/* style/payment-methods.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Grey */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0d0d0d;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

.page-payment-methods {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark);
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    padding: 120px 0 80px; /* Adjusted padding-top for fixed header */
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    color: var(--text-light);
    overflow: hidden;
}

.page-payment-methods__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:payment,hero,abstract_gold]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-payment-methods__hero-section .page-payment-methods__container {
    position: relative;
    z-index: 1;
}

.page-payment-methods__main-title {
    font-size: 3.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px var(--shadow-dark);
    line-height: 1.2;
}

.page-payment-methods__hero-description {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-payment-methods__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-dark);
    border: none;
    cursor: pointer;
}

.page-payment-methods__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-payment-methods__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-dark);
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-payment-methods__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-dark);
}

/* General Section Styling */
.page-payment-methods__overview-section,
.page-payment-methods__withdrawal-guide-section,
.page-payment-methods__notes-section,
.page-payment-methods__final-cta-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-payment-methods__deposit-guide-section,
.page-payment-methods__advantages-section,
.page-payment-methods__faq-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: #f0f0f0;
}

/* Feature Grid (Overview Section) */
.page-payment-methods__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__feature-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-dark);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-payment-methods__feature-card:hover {
    transform: translateY(-5px);
    background-color: #3a3a3a;
}

.page-payment-methods__feature-icon {
    width: 80px; /* Min size 200x200px requirement, this is an icon, so I'll make it larger in the image description */
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-payment-methods__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #cccccc;
}

/* Method Cards (Deposit Guide) */
.page-payment-methods__method-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__method-card {
    background-color: #3a3a3a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-dark);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    background-color: #4a4a4a;
}

.page-payment-methods__method-icon {
    width: 100px; /* Min size 200x200px requirement, this is an icon, so I'll make it larger in the image description */
    height: 100px;
    object-fit: contain;
    margin: 0 auto 25px;
    display: block;
}

.page-payment-methods__method-title {
    font-size: 1.6em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.page-payment-methods__method-description {
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: center;
}

.page-payment-methods__method-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-payment-methods__method-steps li {
    background-color: #2a2a2a;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 0.95em;
    color: #e0e0e0;
    border-left: 3px solid var(--primary-color);
}

.page-payment-methods__cta-center {
    text-align: center;
    margin-top: 60px;
}

/* Withdrawal Guide Section */
.page-payment-methods__content-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.page-payment-methods__text-content {
    flex: 2;
}

.page-payment-methods__image-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-payment-methods__image-full-width {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-dark);
}

.page-payment-methods__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-payment-methods__withdrawal-steps {
    list-style: decimal;
    padding-left: 25px;
    color: #f0f0f0;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 30px;
}

.page-payment-methods__withdrawal-steps li {
    margin-bottom: 10px;
}

/* Advantages Section */
.page-payment-methods__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__advantage-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-dark);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-payment-methods__advantage-item:hover {
    transform: translateY(-5px);
    background-color: #3a3a3a;
}

.page-payment-methods__advantage-icon {
    width: 90px; /* Min size 200x200px requirement, this is an icon, so I'll make it larger in the image description */
    height: 90px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-payment-methods__advantage-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-payment-methods__advantage-item p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #cccccc;
}

/* Important Notes Section */
.page-payment-methods__notes-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-payment-methods__notes-list li {
    background-color: #2a2a2a;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #e0e0e0;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px var(--shadow-dark);
    transition: background-color 0.3s ease;
}

.page-payment-methods__notes-list li:hover {
    background-color: #3a3a3a;
}

.page-payment-methods__notes-list li strong {
    color: var(--primary-color);
}

/* FAQ Section */
.page-payment-methods__faq-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-payment-methods__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-payment-methods__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-dark);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #333333;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-payment-methods__faq-question:hover {
    background: #444444;
    border-color: var(--primary-color);
}

.page-payment-methods__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-payment-methods__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
    transform: rotate(45deg); /* Change to X or rotate for active state */
    color: var(--text-light);
}

.page-payment-methods__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 25px;
    opacity: 0;
    background: #2a2a2a;
    color: #e0e0e0;
    font-size: 1em;
    line-height: 1.7;
    border-radius: 0 0 8px 8px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* Final CTA Section */
.page-payment-methods__final-cta-section {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(135deg, #333333 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

.page-payment-methods__final-cta-title {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-shadow: 0 2px 4px var(--shadow-dark);
}

.page-payment-methods__final-cta-description {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__main-title {
        font-size: 2.8em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__hero-description,
    .page-payment-methods__text-block {
        font-size: 1em;
    }
    .page-payment-methods__feature-card,
    .page-payment-methods__method-card,
    .page-payment-methods__advantage-item {
        padding: 25px;
    }
    .page-payment-methods__sub-title {
        font-size: 1.5em;
    }
    .page-payment-methods__final-cta-title {
        font-size: 2.2em;
    }
    .page-payment-methods__final-cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-top: 100px !important; /* Mobile padding-top for fixed header */
        padding-bottom: 60px;
    }
    .page-payment-methods__main-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 0.95em;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-payment-methods__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-payment-methods__overview-section,
    .page-payment-methods__deposit-guide-section,
    .page-payment-methods__withdrawal-guide-section,
    .page-payment-methods__advantages-section,
    .page-payment-methods__notes-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__final-cta-section {
        padding: 60px 0;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-payment-methods__text-block {
        font-size: 0.9em;
        margin-bottom: 40px;
    }
    .page-payment-methods__feature-card,
    .page-payment-methods__method-card,
    .page-payment-methods__advantage-item {
        padding: 20px;
    }
    .page-payment-methods__feature-icon,
    .page-payment-methods__method-icon,
    .page-payment-methods__advantage-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    .page-payment-methods__feature-title,
    .page-payment-methods__method-title,
    .page-payment-methods__advantage-title {
        font-size: 1.3em;
    }
    .page-payment-methods__content-flex {
        flex-direction: column;
        gap: 30px;
    }
    .page-payment-methods__image-content {
        order: -1; /* Image first on mobile */
    }
    .page-payment-methods__faq-question {
        padding: 15px 20px;
    }
    .page-payment-methods__faq-question h3 {
        font-size: 1.1em;
    }
    .page-payment-methods__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-payment-methods__faq-answer {
        padding: 15px 20px !important;
    }
    .page-payment-methods__final-cta-title {
        font-size: 1.8em;
    }
    .page-payment-methods__final-cta-description {
        font-size: 1em;
    }

    /* Ensure all images are responsive and do not overflow */
    .page-payment-methods img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-payment-methods__container,
    .page-payment-methods__hero-section,
    .page-payment-methods__overview-section,
    .page-payment-methods__deposit-guide-section,
    .page-payment-methods__withdrawal-guide-section,
    .page-payment-methods__advantages-section,
    .page-payment-methods__notes-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__final-cta-section,
    .page-payment-methods__feature-card,
    .page-payment-methods__method-card,
    .page-payment-methods__advantage-item,
    .page-payment-methods__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevents overflow */
    }

    .page-payment-methods__cta-center {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__notes-list li {
        padding: 15px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__main-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__feature-title,
    .page-payment-methods__method-title,
    .page-payment-methods__advantage-title {
        font-size: 1.2em;
    }
    .page-payment-methods__hero-section {
        padding-top: 80px !important; /* Smaller padding for smaller screens */
    }
    .page-payment-methods__cta-button {
        font-size: 0.9em !important;
    }
    .page-payment-methods__faq-question h3 {
        font-size: 1em;
    }
    .page-payment-methods__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
}