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

@media (max-width: 768px) {
  .page-index {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    overflow-x: hidden;
  }
}

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

@media (max-width: 768px) {
  .page-index section {
    padding: 40px 15px;
  }
}

.page-index h1,
.page-index h2 {
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
}

.page-index h3 {
  color: #000000;
  margin-bottom: 15px;
}

.page-index__hero-section {
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden; /* Prevent image overflow */
}

.page-index__hero-container {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.page-index__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000000;
}

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #333333;
}

.page-index__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 10px 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-index__hero-button--register {
  background-color: #FFFFFF; /* White for Register */
  color: #000000;
  border: 2px solid #000000;
}

.page-index__hero-button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-index__hero-button--login {
  background-color: #FCBC45; /* Yellow for Login */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__hero-button--login:hover {
  background-color: #e7a732;
  transform: translateY(-2px);
}

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

.page-index__hero-button--explore:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: unset;
  min-height: unset;
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }

  .page-index__hero-description {
    font-size: 1em;
  }

  .page-index__hero-button {
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 5px 10px;
    min-width: unset;
  }
}

.page-index__why-us-section {
  background-color: #ffffff;
}

.page-index__why-us-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.1em;
  color: #555555;
}

.page-index__why-us-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index__feature-card {
  background-color: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index__feature-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.page-index__feature-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index__feature-card-title {
  font-size: 1.5em;
  margin: 20px 20px 10px;
  color: #000000;
}

.page-index__feature-card-description {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #555555;
}

.page-index__feature-card-read-more {
  display: block;
  padding: 15px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  font-weight: bold;
  border-radius: 0 0 12px 12px;
  transition: background-color 0.3s ease;
}

.page-index__feature-card-read-more:hover {
  background-color: #333333;
}

@media (max-width: 768px) {
  .page-index__why-us-features {
    grid-template-columns: 1fr;
  }
  .page-index__feature-card-image {
    height: 180px;
  }
}

.page-index__games-section {
  background-color: #f8f8f8;
}

.page-index__games-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.1em;
  color: #555555;
}

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

.page-index__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.page-index__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index__game-card-title {
  font-size: 1.5em;
  margin: 20px 20px 10px;
  color: #000000;
}

.page-index__game-card-description {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #555555;
}

.page-index__game-card-play-now {
  display: block;
  padding: 15px 20px;
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
  font-weight: bold;
  border-radius: 0 0 12px 12px;
  transition: background-color 0.3s ease;
}

.page-index__game-card-play-now:hover {
  background-color: #e7a732;
}

@media (max-width: 768px) {
  .page-index__game-categories {
    grid-template-columns: 1fr;
  }
  .page-index__game-card-image {
    height: 180px;
  }
}

.page-index__promo-section {
  background-color: #ffffff;
}

.page-index__promo-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.1em;
  color: #555555;
}

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

.page-index__promo-card {
  background-color: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index__promo-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.page-index__promo-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.page-index__promo-card-title {
  font-size: 1.5em;
  margin: 20px 20px 10px;
  color: #000000;
}

.page-index__promo-card-description {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #555555;
}

.page-index__promo-card-claim {
  display: block;
  padding: 15px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  font-weight: bold;
  border-radius: 0 0 12px 12px;
  transition: background-color 0.3s ease;
}

.page-index__promo-card-claim:hover {
  background-color: #333333;
}

@media (max-width: 768px) {
  .page-index__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-index__promo-card-image {
    height: 180px;
  }
}

.page-index__mobile-app-section {
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-index__mobile-app-content {
  flex: 1;
  min-width: 300px;
}

.page-index__mobile-app-title {
  font-size: 2.5em;
  text-align: left;
  margin-bottom: 20px;
}

.page-index__mobile-app-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-index__mobile-app-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__mobile-app-button:hover {
  background-color: #e7a732;
  transform: translateY(-2px);
}

.page-index__mobile-app-image-wrapper {
  flex: 1;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__mobile-app-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .page-index__mobile-app-section {
    flex-direction: column;
    text-align: center;
  }

  .page-index__mobile-app-title {
    text-align: center;
    font-size: 2em;
  }
  .page-index__mobile-app-image {
    max-width: 250px;
  }
}

.page-index__security-trust-section {
  background-color: #ffffff;
}

.page-index__security-trust-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  font-size: 1.1em;
  color: #555555;
}

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

.page-index__security-trust-item {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.page-index__security-trust-item-description {
  font-size: 0.95em;
  color: #555555;
}

.page-index__security-trust-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 30px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__security-trust-button:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-index__testimonials-section {
  background-color: #f8f8f8;
}

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

.page-index__testimonial-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index__testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: #444444;
}

.page-index__testimonial-author {
  font-weight: bold;
  text-align: right;
  color: #000000;
}

@media (max-width: 768px) {
  .page-index__testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.page-index__final-cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-index__final-cta-title {
  color: #FFFFFF;
  font-size: 2.8em;
}

.page-index__final-cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-index__final-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__final-cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 10px 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 180px;
  text-align: center;
}

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

.page-index__final-cta-button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

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

.page-index__final-cta-button--login:hover {
  background-color: #e7a732;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .page-index__final-cta-title {
    font-size: 2em;
  }
  .page-index__final-cta-description {
    font-size: 1em;
  }
  .page-index__final-cta-button {
    display: block;
    margin: 15px auto;
  }
}

/* Mobile fixed buttons */
.page-index__mobile-fixed-buttons {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000000; /* Dark background for visibility */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  padding: 10px 15px;
  justify-content: space-around;
  align-items: center;
}

@media (max-width: 768px) {
  .page-index__mobile-fixed-buttons {
    display: flex; /* Show on mobile */
  }
}

.page-index__mobile-fixed-button {
  flex: 1;
  padding: 12px 10px;
  margin: 0 5px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-index__mobile-fixed-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
}

.page-index__mobile-fixed-button--register:hover {
  background-color: #e0e0e0;
}

.page-index__mobile-fixed-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 1px solid #FCBC45;
}

.page-index__mobile-fixed-button--login:hover {
  background-color: #e7a732;
}