/* style/payment-methods-deposit-guide.css */

:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000;
  --bg-light: #f8f9fa;
}

.page-payment-methods-deposit-guide {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: var(--bg-dark);
  line-height: 1.6;
}

.page-payment-methods-deposit-guide__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-payment-methods-deposit-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-payment-methods-deposit-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__main-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods-deposit-guide__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--secondary-color);
}

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

.page-payment-methods-deposit-guide__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-payment-methods-deposit-guide__overview-section,
.page-payment-methods-deposit-guide__steps-section,
.page-payment-methods-deposit-guide__troubleshooting-section,
.page-payment-methods-deposit-guide__conclusion-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-payment-methods-deposit-guide__methods-section,
.page-payment-methods-deposit-guide__notes-section,
.page-payment-methods-deposit-guide__faq-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-payment-methods-deposit-guide__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-payment-methods-deposit-guide__method-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

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

.page-payment-methods-deposit-guide__method-title {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-payment-methods-deposit-guide__method-description {
  font-size: 1rem;
  color: var(--text-light);
}

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

.page-payment-methods-deposit-guide__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

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

.page-payment-methods-deposit-guide__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-payment-methods-deposit-guide__step-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-payment-methods-deposit-guide__step-description {
  font-size: 1rem;
  color: var(--text-dark);
}

.page-payment-methods-deposit-guide__process-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-deposit-guide__notes-list,
.page-payment-methods-deposit-guide__troubleshooting-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-payment-methods-deposit-guide__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
}

.page-payment-methods-deposit-guide__list-item strong {
  color: var(--secondary-color);
  margin-right: 10px;
  flex-shrink: 0;
}

.page-payment-methods-deposit-guide__notes-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-deposit-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-payment-methods-deposit-guide__faq-question {
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-payment-methods-deposit-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods-deposit-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods-deposit-guide__faq-item.active .page-payment-methods-deposit-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods-deposit-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 1.1rem;
  color: var(--text-light);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-payment-methods-deposit-guide__faq-item.active .page-payment-methods-deposit-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain any content */
  padding: 20px;
}

.page-payment-methods-deposit-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods-deposit-guide__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-payment-methods-deposit-guide__btn-primary:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-payment-methods-deposit-guide__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  margin-top: 20px;
}

.page-payment-methods-deposit-guide__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.page-payment-methods-deposit-guide__conclusion-section .page-payment-methods-deposit-guide__cta-button {
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods-deposit-guide__main-title {
    font-size: 2.8rem;
  }
  .page-payment-methods-deposit-guide__section-title {
    font-size: 2rem;
  }
  .page-payment-methods-deposit-guide__hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-payment-methods-deposit-guide__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-payment-methods-deposit-guide__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  .page-payment-methods-deposit-guide__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-payment-methods-deposit-guide__section-title {
    font-size: 1.8rem;
  }
  .page-payment-methods-deposit-guide__text-block,
  .page-payment-methods-deposit-guide__method-description,
  .page-payment-methods-deposit-guide__step-description,
  .page-payment-methods-deposit-guide__list-item,
  .page-payment-methods-deposit-guide__faq-answer {
    font-size: 0.95rem;
  }
  .page-payment-methods-deposit-guide__method-card,
  .page-payment-methods-deposit-guide__step-item {
    padding: 20px;
  }
  .page-payment-methods-deposit-guide__method-title {
    font-size: 1.4rem;
  }
  .page-payment-methods-deposit-guide__step-title {
    font-size: 1.3rem;
  }
  .page-payment-methods-deposit-guide__faq-question {
    font-size: 1.1rem;
  }
  .page-payment-methods-deposit-guide__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100%; /* Full width for buttons on mobile */
  }
  .page-payment-methods-deposit-guide__btn-secondary {
    margin-top: 15px;
  }

  /* Mobile image responsiveness */
  .page-payment-methods-deposit-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness */
  .page-payment-methods-deposit-guide video,
  .page-payment-methods-deposit-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods-deposit-guide__video-section,
  .page-payment-methods-deposit-guide__video-container,
  .page-payment-methods-deposit-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile container and button group responsiveness */
  .page-payment-methods-deposit-guide__container,
  .page-payment-methods-deposit-guide__methods-grid,
  .page-payment-methods-deposit-guide__steps-grid,
  .page-payment-methods-deposit-guide__cta-buttons,
  .page-payment-methods-deposit-guide__button-group,
  .page-payment-methods-deposit-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods-deposit-guide__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods-deposit-guide__main-title {
    font-size: 1.8rem;
  }
  .page-payment-methods-deposit-guide__section-title {
    font-size: 1.6rem;
  }
  .page-payment-methods-deposit-guide__method-icon {
    max-width: 200px;
  }
}

/* Ensure contrast */
.page-payment-methods-deposit-guide__dark-bg {
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__light-bg {
  color: var(--text-dark);
}

.page-payment-methods-deposit-guide__faq-item a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-payment-methods-deposit-guide__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-payment-methods-deposit-guide__dark-bg .page-payment-methods-deposit-guide__text-block a,
.page-payment-methods-deposit-guide__dark-bg .page-payment-methods-deposit-guide__faq-item a {
  color: var(--secondary-color);
}

/* Ensure content images are not too small */
.page-payment-methods-deposit-guide__method-icon,
.page-payment-methods-deposit-guide__process-image,
.page-payment-methods-deposit-guide__notes-image {
  min-width: 200px;
  min-height: 200px;
}