/* style/mobile-app.css */

/* Variables */
:root {
  --primary-color: #0A2342;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #0A2342; /* Using primary color for dark sections */
  --border-color: #e0e0e0;
}

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

/* Fixed header offset */
.page-mobile-app__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

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

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

.page-mobile-app__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-mobile-app__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-mobile-app__heading {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--primary-color); /* Default for light bg */
  font-weight: bold;
}

.page-mobile-app__dark-bg .page-mobile-app__heading {
  color: var(--secondary-color); /* Gold for dark bg */
}

.page-mobile-app__description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO Section */
.page-mobile-app__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Add bottom padding */
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a60 100%); /* Gradient for hero */
  color: var(--text-light);
}

.page-mobile-app__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-mobile-app__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px; /* Rounded corners for image */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-mobile-app__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px; /* Ensure image itself also has rounded corners */
}

.page-mobile-app__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-mobile-app__hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color); /* Gold for main title */
  line-height: 1.2;
}

.page-mobile-app__hero-content p {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-mobile-app__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color); /* Gold button */
  color: var(--primary-color); /* Dark text on gold */
  text-decoration: none;
  border-radius: 50px; /* Pill shape */
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-mobile-app__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-mobile-app__cta-button--dark {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-mobile-app__cta-button--dark:hover {
  background: #1a3a60;
  color: #e6c200;
  border-color: #e6c200;
}

.page-mobile-app__cta-button--secondary {
  background: none;
  border: 2px solid var(--text-light);
  color: var(--text-light);
  margin-left: 20px;
}

.page-mobile-app__cta-button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


/* Why Download Section */
.page-mobile-app__why-download .page-mobile-app__heading {
  color: var(--primary-color);
}

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

.page-mobile-app__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-mobile-app__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-mobile-app__feature-item img {
  width: 100%;
   /* Smaller images for features */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-mobile-app__feature-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-mobile-app__feature-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Download Guide Section */
.page-mobile-app__download-guide .page-mobile-app__heading {
  color: var(--secondary-color);
}

.page-mobile-app__download-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.page-mobile-app__step-item {
  flex: 1;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-light);
}

.page-mobile-app__step-item img {
  width: 100%;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-mobile-app__step-item h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-mobile-app__step-item ol {
  list-style-type: decimal;
  padding-left: 25px;
  margin: 0;
}

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

/* App Features Cards Section */
.page-mobile-app__app-features .page-mobile-app__heading {
  color: var(--primary-color);
}

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

.page-mobile-app__card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color); /* Added border for contrast */
}

.page-mobile-app__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-mobile-app__card img {
  width: 100%;
  height: auto;
  max-width: 100%; /* Ensure card images are large */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-mobile-app__card h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-mobile-app__card p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Game Experience Section */
.page-mobile-app__game-experience .page-mobile-app__heading {
  color: var(--secondary-color);
}

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

.page-mobile-app__game-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-mobile-app__game-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-mobile-app__game-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-mobile-app__game-item h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-mobile-app__game-item h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-mobile-app__game-item h3 a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-mobile-app__game-item p {
  font-size: 1em;
}

/* Security Section */
.page-mobile-app__security .page-mobile-app__heading {
  color: var(--primary-color);
}

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

.page-mobile-app__security-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-mobile-app__security-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-mobile-app__security-item img {
  width: 100%;
   /* Smaller images for security features */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-mobile-app__security-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-mobile-app__security-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* FAQ Section */
.page-mobile-app__faq-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-mobile-app__faq-section .page-mobile-app__heading {
  color: var(--primary-color);
  margin-bottom: 40px;
}

.page-mobile-app__faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

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

.page-mobile-app__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-mobile-app__faq-item.active .page-mobile-app__faq-answer {
  max-height: 2000px !important; /* Ensure it expands fully */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}