/* style/payment-methods.css */

/* Base Styles */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared.css, explicitly set for context */
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-payment-methods__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-payment-methods__text-block p,
.page-payment-methods__list li {
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-payment-methods__text-block a {
  color: #FFD700;
  text-decoration: underline;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(rgba(26, 32, 44, 0.8), rgba(26, 32, 44, 0.8)), url('[GALLERY:hero_main:1920x1080:online_casino,payment_methods,secure_transaction,queen79.club_background]') center/cover no-repeat;
  background-attachment: fixed;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-payment-methods__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

/* Intro Section */
.page-payment-methods__intro-section {
  padding: 60px 0;
  background-color: #1A202C; /* Using main brand color for sections */
  color: #f0f0f0;
}

/* Video Section */
.page-payment-methods__video-section {
  padding: 60px 0;
  background-color: #121212; /* Dark background for video */
  text-align: center;
}

.page-payment-methods__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px; /* Max width for video container */
  margin: 0 auto 30px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__video-link {
  display: block;
  position: relative;
  cursor: pointer;
}

.page-payment-methods__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-payment-methods__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-payment-methods__video-link:hover .page-payment-methods__video-overlay {
  opacity: 1;
}

.page-payment-methods__play-icon {
  font-size: 4em;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.page-payment-methods__video-description {
  font-size: 1.1em;
  color: #cccccc;
  max-width: 900px;
  margin: 0 auto;
}

/* Deposit Section */
.page-payment-methods__deposit-section {
  padding: 60px 0;
  background-color: #1A202C;
}

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

.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 450px; /* Ensure cards have similar height */
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

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

.page-payment-methods__card p {
  color: #cccccc;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Withdrawal Section */
.page-payment-methods__withdrawal-section {
  padding: 60px 0;
  background-color: #121212;
  color: #f0f0f0;
}

.page-payment-methods__list {
  list-style: decimal;
  margin-left: 20px;
  padding-left: 0;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
  color: #cccccc;
}

.page-payment-methods__list strong {
  color: #FFD700;
}

/* Security Section */
.page-payment-methods__security-section {
  padding: 60px 0;
  background-color: #1A202C;
  color: #f0f0f0;
}

.page-payment-methods__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-payment-methods__security-text {
  flex: 1;
  min-width: 300px;
}

.page-payment-methods__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-payment-methods__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #121212;
  color: #f0f0f0;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #cccccc;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 20px;
}

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: #1A202C;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-payment-methods__security-content {
    flex-direction: column;
  }
  .page-payment-methods__security-text,
  .page-payment-methods__security-image-wrapper {
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__sub-title {
    font-size: 1.5em;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  /* Mobile Image Responsive */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .page-payment-methods__security-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-payment-methods__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Adjust for fixed header on mobile */
  }
  .page-payment-methods__video-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-payment-methods__video-overlay {
    opacity: 1; /* Always show overlay on mobile for easier tapping */
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__sub-title {
    font-size: 1.3em;
  }
  .page-payment-methods__cards-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card {
    padding: 20px;
  }
  .page-payment-methods__faq-question {
    font-size: 1em;
  }
}