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

/* Base styles for the page content */
.page-resources-ae88-app-download-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000; /* Ensuring consistency with body background */
}

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

.page-resources-ae88-app-download-guide__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-ae88-app-download-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-ae88-app-download-guide__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-resources-ae88-app-download-guide__list li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-resources-ae88-app-download-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  background: linear-gradient(135deg, #B22222, #8B0000);
  color: #ffffff;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-resources-ae88-app-download-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-resources-ae88-app-download-guide__hero-section > .page-resources-ae88-app-download-guide__container {
  position: relative;
  z-index: 1;
}

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

.page-resources-ae88-app-download-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-resources-ae88-app-download-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-resources-ae88-app-download-guide__btn-primary,
.page-resources-ae88-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: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-ae88-app-download-guide__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #B22222; /* Dark red text */
  border: 2px solid #FFD700;
}

.page-resources-ae88-app-download-guide__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources-ae88-app-download-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-resources-ae88-app-download-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #B22222;
}

/* Content Sections */
.page-resources-ae88-app-download-guide__content-section,
.page-resources-ae88-app-download-guide__download-guide,
.page-resources-ae88-app-download-guide__features-section,
.page-resources-ae88-app-download-guide__troubleshooting-section,
.page-resources-ae88-app-download-guide__faq-section,
.page-resources-ae88-app-download-guide__conclusion-section {
  padding: 80px 0;
}

.page-resources-ae88-app-download-guide__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-resources-ae88-app-download-guide__light-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

/* Download Guide Section */
.page-resources-ae88-app-download-guide__download-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-resources-ae88-app-download-guide__platform-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-ae88-app-download-guide__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources-ae88-app-download-guide__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-ae88-app-download-guide__platform-card .page-resources-ae88-app-download-guide__list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
}

.page-resources-ae88-app-download-guide__platform-card .page-resources-ae88-app-download-guide__list li {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-resources-ae88-app-download-guide__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-ae88-app-download-guide__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-ae88-app-download-guide__feature-description {
  color: #f0f0f0;
}

.page-resources-ae88-app-download-guide__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 50px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Troubleshooting Section */
.page-resources-ae88-app-download-guide__list--troubleshoot {
  list-style: none;
  padding-left: 0;
}

.page-resources-ae88-app-download-guide__list--troubleshoot li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-resources-ae88-app-download-guide__list--troubleshoot li strong {
  color: #FFD700;
}

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

.page-resources-ae88-app-download-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-ae88-app-download-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(178, 34, 34, 0.8); /* Darker red for question background */
  transition: background-color 0.3s ease;
}

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

.page-resources-ae88-app-download-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-ae88-app-download-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-ae88-app-download-guide__faq-item.active .page-resources-ae88-app-download-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-resources-ae88-app-download-guide__faq-item.active .page-resources-ae88-app-download-guide__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

/* Conclusion Section */
.page-resources-ae88-app-download-guide__conclusion-section .page-resources-ae88-app-download-guide__paragraph {
  font-size: 1.2em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-ae88-app-download-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-ae88-app-download-guide__section-title {
    font-size: 2em;
  }
  .page-resources-ae88-app-download-guide__download-platforms {
    grid-template-columns: 1fr;
  }
}

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

  .page-resources-ae88-app-download-guide__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-ae88-app-download-guide__hero-title {
    font-size: 2.2em;
  }

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

  .page-resources-ae88-app-download-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-resources-ae88-app-download-guide__btn-primary,
  .page-resources-ae88-app-download-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-resources-ae88-app-download-guide__download-platforms {
    gap: 30px;
  }

  .page-resources-ae88-app-download-guide__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-ae88-app-download-guide__platform-card,
  .page-resources-ae88-app-download-guide__feature-item,
  .page-resources-ae88-app-download-guide__faq-item {
    padding: 20px;
  }
  
  .page-resources-ae88-app-download-guide__section,
  .page-resources-ae88-app-download-guide__card,
  .page-resources-ae88-app-download-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-resources-ae88-app-download-guide__hero-image,
  .page-resources-ae88-app-download-guide__card-image,
  .page-resources-ae88-app-download-guide__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-resources-ae88-app-download-guide__video-section,
  .page-resources-ae88-app-download-guide__video-container,
  .page-resources-ae88-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-ae88-app-download-guide__faq-answer {
    padding: 0 15px;
  }

  .page-resources-ae88-app-download-guide__faq-item.active .page-resources-ae88-app-download-guide__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-ae88-app-download-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-ae88-app-download-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-ae88-app-download-guide__paragraph,
  .page-resources-ae88-app-download-guide__list li {
    font-size: 0.95em;
  }
  .page-resources-ae88-app-download-guide__faq-question {
    font-size: 1.1em;
  }
}