/* style/mobile-app.css */

/* Base styles for the page */
.page-mobile-app {
  color: #ffffff; /* Dark background, so light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background from shared.css */
}

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

.page-mobile-app__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-mobile-app__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

/* Hero Section */
.page-mobile-app__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0, #1a7fb3);
}

.page-mobile-app__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

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

.page-mobile-app__hero-content {
  text-align: center;
  max-width: 900px;
  color: #ffffff;
}

.page-mobile-app__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
  /* No fixed font-size, rely on clamp if needed, otherwise responsive CSS */
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-mobile-app__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-mobile-app__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-mobile-app__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-mobile-app__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-mobile-app__btn-primary:hover {
  background: #d46f06;
  transform: translateY(-2px);
}

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

.page-mobile-app__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Why Choose Section */
.page-mobile-app__why-choose-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent background on dark body */
}

.page-mobile-app__why-choose-section .page-mobile-app__section-title,
.page-mobile-app__why-choose-section .page-mobile-app__section-description {
  color: #ffffff;
}

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

.page-mobile-app__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-mobile-app__feature-card:hover {
  transform: translateY(-5px);
}

.page-mobile-app__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-mobile-app__feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-mobile-app__feature-text {
  font-size: 1rem;
  color: #f0f0f0;
}

/* Download Guide Section */
.page-mobile-app__download-guide-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a7fb3, #26A9E0); /* Darker blue background */
}

.page-mobile-app__download-guide-section .page-mobile-app__section-title,
.page-mobile-app__download-guide-section .page-mobile-app__section-description {
  color: #ffffff;
}

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

.page-mobile-app__download-platform {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-mobile-app__platform-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-mobile-app__qr-code {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 30px;
  border: 5px solid #ffffff;
  border-radius: 10px;
  display: block;
}

.page-mobile-app__step-list {
  list-style-type: decimal;
  text-align: left;
  padding-left: 25px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-mobile-app__step-list li {
  margin-bottom: 15px;
}

.page-mobile-app__download-cta {
  margin-top: 50px;
}

/* Features Overview Section */
.page-mobile-app__features-overview-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-mobile-app__features-overview-section .page-mobile-app__section-title,
.page-mobile-app__features-overview-section .page-mobile-app__section-description {
  color: #ffffff;
}

.page-mobile-app__game-types-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.1);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-mobile-app__game-card:hover {
  transform: translateY(-5px);
}

.page-mobile-app__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-mobile-app__game-title {
  font-size: 1.4rem;
  font-weight: 700;
  padding: 20px 20px 10px;
}

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

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

.page-mobile-app__game-description {
  font-size: 1rem;
  padding: 0 20px 20px;
  color: #f0f0f0;
}

/* Promotions Section */
.page-mobile-app__promotions-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #26A9E0, #1a7fb3);
}

.page-mobile-app__promotions-section .page-mobile-app__section-title,
.page-mobile-app__promotions-section .page-mobile-app__section-description {
  color: #ffffff;
}

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

.page-mobile-app__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-mobile-app__promo-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #EA7C07; /* Login color for highlight */
}

.page-mobile-app__promo-text {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-mobile-app__promo-cta {
  margin-top: 50px;
}

/* Security Section */
.page-mobile-app__security-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-mobile-app__security-section .page-mobile-app__section-title,
.page-mobile-app__security-section .page-mobile-app__section-description {
  color: #ffffff;
}

.page-mobile-app__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-mobile-app__security-text {
  flex: 1;
  min-width: 300px;
  color: #f0f0f0;
}

.page-mobile-app__security-subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-mobile-app__security-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.page-mobile-app__security-image {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

/* FAQ Section */
.page-mobile-app__faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a7fb3, #26A9E0);
}

.page-mobile-app__faq-section .page-mobile-app__section-title,
.page-mobile-app__faq-section .page-mobile-app__section-description {
  color: #ffffff;
}

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

.page-mobile-app__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-mobile-app__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  color: #ffffff;
}

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

.page-mobile-app__faq-question::-webkit-details-marker {
  display: none;
}

.page-mobile-app__faq-question::marker {
  display: none;
}

.page-mobile-app__faq-qtext {
  flex-grow: 1;
}

.page-mobile-app__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-mobile-app__faq-item[open] .page-mobile-app__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-mobile-app__faq-answer {
  padding: 20px 25px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Final CTA Section */
.page-mobile-app__cta-final-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #26A9E0, #1a7fb3);
}

.page-mobile-app__cta-final-section .page-mobile-app__section-title,
.page-mobile-app__cta-final-section .page-mobile-app__section-description {
  color: #ffffff;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-mobile-app__hero-section {
    padding: 40px 15px;
  }

  .page-mobile-app__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-mobile-app__section-title {
    font-size: 2rem;
  }

  .page-mobile-app__security-content {
    flex-direction: column;
  }

  .page-mobile-app__security-image {
    min-width: unset;
    max-width: 100%;
  }
}

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

  .page-mobile-app__container,
  .page-mobile-app__hero-content,
  .page-mobile-app__download-platform,
  .page-mobile-app__game-card,
  .page-mobile-app__promo-card,
  .page-mobile-app__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-mobile-app__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

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

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

  .page-mobile-app__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-mobile-app__feature-card,
  .page-mobile-app__game-card,
  .page-mobile-app__promo-card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-mobile-app__features-grid,
  .page-mobile-app__download-steps-grid,
  .page-mobile-app__game-types-grid,
  .page-mobile-app__promo-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure all images are responsive */
  .page-mobile-app img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive (though no video in this page, for completeness) */
  .page-mobile-app video,
  .page-mobile-app__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-mobile-app__video-section,
  .page-mobile-app__video-container,
  .page-mobile-app__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-mobile-app__video-section {
    padding-top: 10px !important;
  }

  .page-mobile-app__platform-title {
    font-size: 1.6rem;
  }

  .page-mobile-app__step-list {
    font-size: 1rem;
  }

  .page-mobile-app__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-mobile-app__faq-answer {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-mobile-app__security-image {
    min-width: unset;
  }

  .page-mobile-app__security-content {
    gap: 20px;
  }
}