/* style/index-download-app.css */
.page-index-download-app {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for text on dark background */
  background-color: #0A192F;
  line-height: 1.6;
}

.page-index-download-app__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%);
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-index-download-app__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-index-download-app__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-download-app__hero-description {
  font-size: 1.3em;
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-index-download-app__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-download-app__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-index-download-app__btn--primary {
  background-color: #FFD700; /* Gold for primary button */
  color: #0A192F;
  border: 2px solid #FFD700;
}

.page-index-download-app__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
}

.page-index-download-app__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-download-app__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

.page-index-download-app__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 5%;
  width: 350px;
  height: auto;
  opacity: 0.7;
  pointer-events: none;
  display: none; /* Hidden by default, shown on larger screens */
}

.page-index-download-app__hero-image {
  width: 100%;
  height: auto;
  transform: rotate(10deg);
}

.page-index-download-app__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin: 60px 0 40px;
  padding-bottom: 10px;
  position: relative;
}

.page-index-download-app__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-index-download-app__section-subtitle {
  font-size: 1.2em;
  color: #B0B0B0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-download-app__features {
  padding: 60px 20px;
  background-color: #0A192F;
}

.page-index-download-app__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-download-app__feature-item {
  background-color: #1a3a60;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-download-app__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-index-download-app__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-index-download-app__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-download-app__feature-text {
  font-size: 1em;
  color: #B0B0B0;
}

.page-index-download-app__download-guide {
  padding: 60px 20px;
  background-color: #0A192F;
}

.page-index-download-app__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.page-index-download-app__step-item {
  text-align: center;
  background-color: #1a3a60;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-download-app__step-image {
  width: 150px;
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.page-index-download-app__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-download-app__step-text {
  font-size: 1em;
  color: #B0B0B0;
}

.page-index-download-app__qr-code-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background-color: #1a3a60;
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-index-download-app__qr-code-wrapper {
  text-align: center;
}

.page-index-download-app__qr-code {
  width: 200px;
  height: 200px;
  border: 5px solid #FFD700;
  border-radius: 8px;
  background-color: #fff;
  padding: 10px;
}

.page-index-download-app__qr-text {
  color: #E0E0E0;
  font-size: 1.1em;
  margin-top: 15px;
}

.page-index-download-app__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-index-download-app__games-showcase {
  padding: 60px 20px;
  background-color: #0A192F;
}

.page-index-download-app__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.page-index-download-app__category-item {
  background-color: #1a3a60;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-download-app__category-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid #FFD700;
}

.page-index-download-app__category-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index-download-app__category-text {
  font-size: 1em;
  color: #B0B0B0;
}

.page-index-download-app__btn--center {
  display: block;
  margin: 40px auto 0;
}

.page-index-download-app__faq {
  padding: 60px 20px;
  background-color: #0A192F;
}

.page-index-download-app__faq-items {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-download-app__faq-item {
  background-color: #1a3a60;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-download-app__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index-download-app__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-index-download-app__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-download-app__faq-answer {
  font-size: 1em;
  color: #B0B0B0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-index-download-app__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content length */
  padding-top: 15px;
}

.page-index-download-app__cta-final {
  background: linear-gradient(45deg, #1a3a60, #0A192F);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-index-download-app__cta-content {
  max-width: 900px;
  z-index: 1;
}

.page-index-download-app__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-download-app__cta-description {
  font-size: 1.3em;
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-index-download-app__cta-image {
  width: 400px;
  height: auto;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  transform: rotate(-5deg);
  transition: transform 0.5s ease;
  z-index: 0;
}

.page-index-download-app__cta-image:hover {
  transform: rotate(0deg) scale(1.03);
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .page-index-download-app__hero {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 40px;
  }

  .page-index-download-app__hero-content {
    max-width: 60%;
    text-align: left;
  }

  .page-index-download-app__hero-image-wrapper {
    display: block;
    position: relative;
    right: auto;
    bottom: auto;
    width: 40%;
    max-width: 450px;
    transform: rotate(0deg);
  }

  .page-index-download-app__hero-image {
    transform: rotate(0deg);
  }

  .page-index-download-app__hero-title {
    font-size: 4em;
  }

  .page-index-download-app__hero-description {
    font-size: 1.4em;
  }

  .page-index-download-app__cta-final {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    gap: 60px;
    padding: 100px 40px;
  }

  .page-index-download-app__cta-content {
    max-width: 50%;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .page-index-download-app__hero-title {
    font-size: 2.5em;
  }
  .page-index-download-app__hero-description {
    font-size: 1.1em;
  }
  .page-index-download-app__section-title {
    font-size: 2em;
  }
  .page-index-download-app__cta-title {
    font-size: 2.2em;
  }
  .page-index-download-app__cta-description {
    font-size: 1.1em;
  }
  .page-index-download-app__btn--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-index-download-app__hero-image-wrapper {
    display: none;
  }
  .page-index-download-app__qr-code-section {
    flex-direction: column;
  }
  .page-index-download-app__cta-image {
    width: 300px;
  }
}