/* style/resources-safe-fast-fb88-deposit.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #0a0a0a;
  --button-login: #EA7C07;
}

/* Base styles for the page content */
.page-resources-safe-fast-fb88-deposit {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark);
}

.page-resources-safe-fast-fb88-deposit__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-safe-fast-fb88-deposit__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-resources-safe-fast-fb88-deposit__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); /* Fixed header offset */
  min-height: 600px;
  overflow: hidden;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-safe-fast-fb88-deposit__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-resources-safe-fast-fb88-deposit__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-resources-safe-fast-fb88-deposit__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-resources-safe-fast-fb88-deposit__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-resources-safe-fast-fb88-deposit__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background effect */
  filter: brightness(0.7); /* Darken image slightly */
}

.page-resources-safe-fast-fb88-deposit__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-resources-safe-fast-fb88-deposit__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-safe-fast-fb88-deposit__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-resources-safe-fast-fb88-deposit__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-resources-safe-fast-fb88-deposit__cards-grid,
.page-resources-safe-fast-fb88-deposit__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-resources-safe-fast-fb88-deposit__card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  color: var(--text-dark);
}

.page-resources-safe-fast-fb88-deposit__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-safe-fast-fb88-deposit__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-safe-fast-fb88-deposit__card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-safe-fast-fb88-deposit__card-text {
  font-size: 1em;
  color: var(--text-dark);
}

.page-resources-safe-fast-fb88-deposit__step-by-step-guide {
  margin-bottom: 50px;
}

.page-resources-safe-fast-fb88-deposit__guide-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-resources-safe-fast-fb88-deposit__guide-title {
  font-size: 2em;
  color: var(--button-login); /* Using login color for emphasis */
  margin-bottom: 20px;
}

.page-resources-safe-fast-fb88-deposit__guide-item ol {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 25px;
}

.page-resources-safe-fast-fb88-deposit__guide-item ol li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-resources-safe-fast-fb88-deposit__guide-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 20px;
}

.page-resources-safe-fast-fb88-deposit__tips-list,
.page-resources-safe-fast-fb88-deposit__notes-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.page-resources-safe-fast-fb88-deposit__tips-list li,
.page-resources-safe-fast-fb88-deposit__notes-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-safe-fast-fb88-deposit__tips-list li strong,
.page-resources-safe-fast-fb88-deposit__notes-list li strong {
  color: var(--primary-color);
}

.page-resources-safe-fast-fb88-deposit__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 40px;
  display: block;
}

.page-resources-safe-fast-fb88-deposit__promotion-card .page-resources-safe-fast-fb88-deposit__card-image {
  height: 200px;
}

.page-resources-safe-fast-fb88-deposit__btn-primary,
.page-resources-safe-fast-fb88-deposit__btn-secondary,
.page-resources-safe-fast-fb88-deposit__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-resources-safe-fast-fb88-deposit__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
  margin: 0 10px;
}

.page-resources-safe-fast-fb88-deposit__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-resources-safe-fast-fb88-deposit__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin: 0 10px;
}

.page-resources-safe-fast-fb88-deposit__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-resources-safe-fast-fb88-deposit__btn-tertiary {
  background-color: var(--button-login);
  color: var(--secondary-color);
  border: 2px solid var(--button-login);
  margin-top: 20px;
}

.page-resources-safe-fast-fb88-deposit__btn-tertiary:hover {
  background-color: darken(var(--button-login), 10%);
  border-color: darken(var(--button-login), 10%);
}

.page-resources-safe-fast-fb88-deposit__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-resources-safe-fast-fb88-deposit__video-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--background-dark);
  color: var(--text-light);
  margin-top: 40px;
  box-sizing: border-box;
}

.page-resources-safe-fast-fb88-deposit__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 30px;
  border-radius: 10px;
}

.page-resources-safe-fast-fb88-deposit__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-resources-safe-fast-fb88-deposit__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
}

.page-resources-safe-fast-fb88-deposit__video-caption {
  font-size: 1.1em;
  color: var(--text-light);
  margin-top: 20px;
}

.page-resources-safe-fast-fb88-deposit__faq-container {
  margin-top: 40px;
}

.page-resources-safe-fast-fb88-deposit__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-resources-safe-fast-fb88-deposit__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--secondary-color);
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-resources-safe-fast-fb88-deposit__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-safe-fast-fb88-deposit__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-resources-safe-fast-fb88-deposit__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-resources-safe-fast-fb88-deposit__faq-item.active .page-resources-safe-fast-fb88-deposit__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-safe-fast-fb88-deposit__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-resources-safe-fast-fb88-deposit__faq-item.active .page-resources-safe-fast-fb88-deposit__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 15px 25px 25px;
}

.page-resources-safe-fast-fb88-deposit__faq-answer p {
  margin: 0;
  color: var(--text-dark);
}

.page-resources-safe-fast-fb88-deposit__cta-section {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 50px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
}

.page-resources-safe-fast-fb88-deposit__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-resources-safe-fast-fb88-deposit__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-safe-fast-fb88-deposit__hero-title {
    font-size: 3em;
  }
  .page-resources-safe-fast-fb88-deposit__hero-description {
    font-size: 1.2em;
  }
  .page-resources-safe-fast-fb88-deposit__section-title {
    font-size: 2.2em;
  }
  .page-resources-safe-fast-fb88-deposit__card-title {
    font-size: 1.6em;
  }
  .page-resources-safe-fast-fb88-deposit__guide-title {
    font-size: 1.8em;
  }
  .page-resources-safe-fast-fb88-deposit__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-safe-fast-fb88-deposit__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 450px;
  }
  .page-resources-safe-fast-fb88-deposit__hero-title {
    font-size: 2.2em;
  }
  .page-resources-safe-fast-fb88-deposit__hero-description {
    font-size: 1em;
  }
  .page-resources-safe-fast-fb88-deposit__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-safe-fast-fb88-deposit__btn-primary,
  .page-resources-safe-fast-fb88-deposit__btn-secondary,
  .page-resources-safe-fast-fb88-deposit__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 12px 15px;
    font-size: 1em;
  }
  .page-resources-safe-fast-fb88-deposit__content-area,
  .page-resources-safe-fast-fb88-deposit__video-section,
  .page-resources-safe-fast-fb88-deposit__cta-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-safe-fast-fb88-deposit__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-safe-fast-fb88-deposit__text-block,
  .page-resources-safe-fast-fb88-deposit__tips-list li,
  .page-resources-safe-fast-fb88-deposit__notes-list li,
  .page-resources-safe-fast-fb88-deposit__faq-answer p {
    font-size: 0.95em;
  }
  .page-resources-safe-fast-fb88-deposit__card,
  .page-resources-safe-fast-fb88-deposit__guide-item {
    padding: 20px;
  }
  .page-resources-safe-fast-fb88-deposit__card-image,
  .page-resources-safe-fast-fb88-deposit__guide-image,
  .page-resources-safe-fast-fb88-deposit__content-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    display: block !important;
  }
  .page-resources-safe-fast-fb88-deposit__video-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-safe-fast-fb88-deposit__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-safe-fast-fb88-deposit__video,
  .page-resources-safe-fast-fb88-deposit__video-link {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important; /* Ensure video fills its wrapper */
  }
  .page-resources-safe-fast-fb88-deposit__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-safe-fast-fb88-deposit__faq-item.active .page-resources-safe-fast-fb88-deposit__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-resources-safe-fast-fb88-deposit__cta-title {
    font-size: 2em;
  }
  .page-resources-safe-fast-fb88-deposit__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-resources-safe-fast-fb88-deposit__hero-title {
    font-size: 1.8em;
  }
  .page-resources-safe-fast-fb88-deposit__hero-description {
    font-size: 0.9em;
  }
  .page-resources-safe-fast-fb88-deposit__section-title {
    font-size: 1.6em;
  }
  .page-resources-safe-fast-fb88-deposit__card-title {
    font-size: 1.4em;
  }
  .page-resources-safe-fast-fb88-deposit__guide-title {
    font-size: 1.6em;
  }
  .page-resources-safe-fast-fb88-deposit__cta-title {
    font-size: 1.8em;
  }
}