.page-home {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-home__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

.page-home__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-home__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  background-color: #000000; /* Dark background for visual depth */
}

.page-home__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7; /* Slightly dim the image for text readability */
}

.page-home__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 40px 20px;
}

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

.page-home__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-home__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-home__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-home__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-home__hero-button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-home__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-home__hero-button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

/* About Section */
.page-home__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-home__feature-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-home__feature-item:hover {
  transform: translateY(-10px);
}

.page-home__feature-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-home__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Games Section */
.page-home__games-section {
  padding: 80px 0;
}

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

.page-home__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-home__game-card:hover {
  transform: translateY(-5px);
}

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

.page-home__game-link {
  text-decoration: none;
  color: #000000;
}

.page-home__game-link:hover {
  color: #FCBC45;
}

.page-home__game-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-home__game-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-home__game-button:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Promotions Section */
.page-home__promotions-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-home__promo-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-home__promo-item:hover {
  transform: translateY(-5px);
}

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

.page-home__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-home__promo-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-home__promo-button:hover {
  background-color: #000000;
  color: #FFFFFF;
}

/* Getting Started Section */
.page-home__getting-started-section {
  padding: 80px 0;
}

.page-home__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-home__step-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

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

.page-home__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-home__step-button:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Responsible Gaming Section */
.page-home__responsible-gaming-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-home__responsible-gaming-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-home__responsible-gaming-button:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Call to Action Section */
.page-home__call-to-action-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-home__call-to-action-section .page-home__section-title,
.page-home__call-to-action-section .page-home__section-intro {
  color: #FFFFFF;
}

.page-home__call-to-action-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 10px;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
}

.page-home__call-to-action-button:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-home__hero-title {
    font-size: 3em;
  }
  .page-home__hero-description {
    font-size: 1.2em;
  }
  .page-home__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-home__hero-section {
    min-height: 500px;
  }
  .page-home__hero-title {
    font-size: 2.5em;
  }
  .page-home__hero-description {
    font-size: 1.1em;
  }
  .page-home__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-home__hero-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-home__section-title {
    font-size: 1.8em;
  }
  .page-home__section-intro {
    font-size: 1em;
  }
  .page-home__features-grid,
  .page-home__game-grid,
  .page-home__promo-grid,
  .page-home__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-home img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-home__feature-image, .page-home__game-image, .page-home__promo-image, .page-home__step-image {
    width: 100%; /* Override fixed width for mobile */
    height: auto;
    object-fit: contain; /* Adjust object-fit for better mobile display */
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-home__hero-title {
    font-size: 2em;
  }
  .page-home__hero-description {
    font-size: 1em;
  }
  .page-home__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-home__section-title {
    font-size: 1.5em;
  }
  .page-home__feature-title,
  .page-home__game-title,
  .page-home__promo-title,
  .page-home__step-title {
    font-size: 1.5em;
  }
}