/* style/payment-methods.css */

:root {
  --winph-primary: #F2C14E;
  --winph-secondary: #FFD36B;
  --winph-card-bg: #111111;
  --winph-bg: #0A0A0A;
  --winph-text-main: #FFF6D6;
  --winph-border: #3A2A12;
  --winph-glow: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--winph-text-main); /* Default text color for the page */
  background-color: var(--winph-bg); /* Default background color for the page */
}

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

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--winph-bg);
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: var(--winph-text-main);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__subtitle {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #E0E0E0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-payment-methods__btn-secondary:hover {
  background: var(--winph-secondary);
  color: var(--winph-bg);
  transform: translateY(-2px);
}

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--winph-primary);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

/* Why Choose Us Section */
.page-payment-methods__why-choose-us {
  background-color: var(--winph-bg);
  border-bottom: 1px solid var(--winph-border);
}

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

.page-payment-methods__feature-card {
  background: var(--winph-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--winph-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__feature-icon {
  width: 250px; /* Min size requirement */
  height: 200px; /* Min size requirement */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-payment-methods__feature-text {
  color: #CCCCCC;
}

/* Available Methods Section */
.page-payment-methods__available-methods {
  background-color: var(--winph-bg);
  border-bottom: 1px solid var(--winph-border);
}

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

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

.page-payment-methods__method-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px var(--winph-glow));
}

/* Exception for small icons: category icons are allowed */
.page-payment-methods__icon-exception {
  width: 80px;
  height: 80px;
  min-width: unset;
  min-height: unset;
}

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

.page-payment-methods__method-text {
  color: #CCCCCC;
  margin-bottom: 20px;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: #E0E0E0;
}

.page-payment-methods__method-details li {
  margin-bottom: 5px;
  padding-left: 10px;
  position: relative;
}

.page-payment-methods__method-details li strong {
  color: var(--winph-secondary);
}

/* How-To Sections */
.page-payment-methods__how-to-deposit,
.page-payment-methods__how-to-withdraw {
  background-color: var(--winph-bg);
  border-bottom: 1px solid var(--winph-border);
}

.page-payment-methods__steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.page-payment-methods__step-card {
  background: var(--winph-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--winph-border);
  text-align: center;
  flex: 1 1 280px;
  max-width: 350px;
}

.page-payment-methods__step-number {
  width: 50px;
  height: 50px;
  background: var(--winph-primary);
  color: var(--winph-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  margin: 0 auto 20px auto;
}

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

.page-payment-methods__step-text {
  color: #CCCCCC;
}

.page-payment-methods__cta-container {
  text-align: center;
  margin-top: 40px;
}

.page-payment-methods__important-notes {
  background: rgba(242, 193, 78, 0.1);
  border: 1px solid var(--winph-primary);
  border-radius: 8px;
  padding: 25px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__notes-title {
  color: var(--winph-primary);
  font-size: 1.3em;
  margin-bottom: 15px;
  text-align: center;
}

.page-payment-methods__important-notes ul {
  list-style: disc;
  padding-left: 25px;
  color: #E0E0E0;
}

.page-payment-methods__important-notes li {
  margin-bottom: 10px;
}

/* Security and Fairness Section */
.page-payment-methods__security-fairness {
  background-color: var(--winph-bg);
  border-bottom: 1px solid var(--winph-border);
}

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

.page-payment-methods__security-item {
  background: var(--winph-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--winph-border);
}

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

.page-payment-methods__security-text {
  color: #CCCCCC;
}

/* FAQ Section */
.page-payment-methods__faq {
  background-color: var(--winph-bg);
  border-bottom: 1px solid var(--winph-border);
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: #1A1A1A;
  color: var(--winph-text-main);
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-question h3 {
  margin: 0;
  color: var(--winph-text-main);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--winph-primary);
  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 20px;
  color: #CCCCCC;
  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 to show content */
  padding: 20px;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
}

/* Contact Support Section */
.page-payment-methods__contact-support {
  background-color: var(--winph-bg);
  border-bottom: 1px solid var(--winph-border);
}

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

/* Final CTA Section */
.page-payment-methods__final-cta {
  background-color: var(--winph-bg);
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    padding: 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 4.5vw, 2.8em);
  }

  .page-payment-methods__subtitle {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section {
    padding: 40px 15px;
  }

  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile header offset */
    padding-bottom: 40px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
  }

  .page-payment-methods__subtitle {
    font-size: clamp(0.85em, 2.5vw, 1em);
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }

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

  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__steps-container,
  .page-payment-methods__security-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__feature-icon,
  .page-payment-methods__method-icon {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    min-width: 200px; /* Ensure content images are not too small */
    min-height: 200px;
    object-fit: contain;
  }

  .page-payment-methods__icon-exception {
    width: 80px !important;
    height: 80px !important;
    min-width: unset !important;
    min-height: unset !important;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__feature-card,
  .page-payment-methods__security-item {
    padding: 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

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

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

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

  .page-payment-methods__contact-options {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.2em, 7vw, 1.8em);
  }

  .page-payment-methods__subtitle {
    font-size: clamp(0.8em, 3vw, 0.9em);
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px;
  }
}