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

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-beginner-guide-deposit-withdrawal {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--background-color);
}

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

.page-beginner-guide-deposit-withdrawal__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--background-color);
}

.page-beginner-guide-deposit-withdrawal__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Adjust as needed for visual balance */
}

.page-beginner-guide-deposit-withdrawal__hero-content {
  position: relative; /* Changed from absolute to relative to avoid overlay issues */
  z-index: 2;
  margin-top: 40px; /* Separates content from image */
  padding: 0 20px;
  max-width: 900px;
}

.page-beginner-guide-deposit-withdrawal__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-beginner-guide-deposit-withdrawal__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-beginner-guide-deposit-withdrawal__btn-primary,
.page-beginner-guide-deposit-withdrawal__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-beginner-guide-deposit-withdrawal__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-beginner-guide-deposit-withdrawal__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

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

.page-beginner-guide-deposit-withdrawal__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-beginner-guide-deposit-withdrawal__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-beginner-guide-deposit-withdrawal__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-beginner-guide-deposit-withdrawal__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  text-align: justify;
}

.page-beginner-guide-deposit-withdrawal__list {
  list-style: disc inside;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-beginner-guide-deposit-withdrawal__list li {
  margin-bottom: 10px;
}

.page-beginner-guide-deposit-withdrawal__list li strong {
  color: var(--text-main-color);
}

.page-beginner-guide-deposit-withdrawal__intro-section,
.page-beginner-guide-deposit-withdrawal__withdrawal-guide,
.page-beginner-guide-deposit-withdrawal__faq-section {
  background-color: var(--background-color);
  padding-bottom: 60px;
  color: var(--text-main-color);
}

.page-beginner-guide-deposit-withdrawal__deposit-guide,
.page-beginner-guide-deposit-withdrawal__troubleshooting-section,
.page-beginner-guide-deposit-withdrawal__conclusion-section {
  background-color: var(--card-bg-color);
  padding-bottom: 60px;
  color: var(--text-main-color);
}

.page-beginner-guide-deposit-withdrawal__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-beginner-guide-deposit-withdrawal__step-card {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  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-beginner-guide-deposit-withdrawal__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide-deposit-withdrawal__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-beginner-guide-deposit-withdrawal__step-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-beginner-guide-deposit-withdrawal__step-description {
  font-size: 1rem;
  color: var(--text-secondary-color);
  line-height: 1.6;
}

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

.page-beginner-guide-deposit-withdrawal__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-beginner-guide-deposit-withdrawal__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--text-main-color);
  font-weight: bold;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-beginner-guide-deposit-withdrawal__faq-question:hover {
  background-color: var(--primary-color);
}

.page-beginner-guide-deposit-withdrawal__faq-qtext {
  flex-grow: 1;
}

.page-beginner-guide-deposit-withdrawal__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--gold-color);
}

.page-beginner-guide-deposit-withdrawal__faq-item[open] .page-beginner-guide-deposit-withdrawal__faq-toggle {
  transform: rotate(45deg);
}

.page-beginner-guide-deposit-withdrawal__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--text-secondary-color);
  line-height: 1.7;
  background-color: var(--background-color);
}

.page-beginner-guide-deposit-withdrawal__mt-20 {
  margin-top: 20px;
}

.page-beginner-guide-deposit-withdrawal__conclusion-section .page-beginner-guide-deposit-withdrawal__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-beginner-guide-deposit-withdrawal__hero-content {
    padding: 0 15px;
  }
  .page-beginner-guide-deposit-withdrawal__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-beginner-guide-deposit-withdrawal__hero-description {
    font-size: 1.1rem;
  }
  .page-beginner-guide-deposit-withdrawal__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-beginner-guide-deposit-withdrawal__sub-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  }
}

@media (max-width: 768px) {
  .page-beginner-guide-deposit-withdrawal__hero-section {
    padding-bottom: 40px;
  }
  .page-beginner-guide-deposit-withdrawal__hero-content {
    margin-top: 20px;
  }
  .page-beginner-guide-deposit-withdrawal__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-beginner-guide-deposit-withdrawal__hero-description {
    font-size: 1rem;
  }
  .page-beginner-guide-deposit-withdrawal__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    padding-top: 40px;
  }
  .page-beginner-guide-deposit-withdrawal__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }
  .page-beginner-guide-deposit-withdrawal__text-block,
  .page-beginner-guide-deposit-withdrawal__list,
  .page-beginner-guide-deposit-withdrawal__step-description,
  .page-beginner-guide-deposit-withdrawal__faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
  }
  .page-beginner-guide-deposit-withdrawal__btn-primary,
  .page-beginner-guide-deposit-withdrawal__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100% !important; /* Force full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 15px;
  }
  .page-beginner-guide-deposit-withdrawal__hero-content .page-beginner-guide-deposit-withdrawal__btn-primary {
    margin-top: 20px;
  }
  .page-beginner-guide-deposit-withdrawal__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-beginner-guide-deposit-withdrawal__step-card {
    padding: 20px;
  }
  .page-beginner-guide-deposit-withdrawal__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-beginner-guide-deposit-withdrawal__faq-answer {
    padding: 15px;
  }
  .page-beginner-guide-deposit-withdrawal__container {
    padding: 0 15px;
  }

  /* Mobile image responsiveness */
  .page-beginner-guide-deposit-withdrawal img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-beginner-guide-deposit-withdrawal__section,
  .page-beginner-guide-deposit-withdrawal__card,
  .page-beginner-guide-deposit-withdrawal__container,
  .page-beginner-guide-deposit-withdrawal__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-beginner-guide-deposit-withdrawal__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-left: 0;
    padding-right: 0;
  }
  .page-beginner-guide-deposit-withdrawal__hero-image {
    margin-left: 0;
    margin-right: 0;
  }

  /* Button group for mobile */
  .page-beginner-guide-deposit-withdrawal__cta-buttons,
  .page-beginner-guide-deposit-withdrawal__button-group,
  .page-beginner-guide-deposit-withdrawal__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
  }
  .page-beginner-guide-deposit-withdrawal__btn-primary,
  .page-beginner-guide-deposit-withdrawal__btn-secondary {
    margin-left: 0;
    margin-right: 0;
  }
}