/* style/payment-methods.css */

/* Custom Colors */
:root {
  --tcup5-primary: #11A84E;
  --tcup5-secondary: #22C768;
  --tcup5-button-gradient-start: #2AD16F;
  --tcup5-button-gradient-end: #13994A;
  --tcup5-card-bg: #11271B;
  --tcup5-background: #08160F;
  --tcup5-text-main: #F2FFF6;
  --tcup5-text-secondary: #A7D9B8;
  --tcup5-border: #2E7A4E;
  --tcup5-glow: #57E38D;
  --tcup5-gold: #F2C14E;
  --tcup5-divider: #1E3A2A;
  --tcup5-deep-green: #0A4B2C;
}

/* Base styles for the page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--tcup5-text-main); /* Default text color for dark background */
  background-color: var(--tcup5-background); /* Body background is dark */
}

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

.page-payment-methods__section {
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods__dark-bg {
  background-color: var(--tcup5-background);
  color: var(--tcup5-text-main);
}

.page-payment-methods__light-bg {
  background-color: #f8f9fa; /* A light background for contrast sections */
  color: #333333; /* Dark text for light background */
}

.page-payment-methods__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section (dark or light) */
  line-height: 1.2;
}

.page-payment-methods__light-bg .page-payment-methods__section-title {
  color: #1a1a1a;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 80px;
  color: var(--tcup5-text-main);
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.page-payment-methods__main-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--tcup5-text-main);
  line-height: 1.2;
  /* Using clamp for responsive font size, but avoiding overly large fixed values */
  font-size: clamp(2em, 4vw, 3.2em);
}

.page-payment-methods__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--tcup5-text-secondary);
}

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

.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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-payment-methods__btn-primary {
  background: var(--tcup5-button-gradient-start);
  background-image: linear-gradient(180deg, var(--tcup5-button-gradient-start) 0%, var(--tcup5-button-gradient-end) 100%);
  color: var(--tcup5-text-main);
  border: none;
}

.page-payment-methods__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-payment-methods__btn-secondary:hover {
  background-color: var(--tcup5-primary);
  color: var(--tcup5-text-main);
  transform: translateY(-2px);
}

/* Feature Grid / Overview Section */
.page-payment-methods__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__feature-item {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  background-color: var(--tcup5-card-bg); /* Card BG from custom colors */
  color: var(--tcup5-text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__light-bg .page-payment-methods__feature-item {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__feature-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: inherit;
}

.page-payment-methods__feature-description {
  font-size: 1em;
  color: var(--tcup5-text-secondary);
}

.page-payment-methods__light-bg .page-payment-methods__feature-description {
  color: #555555;
}

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

.page-payment-methods__method-card {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  background-color: var(--tcup5-card-bg);
  color: var(--tcup5-text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__light-bg .page-payment-methods__method-card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__method-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__method-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: inherit;
}

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

.page-payment-methods__light-bg .page-payment-methods__method-description {
  color: #555555;
}

.page-payment-methods__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* How-To Guide Section */
.page-payment-methods__how-to-guide .page-payment-methods__container {
  text-align: left;
}

.page-payment-methods__guide-block {
  background-color: var(--tcup5-card-bg);
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__guide-block:last-child {
  margin-bottom: 0;
}

.page-payment-methods__guide-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--tcup5-primary);
  margin-bottom: 25px;
}

.page-payment-methods__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: var(--tcup5-text-main);
}

.page-payment-methods__guide-list li {
  margin-bottom: 15px;
}

.page-payment-methods__guide-list li strong {
  color: var(--tcup5-glow);
}

/* Important Notes Section */
.page-payment-methods__important-notes .page-payment-methods__container {
  text-align: left;
}

.page-payment-methods__notes-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 40px;
  font-size: 1.1em;
  color: #333333;
}

.page-payment-methods__notes-list li {
  margin-bottom: 15px;
}

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

/* FAQ Section */
.page-payment-methods__faq-section .page-payment-methods__container {
  text-align: left;
}

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

.page-payment-methods__faq-item {
  background-color: var(--tcup5-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--tcup5-text-main);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--tcup5-text-main);
  position: relative;
  list-style: none; /* For details/summary */
}

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

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--tcup5-glow);
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--tcup5-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 10px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 500px !important;
  padding-top: 10px;
}

/* CTA Bottom Section */
.page-payment-methods__cta-bottom {
  padding-top: 60px;
  padding-bottom: 80px;
}

.page-payment-methods__cta-bottom .page-payment-methods__text-block {
  margin-bottom: 30px;
}

/* Global Image/Video/Button Responsive Styles (via shared.css for body padding) */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page-payment-methods__video-container {
  width: 100%; /* Ensure desktop width is 100% before max-width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-payment-methods__hero-content {
    padding: 30px 15px;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__method-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section {
    padding: 50px 0;
  }
  .page-payment-methods__hero-section {
    padding-bottom: 50px;
  }
  .page-payment-methods__hero-content {
    padding: 20px 15px;
    border-radius: 0;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }
  .page-payment-methods__subtitle,
  .page-payment-methods__text-block,
  .page-payment-methods__guide-list,
  .page-payment-methods__notes-list,
  .page-payment-methods__faq-answer p {
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__feature-title,
  .page-payment-methods__method-title {
    font-size: 1.5em;
  }
  .page-payment-methods__guide-title {
    font-size: 1.8em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__container,
  .page-payment-methods__hero-content,
  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__guide-block,
  .page-payment-methods__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }
  .page-payment-methods__guide-block {
    padding: 30px 15px;
  }
  .page-payment-methods__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}