/* style/resources-s666-app-download-guide.css */

.page-resources-s666-app-download-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #121212, so use light text */
  background-color: transparent; /* Main content background is handled by sections */
}

.page-resources-s666-app-download-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-s666-app-download-guide__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-resources-s666-app-download-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-resources-s666-app-download-guide__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 80px;
  background-color: #26A9E0; /* Brand primary color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-s666-app-download-guide__hero-content {
  flex: 1;
  padding-right: 40px;
  max-width: 600px;
  z-index: 1;
  padding-left: 20px;
}

.page-resources-s666-app-download-guide__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-s666-app-download-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-s666-app-download-guide__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 20px;
}

.page-resources-s666-app-download-guide__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-resources-s666-app-download-guide__introduction-section,
.page-resources-s666-app-download-guide__download-guide-section,
.page-resources-s666-app-download-guide__features-section,
.page-resources-s666-app-download-guide__faq-section,
.page-resources-s666-app-download-guide__registration-login-section,
.page-resources-s666-app-download-guide__promotions-section,
.page-resources-s666-app-download-guide__security-section,
.page-resources-s666-app-download-guide__conclusion-section {
  padding: 80px 0;
}

.page-resources-s666-app-download-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit from section background */
}

.page-resources-s666-app-download-guide__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources-s666-app-download-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: inherit;
}

.page-resources-s666-app-download-guide__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources-s666-app-download-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Buttons */
.page-resources-s666-app-download-guide__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-s666-app-download-guide__btn-primary,
.page-resources-s666-app-download-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-s666-app-download-guide__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-s666-app-download-guide__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-resources-s666-app-download-guide__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-s666-app-download-guide__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Login button specific color */
.page-resources-s666-app-download-guide__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-s666-app-download-guide__btn-login:hover {
  background-color: #c96806;
  border-color: #c96806;
}

/* Video Section */
.page-resources-s666-app-download-guide__video-section {
  text-align: center;
}

.page-resources-s666-app-download-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px; /* Limit video width */
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background-color: #000;
}

.page-resources-s666-app-download-guide__video,
.page-resources-s666-app-download-guide__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: block;
}

.page-resources-s666-app-download-guide__video-link-overlay {
  z-index: 2;
  background: rgba(0, 0, 0, 0.2); /* Semi-transparent overlay for click indication */
}

/* Step-by-step Guide */
.page-resources-s666-app-download-guide__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-resources-s666-app-download-guide__step-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #333333;
}

.page-resources-s666-app-download-guide__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-s666-app-download-guide__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

/* Features Grid */
.page-resources-s666-app-download-guide__features-grid,
.page-resources-s666-app-download-guide__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-s666-app-download-guide__feature-card,
.page-resources-s666-app-download-guide__promotion-card {
  background-color: #2a2a2a; /* Darker background for cards in dark section */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-s666-app-download-guide__feature-card .page-resources-s666-app-download-guide__feature-icon,
.page-resources-s666-app-download-guide__promotion-card .page-resources-s666-app-download-guide__promotion-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-s666-app-download-guide__feature-title,
.page-resources-s666-app-download-guide__promotion-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-s666-app-download-guide__feature-description,
.page-resources-s666-app-download-guide__promotion-description {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* FAQ Section */
.page-resources-s666-app-download-guide__faq-list {
  margin-top: 40px;
}

.page-resources-s666-app-download-guide__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources-s666-app-download-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #26A9E0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-resources-s666-app-download-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-s666-app-download-guide__faq-question:hover {
  background-color: #e5e5e5;
}

.page-resources-s666-app-download-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-resources-s666-app-download-guide__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  line-height: 1.7;
  background-color: #ffffff;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-s666-app-download-guide__hero-section {
    flex-direction: column;
    text-align: center;
    padding-bottom: 40px;
  }

  .page-resources-s666-app-download-guide__hero-content {
    padding-right: 20px;
    padding-left: 20px;
    max-width: 100%;
  }

  .page-resources-s666-app-download-guide__hero-image-wrapper {
    margin-top: 40px;
    justify-content: center;
    padding-right: 0;
  }

  .page-resources-s666-app-download-guide__main-title {
    font-size: 2.5em;
  }

  .page-resources-s666-app-download-guide__section-title {
    font-size: 2em;
  }

  .page-resources-s666-app-download-guide__sub-title {
    font-size: 1.5em;
  }

  .page-resources-s666-app-download-guide__step-by-step {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-resources-s666-app-download-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-s666-app-download-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-s666-app-download-guide__hero-content,
  .page-resources-s666-app-download-guide__hero-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-resources-s666-app-download-guide__main-title {
    font-size: 2em !important;
  }

  .page-resources-s666-app-download-guide__hero-description {
    font-size: 1em !important;
  }

  .page-resources-s666-app-download-guide__section-title {
    font-size: 1.8em !important;
  }

  .page-resources-s666-app-download-guide__sub-title {
    font-size: 1.3em !important;
  }

  .page-resources-s666-app-download-guide__container,
  .page-resources-s666-app-download-guide__introduction-section,
  .page-resources-s666-app-download-guide__download-guide-section,
  .page-resources-s666-app-download-guide__features-section,
  .page-resources-s666-app-download-guide__faq-section,
  .page-resources-s666-app-download-guide__registration-login-section,
  .page-resources-s666-app-download-guide__promotions-section,
  .page-resources-s666-app-download-guide__security-section,
  .page-resources-s666-app-download-guide__conclusion-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsiveness */
  .page-resources-s666-app-download-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsiveness */
  .page-resources-s666-app-download-guide video,
  .page-resources-s666-app-download-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-s666-app-download-guide__video-section,
  .page-resources-s666-app-download-guide__video-container,
  .page-resources-s666-app-download-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-s666-app-download-guide__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }

  /* Buttons responsiveness */
  .page-resources-s666-app-download-guide__cta-button,
  .page-resources-s666-app-download-guide__btn-primary,
  .page-resources-s666-app-download-guide__btn-secondary,
  .page-resources-s666-app-download-guide a[class*="button"],
  .page-resources-s666-app-download-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-resources-s666-app-download-guide__cta-buttons,
  .page-resources-s666-app-download-guide__button-group,
  .page-resources-s666-app-download-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .page-resources-s666-app-download-guide__faq-question {
    font-size: 1.1em !important;
    padding: 15px 20px !important;
  }

  .page-resources-s666-app-download-guide__faq-answer {
    font-size: 1em !important;
    padding: 15px 20px !important;
  }

  .page-resources-s666-app-download-guide__step-item {
    padding: 20px;
  }

  .page-resources-s666-app-download-guide__features-grid,
  .page-resources-s666-app-download-guide__promotions-grid {
    grid-template-columns: 1fr;
  }
}