/* style/payment-methods.css */

/* Root variables for colors */
:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000;
  --background-light: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Inherits from body, but ensures consistency */
}

/* Sections */
.page-payment-methods__hero-section,
.page-payment-methods__why-choose-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__important-notes,
.page-payment-methods__security-section,
.page-payment-methods__final-cta {
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

/* Apply header offset to the first section */
.page-payment-methods__hero-section {
  padding-top: var(--header-offset, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-payment-methods__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-payment-methods__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-payment-methods__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-payment-methods__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-payment-methods__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-payment-methods__btn-primary:hover {
  background-color: #e6c200; /* Darken secondary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-payment-methods__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

/* General Section Titles */
.page-payment-methods__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: inherit; /* Inherits from parent section */
}

.page-payment-methods__section-intro {
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Why Choose Section */
.page-payment-methods__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__feature-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-5px);
}

.page-payment-methods__feature-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-payment-methods__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-payment-methods__feature-description {
  font-size: 16px;
  color: var(--text-dark);
}

/* Deposit/Withdrawal Methods Sections */
.page-payment-methods__method-card {
  background-color: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
  text-align: left;
  color: var(--text-dark);
}

.page-payment-methods__deposit-methods .page-payment-methods__method-card,
.page-payment-methods__withdrawal-methods .page-payment-methods__method-card {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__method-header {
  display: flex;
  align-items: center;
  padding: 25px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-payment-methods__method-icon {
  width: 100px;
  height: auto;
  margin-right: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__method-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  color: var(--secondary-color);
}

.page-payment-methods__method-content {
  padding: 25px;
  color: var(--text-dark);
}

.page-payment-methods__method-content h4 {
  font-size: 20px;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-payment-methods__method-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
  list-style-type: decimal;
}

.page-payment-methods__method-content li {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-payment-methods__method-content p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-payment-methods__cta-bottom {
  margin-top: 40px;
}

/* Important Notes Section */
.page-payment-methods__note-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__note-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods__note-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

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

.page-payment-methods__security-feature-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: var(--text-dark);
}

.page-payment-methods__security-icon {
  width: 100%;
  height: auto;
  max-width: 120px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__security-feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Final CTA */
.page-payment-methods__final-cta-content {
  max-width: 800px;
}

.page-payment-methods__large-button {
  padding: 18px 45px;
  font-size: 20px;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 42px;
  }
  .page-payment-methods__section-title {
    font-size: 32px;
  }
  .page-payment-methods__hero-description,
  .page-payment-methods__section-intro {
    font-size: 17px;
  }
  .page-payment-methods__method-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-payment-methods__hero-content {
    margin-bottom: 30px;
  }
  .page-payment-methods__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-payment-methods__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-payment-methods__cta-button {
    width: 100%;
    padding: 12px 25px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__hero-image-wrapper {
    margin-top: 30px;
  }

  .page-payment-methods__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-payment-methods__section-intro {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__note-items,
  .page-payment-methods__security-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__feature-item,
  .page-payment-methods__note-item,
  .page-payment-methods__security-feature-item {
    padding: 25px;
  }

  .page-payment-methods__method-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .page-payment-methods__method-icon {
    margin-right: 0;
    margin-bottom: 15px;
    width: 80px;
  }
  .page-payment-methods__method-title {
    font-size: 22px;
  }
  .page-payment-methods__method-content {
    padding: 20px;
  }
  .page-payment-methods__method-content h4 {
    font-size: 18px;
  }
  .page-payment-methods__method-content ol {
    margin-left: 15px;
  }
  .page-payment-methods__method-content li,
  .page-payment-methods__method-content p {
    font-size: 15px;
  }

  .page-payment-methods__cta-bottom {
    margin-top: 30px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100%;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__large-button {
    padding: 15px 30px;
    font-size: 18px;
  }

  /* General mobile image/video/container rules */
  .page-payment-methods img,
  .page-payment-methods video {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__why-choose-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__important-notes,
  .page-payment-methods__security-section,
  .page-payment-methods__final-cta,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__method-card,
  .page-payment-methods__feature-item,
  .page-payment-methods__note-item,
  .page-payment-methods__security-feature-item,
  .page-payment-methods__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon,
  .page-payment-methods__security-icon {
    padding-left: 0;
    padding-right: 0;
  }

  .page-payment-methods__hero-section .page-payment-methods__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }
  .page-payment-methods__cta-bottom .page-payment-methods__btn-primary {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 32px;
  }
  .page-payment-methods__section-title {
    font-size: 24px;
  }
  .page-payment-methods__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
  .page-payment-methods__feature-title {
    font-size: 20px;
  }
  .page-payment-methods__method-title {
    font-size: 20px;
  }
  .page-payment-methods__note-title {
    font-size: 18px;
  }
  .page-payment-methods__security-feature-title {
    font-size: 20px;
  }
  .page-payment-methods__large-button {
    font-size: 16px;
    padding: 12px 25px;
  }
}