/* style/payment-methods-tutorial.css */

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

.page-payment-methods-tutorial {
  background-color: var(--bg88-page-bg);
  color: var(--bg88-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods-tutorial__hero-section {
  position: relative;
  width: 100%;
  padding: 0;
  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 */
}

.page-payment-methods-tutorial__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-payment-methods-tutorial__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-sizing: border-box;
  color: var(--bg88-text-main);
}

.page-payment-methods-tutorial__main-title {
  color: var(--bg88-text-main);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-payment-methods-tutorial__description {
  color: var(--bg88-text-secondary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
}

.page-payment-methods-tutorial__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-payment-methods-tutorial__btn-primary,
.page-payment-methods-tutorial__btn-secondary {
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-payment-methods-tutorial__btn-primary {
  background: var(--bg88-button-gradient);
  color: #ffffff;
  border: 2px solid var(--bg88-green-primary);
}

.page-payment-methods-tutorial__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-payment-methods-tutorial__btn-secondary {
  background: none;
  color: var(--bg88-green-secondary);
  border: 2px solid var(--bg88-green-secondary);
}

.page-payment-methods-tutorial__btn-secondary:hover {
  background: var(--bg88-green-secondary);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-payment-methods-tutorial__cta-buttons--center {
  margin-top: 30px;
}

.page-payment-methods-tutorial__section {
  padding: 60px 20px;
  background-color: var(--bg88-page-bg);
  border-bottom: 1px solid var(--bg88-divider-color);
}

.page-payment-methods-tutorial__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-payment-methods-tutorial__heading-2 {
  color: var(--bg88-gold-color);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-payment-methods-tutorial__heading-3 {
  color: var(--bg88-green-secondary);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods-tutorial__heading-4 {
  color: var(--bg88-text-main);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods-tutorial__text-block {
  color: var(--bg88-text-secondary);
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-payment-methods-tutorial__highlight {
  color: var(--bg88-text-main);
  font-weight: bold;
}

.page-payment-methods-tutorial__link {
  color: var(--bg88-green-secondary);
  text-decoration: none;
}

.page-payment-methods-tutorial__link:hover {
  text-decoration: underline;
}

.page-payment-methods-tutorial__list {
  list-style-type: disc;
  margin-left: 20px;
  color: var(--bg88-text-secondary);
  margin-bottom: 20px;
}

.page-payment-methods-tutorial__list-item {
  margin-bottom: 10px;
  color: var(--bg88-text-secondary);
}

.page-payment-methods-tutorial__step-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-payment-methods-tutorial__step-card {
  background-color: var(--bg88-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--bg88-border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods-tutorial__step-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for consistency */
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  display: block;
}

.page-payment-methods-tutorial__payment-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-payment-methods-tutorial__method-item {
  background-color: var(--bg88-card-bg);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--bg88-border-color);
}

.page-payment-methods-tutorial__method-logo {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  margin-bottom: 10px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods-tutorial__method-name {
  color: var(--bg88-text-main);
  font-weight: bold;
  font-size: 0.95rem;
}

.page-payment-methods-tutorial__faq-list {
  margin-top: 30px;
}

.page-payment-methods-tutorial__faq-item {
  background-color: var(--bg88-card-bg);
  border: 1px solid var(--bg88-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods-tutorial__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: var(--bg88-text-main);
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-payment-methods-tutorial__faq-question:hover {
  background-color: var(--bg88-deep-green);
}

.page-payment-methods-tutorial__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods-tutorial__faq-question::marker {
  display: none;
}

.page-payment-methods-tutorial__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--bg88-green-secondary);
}

.page-payment-methods-tutorial__faq-item[open] .page-payment-methods-tutorial__faq-toggle {
  content: '−';
}

.page-payment-methods-tutorial__faq-answer {
  padding: 0 25px 20px;
  color: var(--bg88-text-secondary);
  font-size: 1rem;
}

.page-payment-methods-tutorial__cta-final {
  text-align: center;
  padding-bottom: 80px;
}

.page-payment-methods-tutorial__copyright-info {
  margin-top: 50px;
  font-size: 0.85rem;
  color: var(--bg88-text-secondary);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods-tutorial__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods-tutorial__hero-content {
    max-width: 90%;
    padding: 15px;
  }

  .page-payment-methods-tutorial__main-title {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
  }

  .page-payment-methods-tutorial__description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-payment-methods-tutorial__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-payment-methods-tutorial__btn-primary,
  .page-payment-methods-tutorial__btn-secondary {
    width: 100% !important;
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .page-payment-methods-tutorial__section {
    padding: 40px 15px;
  }

  .page-payment-methods-tutorial__heading-2 {
    font-size: clamp(1.3rem, 4vw, 2rem);
    margin-bottom: 25px;
  }

  .page-payment-methods-tutorial__heading-3 {
    font-size: clamp(1.1rem, 3.5vw, 1.6rem);
    margin-top: 30px;
  }

  .page-payment-methods-tutorial__heading-4 {
    font-size: clamp(1rem, 3vw, 1.3rem);
  }

  .page-payment-methods-tutorial__text-block,
  .page-payment-methods-tutorial__list-item,
  .page-payment-methods-tutorial__faq-answer p {
    font-size: 0.95rem;
  }

  .page-payment-methods-tutorial__step-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods-tutorial__payment-method-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }

  .page-payment-methods-tutorial__method-item {
    padding: 15px;
  }

  .page-payment-methods-tutorial__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  /* Mandatory image and container responsive styles */
  .page-payment-methods-tutorial img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods-tutorial__section,
  .page-payment-methods-tutorial__card,
  .page-payment-methods-tutorial__container,
  .page-payment-methods-tutorial__step-card,
  .page-payment-methods-tutorial__method-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods-tutorial__hero-section {
    padding-top: 10px !important;
  }

  .page-payment-methods-tutorial__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
    flex-wrap: wrap !important; /* Allow buttons to wrap */
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods-tutorial__main-title {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }

  .page-payment-methods-tutorial__description {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }

  .page-payment-methods-tutorial__cta-buttons {
    gap: 10px;
  }

  .page-payment-methods-tutorial__btn-primary,
  .page-payment-methods-tutorial__btn-secondary {
    font-size: 0.85rem;
    padding: 10px 10px;
  }

  .page-payment-methods-tutorial__payment-method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}