/* style/resources-loto188-app-features.css */
.page-resources-loto188-app-features {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
  line-height: 1.6;
}

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

.page-resources-loto188-app-features__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-resources-loto188-app-features__sub-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-loto188-app-features__text-block {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-resources-loto188-app-features__text-block a,
.page-resources-loto188-app-features li a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-loto188-app-features__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-loto188-app-features__list li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-resources-loto188-app-features__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  box-sizing: border-box;
}

.page-resources-loto188-app-features__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-resources-loto188-app-features__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-resources-loto188-app-features__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-loto188-app-features__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Buttons */
.page-resources-loto188-app-features__btn-primary,
.page-resources-loto188-app-features__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;
  margin: 10px;
  box-sizing: border-box;
}

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

.page-resources-loto188-app-features__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

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

.page-resources-loto188-app-features__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-loto188-app-features__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Section Styling */
.page-resources-loto188-app-features__introduction-section,
.page-resources-loto188-app-features__features-section,
.page-resources-loto188-app-features__security-section,
.page-resources-loto188-app-features__cta-section {
  padding: 80px 0;
}

.page-resources-loto188-app-features__guide-section,
.page-resources-loto188-app-features__comparison-section,
.page-resources-loto188-app-features__faq-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for these sections */
  color: #333333;
}

.page-resources-loto188-app-features__guide-section .page-resources-loto188-app-features__section-title,
.page-resources-loto188-app-features__comparison-section .page-resources-loto188-app-features__section-title,
.page-resources-loto188-app-features__faq-section .page-resources-loto188-app-features__section-title {
  color: #333333; /* Dark text for light background */
}

.page-resources-loto188-app-features__guide-section .page-resources-loto188-app-features__sub-title,
.page-resources-loto188-app-features__comparison-section .page-resources-loto188-app-features__sub-title,
.page-resources-loto188-app-features__faq-section .page-resources-loto188-app-features__faq-title {
  color: #333333;
}

.page-resources-loto188-app-features__guide-section .page-resources-loto188-app-features__text-block,
.page-resources-loto188-app-features__comparison-section .page-resources-loto188-app-features__text-block,
.page-resources-loto188-app-features__guide-section .page-resources-loto188-app-features__list li,
.page-resources-loto188-app-features__comparison-section .page-resources-loto188-app-features__list li,
.page-resources-loto188-app-features__faq-section .page-resources-loto188-app-features__text-block {
  color: #333333;
}

/* Image and Text Layout */
.page-resources-loto188-app-features__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-resources-loto188-app-features__image-text-layout--reverse {
  flex-direction: row-reverse;
}

.page-resources-loto188-app-features__text-content {
  flex: 1;
}

.page-resources-loto188-app-features__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-resources-loto188-app-features__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

/* Feature Grid */
.page-resources-loto188-app-features__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-loto188-app-features__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-resources-loto188-app-features__feature-card:hover {
  transform: translateY(-10px);
}

.page-resources-loto188-app-features__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-loto188-app-features__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  flex-grow: 0;
}

.page-resources-loto188-app-features__card-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Video Section */
.page-resources-loto188-app-features__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-loto188-app-features__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-loto188-app-features__video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-resources-loto188-app-features__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  cursor: pointer;
}

.page-resources-loto188-app-features__video-caption {
  margin-top: 20px;
  font-style: italic;
  color: #cccccc;
}

/* FAQ Section */
.page-resources-loto188-app-features__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-loto188-app-features__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-resources-loto188-app-features__faq-item.active {
  background-color: #e6f7ff; /* Light blue when active */
}

.page-resources-loto188-app-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-resources-loto188-app-features__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-loto188-app-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-resources-loto188-app-features__faq-item.active .page-resources-loto188-app-features__faq-toggle {
  transform: rotate(0deg); /* '+' becomes '-' (rotated 0 degrees from initial '-' if it were an X) */
}

.page-resources-loto188-app-features__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources-loto188-app-features__faq-item.active .page-resources-loto188-app-features__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
}

/* CTA Section */
.page-resources-loto188-app-features__cta-section {
  text-align: center;
  padding: 100px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-loto188-app-features__hero-title {
    font-size: 2.8em;
  }

  .page-resources-loto188-app-features__hero-description {
    font-size: 1.1em;
  }

  .page-resources-loto188-app-features__section-title {
    font-size: 2em;
  }

  .page-resources-loto188-app-features__sub-title {
    font-size: 1.6em;
  }
}

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

  .page-resources-loto188-app-features__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-resources-loto188-app-features__hero-title {
    font-size: 2em;
  }

  .page-resources-loto188-app-features__hero-description {
    font-size: 1em;
  }
}