.page-index {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep Red for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-index__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;
  white-space: nowrap;
}

.page-index__button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red text on Gold */
  border: 2px solid #FFD700;
}

.page-index__button--primary:hover {
  background-color: #e6c200;
  color: #6a0000;
}

.page-index__button--secondary {
  background-color: transparent;
  color: #8B0000; /* Deep Red text */
  border: 2px solid #8B0000;
}

.page-index__button--secondary:hover {
  background-color: #8B0000;
  color: #FFFFFF; /* White text on Deep Red */
}

.page-index__button--text {
  background-color: transparent;
  color: #8B0000;
  border: none;
  padding: 0;
  margin-top: 20px;
}

.page-index__button--text:hover {
  text-decoration: underline;
}

.page-index__button--link {
  background-color: transparent;
  color: #8B0000;
  border: 1px solid #FFD700;
  padding: 8px 15px;
}

.page-index__button--link:hover {
  background-color: #FFD700;
  color: #8B0000;
}

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

/* Hero Section */
.page-index__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background-color: #f0f0f0; /* Fallback background */
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF; /* White text on hero image */
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  max-width: 900px;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFD700; /* Gold for hero title */
}

.page-index__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__hero-actions .page-index__button {
  margin: 0 10px;
}

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

.page-index__about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-index__about-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

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

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

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

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

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

.page-index__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
  object-fit: cover;
}

.page-index__game-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-index__game-title a {
  color: #8B0000;
  text-decoration: none;
}

.page-index__game-title a:hover {
  text-decoration: underline;
}

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

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background-color: #FFF8E1; /* Light gold background */
}

.page-index__promotions-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-index__promotions-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

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

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

.page-index__security-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-index__security-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

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

/* FAQ Section */
.page-index__faq-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-index__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-index__faq-question {
  font-size: 1.3em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-index__faq-answer {
  font-size: 1.1em;
  color: #555555;
}

/* CTA Section */
.page-index__cta-section {
  padding: 80px 0;
  background-color: #8B0000; /* Deep Red background */
  text-align: center;
  color: #FFFFFF;
}

.page-index__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold title on Deep Red */
}

.page-index__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__about-grid, .page-index__promotions-container, .page-index__security-container {
    grid-template-columns: 1fr;
  }
  .page-index__about-image-wrapper, .page-index__promotions-image-wrapper, .page-index__security-image-wrapper {
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions .page-index__button {
    margin: 10px 5px;
    display: block;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__cta-title {
    font-size: 2.5em;
  }
  .page-index__games-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__button--primary, .page-index__button--secondary {
    padding: 10px 20px;
  }
  .page-index__button--large {
    padding: 12px 25px;
    font-size: 1em;
  }
}