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

/* 🚨 Body background color is from shared.css (var(--dark-bg-1)). 
   Assuming it's a dark background, using light text colors for main content. */

.page-guide-deposit-withdrawal {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Main content background will be handled by sections */
}

.page-guide-deposit-withdrawal__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* 🚨 Fixed navbar spacing */
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  background: linear-gradient(135deg, #FF4500, #1A202C);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-guide-deposit-withdrawal__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-guide-deposit-withdrawal__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-guide-deposit-withdrawal__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-guide-deposit-withdrawal__highlight-link {
  color: #ffd700; /* Gold color for highlights */
  text-decoration: underline;
  font-weight: bold;
}

.page-guide-deposit-withdrawal__action-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-guide-deposit-withdrawal__btn-primary,
.page-guide-deposit-withdrawal__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-guide-deposit-withdrawal__btn-primary {
  background-color: #FF4500; /* Main brand color */
  color: #ffffff;
}

.page-guide-deposit-withdrawal__btn-primary:hover {
  background-color: #e63900;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-guide-deposit-withdrawal__btn-secondary {
  background-color: transparent;
  color: #FF4500; /* Main brand color */
  border-color: #FF4500;
}

.page-guide-deposit-withdrawal__btn-secondary:hover {
  background-color: #FF4500;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-guide-deposit-withdrawal__section {
  padding: 60px 20px;
  background-color: #1A202C; /* Dark auxiliary color for sections */
  margin-bottom: 20px;
  border-radius: 12px;
}

.page-guide-deposit-withdrawal__section--deposit {
  background-color: #1A202C;
}

.page-guide-deposit-withdrawal__section--withdrawal {
  background-color: #1A202C;
}

.page-guide-deposit-withdrawal__section--security {
  background-color: #1A202C;
}

.page-guide-deposit-withdrawal__section--faq {
  background-color: #1A202C;
}

.page-guide-deposit-withdrawal__section--cta {
  background: linear-gradient(90deg, #FF4500, #e63900);
  text-align: center;
  color: #ffffff;
}

.page-guide-deposit-withdrawal__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-guide-deposit-withdrawal__container--centered {
  max-width: 900px;
}

.page-guide-deposit-withdrawal__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #ffd700; /* Gold for main section titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-guide-deposit-withdrawal__content-block {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content blocks */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-guide-deposit-withdrawal__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  border-bottom: 2px solid #FF4500;
  padding-bottom: 10px;
}

.page-guide-deposit-withdrawal__list,
.page-guide-deposit-withdrawal__numbered-list,
.page-guide-deposit-withdrawal__bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-guide-deposit-withdrawal__list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.page-guide-deposit-withdrawal__list-item:last-child {
  margin-bottom: 0;
}

.page-guide-deposit-withdrawal__list-icon {
  flex-shrink: 0;
  width: 80px; /* Min size for content images */
  height: 80px;
  object-fit: contain;
  margin-right: 20px;
  border-radius: 8px;
  background-color: #333a4d; /* Slightly lighter for icons */
  padding: 10px;
}

.page-guide-deposit-withdrawal__list-content h4 {
  font-size: 20px;
  color: #ffd700;
  margin-top: 0;
  margin-bottom: 8px;
}

.page-guide-deposit-withdrawal__list-content p {
  font-size: 16px;
  color: #f0f0f0;
}

.page-guide-deposit-withdrawal__numbered-list li,
.page-guide-deposit-withdrawal__bullet-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
  font-size: 16px;
}

.page-guide-deposit-withdrawal__numbered-list li::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #FF4500;
}

.page-guide-deposit-withdrawal__bullet-list li::before {
  content: "\2022"; /* Unicode bullet point */
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #FF4500;
  font-size: 1.2em;
  line-height: 1;
}

/* FAQ Section Styles */
.page-guide-deposit-withdrawal__faq-list {
  margin-top: 30px;
}

.page-guide-deposit-withdrawal__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #2a3040;
  border: 1px solid #3c445c;
}

.page-guide-deposit-withdrawal__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a3040;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-guide-deposit-withdrawal__faq-question:hover {
  background: #333a4d;
}

.page-guide-deposit-withdrawal__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: #ffffff;
}

.page-guide-deposit-withdrawal__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FF4500;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-guide-deposit-withdrawal__faq-item.active .page-guide-deposit-withdrawal__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate */
  color: #ffd700;
}

.page-guide-deposit-withdrawal__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #1A202C;
  color: #f0f0f0;
}

.page-guide-deposit-withdrawal__faq-item.active .page-guide-deposit-withdrawal__faq-answer {
  max-height: 2000px !important; /* 🚨 Ensure it expands */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-guide-deposit-withdrawal__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-guide-deposit-withdrawal__main-title {
    font-size: 36px;
  }
  .page-guide-deposit-withdrawal__section-title {
    font-size: 28px;
  }
  .page-guide-deposit-withdrawal__sub-title {
    font-size: 22px;
  }
  .page-guide-deposit-withdrawal__intro-text {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-guide-deposit-withdrawal__hero-section {
    padding-top: 10px; /* 🚨 Mobile fixed navbar spacing */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-guide-deposit-withdrawal__hero-container {
    padding: 20px 0;
  }
  .page-guide-deposit-withdrawal__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-guide-deposit-withdrawal__intro-text {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-guide-deposit-withdrawal__action-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-guide-deposit-withdrawal__btn-primary,
  .page-guide-deposit-withdrawal__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
  }
  .page-guide-deposit-withdrawal__section {
    padding: 40px 15px;
    margin-bottom: 15px;
  }
  .page-guide-deposit-withdrawal__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-guide-deposit-withdrawal__sub-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .page-guide-deposit-withdrawal__content-block {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-guide-deposit-withdrawal__list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
  }
  .page-guide-deposit-withdrawal__list-icon {
    width: 60px;
    height: 60px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-guide-deposit-withdrawal__list-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  .page-guide-deposit-withdrawal__list-content p,
  .page-guide-deposit-withdrawal__numbered-list li,
  .page-guide-deposit-withdrawal__bullet-list li {
    font-size: 15px;
  }
  .page-guide-deposit-withdrawal__numbered-list li,
  .page-guide-deposit-withdrawal__bullet-list li {
    padding-left: 20px;
  }
  .page-guide-deposit-withdrawal__faq-question {
    padding: 15px 20px;
  }
  .page-guide-deposit-withdrawal__faq-question h3 {
    font-size: 16px;
  }
  .page-guide-deposit-withdrawal__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-guide-deposit-withdrawal__faq-answer {
    padding: 0 20px;
  }
  .page-guide-deposit-withdrawal__faq-item.active .page-guide-deposit-withdrawal__faq-answer {
    padding: 15px 20px !important;
  }
  .page-guide-deposit-withdrawal img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-guide-deposit-withdrawal__section,
  .page-guide-deposit-withdrawal__content-block,
  .page-guide-deposit-withdrawal__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}