/* style/payment-methods.css */

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

.page-payment-methods {
    font-family: 'Arial', sans-serif;
    color: var(--cwin666-text-main); /* Default text color for the page */
    background-color: var(--cwin666-background);
}

.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;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--cwin666-background);
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-payment-methods__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--cwin666-gold);
    margin-bottom: 20px;
}

.page-payment-methods__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--cwin666-text-secondary);
    margin-bottom: 30px;
}

/* General Section Styling */
.page-payment-methods__section {
    padding: 60px 0;
    background-color: var(--cwin666-background);
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: var(--cwin666-primary);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-payment-methods__section-description {
    font-size: 1.1em;
    color: var(--cwin666-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-payment-methods__sub-title {
    font-size: 1.8em;
    color: var(--cwin666-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-payment-methods__text-block {
    font-size: 1em;
    line-height: 1.7;
    color: var(--cwin666-text-secondary);
    margin-bottom: 15px;
}

.page-payment-methods__ordered-list,
.page-payment-methods__unordered-list {
    list-style-position: inside;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-payment-methods__ordered-list li,
.page-payment-methods__unordered-list li {
    font-size: 1em;
    line-height: 1.8;
    color: var(--cwin666-text-secondary);
    margin-bottom: 10px;
}

.page-payment-methods__ordered-list li strong {
    color: var(--cwin666-text-main);
}

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

.page-payment-methods__card {
    background: var(--cwin666-card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--cwin666-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--cwin666-text-main);
}

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

.page-payment-methods__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

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

.page-payment-methods__card-text {
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--cwin666-text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-payment-methods__btn-primary {
    background: var(--cwin666-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

.page-payment-methods__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

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

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

/* Images */
.page-payment-methods__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px 0;
    object-fit: cover;
}

.page-payment-methods__image-center {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 40px auto;
    object-fit: cover;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    background-color: var(--cwin666-deep-green);
    padding: 60px 0;
}

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

.page-payment-methods__faq-item {
    background: var(--cwin666-card-bg);
    border: 1px solid var(--cwin666-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--cwin666-text-main);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--cwin666-text-main);
    cursor: pointer;
    background-color: var(--cwin666-card-bg);
    position: relative;
    list-style: none;
}

.page-payment-methods__faq-question::-webkit-details-marker {
    display: none;
}

.page-payment-methods__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--cwin666-primary);
    transition: transform 0.3s ease;
}

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

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

.page-payment-methods__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__section-title {
        font-size: 2em;
    }
    .page-payment-methods__main-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-payment-methods__container,
    .page-payment-methods__hero-section,
    .page-payment-methods__section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-payment-methods__main-title {
        font-size: 2em; /* Adjusted for mobile */
        line-height: 1.3;
    }

    .page-payment-methods__hero-description {
        font-size: 1em;
    }

    .page-payment-methods__section-title {
        font-size: 1.8em;
    }

    .page-payment-methods__section-description {
        font-size: 0.95em;
    }

    .page-payment-methods__sub-title {
        font-size: 1.5em;
    }

    .page-payment-methods__method-grid,
    .page-payment-methods__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-payment-methods__card {
        padding: 20px;
    }
    
    .page-payment-methods__card-image {
        height: 180px;
    }

    .page-payment-methods__card-title {
        font-size: 1.3em;
    }

    .page-payment-methods__card-text {
        font-size: 0.9em;
    }

    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Mobile image responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness (if any, although this page has no video) */
    .page-payment-methods video,
    .page-payment-methods__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-payment-methods__video-section,
    .page-payment-methods__video-container,
    .page-payment-methods__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-payment-methods__video-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }

    /* Mobile button responsiveness */
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .page-payment-methods a[class*="button"],
    .page-payment-methods a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__cta-buttons,
    .page-payment-methods__button-group,
    .page-payment-methods__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column !important; /* Force vertical stacking on mobile */
    }

    .page-payment-methods__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-payment-methods__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__main-title {
        font-size: 1.8em;
    }

    .page-payment-methods__section-title {
        font-size: 1.6em;
    }
    .page-payment-methods__hero-section {
        padding: 40px 15px;
        padding-top: 10px; /* body handles --header-offset */
    }
    .page-payment-methods__section {
        padding: 40px 0;
    }
    .page-payment-methods__card {
        padding: 15px;
    }
    .page-payment-methods__card-image {
        height: 150px;
    }
}