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

.page-payment-methods {
    font-family: 'Arial', sans-serif;
    color: var(--zing88-text-main); /* Body background is dark, so text is light */
    background-color: var(--zing88-background);
}

.page-payment-methods__hero-section {
    position: relative;
    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 */
    overflow: hidden;
    background-color: var(--zing88-background);
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

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

.page-payment-methods__hero-content {
    max-width: 900px;
    z-index: 1;
    color: var(--zing88-text-main);
}

.page-payment-methods__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--zing88-text-main);
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-payment-methods__description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--zing88-text-secondary);
    margin-bottom: 30px;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-payment-methods__btn-primary {
    background: var(--zing88-button-gradient);
    color: var(--zing88-text-main);
    border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-payment-methods__btn-secondary:hover {
    background: rgba(34, 199, 104, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

.page-payment-methods__section {
    padding: 60px 20px;
    background-color: var(--zing88-background);
}

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

.page-payment-methods__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    color: var(--zing88-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-payment-methods__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--zing88-secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-payment-methods__text-block {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--zing88-text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-payment-methods__feature-item {
    background-color: var(--zing88-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--zing88-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 15px var(--zing88-glow);
}

.page-payment-methods__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--zing88-text-main);
    margin-bottom: 15px;
}

.page-payment-methods__feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--zing88-text-secondary);
}

.page-payment-methods__method-card {
    background-color: var(--zing88-card-bg);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--zing88-border);
    color: var(--zing88-text-main);
}

.page-payment-methods__method-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--zing88-text-main);
    margin-bottom: 20px;
    text-align: center;
}

.page-payment-methods__method-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__method-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--zing88-text-secondary);
    margin-bottom: 20px;
}

.page-payment-methods__method-subtitle {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--zing88-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-payment-methods__method-steps li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--zing88-text-secondary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-payment-methods__method-steps li::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--zing88-primary-color);
    color: var(--zing88-text-main);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.page-payment-methods__method-steps li:nth-child(1)::before { content: '1'; }
.page-payment-methods__method-steps li:nth-child(2)::before { content: '2'; }
.page-payment-methods__method-steps li:nth-child(3)::before { content: '3'; }
.page-payment-methods__method-steps li:nth-child(4)::before { content: '4'; }
.page-payment-methods__method-steps li:nth-child(5)::before { content: '5'; }

.page-payment-methods__note {
    font-size: 0.95rem;
    color: var(--zing88-gold);
    font-style: italic;
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(242, 193, 78, 0.1);
    border-left: 4px solid var(--zing88-gold);
    border-radius: 4px;
}

.page-payment-methods__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-payment-methods__list-item {
    background-color: var(--zing88-card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--zing88-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    color: var(--zing88-text-main);
}

.page-payment-methods__list-item:hover {
    transform: translateY(-5px);
}

.page-payment-methods__list-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--zing88-primary-color);
    margin-bottom: 15px;
}

.page-payment-methods__list-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--zing88-text-secondary);
}

.page-payment-methods__faq-list {
    margin-top: 40px;
}

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

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--zing88-text-main);
    cursor: pointer;
    background-color: var(--zing88-deep-green);
    border-bottom: 1px solid var(--zing88-divider);
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.2);
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
    background-color: var(--zing88-primary-color);
    color: #fff;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    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: 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--zing88-text-secondary);
}

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

/* Hide default details marker */
.page-payment-methods__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-payment-methods__faq-item summary::marker {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods__hero-content {
        max-width: 700px;
    }
    .page-payment-methods__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }
    .page-payment-methods__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-payment-methods__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-payment-methods__list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-payment-methods {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-payment-methods__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-payment-methods__hero-image-wrapper {
        max-height: 350px;
    }
    .page-payment-methods__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-payment-methods__main-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    .page-payment-methods__description {
        font-size: 1rem;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__method-card,
    .page-payment-methods__feature-item,
    .page-payment-methods__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-payment-methods__text-block {
        font-size: 0.95rem;
    }
    .page-payment-methods__feature-grid {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__feature-icon {
        max-width: 200px;
    }
    .page-payment-methods__method-title {
        font-size: 1.7rem;
    }
    .page-payment-methods__method-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-payment-methods__list {
        grid-template-columns: 1fr;
    }
    .page-payment-methods__list-title {
        font-size: 1.4rem;
    }
    .page-payment-methods__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }
    .page-payment-methods__main-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }
    .page-payment-methods__description {
        font-size: 0.9rem;
    }
    .page-payment-methods__section {
        padding: 40px 10px;
    }
    .page-payment-methods__section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    .page-payment-methods__method-title {
        font-size: 1.5rem;
    }
    .page-payment-methods__method-subtitle {
        font-size: 1.2rem;
    }
    .page-payment-methods__note {
        font-size: 0.85rem;
    }
    .page-payment-methods__list-title {
        font-size: 1.2rem;
    }
}