/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #003366; /* Primary color background */
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
  filter: brightness(0.7); /* Darken the image slightly for text readability */
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Secondary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Secondary color for button */
  color: #003366; /* Primary color for text on button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* General Section Styling */
.page-payment-methods__overview-section,
.page-payment-methods__details-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section,
.page-payment-methods__responsible-gaming {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-payment-methods__details-section,
.page-payment-methods__faq-section {
  background-color: #ffffff;
}

.page-payment-methods__section-title {
  font-size: 2.8em;
  color: #003366; /* Primary color */
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

.page-payment-methods__grid-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-payment-methods__grid-item:hover {
  transform: translateY(-5px);
}

.page-payment-methods__grid-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
}

.page-payment-methods__grid-text {
  color: #666666;
  font-size: 1em;
}

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

.page-payment-methods__method-card {
  background-color: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__method-icon {
  width: 250px; /* Minimum 200px, chosen 250px for visual impact */
  height: 187px; /* Maintain aspect ratio for 800x600, 4:3 */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__method-description {
  color: #666666;
  font-size: 1em;
}

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

.page-payment-methods__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-5px);
}

.page-payment-methods__feature-icon {
  width: 250px; /* Minimum 200px, chosen 250px for visual impact */
  height: 166px; /* Maintain aspect ratio for 600x400, 3:2 */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__feature-description {
  color: #666666;
  font-size: 1em;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.page-payment-methods__faq-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #003366;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-payment-methods__faq-question::after {
  content: '+';
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-payment-methods__faq-answer {
  color: #666666;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-payment-methods__faq-answer.open {
  max-height: 200px; /* Arbitrary max-height, adjust as needed */
  padding-top: 15px;
}

/* CTA Section */
.page-payment-methods__cta-section {
  background-color: #003366; /* Primary color */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-payment-methods__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-payment-methods__cta-button--secondary {
  background-color: #0056b3; /* A slightly lighter blue for contrast */
  color: #ffffff;
}

.page-payment-methods__cta-button--secondary:hover {
  background-color: #004085;
}

/* Responsible Gaming Section */
.page-payment-methods__responsible-gaming {
  padding: 40px 0;
  background-color: #f0f0f0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.page-payment-methods__responsible-gaming .page-payment-methods__section-title {
  font-size: 2em;
  color: #003366;
}

.page-payment-methods__responsible-gaming .page-payment-methods__section-intro {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-payment-methods__responsible-gaming a {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
}

.page-payment-methods__responsible-gaming a:hover {
  color: #FFD700;
}

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

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

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

  .page-payment-methods__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    min-height: 400px;
    padding: 60px 15px;
  }

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

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

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

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

  .page-payment-methods__section-intro {
    font-size: 0.95em;
  }

  .page-payment-methods__grid,
  .page-payment-methods__method-list,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__grid-item,
  .page-payment-methods__method-card,
  .page-payment-methods__feature-item,
  .page-payment-methods__faq-item {
    padding: 20px;
  }

  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon {
    width: 200px; /* Ensure minimum 200px */
    height: auto;
  }

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

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

  .page-payment-methods__cta-button {
    margin: 10px 0;
    width: 100%;
  }

  /* Ensure all images within .page-payment-methods are responsive and don't overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-section {
    padding: 40px 10px;
  }

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

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

  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }

  .page-payment-methods__hero-button,
  .page-payment-methods__cta-button {
    font-size: 0.95em;
    padding: 10px 20px;
  }
}