/* style/resources-fun88-safe-download-install.css */
.page-resources-fun88-safe-download-install {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches body background from shared.css */
}

.page-resources-fun88-safe-download-install__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-fun88-safe-download-install__hero-section {
  position: relative;
  padding: 80px 0 40px; /* Adjust top padding for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #26A9E0; /* Brand primary color for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

.page-resources-fun88-safe-download-install__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-fun88-safe-download-install__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-fun88-safe-download-install__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-resources-fun88-safe-download-install__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-fun88-safe-download-install__btn-primary,
.page-resources-fun88-safe-download-install__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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-fun88-safe-download-install__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-resources-fun88-safe-download-install__btn-primary:hover {
  background-color: #d16b00;
}

.page-resources-fun88-safe-download-install__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-fun88-safe-download-install__btn-secondary:hover {
  background-color: #e0f7fa;
  color: #1a7ea5;
}

.page-resources-fun88-safe-download-install__content-area {
  padding: 60px 0;
  background-color: #121212; /* Matches body background */
  color: #ffffff;
}

.page-resources-fun88-safe-download-install__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
  font-weight: bold;
}

.page-resources-fun88-safe-download-install__subtitle {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-resources-fun88-safe-download-install__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-fun88-safe-download-install__list,
.page-resources-fun88-safe-download-install__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-fun88-safe-download-install__ordered-list {
  list-style-type: decimal;
}

.page-resources-fun88-safe-download-install__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-fun88-safe-download-install__image-inline {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-resources-fun88-safe-download-install__faq-list {
  margin-top: 40px;
}

.page-resources-fun88-safe-download-install__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-resources-fun88-safe-download-install__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-fun88-safe-download-install__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources-fun88-safe-download-install__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-fun88-safe-download-install__faq-item[open] .page-resources-fun88-safe-download-install__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-fun88-safe-download-install__faq-answer {
  padding: 20px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-resources-fun88-safe-download-install__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* Feature Grid */
.page-resources-fun88-safe-download-install__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-resources-fun88-safe-download-install__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-fun88-safe-download-install__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-fun88-safe-download-install__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.page-resources-fun88-safe-download-install__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
  font-weight: bold;
}

.page-resources-fun88-safe-download-install__feature-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources-fun88-safe-download-install__btn-text {
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-fun88-safe-download-install__btn-text:hover {
  color: #ff9900;
}

.page-resources-fun88-safe-download-install__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Floating buttons */
.page-resources-fun88-safe-download-install__floating-btn {
  position: fixed;
  right: 20px;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: calc(100% - 40px);
}

.page-resources-fun88-safe-download-install__floating-btn:hover {
  transform: translateY(-3px);
}

.page-resources-fun88-safe-download-install__floating-btn--register {
  background-color: #26A9E0;
  color: #ffffff;
  bottom: 80px;
}

.page-resources-fun88-safe-download-install__floating-btn--register:hover {
  background-color: #1a7ea5;
}

.page-resources-fun88-safe-download-install__floating-btn--login {
  background-color: #EA7C07;
  color: #ffffff;
  bottom: 20px;
}

.page-resources-fun88-safe-download-install__floating-btn--login:hover {
  background-color: #d16b00;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-fun88-safe-download-install__hero-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-fun88-safe-download-install {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-fun88-safe-download-install__hero-section {
    padding: 60px 0 30px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-fun88-safe-download-install__hero-title {
    font-size: 2.2em;
  }

  .page-resources-fun88-safe-download-install__hero-description {
    font-size: 1em;
  }

  .page-resources-fun88-safe-download-install__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-fun88-safe-download-install__btn-primary,
  .page-resources-fun88-safe-download-install__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-fun88-safe-download-install__content-area {
    padding: 40px 0;
  }

  .page-resources-fun88-safe-download-install__section-title {
    font-size: 2em;
  }

  .page-resources-fun88-safe-download-install__subtitle {
    font-size: 1.5em;
  }

  .page-resources-fun88-safe-download-install__paragraph,
  .page-resources-fun88-safe-download-install__list-item,
  .page-resources-fun88-safe-download-install__faq-answer p {
    font-size: 1em;
  }

  .page-resources-fun88-safe-download-install__image-inline {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-fun88-safe-download-install__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-fun88-safe-download-install__faq-answer {
    padding: 15px;
  }

  .page-resources-fun88-safe-download-install__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-fun88-safe-download-install__feature-card {
    padding: 25px;
  }

  .page-resources-fun88-safe-download-install__floating-btn {
    font-size: 1em;
    padding: 10px 20px;
    right: 15px;
    max-width: calc(100% - 30px) !important;
  }

  .page-resources-fun88-safe-download-install__container,
  .page-resources-fun88-safe-download-install__hero-section,
  .page-resources-fun88-safe-download-install__content-area,
  .page-resources-fun88-safe-download-install__feature-grid,
  .page-resources-fun88-safe-download-install__cta-bottom,
  .page-resources-fun88-safe-download-install__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-resources-fun88-safe-download-install__hero-title {
    font-size: 1.8em;
  }

  .page-resources-fun88-safe-download-install__section-title {
    font-size: 1.8em;
  }

  .page-resources-fun88-safe-download-install__subtitle {
    font-size: 1.3em;
  }
}