/* style/resources-pg66-app-features.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-button-color: #EA7C07;
  --background-color: #FFFFFF;
  --black-color: #000000;
}

.page-resources-pg66-app-features {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--background-color); /* Default body background */
}

/* Fixed header offset for main content */
.page-resources-pg66-app-features__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-resources-pg66-app-features__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-resources-pg66-app-features__hero-content {
  max-width: 900px;
  z-index: 1;
  padding: 40px 0;
}

.page-resources-pg66-app-features__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-light);
  line-height: 1.2;
}

.page-resources-pg66-app-features__subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

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

.page-resources-pg66-app-features__btn-primary,
.page-resources-pg66-app-features__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-pg66-app-features__btn-primary {
  background-color: var(--login-button-color);
  color: var(--text-light);
  border: 2px solid var(--login-button-color);
}

.page-resources-pg66-app-features__btn-primary:hover {
  background-color: darken(var(--login-button-color), 10%);
  border-color: darken(var(--login-button-color), 10%);
}

.page-resources-pg66-app-features__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-resources-pg66-app-features__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources-pg66-app-features__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  z-index: 0;
}

.page-resources-pg66-app-features__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-pg66-app-features__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-resources-pg66-app-features__intro-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-dark);
}

.page-resources-pg66-app-features__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-pg66-app-features__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-resources-pg66-app-features__features-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-pg66-app-features__features-section .page-resources-pg66-app-features__section-title {
  color: var(--text-light);
}

.page-resources-pg66-app-features__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-pg66-app-features__feature-card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-resources-pg66-app-features__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-resources-pg66-app-features__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-resources-pg66-app-features__feature-description {
  font-size: 1em;
  text-align: justify;
}

.page-resources-pg66-app-features__game-types-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-dark);
}

.page-resources-pg66-app-features__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-resources-pg66-app-features__game-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

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

.page-resources-pg66-app-features__game-image {
  width: 100%;
  height: 220px; /* Fixed height for images */
  object-fit: cover;
  display: block;
}

.page-resources-pg66-app-features__game-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  flex-grow: 0;
}

.page-resources-pg66-app-features__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-resources-pg66-app-features__game-title a:hover {
  text-decoration: underline;
}

.page-resources-pg66-app-features__game-description {
  font-size: 0.95em;
  color: var(--text-dark);
  padding: 0 20px 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-resources-pg66-app-features__advantages-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-pg66-app-features__advantages-section .page-resources-pg66-app-features__section-title {
  color: var(--text-light);
}

.page-resources-pg66-app-features__advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-pg66-app-features__advantage-item {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-resources-pg66-app-features__advantage-item:hover {
  transform: scale(1.03);
}

.page-resources-pg66-app-features__advantage-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-pg66-app-features__advantage-description {
  font-size: 0.95em;
  text-align: justify;
}

.page-resources-pg66-app-features__download-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-dark);
}

.page-resources-pg66-app-features__download-steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-bottom: 40px;
}

.page-resources-pg66-app-features__step-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
  text-align: justify;
}

.page-resources-pg66-app-features__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-resources-pg66-app-features__step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-pg66-app-features__step-description {
  font-size: 1em;
}

.page-resources-pg66-app-features__link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources-pg66-app-features__link:hover {
  color: darken(var(--primary-color), 10%);
}

.page-resources-pg66-app-features__download-cta {
  margin-top: 40px;
}

.page-resources-pg66-app-features__faq-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-pg66-app-features__faq-section .page-resources-pg66-app-features__section-title {
  color: var(--text-light);
}

.page-resources-pg66-app-features__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-pg66-app-features__faq-item {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-pg66-app-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-resources-pg66-app-features__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-pg66-app-features__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-resources-pg66-app-features__faq-item[open] .page-resources-pg66-app-features__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-pg66-app-features__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-dark);
  text-align: justify;
}

.page-resources-pg66-app-features__conclusion-section {
  padding: 80px 0;
  background-color: var(--background-color);
  color: var(--text-dark);
  text-align: center;
}

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

  .page-resources-pg66-app-features__subtitle {
    font-size: 1.2em;
  }

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

@media (max-width: 768px) {
  .page-resources-pg66-app-features__hero-section {
    padding-bottom: 40px;
  }

  .page-resources-pg66-app-features__main-title {
    font-size: 2.2em;
  }

  .page-resources-pg66-app-features__subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

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

  .page-resources-pg66-app-features__hero-image-wrapper {
    margin-top: 30px;
  }

  .page-resources-pg66-app-features__intro-section,
  .page-resources-pg66-app-features__features-section,
  .page-resources-pg66-app-features__game-types-section,
  .page-resources-pg66-app-features__advantages-section,
  .page-resources-pg66-app-features__download-section,
  .page-resources-pg66-app-features__faq-section,
  .page-resources-pg66-app-features__conclusion-section {
    padding: 50px 0;
  }

  .page-resources-pg66-app-features__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-pg66-app-features__paragraph {
    font-size: 0.95em;
  }

  .page-resources-pg66-app-features__feature-grid,
  .page-resources-pg66-app-features__game-grid,
  .page-resources-pg66-app-features__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-pg66-app-features__feature-card,
  .page-resources-pg66-app-features__game-card,
  .page-resources-pg66-app-features__advantage-item {
    padding: 20px;
  }

  .page-resources-pg66-app-features__feature-title,
  .page-resources-pg66-app-features__game-title,
  .page-resources-pg66-app-features__advantage-title,
  .page-resources-pg66-app-features__step-title {
    font-size: 1.2em;
  }

  .page-resources-pg66-app-features__feature-description,
  .page-resources-pg66-app-features__game-description,
  .page-resources-pg66-app-features__advantage-description,
  .page-resources-pg66-app-features__step-description {
    font-size: 0.9em;
  }

  .page-resources-pg66-app-features__step-item {
    padding-left: 50px;
  }

  .page-resources-pg66-app-features__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }

  .page-resources-pg66-app-features__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-resources-pg66-app-features__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9em;
  }

  /* Image responsive adaptation */
  .page-resources-pg66-app-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image containers responsive adaptation */
  .page-resources-pg66-app-features__hero-image-wrapper,
  .page-resources-pg66-app-features__feature-card,
  .page-resources-pg66-app-features__game-card,
  .page-resources-pg66-app-features__advantage-item,
  .page-resources-pg66-app-features__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure no horizontal scroll for content areas */
  .page-resources-pg66-app-features {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-resources-pg66-app-features__main-title {
    font-size: 1.8em;
  }

  .page-resources-pg66-app-features__subtitle {
    font-size: 0.9em;
  }

  .page-resources-pg66-app-features__section-title {
    font-size: 1.5em;
  }

  .page-resources-pg66-app-features__cta-buttons {
    gap: 10px;
  }

  .page-resources-pg66-app-features__btn-primary,
  .page-resources-pg66-app-features__btn-secondary {
    padding: 10px 15px;
    font-size: 0.8em;
  }
}