.page-mobile-app {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

.page-mobile-app__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-mobile-app__section {
  padding: 80px 0;
  text-align: center;
}

.page-mobile-app__dark-section {
  background-color: #0A1931;
  color: #ffffff;
}

.page-mobile-app__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #E0B75F;
  font-weight: bold;
}

.page-mobile-app__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-mobile-app__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #E0B75F;
  font-weight: bold;
}

.page-mobile-app p {
  color: #f0f0f0;
}

/* Hero Section */
.page-mobile-app__hero-section {
  padding: 120px 0 80px; /* Adjusted for header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A1931, #000000);
  color: #ffffff;
  text-align: left;
}

.page-mobile-app__hero-section .page-mobile-app__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-mobile-app__hero-content {
  flex: 1;
}

.page-mobile-app__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E0B75F;
  line-height: 1.2;
}

.page-mobile-app__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-mobile-app__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-mobile-app__cta-buttons--centered {
  justify-content: center;
}

.page-mobile-app__btn-primary,
.page-mobile-app__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-mobile-app__btn-primary {
  background-color: #E0B75F;
  color: #0A1931;
  border: 2px solid #E0B75F;
}

.page-mobile-app__btn-primary:hover {
  background-color: #f0c97e;
  border-color: #f0c97e;
}

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

.page-mobile-app__btn-secondary {
  background-color: transparent;
  color: #E0B75F;
  border: 2px solid #E0B75F;
}

.page-mobile-app__btn-secondary:hover {
  background-color: #E0B75F;
  color: #0A1931;
}

.page-mobile-app__hero-image-wrapper {
  flex: 0 0 45%;
  text-align: center;
}

.page-mobile-app__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
}

/* Why Choose Section */
.page-mobile-app__why-choose {
  background-color: #000000;
  color: #ffffff;
}

.page-mobile-app__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-mobile-app__feature-item {
  padding: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  color: #ffffff;
}

.page-mobile-app__feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-mobile-app__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #E0B75F;
}

.page-mobile-app__feature-text {
  font-size: 1em;
  color: #cccccc;
}

/* Key Features Section */
.page-mobile-app__key-features {
  background-color: #000000;
  color: #ffffff;
}

.page-mobile-app__content-grid {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  text-align: left;
  margin-top: 40px;
}

.page-mobile-app__text-block {
  flex: 1;
}

.page-mobile-app__image-block {
  flex: 1;
  text-align: center;
}

.page-mobile-app__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* How to Download Section */
.page-mobile-app__how-to-download {
  background-color: #0A1931;
  color: #ffffff;
}

.page-mobile-app__download-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-mobile-app__step-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-mobile-app__step-number {
  font-size: 2.5em;
  color: #E0B75F;
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
  background: rgba(224, 183, 95, 0.2);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
}

.page-mobile-app__step-title {
  font-size: 1.6em;
  color: #E0B75F;
  margin-bottom: 10px;
}

.page-mobile-app__step-text {
  color: #cccccc;
}

.page-mobile-app__download-image-wrapper {
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-mobile-app__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Games Available Section */
.page-mobile-app__games-available {
  background-color: #000000;
  color: #ffffff;
}

.page-mobile-app__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-mobile-app__game-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-mobile-app__game-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-mobile-app__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  width: 100%; /* Ensure card images take full width */
  min-height: 200px; /* Minimum size for content images */
  object-fit: cover;
}

.page-mobile-app__game-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #E0B75F;
  font-weight: bold;
}

.page-mobile-app__game-title a {
  color: #E0B75F;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-mobile-app__game-title a:hover {
  color: #f0c97e;
}

.page-mobile-app__game-text {
  font-size: 0.95em;
  color: #cccccc;
  flex-grow: 1;
}

/* FAQ Section */
.page-mobile-app__faq-section {
  padding: 80px 0;
  background-color: #0A1931;
  color: #ffffff;
}

.page-mobile-app__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-mobile-app__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-mobile-app__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #E0B75F;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.page-mobile-app__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-mobile-app__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-mobile-app__faq-item.active .page-mobile-app__faq-toggle {
  transform: rotate(45deg);
}

.page-mobile-app__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  text-align: left;
}

.page-mobile-app__faq-item.active .page-mobile-app__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px 20px;
}

.page-mobile-app__faq-answer p {
  margin: 0;
  color: #cccccc;
}

/* Conclusion Section */
.page-mobile-app__conclusion {
  padding: 100px 0;
  background: linear-gradient(45deg, #0A1931, #000000);
  color: #ffffff;
}

.page-mobile-app__conclusion-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Copyright */
.page-mobile-app__copyright {
  background-color: #0A1931;
  color: #cccccc;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-mobile-app__hero-section .page-mobile-app__container {
    flex-direction: column;
    text-align: center;
  }

  .page-mobile-app__hero-content {
    margin-bottom: 40px;
  }

  .page-mobile-app__hero-image-wrapper {
    flex: none;
    width: 80%;
  }

  .page-mobile-app__hero-title {
    font-size: 2.8em;
  }

  .page-mobile-app__hero-description {
    font-size: 1.1em;
  }

  .page-mobile-app__content-grid {
    flex-direction: column;
  }

  .page-mobile-app__image-block {
    margin-top: 40px;
  }

  .page-mobile-app__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-mobile-app__hero-section {
    padding: 100px 0 60px; /* Mobile header offset */
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-mobile-app__hero-title {
    font-size: 2.2em;
  }

  .page-mobile-app__hero-description {
    font-size: 1em;
  }

  .page-mobile-app__section {
    padding: 60px 0;
  }

  .page-mobile-app__section-title {
    font-size: 1.8em;
  }

  .page-mobile-app__section-description {
    font-size: 0.95em;
  }

  .page-mobile-app__sub-title {
    font-size: 1.5em;
  }

  .page-mobile-app__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-mobile-app__btn-primary,
  .page-mobile-app__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-mobile-app__hero-image-wrapper {
    width: 100%;
  }

  .page-mobile-app img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-mobile-app__section,
  .page-mobile-app__card,
  .page-mobile-app__container,
  .page-mobile-app__hero-section .page-mobile-app__container,
  .page-mobile-app__content-grid,
  .page-mobile-app__download-image-wrapper,
  .page-mobile-app__game-card,
  .page-mobile-app__faq-list,
  .page-mobile-app__conclusion-content,
  .page-mobile-app__cta-buttons,
  .page-mobile-app__feature-grid,
  .page-mobile-app__download-steps,
  .page-mobile-app__game-grid,
  .page-mobile-app__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-mobile-app__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-mobile-app__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Ensure content images are not too small */
  .page-mobile-app__hero-image,
  .page-mobile-app__content-image,
  .page-mobile-app__download-image,
  .page-mobile-app__game-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-mobile-app__hero-title {
    font-size: 2em;
  }

  .page-mobile-app__section-title {
    font-size: 1.6em;
  }

  .page-mobile-app__sub-title {
    font-size: 1.3em;
  }

  .page-mobile-app__btn-primary--large {
    font-size: 1em;
    padding: 15px 25px;
  }
}