/* style/payment-methods.css */

:root {
  --page-payment-methods-primary-color: #FFD700;
  --page-payment-methods-secondary-color: #8B0000;
  --page-payment-methods-text-light: #ffffff;
  --page-payment-methods-text-dark: #1a1a1a;
  --page-payment-methods-background-dark: #1a1a1a;
  --page-payment-methods-card-background: rgba(255, 255, 255, 0.1);
  --page-payment-methods-border-color: rgba(255, 255, 255, 0.2);
}

.page-payment-methods {
  background-color: var(--page-payment-methods-background-dark);
  color: var(--page-payment-methods-text-light);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-payment-methods__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  color: var(--page-payment-methods-primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  color: var(--page-payment-methods-text-light);
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background-color: var(--page-payment-methods-primary-color);
  color: var(--page-payment-methods-text-dark);
  border: 2px solid var(--page-payment-methods-primary-color);
}

.page-payment-methods__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-payment-methods__btn-secondary {
  background-color: var(--page-payment-methods-secondary-color);
  color: var(--page-payment-methods-text-light);
  border: 2px solid var(--page-payment-methods-secondary-color);
}

.page-payment-methods__btn-secondary:hover {
  background-color: #6a0000;
  border-color: #6a0000;
}

/* General Section Styling */
.page-payment-methods__section-title {
  font-size: 2.5em;
  color: var(--page-payment-methods-primary-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  color: var(--page-payment-methods-text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* Video Section */
.page-payment-methods__video-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-payment-methods__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 12px;
  margin-top: 40px;
}

.page-payment-methods__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

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

/* Why Choose Section */
.page-payment-methods__why-choose-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-payment-methods__feature-card {
  background-color: var(--page-payment-methods-card-background);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-payment-methods-border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: var(--page-payment-methods-primary-color);
  margin-bottom: 15px;
}

.page-payment-methods__feature-text {
  color: var(--page-payment-methods-text-light);
  font-size: 1em;
}

/* Deposit Methods Section */
.page-payment-methods__deposit-methods-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-payment-methods__method-card {
  background-color: var(--page-payment-methods-card-background);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-payment-methods-border-color);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-payment-methods__method-title {
  font-size: 1.6em;
  color: var(--page-payment-methods-primary-color);
  margin-bottom: 15px;
}

.page-payment-methods__method-text {
  color: var(--page-payment-methods-text-light);
  font-size: 1em;
  margin-bottom: 20px;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--page-payment-methods-text-light);
  font-size: 0.95em;
  text-align: left;
  padding-left: 20px;
}

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

/* Withdrawal Process Section */
.page-payment-methods__withdrawal-process-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-payment-methods__step-card {
  background-color: var(--page-payment-methods-card-background);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-payment-methods-border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__step-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-payment-methods__step-title {
  font-size: 1.4em;
  color: var(--page-payment-methods-primary-color);
  margin-bottom: 15px;
}

.page-payment-methods__step-text {
  color: var(--page-payment-methods-text-light);
  font-size: 0.95em;
}

/* Security Section */
.page-payment-methods__security-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-payment-methods__security-card {
  background-color: var(--page-payment-methods-card-background);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-payment-methods-border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__security-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-payment-methods__security-title {
  font-size: 1.5em;
  color: var(--page-payment-methods-primary-color);
  margin-bottom: 15px;
}

.page-payment-methods__security-text {
  color: var(--page-payment-methods-text-light);
  font-size: 1em;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-payment-methods__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-item {
  background-color: var(--page-payment-methods-card-background);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--page-payment-methods-border-color);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--page-payment-methods-secondary-color);
  color: var(--page-payment-methods-text-light);
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #6a0000;
}

.page-payment-methods__faq-title {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Adjust to fit parent font-size */
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--page-payment-methods-text-light);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-payment-methods__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0d0d0d;
}

.page-payment-methods__cta-wrapper {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

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

.page-payment-methods video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

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

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

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-payment-methods__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-payment-methods__cta-wrapper {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

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

  /* Image and Video responsive styles for mobile */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .page-payment-methods__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__security-card {
    padding: 20px;
  }

  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-payment-methods__faq-answer {
    padding: 0 20px;
  }

  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px 20px !important;
  }

  .page-payment-methods__feature-icon,
  .page-payment-methods__method-icon,
  .page-payment-methods__step-icon,
  .page-payment-methods__security-icon {
    min-width: 200px !important; 
    min-height: 200px !important; 
    max-width: 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-section {
    height: 400px;
  }

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

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