/* style/payment-methods-details.css */

/* Base Styles */
.page-payment-methods-details {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-payment-methods-details__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods-details__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods-details a {
  color: #26A9E0;
  text-decoration: none;
}

.page-payment-methods-details a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-payment-methods-details__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  background-image: url('[GALLERY:hero_payment:1920x1080:e2bet_login,payment_methods,secure_transactions,online_casino]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.page-payment-methods-details__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-payment-methods-details__hero-section > .page-payment-methods-details__container {
    position: relative;
    z-index: 2;
}

.page-payment-methods-details__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

/* Buttons */
.page-payment-methods-details__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-payment-methods-details__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-payment-methods-details__btn-primary:hover {
  background-color: #1a7fb8;
  border-color: #1a7fb8;
}

.page-payment-methods-details__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-payment-methods-details__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* Section Titles and Descriptions */
.page-payment-methods-details__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-payment-methods-details__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-payment-methods-details__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* General Section Padding */
.page-payment-methods-details__overview-section,
.page-payment-methods-details__deposit-section,
.page-payment-methods-details__withdrawal-section,
.page-payment-methods-details__security-section,
.page-payment-methods-details__faq-section,
.page-payment-methods-details__cta-bottom-section {
  padding: 80px 0;
}

/* Card Styles */
.page-payment-methods-details__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  height: 100%;
  box-sizing: border-box;
}

.page-payment-methods-details__light-bg .page-payment-methods-details__card {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Feature Grid */
.page-payment-methods-details__feature-grid,
.page-payment-methods-details__steps-grid,
.page-payment-methods-details__payment-methods-list {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods-details__feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-payment-methods-details__feature-icon {
  width: 100%; /* Ensure images are responsive */
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods-details__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: inherit;
}

.page-payment-methods-details__feature-text {
  font-size: 1em;
  color: inherit;
}

/* Steps Grid */
.page-payment-methods-details__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-payment-methods-details__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: inherit;
}

.page-payment-methods-details__step-text {
  font-size: 1em;
  color: inherit;
}

/* Payment Methods List */
.page-payment-methods-details__payment-methods-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-payment-methods-details__method-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods-details__method-name {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: inherit;
}

.page-payment-methods-details__method-description {
  font-size: 1em;
  color: inherit;
}

/* List Styles */
.page-payment-methods-details__list {
  list-style: disc inside;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 20px;
  color: inherit;
}

.page-payment-methods-details__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-payment-methods-details__list strong {
  color: inherit;
}

/* Security Section */
.page-payment-methods-details__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods-details__security-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-payment-methods-details__security-text-block {
  flex: 2 1 500px;
  text-align: left;
  color: #ffffff;
}

.page-payment-methods-details__security-text-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

/* FAQ Section */
.page-payment-methods-details__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods-details__faq-item {
  margin-bottom: 15px;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.page-payment-methods-details__light-bg .page-payment-methods-details__faq-item {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-payment-methods-details__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
}

.page-payment-methods-details__light-bg .page-payment-methods-details__faq-question {
  background-color: #efefef;
  border-bottom: 1px solid #e0e0e0;
}

.page-payment-methods-details__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods-details__faq-question::marker {
  display: none;
}

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

.page-payment-methods-details__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-payment-methods-details__faq-item[open] .page-payment-methods-details__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods-details__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1em;
  color: inherit;
}

.page-payment-methods-details__faq-answer p {
  margin-top: 10px;
}

/* CTA Bottom Section */
.page-payment-methods-details__cta-bottom-section {
  text-align: center;
}

.page-payment-methods-details__button-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 20px;
}

/* Global Image Styles */
.page-payment-methods-details img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-payment-methods-details__main-title {
    font-size: 3em;
  }
  .page-payment-methods-details__section-title {
    font-size: 2em;
  }
  .page-payment-methods-details__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods-details {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods-details__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-payment-methods-details__main-title {
    font-size: 2.2em;
  }
  .page-payment-methods-details__intro-text {
    font-size: 1em;
  }
  .page-payment-methods-details__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods-details__sub-title {
    font-size: 1.4em;
  }
  .page-payment-methods-details__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods-details__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0;
    padding: 12px 20px;
  }
  .page-payment-methods-details__button-group {
    flex-direction: column;
    gap: 10px;
  }
  .page-payment-methods-details__feature-grid,
  .page-payment-methods-details__steps-grid,
  .page-payment-methods-details__payment-methods-list {
    grid-template-columns: 1fr;
  }
  .page-payment-methods-details__security-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-payment-methods-details__security-image {
    max-width: 100%;
  }
  .page-payment-methods-details__security-text-block {
    text-align: center;
  }
  .page-payment-methods-details img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods-details__section,
  .page-payment-methods-details__card,
  .page-payment-methods-details__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods-details__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-payment-methods-details__video-section,
  .page-payment-methods-details__video-container,
  .page-payment-methods-details__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods-details__main-title {
    font-size: 1.8em;
  }
  .page-payment-methods-details__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods-details__sub-title {
    font-size: 1.2em;
  }
  .page-payment-methods-details__cta-button {
    font-size: 0.9em;
    padding: 10px 15px;
  }
}