.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #0a0a0a, so light text */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #0a0a0a;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  overflow: hidden;
  color: #ffffff;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF; /* Ensures high contrast on dark background */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-payment-methods__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-payment-methods__btn-primary:hover {
  background-color: #02944b;
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-payment-methods__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-payment-methods__advantages-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__limits-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Consistent dark background */
  color: #ffffff;
}

.page-payment-methods__dark-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-payment-methods__advantage-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-payment-methods__advantage-item:hover {
  transform: translateY(-10px);
}

.page-payment-methods__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Lighten icon slightly for visibility */
}

.page-payment-methods__advantage-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-payment-methods__advantage-text {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-payment-methods__method-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__method-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-payment-methods__method-title {
  font-size: 1.8em;
  color: #017439;
  padding: 20px 20px 10px 20px;
}

.page-payment-methods__method-text {
  font-size: 1em;
  color: #e0e0e0;
  padding: 0 20px 15px 20px;
}

.page-payment-methods__method-list {
  list-style-type: disc;
  margin-left: 20px;
  padding: 0 20px 20px 40px;
  color: #f0f0f0;
}

.page-payment-methods__method-list li {
  margin-bottom: 8px;
}

.page-payment-methods__table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
}

.page-payment-methods__limits-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Ensure table is wide enough for content */
}

.page-payment-methods__limits-table th,
.page-payment-methods__limits-table td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px;
  text-align: left;
  color: #f0f0f0;
}

.page-payment-methods__limits-table th {
  background-color: #017439;
  color: #FFFFFF;
  font-weight: bold;
}

.page-payment-methods__limits-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-payment-methods__note-text {
  text-align: center;
  font-style: italic;
  margin-top: 30px;
  color: #cccccc;
}

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

.page-payment-methods__feature-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.2);
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-payment-methods__feature-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-payment-methods__main-security-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__video-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-payment-methods__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__video-wrapper .page-payment-methods__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-payment-methods__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Subtle overlay for clickability */
  z-index: 1;
  pointer-events: none; /* Allow click to pass through to the link */
}

.page-payment-methods__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
}

.page-payment-methods__support-channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__channel-item {
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__channel-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-payment-methods__channel-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

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

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-payment-methods__faq-title {
  font-size: 1.2em;
  color: #FFFFFF;
  margin: 0;
}

.page-payment-methods__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
  color: #FFFFFF;
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-payment-methods__cta-section {
  text-align: center;
  background-color: #017439;
  padding: 100px 0;
}

.page-payment-methods__cta-title {
  font-size: 3em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Override specific colors for login/register if needed */
.page-payment-methods__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-payment-methods__btn-register:hover {
  background-color: #e00b0b;
}

.page-payment-methods__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-payment-methods__btn-login:hover {
  background-color: #e00b0b;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile */
  }

  .page-payment-methods__hero-content {
    padding: 25px;
  }

  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }

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

  .page-payment-methods__hero-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-title {
    font-size: 1.8em;
  }

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

  .page-payment-methods__advantages-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__limits-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 60px 0;
  }

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

  .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,
  .page-payment-methods__table-wrapper,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-payment-methods__video-section {
    padding-top: 0 !important; /* Handled by hero section, prevent double padding */
  }

  .page-payment-methods__video-wrapper {
    padding-bottom: 56.25% !important;
  }

  .page-payment-methods__video-wrapper .page-payment-methods__video {
    width: 100% !important;
    height: 100% !important;
  }

  .page-payment-methods__limits-table {
    min-width: 100%; /* Adjust for mobile */
  }

  .page-payment-methods__support-channels {
    flex-direction: column;
    align-items: center;
  }

  .page-payment-methods__channel-item {
    max-width: 100%;
    flex: 1 1 100%;
  }

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

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

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

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

  .page-payment-methods__advantage-title,
  .page-payment-methods__method-title,
  .page-payment-methods__feature-title,
  .page-payment-methods__channel-title,
  .page-payment-methods__faq-title {
    font-size: 1.3em;
  }
}