:root {
    --okbet-primary-color: #F2C14E;
    --okbet-secondary-color: #FFD36B;
    --okbet-card-bg: #111111;
    --okbet-background: #0A0A0A;
    --okbet-text-main: #FFF6D6;
    --okbet-border: #3A2A12;
    --okbet-glow: #FFD36B;
    --okbet-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-payment-methods {
    font-family: Arial, sans-serif;
    color: var(--okbet-text-main); /* Default text color for the page, contrasting with body background */
    background-color: var(--okbet-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;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    background-color: var(--okbet-background);
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
}

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

.page-payment-methods__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    color: var(--okbet-text-main);
}

.page-payment-methods__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--okbet-text-main);
    margin-bottom: 15px;
}

.page-payment-methods__subtitle {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--okbet-text-main);
}

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

.page-payment-methods__cta-button {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-payment-methods__btn-primary {
    background: var(--okbet-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

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

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

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

/* General Section Styles */
.page-payment-methods__features-section,
.page-payment-methods__methods-section,
.page-payment-methods__how-to-section,
.page-payment-methods__policies-section,
.page-payment-methods__troubleshooting-section,
.page-payment-methods__why-choose-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
    padding: 60px 0;
    background-color: var(--okbet-background);
}

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

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

/* Feature Grid */
.page-payment-methods__feature-grid,
.page-payment-methods__method-grid,
.page-payment-methods__steps-grid,
.page-payment-methods__policy-grid,
.page-payment-methods__troubleshooting-grid,
.page-payment-methods__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-payment-methods__feature-card,
.page-payment-methods__method-card,
.page-payment-methods__step-card,
.page-payment-methods__policy-card,
.page-payment-methods__troubleshooting-card,
.page-payment-methods__why-choose-card {
    background-color: var(--okbet-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--okbet-border);
    color: var(--okbet-text-main);
}

.page-payment-methods__dark-bg {
    background-color: var(--okbet-card-bg);
    color: var(--okbet-text-main);
}

.page-payment-methods__light-bg {
    background-color: #ffffff; /* White background for contrast */
    color: #333333; /* Dark text for contrast */
    border: 1px solid #e0e0e0;
}

.page-payment-methods__feature-icon,
.page-payment-methods__method-logo {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--okbet-text-main);
}

.page-payment-methods__step-card .page-payment-methods__card-title {
    color: #333333;
}

.page-payment-methods__step-card .page-payment-methods__card-text {
    color: #555555;
}

.page-payment-methods__card-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--okbet-text-main);
}

/* FAQ Section */
.page-payment-methods__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods__faq-item {
    background-color: var(--okbet-card-bg);
    border: 1px solid var(--okbet-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--okbet-text-main);
    background-color: var(--okbet-card-bg);
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: #1a1a1a;
}

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

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
    transform: rotate(0deg); /* No rotation for minus sign */
}

.page-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--okbet-text-main);
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 1000px !important; /* Use !important to ensure override */
    padding: 20px;
    padding-top: 0;
}

.page-payment-methods__faq-answer p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--okbet-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods__hero-content {
        padding: 30px 15px;
    }

    .page-payment-methods__main-title {
        font-size: 2.5em;
    }

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

    .page-payment-methods__features-section,
    .page-payment-methods__methods-section,
    .page-payment-methods__how-to-section,
    .page-payment-methods__policies-section,
    .page-payment-methods__troubleshooting-section,
    .page-payment-methods__why-choose-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-payment-methods__container {
        padding: 0 15px;
    }

    .page-payment-methods__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important;
    }

    .page-payment-methods__main-title {
        font-size: 2em;
        line-height: 1.3;
    }

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

    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-payment-methods__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-payment-methods__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-payment-methods__feature-grid,
    .page-payment-methods__method-grid,
    .page-payment-methods__steps-grid,
    .page-payment-methods__policy-grid,
    .page-payment-methods__troubleshooting-grid,
    .page-payment-methods__why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__feature-card,
    .page-payment-methods__method-card,
    .page-payment-methods__step-card,
    .page-payment-methods__policy-card,
    .page-payment-methods__troubleshooting-card,
    .page-payment-methods__why-choose-card {
        padding: 20px;
    }

    .page-payment-methods__feature-icon,
    .page-payment-methods__method-logo {
        max-width: 200px;
    }

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

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

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

    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-payment-methods__hero-image-wrapper,
    .page-payment-methods__hero-image {
        max-height: 400px;
    }

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

    .page-payment-methods__faq-answer p {
        font-size: 0.9em;
        padding: 0 15px;
    }

    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding: 15px;
        padding-top: 0;
    }
}