.page-original-games {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-original-games__hero-section {
  padding: 60px 0;
  text-align: center;
  background-color: #000000; /* Dark background for hero section */
  color: #ffffff; /* Light text for dark hero background */
  position: relative;
  overflow: hidden;
}

.page-original-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-original-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.3; /* Slightly dim the image to make text readable */
}

.page-original-games__hero-content {
  position: relative;
  z-index: 1;
  padding-top: 10px; /* Small top padding for the content block */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure content has enough space */
}

.page-original-games__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem); /* Responsive H1 font size */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 800px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-original-games__tagline {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-original-games__cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-original-games__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-original-games__button--register,
.page-original-games__button--register-final {
  background-color: #000000; /* Dark background for white text */
  color: #FFFFFF; /* Custom color for Register button text */
}

.page-original-games__button--register:hover,
.page-original-games__button--register-final:hover {
  background-color: #333333;
}

.page-original-games__button--login,
.page-original-games__button--download,
.page-original-games__button--learn-more {
  background-color: #FCBC45; /* Custom color for Login button background */
  color: #000000; /* Dark text for light background */
}

.page-original-games__button--login:hover,
.page-original-games__button--download:hover,
.page-original-games__button--learn-more:hover {
  background-color: #e0a53b;
}

/* General Section Styles */
.page-original-games__introduction-section,
.page-original-games__features-section,
.page-original-games__game-categories-section,
.page-original-games__mobile-experience-section,
.page-original-games__registration-section,
.page-original-games__faq-section {
  padding: 60px 0;
}

.page-original-games__introduction-section {
  background-color: #ffffff; /* White background */
}

.page-original-games__section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #000000; /* Dark text for light background */
}

.page-original-games__text-content {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

/* Features Section */
.page-original-games__features-section {
  background-color: #f9f9f9;
}

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

.page-original-games__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-original-games__feature-card img {
  width: 100%; /* Ensures image fits card width */
  max-width: 400px; /* Max width to prevent overly large images */
  height: auto; /* Maintain aspect ratio */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum size */
  min-width: 200px; /* Enforce minimum size */
}

.page-original-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000;
}

.page-original-games__card-description {
  font-size: 0.95rem;
  color: #555555;
}

/* Game Categories Section */
.page-original-games__game-categories-section {
  background-color: #ffffff;
}

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

.page-original-games__category-card {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 250px;
}

.page-original-games__category-card .page-original-games__card-title {
  margin-bottom: 10px;
}

.page-original-games__link-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-original-games__link-button:hover {
  background-color: #333333;
}

/* Mobile Experience Section */
.page-original-games__mobile-experience-section {
  background-color: #000000; /* Dark background */
  color: #ffffff; /* Light text */
  text-align: center;
}

.page-original-games__mobile-experience-section .page-original-games__section-title,
.page-original-games__mobile-experience-section .page-original-games__text-content {
  color: #ffffff;
}

/* Registration Section */
.page-original-games__registration-section {
  background-color: #f9f9f9;
  text-align: center;
}

/* FAQ Section */
.page-original-games__faq-section {
  background-color: #ffffff;
}

.page-original-games__faq-item {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}

.page-original-games__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000;
  cursor: pointer;
}

.page-original-games__faq-question--active {
    color: #FCBC45;
}

.page-original-games__faq-answer {
  font-size: 0.95rem;
  color: #555555;
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-original-games__hero-content {
    min-height: 300px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-original-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-original-games__tagline {
    font-size: 1rem;
  }

  .page-original-games__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-original-games__button {
    width: 100%;
    max-width: 300px;
  }

  .page-original-games__section-title {
    font-size: 1.7rem;
  }

  .page-original-games__features-grid,
  .page-original-games__categories-grid {
    grid-template-columns: 1fr;
  }

  .page-original-games__feature-card img,
  .page-original-games__category-card {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure mobile images are not too small */
    min-height: 200px; /* Ensure mobile images are not too small */
  }

  /* Prevent horizontal scrolling for all images */
  .page-original-games img {
    max-width: 100%;
    height: auto;
  }
  .page-original-games__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-original-games__hero-section {
    padding: 40px 0;
  }

  .page-original-games__hero-content {
    min-height: 250px;
  }

  .page-original-games__main-title {
    font-size: clamp(1.2rem, 8vw, 1.8rem);
  }

  .page-original-games__tagline {
    font-size: 0.9rem;
  }

  .page-original-games__section-title {
    font-size: 1.5rem;
  }

  .page-original-games__feature-card,
  .page-original-games__category-card,
  .page-original-games__faq-item {
    padding: 20px;
  }

  .page-original-games__card-title,
  .page-original-games__faq-question {
    font-size: 1.1rem;
  }
}