/* style/resources-plus777-app-latest-features.css */

.page-resources-plus777-app-latest-features {
  color: #333333; /* Dark text for light body background */
  background-color: #f4f4f4; /* Inherited from body, ensuring contrast */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-plus777-app-latest-features__hero-section {
  background-color: #1A1A1A; /* Auxiliary dark background for hero */
  color: #ffffff; /* Light text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-resources-plus777-app-latest-features__hero-container {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-plus777-app-latest-features__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-plus777-app-latest-features__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-plus777-app-latest-features__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-plus777-app-latest-features__hero-image {
  margin-top: 40px;
  max-width: 1000px;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
}

.page-resources-plus777-app-latest-features__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-plus777-app-latest-features__content-area {
  max-width: 800px; /* Content width control for readability */
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* White background for content */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: -60px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 2;
}

.page-resources-plus777-app-latest-features__section-title {
  font-size: 2.5em;
  color: #1A1A1A;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-resources-plus777-app-latest-features__sub-section-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources-plus777-app-latest-features__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

.page-resources-plus777-app-latest-features__feature-list {
  list-style: disc inside;
  margin-bottom: 30px;
  padding-left: 20px;
}

.page-resources-plus777-app-latest-features__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333333;
}

.page-resources-plus777-app-latest-features__list-item strong {
  color: #1A1A1A;
}

.page-resources-plus777-app-latest-features__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-resources-plus777-app-latest-features__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-plus777-app-latest-features__action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-resources-plus777-app-latest-features__card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-plus777-app-latest-features__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-plus777-app-latest-features__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-plus777-app-latest-features__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-resources-plus777-app-latest-features__button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A1A1A; /* Dark text for gold button */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-resources-plus777-app-latest-features__button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-resources-plus777-app-latest-features__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-resources-plus777-app-latest-features__button--primary:hover {
  background-color: #e6c200;
}

.page-resources-plus777-app-latest-features__button--secondary {
  background-color: #1A1A1A;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-resources-plus777-app-latest-features__button--secondary:hover {
  background-color: #333333;
  color: #ffffff;
}

.page-resources-plus777-app-latest-features__back-link-wrapper {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.page-resources-plus777-app-latest-features__back-link {
  color: #FFD700;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-plus777-app-latest-features__back-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-resources-plus777-app-latest-features a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources-plus777-app-latest-features a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-plus777-app-latest-features__hero-title {
    font-size: 2.8em;
  }
  .page-resources-plus777-app-latest-features__hero-description {
    font-size: 1.2em;
  }
  .page-resources-plus777-app-latest-features__section-title {
    font-size: 2em;
  }
  .page-resources-plus777-app-latest-features__sub-section-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-plus777-app-latest-features {
    padding-top: var(--header-offset, 80px); /* Adjust padding for smaller header on mobile */
  }
  .page-resources-plus777-app-latest-features__hero-section {
    padding: 60px 15px;
  }
  .page-resources-plus777-app-latest-features__hero-title {
    font-size: 2.2em;
  }
  .page-resources-plus777-app-latest-features__hero-description {
    font-size: 1em;
  }
  .page-resources-plus777-app-latest-features__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-plus777-app-latest-features__content-area {
    padding: 40px 15px;
    margin-top: -40px;
  }
  .page-resources-plus777-app-latest-features__section-title {
    font-size: 1.8em;
  }
  .page-resources-plus777-app-latest-features__sub-section-title {
    font-size: 1.4em;
  }
  .page-resources-plus777-app-latest-features__paragraph,
  .page-resources-plus777-app-latest-features__list-item,
  .page-resources-plus777-app-latest-features__card-description {
    font-size: 0.95em;
  }
  .page-resources-plus777-app-latest-features__image-wrapper img,
  .page-resources-plus777-app-latest-features__hero-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
  .page-resources-plus777-app-latest-features__action-cards {
    grid-template-columns: 1fr;
  }
  /* Ensure no horizontal scroll */
  .page-resources-plus777-app-latest-features {
    overflow-x: hidden;
  }
}