/* style/withdraw.css */
/* Page-specific styles for the withdraw page */

.page-withdraw {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000; /* Ensure consistency with body background */
}

/* Fixed Navbar Spacing for first content section */
.page-withdraw__hero-section {
  padding-top: 120px; /* Adjust for fixed header height */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background-color: #0A2463; /* Main brand color */
  color: #ffffff;
}

.page-withdraw__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-withdraw__hero-image {
  flex: 1;
  min-width: 400px; /* Ensure image is not too small */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-withdraw__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-withdraw__hero-content {
  flex: 1.5;
  text-align: left;
}

.page-withdraw__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  line-height: 1.2;
}

.page-withdraw__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-withdraw__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700; /* Accent color for button */
  color: #0A2463; /* Dark text for light button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

.page-withdraw__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-withdraw__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-withdraw__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-withdraw__section--intro {
  background-color: #000;
}

.page-withdraw__section--steps {
  background-color: #0A2463;
  color: #ffffff;
}

.page-withdraw__section--conditions,
.page-withdraw__section--issues,
.page-withdraw__section--tips,
.page-withdraw__section--why-mibet,
.page-withdraw__section--faq,
.page-withdraw__section--conclusion {
  background-color: #0d0d0d;
  color: #f0f0f0;
}

.page-withdraw__heading {
  font-size: 2.5em;
  color: #FFD700; /* Accent color for headings */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-withdraw__heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-withdraw__sub-heading {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-withdraw__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-withdraw__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-withdraw__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #e0e0e0;
}

.page-withdraw__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-weight: bold;
}

.page-withdraw__list-item ul {
  list-style: disc;
  margin-top: 10px;
  padding-left: 20px;
}

.page-withdraw__list-item li {
  margin-bottom: 5px;
  color: #e0e0e0;
}

.page-withdraw__button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FFD700;
  color: #0A2463;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-withdraw__button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-withdraw__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  border-radius: 8px;
}

.page-withdraw__action-area {
  text-align: center;
  margin-top: 40px;
}

.page-withdraw__step-card {
  display: flex;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-withdraw__step-card:hover {
  transform: translateY(-5px);
}

.page-withdraw__step-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  margin-right: 30px;
  background-color: #FFD700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-withdraw__step-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.page-withdraw__step-content {
  flex-grow: 1;
}

.page-withdraw__why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-withdraw__why-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.page-withdraw__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

/* FAQ Section Styles */
.page-withdraw__faq-list {
  margin-top: 40px;
}

.page-withdraw__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a1a1a;
}

.page-withdraw__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A2463; /* Dark background for question */
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-withdraw__faq-item.active .page-withdraw__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-withdraw__faq-question:hover {
  background: #1e3a7a;
  border-color: #2a4e9a;
}

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

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

.page-withdraw__faq-item.active .page-withdraw__faq-toggle {
  color: #ffffff;
  transform: rotate(180deg);
}

.page-withdraw__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: #1a1a1a; /* Slightly lighter dark background for answer */
  color: #e0e0e0;
}

.page-withdraw__faq-item.active .page-withdraw__faq-answer {
  max-height: 2000px !important; /* Use !important to ensure priority, large value to accommodate content */
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-withdraw__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-withdraw__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-withdraw__hero-image {
    min-width: unset;
    width: 80%;
    margin-bottom: 30px;
  }

  .page-withdraw__hero-content {
    padding: 0 20px;
  }

  .page-withdraw__hero-title {
    font-size: 2.5em;
  }

  .page-withdraw__hero-description {
    font-size: 1em;
  }

  .page-withdraw__step-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-withdraw__step-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .page-withdraw__why-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-withdraw__hero-section {
    padding-top: 100px; /* Mobile fixed header adjustment */
    padding-bottom: 40px;
  }

  .page-withdraw__hero-container {
    gap: 20px;
  }

  .page-withdraw__hero-image {
    width: 90%;
  }

  .page-withdraw__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-withdraw__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .page-withdraw__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-withdraw__section {
    padding: 40px 0;
  }

  .page-withdraw__container {
    padding: 0 15px;
  }

  .page-withdraw__heading {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-withdraw__heading::after {
    margin-top: 10px;
  }

  .page-withdraw__sub-heading {
    font-size: 1.4em;
  }

  .page-withdraw__paragraph,
  .page-withdraw__list-item {
    font-size: 1em;
  }

  .page-withdraw__list-item {
    padding-left: 25px;
  }

  .page-withdraw__step-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-withdraw__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-withdraw__step-img {
    width: 50px;
    height: 50px;
  }

  .page-withdraw__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-withdraw__why-card {
    padding: 25px;
  }

  .page-withdraw__why-img {
    width: 70px;
    height: 70px;
  }

  .page-withdraw__card-title {
    font-size: 1.3em;
  }

  /* FAQ Mobile */
  .page-withdraw__faq-question {
    padding: 15px 20px;
  }
  
  .page-withdraw__faq-question h3 {
    font-size: 1em;
  }

  .page-withdraw__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }

  .page-withdraw__faq-item.active .page-withdraw__faq-answer {
    padding: 15px 20px !important;
  }

  /* Image responsiveness for mobile */
  .page-withdraw img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-withdraw__section,
  .page-withdraw__card,
  .page-withdraw__container,
  .page-withdraw__hero-image,
  .page-withdraw__step-card,
  .page-withdraw__why-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-withdraw__hero-section .page-withdraw__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-withdraw__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-withdraw__hero-image {
    padding-left: 0;
    padding-right: 0;
  }
}