/* style/index-deposit-withdrawal-methods.css */
:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f4f4;
  --border-color: #e0e0e0;
}

.page-index-deposit-withdrawal-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Body background is light, so use dark text */
  background-color: var(--bg-light);
}

/* HERO Section */
.page-index-deposit-withdrawal-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  overflow: hidden;
}

.page-index-deposit-withdrawal-methods__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-index-deposit-withdrawal-methods__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-deposit-withdrawal-methods__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-deposit-withdrawal-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-deposit-withdrawal-methods__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-index-deposit-withdrawal-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-index-deposit-withdrawal-methods__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-deposit-withdrawal-methods__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-deposit-withdrawal-methods__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-index-deposit-withdrawal-methods__cta-button--primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-deposit-withdrawal-methods__cta-button--secondary {
  background: var(--text-light);
  color: var(--primary-color);
  border: 2px solid var(--text-light);
}

.page-index-deposit-withdrawal-methods__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-index-deposit-withdrawal-methods__section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-deposit-withdrawal-methods__section--intro {
  background-color: var(--bg-light);
}

.page-index-deposit-withdrawal-methods__section--deposit,
.page-index-deposit-withdrawal-methods__section--withdrawal {
  background-color: #fcfcfc;
}

.page-index-deposit-withdrawal-methods__section--guide {
  background-color: var(--bg-light);
}

.page-index-deposit-withdrawal-methods__section--security {
  background-color: #fcfcfc;
}

.page-index-deposit-withdrawal-methods__section--faq {
  background-color: var(--bg-light);
}

.page-index-deposit-withdrawal-methods__section--contact {
  background-color: #fcfcfc;
}

.page-index-deposit-withdrawal-methods__section--why-m88 {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index-deposit-withdrawal-methods__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index-deposit-withdrawal-methods__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  font-weight: bold;
  color: var(--primary-color);
}

.page-index-deposit-withdrawal-methods__section--why-m88 .page-index-deposit-withdrawal-methods__section-title {
  color: var(--text-light);
}

.page-index-deposit-withdrawal-methods__text-block {
  font-size: 1.05em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
  text-align: left;
}

.page-index-deposit-withdrawal-methods__text-block--note {
  background-color: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 20px;
  border-radius: 5px;
  margin-top: 40px;
  text-align: left;
  color: #664d03;
}

/* Method Cards */
.page-index-deposit-withdrawal-methods__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-deposit-withdrawal-methods__method-card {
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-deposit-withdrawal-methods__method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-index-deposit-withdrawal-methods__method-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Adjust as needed, but ensure min 200px */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index-deposit-withdrawal-methods__method-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index-deposit-withdrawal-methods__method-description {
  font-size: 1em;
  color: var(--text-dark);
}

/* Note Box */
.page-index-deposit-withdrawal-methods__note-box {
  background-color: #fff8e1;
  border-left: 6px solid var(--secondary-color);
  padding: 30px;
  border-radius: 8px;
  margin-top: 50px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-index-deposit-withdrawal-methods__note-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-index-deposit-withdrawal-methods__note-list {
  list-style-type: disc;
  margin-left: 25px;
  color: var(--text-dark);
}

.page-index-deposit-withdrawal-methods__note-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Steps Grid */
.page-index-deposit-withdrawal-methods__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-deposit-withdrawal-methods__step-card {
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-deposit-withdrawal-methods__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-index-deposit-withdrawal-methods__step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index-deposit-withdrawal-methods__step-description {
  font-size: 1em;
  color: var(--text-dark);
}

/* Security Features */
.page-index-deposit-withdrawal-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-deposit-withdrawal-methods__feature-item {
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-deposit-withdrawal-methods__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-index-deposit-withdrawal-methods__feature-icon {
  width: 100%;
  max-width: 200px; /* Min 200px */
  height: auto;
  margin-bottom: 20px;
}

.page-index-deposit-withdrawal-methods__feature-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index-deposit-withdrawal-methods__feature-description {
  font-size: 1em;
  color: var(--text-dark);
}

/* FAQ Section */
.page-index-deposit-withdrawal-methods__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-index-deposit-withdrawal-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.page-index-deposit-withdrawal-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-deposit-withdrawal-methods__faq-item.active .page-index-deposit-withdrawal-methods__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-deposit-withdrawal-methods__faq-question:hover {
  background: #fcfcfc;
  border-color: #d0d0d0;
}

.page-index-deposit-withdrawal-methods__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  pointer-events: none;
}

.page-index-deposit-withdrawal-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index-deposit-withdrawal-methods__faq-item.active .page-index-deposit-withdrawal-methods__faq-toggle {
  transform: rotate(180deg);
  color: var(--secondary-color);
}

.page-index-deposit-withdrawal-methods__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: #ffffff;
  color: var(--text-dark);
}

.page-index-deposit-withdrawal-methods__faq-item.active .page-index-deposit-withdrawal-methods__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-index-deposit-withdrawal-methods__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 1em;
}

/* Contact Methods */
.page-index-deposit-withdrawal-methods__contact-methods {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index-deposit-withdrawal-methods__contact-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary-color);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-deposit-withdrawal-methods__contact-button:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Why M88 Section */
.page-index-deposit-withdrawal-methods__benefits-list {
  list-style-type: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-index-deposit-withdrawal-methods__benefits-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-deposit-withdrawal-methods__benefits-list li::before {
  content: '✔';
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
}

.page-index-deposit-withdrawal-methods__final-cta {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-deposit-withdrawal-methods__hero-title {
    font-size: 2.4em;
  }

  .page-index-deposit-withdrawal-methods__hero-description {
    font-size: 1.1em;
  }

  .page-index-deposit-withdrawal-methods__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-deposit-withdrawal-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-deposit-withdrawal-methods__hero-title {
    font-size: 2em;
    line-height: 1.3;
  }

  .page-index-deposit-withdrawal-methods__hero-description {
    font-size: 1em;
  }

  .page-index-deposit-withdrawal-methods__hero-image img {
    border-radius: 4px;
  }

  .page-index-deposit-withdrawal-methods__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-deposit-withdrawal-methods__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index-deposit-withdrawal-methods__section {
    padding: 40px 15px;
  }

  .page-index-deposit-withdrawal-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-index-deposit-withdrawal-methods__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-index-deposit-withdrawal-methods__methods-grid,
  .page-index-deposit-withdrawal-methods__steps-grid,
  .page-index-deposit-withdrawal-methods__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-deposit-withdrawal-methods__method-card,
  .page-index-deposit-withdrawal-methods__step-card,
  .page-index-deposit-withdrawal-methods__feature-item {
    padding: 20px;
  }

  .page-index-deposit-withdrawal-methods__method-icon {
    max-width: 250px;
    min-width: 200px;
    min-height: 200px;
  }

  .page-index-deposit-withdrawal-methods__method-title,
  .page-index-deposit-withdrawal-methods__step-title,
  .page-index-deposit-withdrawal-methods__feature-title {
    font-size: 1.3em;
  }

  .page-index-deposit-withdrawal-methods__note-box {
    padding: 20px;
  }

  .page-index-deposit-withdrawal-methods__note-title {
    font-size: 1.4em;
  }

  .page-index-deposit-withdrawal-methods__note-list li {
    font-size: 0.95em;
  }

  .page-index-deposit-withdrawal-methods__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }
  
  .page-index-deposit-withdrawal-methods__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }
  
  .page-index-deposit-withdrawal-methods__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-index-deposit-withdrawal-methods__faq-answer {
    padding: 0 20px;
  }
  
  .page-index-deposit-withdrawal-methods__faq-item.active .page-index-deposit-withdrawal-methods__faq-answer {
    padding: 15px 20px !important;
  }

  .page-index-deposit-withdrawal-methods__contact-methods {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-deposit-withdrawal-methods__contact-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-deposit-withdrawal-methods__benefits-list li {
    font-size: 1em;
    padding: 15px;
  }

  .page-index-deposit-withdrawal-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-deposit-withdrawal-methods__section,
  .page-index-deposit-withdrawal-methods__container,
  .page-index-deposit-withdrawal-methods__hero-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-deposit-withdrawal-methods__hero-title {
    font-size: 1.8em;
  }

  .page-index-deposit-withdrawal-methods__hero-description {
    font-size: 0.95em;
  }

  .page-index-deposit-withdrawal-methods__section-title {
    font-size: 1.6em;
  }

  .page-index-deposit-withdrawal-methods__method-title,
  .page-index-deposit-withdrawal-methods__step-title,
  .page-index-deposit-withdrawal-methods__feature-title {
    font-size: 1.2em;
  }
}