/* style/index-deposit-withdrawal.css */

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

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

/* Section spacing and titles */
.page-index-deposit-withdrawal__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-deposit-withdrawal__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-index-deposit-withdrawal__main-title {
  font-size: clamp(32px, 4.5vw, 56px); /* H1 size constraint */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-deposit-withdrawal__hero-description,
.page-index-deposit-withdrawal p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-index-deposit-withdrawal__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Hero Section */
.page-index-deposit-withdrawal__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  overflow: hidden;
  min-height: 600px;
}

.page-index-deposit-withdrawal__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-index-deposit-withdrawal__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 70vh;
}

.page-index-deposit-withdrawal__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

/* Buttons */
.page-index-deposit-withdrawal__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index-deposit-withdrawal__btn-primary,
.page-index-deposit-withdrawal__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* Cards for methods and security */
.page-index-deposit-withdrawal__methods-grid,
.page-index-deposit-withdrawal__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-deposit-withdrawal__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-deposit-withdrawal__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-deposit-withdrawal__card-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index-deposit-withdrawal__card-description {
  font-size: 16px;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Lists for steps and notes */
.page-index-deposit-withdrawal__steps-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
}

.page-index-deposit-withdrawal__steps-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 18px;
  color: #f0f0f0;
  position: relative;
  padding-left: 50px;
}

.page-index-deposit-withdrawal__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #26A9E0;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.page-index-deposit-withdrawal__list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 30px auto;
}

.page-index-deposit-withdrawal__list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 17px;
  color: #f0f0f0;
  border-left: 4px solid #26A9E0;
}

.page-index-deposit-withdrawal__note,
.page-index-deposit-withdrawal__action-text {
  font-size: 17px;
  color: #f0f0f0;
  margin-top: 30px;
}

.page-index-deposit-withdrawal__action-text a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-index-deposit-withdrawal__action-text a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-index-deposit-withdrawal__faq-section {
  padding: 60px 0;
  background: #1a1a1a; /* Lighter dark background for contrast */
  color: #f0f0f0;
}

.page-index-deposit-withdrawal__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-index-deposit-withdrawal__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-index-deposit-withdrawal__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-index-deposit-withdrawal__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index-deposit-withdrawal__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

.page-index-deposit-withdrawal__faq-item[open] .page-index-deposit-withdrawal__faq-toggle {
  content: '−';
}

.page-index-deposit-withdrawal__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #d0d0d0;
  line-height: 1.6;
}

.page-index-deposit-withdrawal__faq-answer p {
  margin: 0;
  color: #d0d0d0;
}

.page-index-deposit-withdrawal__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-index-deposit-withdrawal__faq-answer a:hover {
  text-decoration: underline;
}

/* Background colors for sections */
.page-index-deposit-withdrawal__dark-bg {
  background-color: #121212;
  color: #ffffff;
}

.page-index-deposit-withdrawal__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-index-deposit-withdrawal__section {
    padding: 40px 0;
  }

  .page-index-deposit-withdrawal__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    min-height: auto;
  }

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

  .page-index-deposit-withdrawal__main-title {
    font-size: 32px;
  }

  .page-index-deposit-withdrawal__hero-description,
  .page-index-deposit-withdrawal p {
    font-size: 16px;
  }

  .page-index-deposit-withdrawal__section-title {
    font-size: 28px;
  }

  .page-index-deposit-withdrawal__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-index-deposit-withdrawal__btn-primary,
  .page-index-deposit-withdrawal__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-index-deposit-withdrawal__methods-grid,
  .page-index-deposit-withdrawal__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-index-deposit-withdrawal__card {
    padding: 20px;
  }

  .page-index-deposit-withdrawal__card-image {
    height: 200px; /* Adjust height for smaller screens */
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-index-deposit-withdrawal__card-title {
    font-size: 20px;
  }

  .page-index-deposit-withdrawal__card-description {
    font-size: 15px;
  }

  .page-index-deposit-withdrawal__steps-list,
  .page-index-deposit-withdrawal__list {
    padding: 0 15px;
    margin: 20px auto;
  }

  .page-index-deposit-withdrawal__steps-list li,
  .page-index-deposit-withdrawal__list li {
    font-size: 16px;
    padding: 15px 15px 15px 45px;
  }

  .page-index-deposit-withdrawal__faq-list {
    padding: 0 15px;
  }

  .page-index-deposit-withdrawal__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }

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

  /* Image responsiveness for content area */
  .page-index-deposit-withdrawal img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-deposit-withdrawal__section,
  .page-index-deposit-withdrawal__card,
  .page-index-deposit-withdrawal__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure images don't have filters */
.page-index-deposit-withdrawal img {
  filter: none !important;
}