/* style/payment-methods.css */

/* Custom Colors */
:root {
    --vclub-win-primary: #11A84E; /* Main Green */
    --vclub-win-secondary: #22C768; /* Aux Green */
    --vclub-win-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --vclub-win-card-bg: #11271B; /* Dark Green Card BG */
    --vclub-win-background: #08160F; /* Deep Green Body Background */
    --vclub-win-text-main: #F2FFF6; /* Light Green Text */
    --vclub-win-text-secondary: #A7D9B8; /* Light Greenish Grey Text */
    --vclub-win-border: #2E7A4E; /* Mid Green Border */
    --vclub-win-glow: #57E38D; /* Bright Green Glow */
    --vclub-win-gold: #F2C14E; /* Gold Accent */
    --vclub-win-divider: #1E3A2A; /* Dark Green Divider */
    --vclub-win-deep-green: #0A4B2C; /* Very Dark Green */
}

.page-payment-methods {
    background-color: var(--vclub-win-background); /* Ensure consistent background */
    color: var(--vclub-win-text-main); /* Default text color for the page content */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-payment-methods__hero-content {
    position: relative; /* Changed from absolute to relative to be below image */
    z-index: 2;
    padding: 40px 20px;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    border-radius: 8px;
    margin-top: -80px; /* Overlap slightly with image for visual flow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--vclub-win-card-bg); /* Use card background for hero content */
    color: var(--vclub-win-text-main);
}

.page-payment-methods__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for h1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--vclub-win-text-main);
}

.page-payment-methods__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--vclub-win-text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping for desktop */
    box-sizing: border-box;
    max-width: 100%;
}

.page-payment-methods__btn-primary {
    background: var(--vclub-win-button-gradient);
    color: var(--vclub-win-text-main); /* Light text on dark button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-payment-methods__btn-secondary {
    background: transparent;
    color: var(--vclub-win-primary); /* Primary green text on transparent/light background */
    border: 2px solid var(--vclub-win-primary);
}

.page-payment-methods__btn-secondary:hover {
    background: var(--vclub-win-primary);
    color: var(--vclub-win-text-main);
    transform: translateY(-2px);
}

/* General Section Styling */
.page-payment-methods__section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--vclub-win-divider);
}

.page-payment-methods__section:last-of-type {
    border-bottom: none;
}

.page-payment-methods__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--vclub-win-text-main);
}

.page-payment-methods__text-block {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--vclub-win-text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Images in content */
.page-payment-methods__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

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

.page-payment-methods__card {
    background-color: var(--vclub-win-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--vclub-win-border);
}

.page-payment-methods__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--vclub-win-text-main);
}

.page-payment-methods__card-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--vclub-win-text-secondary);
}

/* Step-by-step Guide */
.page-payment-methods__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
    justify-content: center;
}

.page-payment-methods__step-item {
    background-color: var(--vclub-win-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex: 1 1 calc(33% - 30px); /* Three columns, adjust for gap */
    min-width: 280px;
    border: 1px solid var(--vclub-win-border);
}

.page-payment-methods__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--vclub-win-deep-green);
    color: var(--vclub-win-text-main);
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__step-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--vclub-win-text-main);
}

.page-payment-methods__step-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--vclub-win-text-secondary);
}

/* FAQ Section */
.page-payment-methods__faq {
    text-align: left;
}

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

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

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--vclub-win-deep-green);
    color: var(--vclub-win-text-main);
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: var(--vclub-win-primary);
}

.page-payment-methods__faq-qtext {
    flex-grow: 1;
    color: var(--vclub-win-text-main);
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    color: var(--vclub-win-gold);
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] > .page-payment-methods__faq-question .page-payment-methods__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-payment-methods__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--vclub-win-text-secondary);
}

/* Reset default details/summary styles */
.page-payment-methods__faq-item > summary {
    list-style: none;
}
.page-payment-methods__faq-item > summary::-webkit-details-marker {
    display: none;
}

/* CTA Section */
.page-payment-methods__cta {
    padding: 80px 0;
    background-color: var(--vclub-win-deep-green); /* Darker background for CTA */
    border-top: 1px solid var(--vclub-win-divider);
}

.page-payment-methods__cta .page-payment-methods__section-title {
    color: var(--vclub-win-text-main);
    margin-bottom: 25px;
}

.page-payment-methods__cta .page-payment-methods__text-block {
    color: var(--vclub-win-text-secondary);
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }
    .page-payment-methods__section {
        padding: 40px 0;
    }
    .page-payment-methods__section-title {
        margin-bottom: 25px;
    }
    .page-payment-methods__cards-grid,
    .page-payment-methods__steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .page-payment-methods__step-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-image-wrapper {
        max-height: 400px;
    }
    .page-payment-methods__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
    }
    .page-payment-methods__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-payment-methods__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__section {
        padding: 30px 0;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    .page-payment-methods__text-block {
        font-size: 0.9em;
    }

    /* Images and Videos Responsive */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box; /* Ensure padding/border is included in width */
    }
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__hero-section {
        padding-top: 10px !important;
    }

    .page-payment-methods__cards-grid,
    .page-payment-methods__steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .page-payment-methods__step-item {
        flex: 1 1 100%;
    }
    .page-payment-methods__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-payment-methods__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9em;
    }
    .page-payment-methods__cta {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-image-wrapper {
        max-height: 300px;
    }
    .page-payment-methods__hero-content {
        margin-top: -30px;
        padding: 20px 10px;
    }
    .page-payment-methods__main-title {
        font-size: 1.8em;
    }
    .page-payment-methods__description {
        font-size: 0.9em;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 10px 10px;
        font-size: 0.9em;
    }
    .page-payment-methods__section-title {
        font-size: 1.3em;
    }
}