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

.page-payment-methods {
  background-color: var(--t4wbet-background);
  color: var(--t4wbet-text-main); /* Body background is dark, so text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--t4wbet-gold-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--t4wbet-primary-color);
  border-radius: 2px;
}

.page-payment-methods__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--t4wbet-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-payment-methods__text-block {
  font-size: 16px;
  color: var(--t4wbet-text-main);
  margin-bottom: 20px;
}

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

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-payment-methods__main-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--t4wbet-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--t4wbet-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--t4wbet-glow-color);
}

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

.page-payment-methods__btn-secondary:hover {
  background: rgba(var(--t4wbet-gold-color-rgb), 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Overview Section */
.page-payment-methods__overview-section {
  padding: 60px 0;
  background-color: var(--t4wbet-deep-green);
}

/* Card Grid Section */
.page-payment-methods__deposit-options {
  padding: 60px 0;
}

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

.page-payment-methods__card {
  background: var(--t4wbet-card-bg);
  border: 1px solid var(--t4wbet-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: var(--t4wbet-text-main);
  max-width: 100%;
  box-sizing: border-box;
}

.page-payment-methods__card:hover {
  transform: translateY(-10px);
}

.page-payment-methods__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--t4wbet-gold-color);
  margin-bottom: 15px;
}

.page-payment-methods__card-text {
  font-size: 15px;
  color: var(--t4wbet-text-secondary);
  margin-bottom: 25px;
}

.page-payment-methods__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--t4wbet-button-gradient);
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-payment-methods__card-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Guide Section */
.page-payment-methods__guide-section {
  padding: 80px 0;
  background-color: var(--t4wbet-deep-green);
}

.page-payment-methods__guide-section.page-payment-methods__withdrawal-section {
  background-color: var(--t4wbet-background);
}

.page-payment-methods__guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods__guide-content--reverse {
  flex-direction: row-reverse;
}

.page-payment-methods__guide-text {
  flex: 1;
}

.page-payment-methods__guide-image-wrapper {
  flex: 1;
  min-width: 200px;
}

.page-payment-methods__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-payment-methods__guide-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--t4wbet-text-main);
}

.page-payment-methods__guide-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-payment-methods__guide-list strong {
  color: var(--t4wbet-gold-color);
}

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

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

.page-payment-methods__security-item {
  background: var(--t4wbet-card-bg);
  border: 1px solid var(--t4wbet-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--t4wbet-text-main);
  max-width: 100%;
  box-sizing: border-box;
}

.page-payment-methods__security-icon {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  width: 200px; /* Ensure minimum size */
  height: 150px; /* Ensure minimum size */
  object-fit: contain;
}

.page-payment-methods__feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--t4wbet-primary-color);
  margin-bottom: 10px;
}

.page-payment-methods__feature-description {
  font-size: 15px;
  color: var(--t4wbet-text-secondary);
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: var(--t4wbet-deep-green);
}

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

.page-payment-methods__faq-item {
  background: var(--t4wbet-card-bg);
  border: 1px solid var(--t4wbet-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--t4wbet-text-main);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--t4wbet-gold-color);
  cursor: pointer;
  background: var(--t4wbet-deep-green);
  border-bottom: 1px solid var(--t4wbet-divider-color);
  list-style: none; /* For details/summary */
}

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

.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: var(--t4wbet-primary-color);
  margin-left: 15px;
}

.page-payment-methods__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: var(--t4wbet-text-secondary);
}

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

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: var(--t4wbet-gold-color);
}

.page-payment-methods__cta-section .page-payment-methods__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image-wrapper {
    max-height: 500px;
  }
}

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

  .page-payment-methods__main-title {
    font-size: clamp(30px, 6vw, 48px);
  }

  .page-payment-methods__hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__guide-content {
    flex-direction: column;
  }

  .page-payment-methods__guide-content--reverse {
    flex-direction: column;
  }

  .page-payment-methods__guide-text,
  .page-payment-methods__guide-image-wrapper {
    width: 100%;
  }

  .page-payment-methods__card-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-options,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

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

  .page-payment-methods__hero-content {
    padding: 15px;
  }

  .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__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }
}

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

  .page-payment-methods__hero-description {
    font-size: clamp(15px, 3vw, 18px);
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
  }

  .page-payment-methods__section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .page-payment-methods__card-title {
    font-size: 20px;
  }

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

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