.page-home {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #ffffff; /* Light text for dark body background */
  background-color: #0F0F0F; /* Ensure consistency with body background */
}

.page-home__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 600px;
  overflow: hidden;
}

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

.page-home__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, not changing color */
}

.page-home__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-home__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-home__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

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

.page-home__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

.page-home__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-home__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-home__button--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-3px);
}

.page-home__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-home__button--extra-large {
  padding: 22px 50px;
  font-size: 1.5em;
}

.page-home__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-home__section-padding {
  padding: 80px 20px;
}

.page-home__section-dark-bg {
  background-color: #1A1A1A;
}

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

.page-home__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-home__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-home__section-description {
  font-size: 1.2em;
  color: #cccccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-home__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #e0e0e0;
}

/* Game Categories Section */
.page-home__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-home__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-home__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-home__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  filter: brightness(0.8); /* Darken image for text readability, not changing color */
}

.page-home__game-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-home__game-card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-home__game-card-title a:hover {
  color: #e6c200;
}

.page-home__game-card-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Promotions Section */
.page-home__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-home__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-home__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-home__promo-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: brightness(0.8); /* Darken image for text readability, not changing color */
}

.page-home__promo-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 20px 20px 10px 20px;
}

.page-home__promo-card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-home__promo-card-title a:hover {
  color: #e6c200;
}

.page-home__promo-card-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-home__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Mobile App Section */
.page-home__mobile-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-home__mobile-app-content {
  text-align: left;
}

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

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

.page-home__feature-icon {
  color: #FFD700;
  font-size: 1.5em;
  margin-right: 15px;
}

.page-home__mobile-app-image-wrapper {
  text-align: center;
}

.page-home__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  filter: brightness(0.9); /* Slightly darken for visual depth */
}

/* Security Section */
.page-home__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-home__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-home__security-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1.2) saturate(1.5); /* Enhance icon visibility */
}

.page-home__security-item-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-home__security-item-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-home__security-item-title a:hover {
  color: #e6c200;
}

.page-home__security-item-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Support Section */
.page-home__support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-home__support-image-wrapper {
  text-align: center;
}

.page-home__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  filter: brightness(0.9); /* Slightly darken for visual depth */
}

.page-home__support-content {
  text-align: left;
}

.page-home__support-channels {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-home__support-channels li {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.page-home__channel-icon {
  color: #FFD700;
  font-size: 1.5em;
  margin-right: 15px;
}

/* Why Choose Section */
.page-home__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.page-home__advantages-list li {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-home__advantage-icon {
  color: #FFD700;
  font-size: 1.5em;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Resources Section */
.page-home__resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-home__resource-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-home__resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-home__resource-card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-home__resource-card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-home__resource-card-title a:hover {
  color: #e6c200;
}

.page-home__resource-card-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Final CTA Section */
.page-home__final-cta-section {
  background: linear-gradient(135deg, #1A1A1A, #0F0F0F);
  text-align: center;
}

.page-home__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .page-home__hero-title {
    font-size: 3em;
  }
  .page-home__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 992px) {
  .page-home__hero-title {
    font-size: 2.5em;
  }
  .page-home__hero-description {
    font-size: 1.2em;
  }
  .page-home__section-title {
    font-size: 2.2em;
  }
  .page-home__mobile-app-grid, .page-home__support-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-home__mobile-app-content, .page-home__support-content {
    text-align: center;
  }
  .page-home__app-features, .page-home__support-channels {
    align-items: center;
    justify-content: center;
  }
}