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

/* Base styles and body padding are handled by shared.css */
.page-payment-methods {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--background); /* #08160F */
  line-height: 1.6;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 80px; /* Small top padding, larger bottom for content */
  text-align: center;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 40px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  padding: 0 15px;
}

.page-payment-methods__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-payment-methods__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* General Content Sections */
.page-payment-methods__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-payment-methods__subsection-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold); /* #F2C14E */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 2px solid var(--divider); /* #1E3A2A */
  padding-bottom: 10px;
}

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

.page-payment-methods__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-payment-methods__list-item {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.page-payment-methods__list-item strong {
  color: var(--text-main);
}

/* Payment Method Cards */
.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(--card-bg); /* #11271B */
  border: 1px solid var(--border); /* #2E7A4E */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__method-icon {
  width: 200px; /* Enforcing minimum size */
  height: 120px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}


.page-payment-methods__method-name {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

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

/* Deposit/Withdrawal Steps */
.page-payment-methods__steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.page-payment-methods__step-number {
  background-color: var(--deep-green); /* #0A4B2C */
  color: var(--text-main);
  font-size: 1.8rem;
  font-weight: 700;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  border: 2px solid var(--glow); /* #57E38D */
}

.page-payment-methods__step-title {
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 600;
}

.page-payment-methods__step-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

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

.page-payment-methods__security-icon {
  width: 200px; /* Enforcing minimum size */
  height: 150px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

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

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

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
}

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

.page-payment-methods__faq-item details {
  cursor: pointer;
}

.page-payment-methods__faq-item details > summary {
  list-style: none; /* Hide default marker */
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.2rem;
  color: var(--text-main);
  font-weight: 600;
  background-color: var(--deep-green); /* Slightly different background for summary */
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item details > summary:hover {
  background-color: var(--primary-color); /* #11A84E */
}

.page-payment-methods__faq-item details > summary::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold);
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--card-bg); /* Match card background */
}

/* Final CTA Section */
.page-payment-methods__final-cta {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--deep-green); /* #0A4B2C */
  border-radius: 15px;
  margin-top: 60px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__final-cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--gold);
  margin-bottom: 25px;
  font-weight: 700;
}

.page-payment-methods__final-cta-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-section {
    padding: 10px 20px 60px;
  }
  .page-payment-methods__section {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 10px 15px 40px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2rem;
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
  }
  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-payment-methods__final-cta-buttons .page-payment-methods__cta-button {
    width: calc(100% - 30px) !important; /* Account for padding */
    max-width: calc(100% - 30px) !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__section {
    padding: 30px 15px;
  }
  .page-payment-methods__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-payment-methods__subsection-title {
    font-size: 1.5rem;
  }
  .page-payment-methods__paragraph,
  .page-payment-methods__list-item,
  .page-payment-methods__method-description,
  .page-payment-methods__step-content,
  .page-payment-methods__security-description,
  .page-payment-methods__faq-answer {
    font-size: 0.95rem;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__security-item,
  .page-payment-methods__faq-item {
    padding: 20px;
  }
  .page-payment-methods__faq-item details > summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-toggle {
    font-size: 1.5rem;
  }

  /* Image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__methods-grid,
  .page-payment-methods__method-card,
  .page-payment-methods__steps-container,
  .page-payment-methods__step-card,
  .page-payment-methods__security-features,
  .page-payment-methods__security-item,
  .page-payment-methods__faq-list,
  .page-payment-methods__faq-item,
  .page-payment-methods__final-cta,
  .page-payment-methods__final-cta-buttons,
  .page-payment-methods__section,
  .page-payment-methods__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */
    /* padding-right: 15px; */
    overflow: hidden !important;
  }
  .page-payment-methods__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-payment-methods__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__method-icon,
  .page-payment-methods__security-icon {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    max-height: 200px !important;
  }

  /* Add specific padding for mobile sections to avoid content touching edges */
  .page-payment-methods__section,
  .page-payment-methods__final-cta {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}