/* style/original-game-features.css */

/* Base styles for the page content, ensuring header offset and dark text for light body background */
.page-original-game-features {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #FFFFFF; /* Explicitly set for content area */
}

/* Hero Section */
.page-original-game-features__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  min-height: 500px;
}

.page-original-game-features__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-original-game-features__hero-container {
  max-width: 900px;
  z-index: 1;
  color: #FFFFFF;
}

.page-original-game-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-original-game-features__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-original-game-features__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-original-game-features__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-original-game-features__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-original-game-features__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-original-game-features__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-original-game-features__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

/* General Content Area */
.page-original-game-features__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8;
}

.page-original-game-features__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-original-game-features__section-text {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* Features Grid */
.page-original-game-features__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-original-game-features__feature-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-original-game-features__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-original-game-features__feature-icon {
  width: 100%; /* Ensure images take full width of their container */
  height: auto;
  max-width: 250px; /* Constrain max width for icons */
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px; /* Enforce minimum size for images */
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 8px;
}

.page-original-game-features__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-original-game-features__feature-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Game Showcase */
.page-original-game-features__game-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-original-game-features__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-original-game-features__game-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Max width for game images */
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px; /* Enforce minimum size for images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-original-game-features__game-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-original-game-features__game-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-original-game-features__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  width: fit-content;
}

.page-original-game-features__button--play:hover {
  background-color: transparent;
  color: #FCBC45;
}

/* Mobile Experience Section */
.page-original-game-features__mobile-experience {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.page-original-game-features__mobile-image {
  width: 100%;
  height: auto;
  max-width: 450px;
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px; /* Enforce minimum size for images */
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-original-game-features__mobile-text-content {
  max-width: 600px;
}

.page-original-game-features__mobile-subtitle {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-original-game-features__mobile-description {
  font-size: 1.1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-original-game-features__button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-original-game-features__button--download:hover {
  background-color: transparent;
  color: #000000;
}

/* FAQ Section */
.page-original-game-features__faq {
  margin-top: 60px;
}

.page-original-game-features__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-original-game-features__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-original-game-features__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Bottom CTA */
.page-original-game-features__cta-bottom {
  text-align: center;
  padding: 60px 20px;
  background-color: #f0f0f0;
  border-radius: 15px;
  margin-top: 60px;
}

.page-original-game-features__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.page-original-game-features__button--explore {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-original-game-features__button--explore:hover {
  background-color: transparent;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-original-game-features__hero-title {
    font-size: 3em;
  }
  .page-original-game-features__hero-description {
    font-size: 1.2em;
  }
  .page-original-game-features__section-title {
    font-size: 2.2em;
  }
  .page-original-game-features__game-showcase {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-original-game-features {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
  }
  .page-original-game-features__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }
  .page-original-game-features__hero-title {
    font-size: 2.2em;
  }
  .page-original-game-features__hero-description {
    font-size: 1em;
  }
  .page-original-game-features__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-original-game-features__button {
    width: 100%;
    max-width: 280px;
  }
  .page-original-game-features__content-area {
    padding: 30px 15px;
  }
  .page-original-game-features__section-title {
    font-size: 1.8em;
  }
  .page-original-game-features__section-text {
    font-size: 0.95em;
  }
  .page-original-game-features__feature-card,
  .page-original-game-features__game-card {
    padding: 20px;
  }
  .page-original-game-features__feature-title {
    font-size: 1.4em;
  }
  .page-original-game-features__game-title {
    font-size: 1.6em;
  }
  .page-original-game-features__mobile-experience {
    flex-direction: column;
    gap: 30px;
  }
  .page-original-game-features__mobile-subtitle {
    font-size: 1.8em;
  }
  .page-original-game-features__mobile-description {
    font-size: 1em;
  }
  .page-original-game-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-original-game-features__faq-question {
    font-size: 1.2em;
  }

  /* Mobile content area images must not overflow */
  .page-original-game-features img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size is still enforced */
    min-height: 200px; /* Ensure minimum size is still enforced */
  }
  .page-original-game-features__content-area {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-original-game-features__hero-title {
    font-size: 1.8em;
  }
  .page-original-game-features__hero-description {
    font-size: 0.9em;
  }
  .page-original-game-features__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-original-game-features__section-title {
    font-size: 1.6em;
  }
  .page-original-game-features__features-grid,
  .page-original-game-features__game-showcase {
    grid-template-columns: 1fr;
  }
  .page-original-game-features__feature-icon,
  .page-original-game-features__game-image,
  .page-original-game-features__mobile-image {
    max-width: 100%;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }
}