/* style/index-mobile-experience.css */

/* Root variables for colors */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-index-mobile-experience {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-index-mobile-experience__dark-section {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
}

.page-index-mobile-experience__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

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

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

.page-index-mobile-experience__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-index-mobile-experience__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-main-color);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
  /* No fixed large font-size, rely on clamp for responsive text */
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-index-mobile-experience__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

.page-index-mobile-experience__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-index-mobile-experience__btn-primary,
.page-index-mobile-experience__btn-secondary,
.page-index-mobile-experience__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.page-index-mobile-experience__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
}

.page-index-mobile-experience__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.3);
}

.page-index-mobile-experience__btn-secondary {
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-index-mobile-experience__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

.page-index-mobile-experience__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
}

.page-index-mobile-experience__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(87, 227, 141, 0.5);
  background-color: var(--deep-green-color);
}

.page-index-mobile-experience__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-index-mobile-experience__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
  cursor: pointer;
}

.page-index-mobile-experience__video-description {
  font-size: 1rem;
  color: var(--text-secondary-color);
  max-width: 800px;
}

.page-index-mobile-experience__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-main-color);
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-index-mobile-experience__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-index-mobile-experience__features-section,
.page-index-mobile-experience__games-section,
.page-index-mobile-experience__how-to-start,
.page-index-mobile-experience__faq-section,
.page-index-mobile-experience__call-to-action {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-index-mobile-experience__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-mobile-experience__feature-icon,
.page-index-mobile-experience__game-image,
.page-index-mobile-experience__cta-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-mobile-experience__feature-icon {
  max-width: 150px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-mobile-experience__card-title {
  font-size: 1.4rem;
  color: var(--text-main-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-mobile-experience__card-title a {
  color: var(--text-main-color);
  text-decoration: none;
}

.page-index-mobile-experience__card-title a:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-index-mobile-experience__card-text {
  font-size: 0.95rem;
  color: var(--text-secondary-color);
  line-height: 1.5;
  flex-grow: 1;
}

.page-index-mobile-experience__cta-full-width {
  text-align: center;
  margin-top: 50px;
}

.page-index-mobile-experience__step-number {
  background: var(--btn-gradient);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-index-mobile-experience__btn-link {
  background: transparent;
  color: var(--glow-color);
  border: 1px solid var(--glow-color);
  padding: 8px 15px;
  font-size: 0.9rem;
  margin-top: 15px;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-mobile-experience__btn-link:hover {
  background: rgba(87, 227, 141, 0.1);
}

.page-index-mobile-experience__faq-list {
  margin-top: 40px;
}

.page-index-mobile-experience__faq-item {
  margin-bottom: 20px;
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  color: var(--text-main-color);
  text-align: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-index-mobile-experience__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-main-color);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
}

.page-index-mobile-experience__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.5);
}

.page-index-mobile-experience__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-index-mobile-experience__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-index-mobile-experience__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--glow-color);
}

.page-index-mobile-experience__faq-answer {
  padding: 20px 30px;
  font-size: 1rem;
  color: var(--text-secondary-color);
  line-height: 1.6;
}

.page-index-mobile-experience__faq-answer p {
  margin-bottom: 10px;
}

.page-index-mobile-experience__faq-answer a {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-index-mobile-experience__call-to-action {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-mobile-experience__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
  border-radius: 10px;
}

.page-index-mobile-experience__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-index-mobile-experience__btn-large {
  padding: 15px 35px;
  font-size: 1.2rem;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-index-mobile-experience__hero-content {
    padding: 0 15px;
  }
  .page-index-mobile-experience__features-grid,
  .page-index-mobile-experience__games-grid,
  .page-index-mobile-experience__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .page-index-mobile-experience__hero-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-index-mobile-experience__hero-section,
  .page-index-mobile-experience__video-section,
  .page-index-mobile-experience__features-section,
  .page-index-mobile-experience__games-section,
  .page-index-mobile-experience__how-to-start,
  .page-index-mobile-experience__faq-section,
  .page-index-mobile-experience__call-to-action {
    padding: 40px 15px;
  }

  .page-index-mobile-experience__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-index-mobile-experience__subtitle {
    font-size: 1rem;
  }

  .page-index-mobile-experience__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-index-mobile-experience__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-index-mobile-experience__btn-primary,
  .page-index-mobile-experience__btn-secondary,
  .page-index-mobile-experience__btn-link,
  .page-index-mobile-experience a[class*="button"],
  .page-index-mobile-experience a[class*="btn"] {
    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-index-mobile-experience__cta-buttons,
  .page-index-mobile-experience__button-group,
  .page-index-mobile-experience__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

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

  .page-index-mobile-experience__hero-image-wrapper,
  .page-index-mobile-experience__video-wrapper,
  .page-index-mobile-experience__section,
  .page-index-mobile-experience__card,
  .page-index-mobile-experience__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-index-mobile-experience__video-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }

  .page-index-mobile-experience__video-wrapper {
    padding-bottom: 75%; /* Adjust aspect ratio for mobile if needed, e.g., 4:3 */
  }

  .page-index-mobile-experience__feature-icon {
    max-width: 100px;
  }

  .page-index-mobile-experience__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-index-mobile-experience__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .page-index-mobile-experience__hero-image {
    height: 300px;
  }
}