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

:root {
  --primary-color: #1A2B4C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-card: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-faq-deposit-withdrawal {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Assuming body is dark background from shared.css */
  background-color: var(--primary-color);
}

.page-faq-deposit-withdrawal__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, darken(var(--primary-color), 10%) 100%);
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

.page-faq-deposit-withdrawal__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px;
}

.page-faq-deposit-withdrawal__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-faq-deposit-withdrawal__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
  opacity: 0.9;
}

.page-faq-deposit-withdrawal__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-faq-deposit-withdrawal__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(100%); /* Only for background decorative image */
}

.page-faq-deposit-withdrawal__btn-primary,
.page-faq-deposit-withdrawal__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 0 10px;
  cursor: pointer;
}

.page-faq-deposit-withdrawal__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-faq-deposit-withdrawal__btn-primary:hover {
  background-color: darken(var(--secondary-color), 10%);
  border-color: darken(var(--secondary-color), 10%);
}

.page-faq-deposit-withdrawal__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-faq-deposit-withdrawal__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-faq-deposit-withdrawal__faq-section {
  padding: 60px 20px;
  color: var(--text-light);
  background-color: var(--primary-color);
}

.page-faq-deposit-withdrawal__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-faq-deposit-withdrawal__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-faq-deposit-withdrawal__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--text-light);
  opacity: 0.8;
}

.page-faq-deposit-withdrawal__faq-list {
  margin-top: 40px;
}

.page-faq-deposit-withdrawal__faq-item {
  background-color: var(--bg-dark-card);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq-deposit-withdrawal__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq-deposit-withdrawal__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-faq-deposit-withdrawal__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-light);
}

.page-faq-deposit-withdrawal__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-faq-deposit-withdrawal__faq-item.active .page-faq-deposit-withdrawal__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* This will be handled by JS */
}

.page-faq-deposit-withdrawal__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--text-light);
  opacity: 0.8;
}

.page-faq-deposit-withdrawal__faq-item.active .page-faq-deposit-withdrawal__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px 25px 25px;
}

.page-faq-deposit-withdrawal__faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
}

.page-faq-deposit-withdrawal__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-faq-deposit-withdrawal__faq-answer li {
  margin-bottom: 5px;
}

.page-faq-deposit-withdrawal__cta-box {
  background-color: var(--secondary-color);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  color: var(--primary-color);
}

.page-faq-deposit-withdrawal__cta-text {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.page-faq-deposit-withdrawal__cta-box .page-faq-deposit-withdrawal__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.page-faq-deposit-withdrawal__cta-box .page-faq-deposit-withdrawal__btn-primary:hover {
  background-color: lighten(var(--primary-color), 10%);
  border-color: lighten(var(--primary-color), 10%);
  color: var(--secondary-color);
}

.page-faq-deposit-withdrawal__cta-box .page-faq-deposit-withdrawal__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-faq-deposit-withdrawal__cta-box .page-faq-deposit-withdrawal__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-faq-deposit-withdrawal__image-inline {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq-deposit-withdrawal__hero-title {
    font-size: 2.8em;
  }
  .page-faq-deposit-withdrawal__section-title {
    font-size: 2em;
  }
  .page-faq-deposit-withdrawal__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-faq-deposit-withdrawal__hero-section {
    padding: 60px 15px;
  }
  .page-faq-deposit-withdrawal__hero-title {
    font-size: 2.2em;
  }
  .page-faq-deposit-withdrawal__hero-description {
    font-size: 1em;
  }
  .page-faq-deposit-withdrawal__btn-primary,
  .page-faq-deposit-withdrawal__btn-secondary {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-faq-deposit-withdrawal__section-title {
    font-size: 1.8em;
  }
  .page-faq-deposit-withdrawal__section-intro {
    font-size: 0.95em;
  }
  .page-faq-deposit-withdrawal__faq-question {
    padding: 15px 20px;
  }
  .page-faq-deposit-withdrawal__faq-question h3 {
    font-size: 1.1em;
  }
  .page-faq-deposit-withdrawal__faq-answer {
    padding: 0 20px;
  }
  .page-faq-deposit-withdrawal__faq-item.active .page-faq-deposit-withdrawal__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-faq-deposit-withdrawal__cta-box {
    padding: 30px 20px;
  }
  .page-faq-deposit-withdrawal__cta-text {
    font-size: 1.2em;
  }

  /* Mobile image, video, container responsiveness */
  .page-faq-deposit-withdrawal img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq-deposit-withdrawal video,
  .page-faq-deposit-withdrawal__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq-deposit-withdrawal__section,
  .page-faq-deposit-withdrawal__card,
  .page-faq-deposit-withdrawal__container,
  .page-faq-deposit-withdrawal__hero-section,
  .page-faq-deposit-withdrawal__faq-section,
  .page-faq-deposit-withdrawal__cta-box,
  .page-faq-deposit-withdrawal__video-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-faq-deposit-withdrawal__cta-box .page-faq-deposit-withdrawal__btn-primary,
  .page-faq-deposit-withdrawal__cta-box .page-faq-deposit-withdrawal__btn-secondary {
    width: calc(100% - 30px) !important; /* Adjust for padding within the cta-box */
  }
}

@media (max-width: 480px) {
  .page-faq-deposit-withdrawal__hero-title {
    font-size: 1.8em;
  }
  .page-faq-deposit-withdrawal__section-title {
    font-size: 1.5em;
  }
  .page-faq-deposit-withdrawal__cta-text {
    font-size: 1em;
  }
}