/* style/deposit-withdrawal.css */

/* Base styles for the page, ensuring light text on dark body background */
.page-deposit-withdrawal {
  color: #ffffff; /* Default text color for the entire main content */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-deposit-withdrawal__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #1a1a2e; /* Dark background as per shared.css body */
  color: #ffffff;
}

.page-deposit-withdrawal__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width for desktop */
  margin-bottom: 30px; /* Space between image and text */
}

.page-deposit-withdrawal__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-deposit-withdrawal__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-deposit-withdrawal__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-deposit-withdrawal__description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-deposit-withdrawal__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-deposit-withdrawal__btn-primary,
.page-deposit-withdrawal__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-deposit-withdrawal__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-deposit-withdrawal__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-deposit-withdrawal__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-deposit-withdrawal__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Section common styles */
.page-deposit-withdrawal__methods-section,
.page-deposit-withdrawal__security-section,
.page-deposit-withdrawal__faq-section,
.page-deposit-withdrawal__cta-section {
  padding: 60px 0;
  box-sizing: border-box;
}

.page-deposit-withdrawal__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-deposit-withdrawal__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-deposit-withdrawal__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
}

.page-deposit-withdrawal__section-title--light {
  color: #ffffff;
}

.page-deposit-withdrawal__section-intro {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #666666; /* Default for light background */
}

.page-deposit-withdrawal__section-intro--light {
  color: #f0f0f0; /* For dark background */
}

.page-deposit-withdrawal__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.page-deposit-withdrawal__sub-title--light {
  color: #ffffff;
}

/* Method Grid */
.page-deposit-withdrawal__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-deposit-withdrawal__method-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  box-sizing: border-box;
}

.page-deposit-withdrawal__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-deposit-withdrawal__method-card--dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-deposit-withdrawal__method-card--dark:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-deposit-withdrawal__method-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #26A9E0;
}

.page-deposit-withdrawal__method-title--light {
  color: #ffffff;
}

.page-deposit-withdrawal__method-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #555555;
}

.page-deposit-withdrawal__method-description--light {
  color: #cccccc;
}

.page-deposit-withdrawal__method-details {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-deposit-withdrawal__method-details li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #444444;
}

.page-deposit-withdrawal__method-details--light li {
  color: #e0e0e0;
}

.page-deposit-withdrawal__list {
  list-style: disc;
  margin: 0 auto 40px auto;
  padding-left: 20px;
  max-width: 800px;
  color: #444444;
}

.page-deposit-withdrawal__list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-deposit-withdrawal__list--light {
  color: #e0e0e0;
}

.page-deposit-withdrawal__list--light li {
  color: #e0e0e0;
}

.page-deposit-withdrawal__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
}

/* Security Section */
.page-deposit-withdrawal__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-deposit-withdrawal__feature-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
  box-sizing: border-box;
}

.page-deposit-withdrawal__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-deposit-withdrawal__feature-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #26A9E0;
}

.page-deposit-withdrawal__feature-description {
  font-size: 0.95rem;
  color: #555555;
}

/* FAQ Section */
.page-deposit-withdrawal__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-deposit-withdrawal__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
  box-sizing: border-box;
}

.page-deposit-withdrawal__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-deposit-withdrawal__faq-question::-webkit-details-marker {
  display: none;
}

.page-deposit-withdrawal__faq-item[open] .page-deposit-withdrawal__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-deposit-withdrawal__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-deposit-withdrawal__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.page-deposit-withdrawal__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #e0e0e0;
}

/* CTA Section */
.page-deposit-withdrawal__cta-content {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-deposit-withdrawal__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-deposit-withdrawal__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  .page-deposit-withdrawal__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
  }
}

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

  .page-deposit-withdrawal__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-deposit-withdrawal__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-deposit-withdrawal__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-deposit-withdrawal__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-deposit-withdrawal__description {
    font-size: 1rem;
  }

  .page-deposit-withdrawal__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-deposit-withdrawal__btn-primary,
  .page-deposit-withdrawal__btn-secondary {
    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-deposit-withdrawal__methods-section,
  .page-deposit-withdrawal__security-section,
  .page-deposit-withdrawal__faq-section,
  .page-deposit-withdrawal__cta-section {
    padding: 40px 0;
  }

  .page-deposit-withdrawal__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-deposit-withdrawal__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-deposit-withdrawal__section-intro {
    font-size: 0.95rem;
  }

  .page-deposit-withdrawal__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .page-deposit-withdrawal__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-deposit-withdrawal__method-card,
  .page-deposit-withdrawal__feature-card {
    padding: 25px;
  }

  .page-deposit-withdrawal__method-icon,
  .page-deposit-withdrawal__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-deposit-withdrawal__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-deposit-withdrawal__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
  }

  /* Ensure all images are responsive */
  .page-deposit-withdrawal img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-deposit-withdrawal__section,
  .page-deposit-withdrawal__card,
  .page-deposit-withdrawal__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-deposit-withdrawal__video-section { /* Added for general video section safety, even if not primary on this page */
    padding-top: 10px !important; 
  }

  /* Video specific mobile styles */
  .page-deposit-withdrawal video,
  .page-deposit-withdrawal__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-deposit-withdrawal__video-section,
  .page-deposit-withdrawal__video-container,
  .page-deposit-withdrawal__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-deposit-withdrawal__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Color Contrast Fixes (if needed) */
.page-deposit-withdrawal__dark-bg .page-deposit-withdrawal__list,
.page-deposit-withdrawal__dark-bg .page-deposit-withdrawal__list li {
  color: #e0e0e0;
}

.page-deposit-withdrawal__light-bg .page-deposit-withdrawal__method-description {
  color: #555555;
}

.page-deposit-withdrawal__light-bg .page-deposit-withdrawal__method-details li {
  color: #444444;
}

.page-deposit-withdrawal__light-bg .page-deposit-withdrawal__list li {
  color: #444444;
}

.page-deposit-withdrawal__light-bg .page-deposit-withdrawal__section-intro {
  color: #666666;
}