/* style/payment-methods.css */

/* Custom Colors */
:root {
  --gi88-win-main: #11A84E;
  --gi88-win-secondary: #22C768;
  --gi88-win-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --gi88-win-card-bg: #11271B;
  --gi88-win-background: #08160F;
  --gi88-win-text-main: #F2FFF6;
  --gi88-win-text-secondary: #A7D9B8;
  --gi88-win-border: #2E7A4E;
  --gi88-win-glow: #57E38D;
  --gi88-win-gold: #F2C14E;
  --gi88-win-divider: #1E3A2A;
  --gi88-win-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--gi88-win-text-main); /* Default text color for dark body background */
  background-color: var(--gi88-win-background); /* Ensure consistent background */
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gi88-win-text-main);
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  color: var(--gi88-win-text-secondary);
}

.page-payment-methods__text-main {
  color: var(--gi88-win-text-main);
}

.page-payment-methods__text-secondary {
  color: var(--gi88-win-text-secondary);
}

/* Section Backgrounds */
.page-payment-methods__dark-bg {
  background-color: var(--gi88-win-background);
  color: var(--gi88-win-text-main);
}

.page-payment-methods__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-payment-methods__dark-section {
  background-color: var(--gi88-win-deep-green);
  padding: 60px 0;
  color: var(--gi88-win-text-main);
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

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

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-payment-methods__hero-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gi88-win-text-main);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--gi88-win-text-secondary);
}

/* Intro Section */
.page-payment-methods__intro-section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__intro-section .page-payment-methods__section-title,
.page-payment-methods__intro-section .page-payment-methods__text-block {
  color: #333333;
}

/* Buttons */
.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;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: var(--gi88-win-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

.page-payment-methods__btn-secondary:hover {
  background: var(--gi88-win-main);
  color: #ffffff;
}

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

/* Cards */
.page-payment-methods__card {
  background-color: var(--gi88-win-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--gi88-win-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gi88-win-text-main);
}

.page-payment-methods__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--gi88-win-text-secondary);
  flex-grow: 1;
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-payment-methods__card-features li {
  font-size: 0.95em;
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
  text-align: left;
  color: var(--gi88-win-text-secondary);
}

.page-payment-methods__card-features li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--gi88-win-glow);
}

/* Steps Guide */
.page-payment-methods__deposit-guide .page-payment-methods__section-title,
.page-payment-methods__deposit-guide .page-payment-methods__text-block,
.page-payment-methods__withdrawal-guide .page-payment-methods__section-title,
.page-payment-methods__withdrawal-guide .page-payment-methods__text-block {
  color: #333333;
}

.page-payment-methods__step-item {
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-payment-methods__step-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background-color: var(--gi88-win-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(17, 168, 78, 0.2);
}

.page-payment-methods__step-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Ensure icon is white on green background */
}

.page-payment-methods__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333333;
}

.page-payment-methods__step-description {
  font-size: 1em;
  color: #555555;
}

.page-payment-methods__step-description a {
  color: var(--gi88-win-main);
  text-decoration: none;
  font-weight: bold;
}

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

.page-payment-methods__tips {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background-color: #e6ffe6;
  border-left: 5px solid var(--gi88-win-main);
  border-radius: 8px;
  color: #333333;
}

/* Important Notes Section */
.page-payment-methods__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-payment-methods__notes-list li {
  background-color: var(--gi88-win-card-bg);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 5px solid var(--gi88-win-main);
  color: var(--gi88-win-text-secondary);
  font-size: 1.05em;
}

.page-payment-methods__notes-list li strong {
  color: var(--gi88-win-text-main);
  font-size: 1.1em;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
}

.page-payment-methods__faq-section .page-payment-methods__section-title {
  color: #333333;
}

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

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gi88-win-main);
}

.page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
}

.page-payment-methods__faq-answer p {
  margin-top: 15px;
}

/* CTA Section */
.page-payment-methods__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--gi88-win-deep-green);
}

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

.page-payment-methods__cta-buttons .page-payment-methods__btn-primary,
.page-payment-methods__cta-buttons .page-payment-methods__btn-secondary {
  min-width: 220px; /* Ensure buttons are not too small on desktop */
}

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

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

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-payment-methods__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

  .page-payment-methods__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

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

  .page-payment-methods__text-block {
    font-size: 1em;
  }

  .page-payment-methods__dark-section,
  .page-payment-methods__light-bg {
    padding: 40px 0;
  }

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

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-image {
    height: 180px;
  }

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

  .page-payment-methods__step-item {
    padding: 15px;
  }

  .page-payment-methods__step-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-payment-methods__step-icon {
    width: 50px;
    height: 50px;
  }

  .page-payment-methods__step-title {
    font-size: 1.3em;
  }

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

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

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

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

  .page-payment-methods__cta-buttons .page-payment-methods__btn-primary,
  .page-payment-methods__cta-buttons .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset;
    padding: 12px 20px;
  }

  /* Responsive images */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__deposit-guide,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__withdrawal-guide,
  .page-payment-methods__important-notes,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
}