/* style/mobile-app.css */

/* Base styles for the page */
.page-mobile-app {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css #121212 */
}

.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.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* Hero Section */
.page-mobile-app__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body padding-top is from shared.css */
  background-color: #1a1a1a; /* Dark background for this section */
}

.page-mobile-app__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.page-mobile-app__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-mobile-app__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-mobile-app__main-title {
  color: #26A9E0;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-mobile-app__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

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

.page-mobile-app__cta-buttons--center {
  margin-top: 40px;
}

.page-mobile-app__btn-primary,
.page-mobile-app__btn-secondary,
.page-mobile-app__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  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-mobile-app__btn-primary {
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-mobile-app__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-mobile-app__btn-tertiary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #26A9E0;
  border: 1px solid #26A9E0;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-mobile-app__btn-tertiary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Advantages Section */
.page-mobile-app__advantages-section,
.page-mobile-app__features-section,
.page-mobile-app__optimization-section,
.page-mobile-app__conclusion-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for these sections */
  color: #333333;
}

.page-mobile-app__dark-bg {
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-mobile-app__light-bg {
  background-color: #ffffff; /* Light background */
  color: #333333;
}

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

.page-mobile-app__advantage-card,
.page-mobile-app__feature-item,
.page-mobile-app__optimization-card {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-mobile-app__advantage-image,
.page-mobile-app__feature-icon,
.page-mobile-app__optimization-image {
  width: 100%;
  height: auto;
  max-width: 250px; /* Adjust as needed */
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-mobile-app__advantage-title,
.page-mobile-app__feature-title,
.page-mobile-app__optimization-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-mobile-app__advantage-text,
.page-mobile-app__feature-text,
.page-mobile-app__optimization-text {
  font-size: 1em;
  color: #555555;
}

/* Download Guide Section */
.page-mobile-app__download-guide-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

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

.page-mobile-app__step-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin-bottom: 25px;
  border-radius: 8px;
}

.page-mobile-app__step-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-mobile-app__step-list {
  list-style: decimal;
  text-align: left;
  padding-left: 25px;
  color: #e0e0e0;
}

.page-mobile-app__step-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Games Section */
.page-mobile-app__games-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-mobile-app__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-mobile-app__game-image {
  width: 100%;
  height: auto;
  max-width: 280px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-mobile-app__game-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-mobile-app__game-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-mobile-app__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  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-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-mobile-app__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
}

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

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

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

.page-mobile-app__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
  color: #e0e0e0;
}

/* Conclusion Section */
.page-mobile-app__conclusion-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-mobile-app__section-title {
    font-size: 2em;
  }

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

  .page-mobile-app__intro-text {
    font-size: 1.1em;
  }
}

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

  .page-mobile-app__container {
    padding: 0 15px;
  }

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

  .page-mobile-app__main-title {
    font-size: 1.8em;
    padding: 0 10px;
  }

  .page-mobile-app__intro-text {
    font-size: 1em;
    padding: 0 10px;
  }

  .page-mobile-app__hero-section,
  .page-mobile-app__advantages-section,
  .page-mobile-app__download-guide-section,
  .page-mobile-app__features-section,
  .page-mobile-app__games-section,
  .page-mobile-app__optimization-section,
  .page-mobile-app__faq-section,
  .page-mobile-app__conclusion-section {
    padding: 40px 0;
  }

  .page-mobile-app__hero-image-wrapper,
  .page-mobile-app__advantage-card,
  .page-mobile-app__feature-item,
  .page-mobile-app__optimization-card,
  .page-mobile-app__step-item,
  .page-mobile-app__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-mobile-app__hero-image,
  .page-mobile-app__advantage-image,
  .page-mobile-app__feature-icon,
  .page-mobile-app__optimization-image,
  .page-mobile-app__step-image,
  .page-mobile-app__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-mobile-app__btn-primary,
  .page-mobile-app__btn-secondary,
  .page-mobile-app__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-mobile-app__advantage-grid,
  .page-mobile-app__feature-list,
  .page-mobile-app__optimization-grid,
  .page-mobile-app__download-steps,
  .page-mobile-app__game-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-mobile-app__step-list {
    padding-left: 20px;
  }

  .page-mobile-app__faq-question {
    font-size: 1.1em;
  }

  .page-mobile-app__faq-answer {
    font-size: 1em;
  }
}

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

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

  .page-mobile-app__intro-text {
    font-size: 0.95em;
  }

  .page-mobile-app__advantage-title,
  .page-mobile-app__feature-title,
  .page-mobile-app__optimization-title {
    font-size: 1.3em;
  }

  .page-mobile-app__step-title,
  .page-mobile-app__game-title {
    font-size: 1.4em;
  }

  .page-mobile-app__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-mobile-app__faq-answer {
    padding: 0 15px 15px 15px;
  }
}