.page-home {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by 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;
  font-weight: bold;
}

.page-home__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-home__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-home__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-home__button--primary:hover {
  background-color: #e0a73c;
}

.page-home__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
}

.page-home__button--secondary:hover {
  background-color: #333333;
}

.page-home__button--register {
  background-color: #000000;
  color: #FFFFFF;
  margin-right: 15px;
}

.page-home__button--register:hover {
  background-color: #333333;
}

.page-home__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-home__button--login:hover {
  background-color: #e0a73c;
}

.page-home__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-home__button--large {
  padding: 15px 30px;
  font-size: 1.1em;
}

/* Hero Section */
.page-home__hero-section {
  background-color: #1a1a1a;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-home__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px;
}

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

.page-home__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-home__hero-image {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin-top: 40px;
  z-index: 0;
}

.page-home__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-home__about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-home__about-text {
  flex: 1;
}

.page-home__about-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

.page-home__about-image {
  flex: 1;
  text-align: center;
}

.page-home__about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-home__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-home__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-home__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-home__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-home__game-card .page-home__button {
  margin-top: auto; /* Push button to the bottom */
}

.page-home__view-all {
  text-align: center;
}

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

.page-home__promotions-content {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.page-home__promotion-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
}

.page-home__promotion-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

/* Download Section */
.page-home__download-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #FFFFFF;
}

.page-home__download-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-home__download-text {
  flex: 1;
}

.page-home__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-home__app-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.page-home__feature-icon {
  color: #FCBC45;
  font-size: 1.5em;
  margin-right: 10px;
  line-height: 1;
}

.page-home__download-image {
  flex: 1;
  text-align: center;
}

.page-home__download-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Trust Section */
.page-home__trust-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}

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

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

.page-home__trust-item img {
  
  
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-home__item-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-home__item-description {
  font-size: 1em;
  color: #666666;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-home__hero-title {
    font-size: 2.8em;
  }
  .page-home__hero-description {
    font-size: 1.1em;
  }
  .page-home__about-content,
  .page-home__download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-home__about-image,
  .page-home__download-image {
    margin-top: 30px;
  }
  .page-home__download-text ul {
    text-align: left;
    margin: 0 auto 30px;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-home__section-title {
    font-size: 2em;
  }
  .page-home__section-subtitle {
    font-size: 1em;
  }
  .page-home__hero-title {
    font-size: 2.2em;
  }
  .page-home__hero-description {
    font-size: 1em;
  }
  .page-home__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-home__button--register {
    margin-right: 0;
  }
  .page-home__game-grid,
  .page-home__promotions-content,
  .page-home__trust-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content area image overflow prevention */
  .page-home img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-home__hero-title {
    font-size: 1.8em;
  }
  .page-home__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-home__section-title {
    font-size: 1.8em;
  }
  .page-home__hero-section {
    padding: 60px 15px;
  }
  .page-home__about-section,
  .page-home__games-section,
  .page-home__promotions-section,
  .page-home__download-section,
  .page-home__trust-section,
  .page-home__cta-section {
    padding: 50px 0;
  }
  .page-home__container {
    padding: 0 15px;
  }
}