.page-index {
  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 clears fixed header */
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #1A1A1A;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-index__text-content {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-index__text-link:hover {
  text-decoration: underline;
}

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

.page-index__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
}

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

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

.page-index__button--secondary:hover {
  background-color: #333333;
  color: #FFD700;
  transform: translateY(-2px);
}

.page-index__button--tertiary {
  background-color: transparent;
  color: #1A1A1A;
  border: 2px solid #1A1A1A;
}

.page-index__button--tertiary:hover {
  background-color: #1A1A1A;
  color: #FFD700;
  transform: translateY(-2px);
}

.page-index__button--small {
  padding: 8px 18px;
  font-size: 0.95em;
  border-radius: 5px;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
}

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

.page-index__hero-container {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  z-index: 1;
  max-width: 900px;
}

.page-index__hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 10px;
}

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

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

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

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

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

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

.page-index__game-card {
  background-color: #1A1A1A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__game-link {
  color: #FFD700;
  text-decoration: none;
}

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

.page-index__game-description {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 25px;
  padding: 0 15px;
}

/* Promotions Section */
.page-index__promo-section {
  padding: 80px 0;
  background-color: #f0f0f0;
  text-align: center;
}

.page-index__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
}

.page-index__promo-offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-index__offer-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index__offer-title {
  font-size: 1.8em;
  color: #1A1A1A;
  margin-bottom: 15px;
}

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

/* App Section */
.page-index__app-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  color: #ffffff;
  text-align: center;
}

.page-index__app-section .page-index__section-title {
  color: #FFD700;
}

.page-index__app-section .page-index__text-content {
  color: #f0f0f0;
}

.page-index__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 40px auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index__app-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-index__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 40px auto;
  display: block;
}

.page-index__security-features {
  margin-top: 30px;
}

.page-index__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.page-index__feature-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  text-align: left;
  display: flex;
  align-items: center;
}

.page-index__feature-item::before {
  content: '✔';
  color: #FFD700;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2em;
}

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

.page-index__faq-items {
  margin-top: 50px;
  display: grid;
  gap: 20px;
}

.page-index__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index__faq-question {
  font-size: 1.4em;
  color: #1A1A1A;
  margin-bottom: 10px;
}

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

/* CTA Section */
.page-index__cta-section {
  padding: 80px 0;
  background-color: #1A1A1A;
  color: #ffffff;
  text-align: center;
}

.page-index__cta-section .page-index__section-title {
  color: #FFD700;
}

.page-index__cta-section .page-index__text-content {
  color: #f0f0f0;
}

.page-index__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__game-image {
    height: 200px;
  }
  .page-index__promo-image {
    max-width: 600px;
  }
  .page-index__security-image {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-buttons,
  .page-index__app-buttons,
  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__text-content {
    font-size: 1em;
  }
  .page-index__game-grid {
    grid-template-columns: 1fr;
  }
  .page-index__game-image {
    height: 220px;
  }
  .page-index__promo-image,
  .page-index__app-image,
  .page-index__security-image {
    max-width: 100%;
    height: auto; /* Ensures images are responsive and don't overflow */
  }
  .page-index__offer-card {
    padding: 20px;
  }
  .page-index__offer-title {
    font-size: 1.5em;
  }
  .page-index__faq-question {
    font-size: 1.2em;
  }
  .page-index__feature-item {
    font-size: 1em;
  }
  /* Ensure all content images are responsive on mobile */
  .page-index__hero-image,
  .page-index__game-image,
  .page-index__promo-image,
  .page-index__app-image,
  .page-index__security-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images are not smaller than 200px (this is a global rule, but for mobile, max-width: 100% applies) */
  .page-index img {
    min-width: 200px; /* Base min-width */
    min-height: 200px; /* Base min-height */
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 0.95em;
  }
  .page-index__hero-content {
    padding: 30px 15px;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__text-content {
    font-size: 0.9em;
  }
  .page-index__button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-index__feature-item {
    font-size: 0.9em;
  }
  .page-index__faq-question {
    font-size: 1.1em;
  }
  .page-index__faq-answer {
    font-size: 0.9em;
  }
}