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

.page-resources-latest-features {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure content area respects body background */
}

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

.page-resources-latest-features__dark-bg {
  background-color: #0A192F;
  color: #ffffff;
}

/* Hero Section */
.page-resources-latest-features__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background-image: url('[GALLERY:hero_main:1920x1080:188bet_app,new_features,hero,mobile_betting]');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-resources-latest-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-latest-features__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-latest-features__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-resources-latest-features__btn-primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

.page-resources-latest-features__btn-primary:hover {
  background-color: #e6c200;
  color: #0A192F;
}

.page-resources-latest-features__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-latest-features__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

/* General Sections */
.page-resources-latest-features__introduction-section,
.page-resources-latest-features__key-features-section,
.page-resources-latest-features__benefits-section,
.page-resources-latest-features__download-guide-section,
.page-resources-latest-features__faq-section,
.page-resources-latest-features__cta-banner-section {
  padding: 80px 0;
}

.page-resources-latest-features__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
}

.page-resources-latest-features__section-subtitle {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-latest-features__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-resources-latest-features__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-resources-latest-features__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-resources-latest-features__image--left {
  margin-right: 20px;
}

.page-resources-latest-features__image--right {
  margin-left: 20px;
}

.page-resources-latest-features__text-block {
  flex: 1;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.page-resources-latest-features__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

/* Key Features Grid */
.page-resources-latest-features__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-latest-features__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-latest-features__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-resources-latest-features__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-resources-latest-features__card-description {
  color: #f0f0f0;
}

/* Benefits Section */
.page-resources-latest-features__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-latest-features__benefit-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-features__benefit-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-latest-features__benefit-item p {
  color: #f0f0f0;
}

/* Video Section */
.page-resources-latest-features__video-section {
  text-align: center;
}

.page-resources-latest-features__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
}

.page-resources-latest-features__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.page-resources-latest-features__video-caption {
  margin-top: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Download Guide Section */
.page-resources-latest-features__step-list {
  list-style: none;
  padding: 0;
}

.page-resources-latest-features__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #FFD700;
}

.page-resources-latest-features__step-title {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-latest-features__step-item p {
  color: #f0f0f0;
}

.page-resources-latest-features__step-item a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources-latest-features__step-item a:hover {
  color: #e6c200;
}

.page-resources-latest-features__btn--full-width {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

/* FAQ Section */
.page-resources-latest-features__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-latest-features__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-latest-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #0A192F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-latest-features__faq-question:hover {
  background-color: #1a2c4e;
}

.page-resources-latest-features__faq-title {
  margin: 0;
  color: #FFD700;
}

.page-resources-latest-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-resources-latest-features__faq-item.active .page-resources-latest-features__faq-toggle {
  transform: rotate(45deg);
}

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

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

.page-resources-latest-features__faq-answer p {
  margin: 0;
}

/* CTA Banner Section */
.page-resources-latest-features__cta-banner-section {
  background-image: url('[GALLERY:cta_bg:1920x400:188bet_app,cta_banner,dark_background,promotional]');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 60px 0;
}

.page-resources-latest-features__cta-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-resources-latest-features__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-latest-features__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-latest-features__cta-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-latest-features__hero-title {
    font-size: 3em;
  }
  .page-resources-latest-features__section-title {
    font-size: 2em;
  }
  .page-resources-latest-features__cta-title {
    font-size: 2.2em;
  }
}

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

  .page-resources-latest-features__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-latest-features__hero-title {
    font-size: 2.2em;
  }

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

  .page-resources-latest-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-latest-features__btn-primary,
  .page-resources-latest-features__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  .page-resources-latest-features__introduction-section,
  .page-resources-latest-features__key-features-section,
  .page-resources-latest-features__benefits-section,
  .page-resources-latest-features__download-guide-section,
  .page-resources-latest-features__faq-section,
  .page-resources-latest-features__cta-banner-section {
    padding: 40px 0;
  }

  .page-resources-latest-features__container {
    padding: 0 15px;
  }

  .page-resources-latest-features__section-title {
    font-size: 1.8em;
  }

  .page-resources-latest-features__section-subtitle {
    margin-bottom: 30px;
  }

  .page-resources-latest-features__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-latest-features__content-wrapper:nth-child(even) {
    flex-direction: column;
  }

  .page-resources-latest-features__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .page-resources-latest-features__text-block {
    padding: 15px;
  }

  .page-resources-latest-features__features-grid,
  .page-resources-latest-features__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-latest-features__feature-card,
  .page-resources-latest-features__benefit-item {
    padding: 20px;
  }

  .page-resources-latest-features__card-image {
    height: 180px;
  }

  .page-resources-latest-features__video-wrapper {
    padding-bottom: 56.25% !important;
    margin: 0 15px;
    max-width: calc(100% - 30px) !important;
    width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-latest-features__video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  .page-resources-latest-features__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }

  .page-resources-latest-features__faq-answer {
    padding: 0 15px;
  }

  .page-resources-latest-features__faq-item.active .page-resources-latest-features__faq-answer {
    padding: 15px;
    padding-top: 10px;
  }

  .page-resources-latest-features__cta-title {
    font-size: 1.8em;
  }

  .page-resources-latest-features__cta-description {
    font-size: 1em;
  }

  .page-resources-latest-features__cta-image {
    margin-top: 20px;
  }
  .page-resources-latest-features__text-block .page-resources-latest-features__btn--full-width {
    padding-left: 0;
    padding-right: 0;
  }
  .page-resources-latest-features__download-guide-section .page-resources-latest-features__content-wrapper {
    flex-direction: column;
  }
  .page-resources-latest-features__download-guide-section .page-resources-latest-features__image {
    order: -1; /* Move image above text block on mobile */
  }
}

@media (max-width: 480px) {
  .page-resources-latest-features__hero-title {
    font-size: 1.8em;
  }
  .page-resources-latest-features__section-title {
    font-size: 1.5em;
  }
  .page-resources-latest-features__cta-title {
    font-size: 1.5em;
  }
  .page-resources-latest-features__hero-section {
    padding: 40px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
}