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

.page-payment-methods {
    color: var(--text-main);
    background-color: var(--bg-body);
    font-family: 'Arial', sans-serif;
}

.page-payment-methods__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, not --header-offset */
    background-color: var(--deep-green-color);
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.page-payment-methods__main-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
    text-transform: uppercase;
}

.page-payment-methods__intro-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.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: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-payment-methods__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-payment-methods__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-payment-methods__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-payment-methods__btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(242, 193, 78, 0.1);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.page-payment-methods__section-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-payment-methods__section-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

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

.page-payment-methods__method-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-payment-methods__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 20px var(--glow-color);
}

.page-payment-methods__method-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-payment-methods__method-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-payment-methods__method-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-payment-methods__steps-list {
    list-style: none;
    counter-reset: step-counter;
    max-width: 800px;
    margin: 40px auto;
    padding: 0;
    text-align: left;
}

.page-payment-methods__steps-list li {
    counter-increment: step-counter;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 25px 20px 60px;
    margin-bottom: 15px;
    position: relative;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-main);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.page-payment-methods__steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

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

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

.page-payment-methods__feature-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.page-payment-methods__feature-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-payment-methods__feature-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-payment-methods__security-links {
    margin-top: 40px;
    font-size: 16px;
    color: var(--text-secondary);
}

.page-payment-methods__security-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-payment-methods__security-links a:hover {
    text-decoration: underline;
    color: var(--glow-color);
}

.page-payment-methods__faq-section {
    margin-bottom: 80px;
}

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-card);
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: var(--deep-green-color);
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  background: var(--deep-green-color);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
  text-align: left;
}

/* General image responsive styles */
.page-payment-methods img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding-top: 10px !important;
    }

    .page-payment-methods__hero-image-wrapper {
        height: 300px;
    }

    .page-payment-methods__hero-content {
        margin: 20px auto;
        padding: 0 15px;
    }

    .page-payment-methods__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-payment-methods__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

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

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__section {
        margin: 40px auto;
        padding: 0 15px;
    }

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

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

    .page-payment-methods__methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__method-card {
        padding: 20px;
    }

    .page-payment-methods__method-icon {
        height: 180px;
    }

    .page-payment-methods__method-title {
        font-size: 20px;
    }

    .page-payment-methods__method-text {
        font-size: 15px;
    }

    .page-payment-methods__steps-list {
        margin: 30px auto;
    }

    .page-payment-methods__steps-list li {
        padding: 18px 20px 18px 55px;
        font-size: 15px;
    }

    .page-payment-methods__steps-list li::before {
        left: 15px;
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .page-payment-methods__cta-single {
        margin-top: 30px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-payment-methods__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__feature-item {
        padding: 20px;
    }

    .page-payment-methods__feature-icon {
        height: 150px;
    }

    .page-payment-methods__feature-title {
        font-size: 20px;
    }

    .page-payment-methods__feature-text {
        font-size: 15px;
    }

    .page-payment-methods__security-links {
        margin-top: 30px;
        font-size: 15px;
    }

    details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
        padding: 15px;
    }

    .page-payment-methods__faq-qtext {
        font-size: 15px;
    }

    .page-payment-methods__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
        margin-left: 10px;
    }

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

    /* Ensure all images are responsive */
    .page-payment-methods img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-payment-methods__hero-image-wrapper,
    .page-payment-methods__methods-grid,
    .page-payment-methods__method-card,
    .page-payment-methods__security-features,
    .page-payment-methods__feature-item,
    .page-payment-methods__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}