/* style/payment-methods.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #121212;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --border-color-dark: rgba(255, 255, 255, 0.2);
}

.page-payment-methods {
  color: var(--text-color-dark-bg);
  background-color: var(--background-dark);
  padding-top: 120px; /* Adjusted for fixed header on desktop */
}

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

.page-payment-methods__hero-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #a00000 100%);
  color: var(--text-color-dark-bg);
  border-bottom: 5px solid var(--primary-color);
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__hero-title .highlight {
  color: var(--primary-color);
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--text-color-light-bg);
  border: 2px solid var(--primary-color);
}

.page-payment-methods__cta-button--primary:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__cta-button--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-payment-methods__cta-button--secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-color-light-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  line-height: 1.7;
  color: #cccccc;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-methods-section,
.page-payment-methods__important-notes-section,
.page-payment-methods__why-choose-us-section,
.page-payment-methods__faq-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color-dark);
}

.page-payment-methods__overview-section {
  background-color: #1a1a1a;
}

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

.page-payment-methods__feature-item {
  background-color: var(--card-background-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--primary-color));
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-payment-methods__method-card-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-background-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

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

.page-payment-methods__method-icon {
  width: 120px;
  height: auto;
  margin-bottom: 25px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__method-description {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-payment-methods__read-more-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s ease;
}

.page-payment-methods__read-more-link:hover {
  border-bottom: 2px solid var(--primary-color);
}

.page-payment-methods__cta-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 50px;
  color: #cccccc;
}

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

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

.page-payment-methods__important-notes-section {
  background-color: #1a1a1a;
}

.page-payment-methods__notes-list {
  list-style-type: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__notes-list li {
  background-color: var(--card-background-dark);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05em;
  line-height: 1.7;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__notes-list li strong {
  color: var(--primary-color);
}

.page-payment-methods__why-choose-us-section {
  background: linear-gradient(135deg, #121212 0%, #202020 100%);
}

.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 {
  background-color: var(--card-background-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-dark);
}

.page-payment-methods__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__advantage-icon {
  width: 90px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--primary-color));
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__advantage-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-payment-methods__final-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--primary-color);
}

.page-payment-methods__final-cta p {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--text-color-dark-bg);
}

/* FAQ common styles */
.page-payment-methods__faq-section {
  background-color: #1a1a1a;
}

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

/* FAQ item styles */
.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ question styles */
.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #282828; /* Darker background for questions */
  border: 1px solid var(--border-color-dark);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-payment-methods__faq-question:hover {
  background: #333333;
  border-color: var(--primary-color);
}

.page-payment-methods__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-color-dark-bg);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

/* FAQ toggle icon */
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  color: var(--text-color-dark-bg);
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* FAQ answer styles */
.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #202020; /* Slightly lighter dark background for answers */
  border-top: 1px dashed var(--border-color-dark);
  border-radius: 0 0 8px 8px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px !important; /* Sufficiently large for content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: #e0e0e0;
}

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

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

  .page-payment-methods__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: 100px !important; /* Adjusted for fixed header on mobile */
  }
  
  .page-payment-methods__hero-section {
    padding: 60px 15px;
  }

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

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

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

  .page-payment-methods__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__withdrawal-methods-section,
  .page-payment-methods__important-notes-section,
  .page-payment-methods__why-choose-us-section,
  .page-payment-methods__faq-section {
    padding: 50px 0;
  }

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

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

  .page-payment-methods__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__method-card-grid,
  .page-payment-methods__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__advantage-item {
    padding: 25px;
  }

  .page-payment-methods__feature-icon,
  .page-payment-methods__method-icon,
  .page-payment-methods__advantage-icon {
    width: 80px;
    margin-bottom: 15px;
  }

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

  .page-payment-methods__feature-description,
  .page-payment-methods__method-description,
  .page-payment-methods__advantage-description {
    font-size: 0.9em;
  }

  .page-payment-methods__notes-list li {
    font-size: 0.95em;
    padding: 15px;
  }

  .page-payment-methods__final-cta {
    padding: 30px 20px;
  }

  .page-payment-methods__final-cta p {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  .page-payment-methods__faq-question {
    padding: 15px 20px;
  }

  .page-payment-methods__faq-question h3 {
    font-size: 1em;
  }

  .page-payment-methods__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  
  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px 20px !important;
  }
  
  .page-payment-methods img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__withdrawal-methods-section,
  .page-payment-methods__important-notes-section,
  .page-payment-methods__why-choose-us-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__container,
  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__advantage-item,
  .page-payment-methods__final-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-payment-methods__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}