.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);
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: #1A1A1A;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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;
  text-align: center;
  cursor: pointer;
  font-size: 1em;
}

.page-index__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

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

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

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

.page-index__button--text {
  background: none;
  color: #FFD700;
  border: none;
  padding: 0;
  text-decoration: underline;
  font-size: 1em;
}

.page-index__button--text:hover {
  color: #e6c200;
}

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

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

/* Hero Section */
.page-index__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

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

.page-index__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.page-index__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

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

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

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

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

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

.page-index__about-text {
  flex: 1;
  text-align: left;
}

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

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

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

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

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

.page-index__games-section .page-index__section-subtitle {
  color: #cccccc;
}

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

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

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

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

.page-index__game-card-description {
  font-size: 0.95em;
  color: #bbbbbb;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

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

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

.page-index__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-index__promo-card-image {
  width: 100%;
  height: 280px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-index__promo-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__promo-card-title {
  font-size: 1.8em;
  color: #1A1A1A;
  margin-bottom: 10px;
}

.page-index__promo-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-index__download-section .page-index__section-subtitle {
  color: #cccccc;
}

.page-index__download-buttons {
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-index__download-buttons .page-index__button {
  margin: 0 15px;
}

.page-index__app-image {
  max-width: 70%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-top: 30px;
}

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

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

.page-index__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-index__feature-icon {
  width: 100px; /* Ensure icons are not too small, but not too large for an icon */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index__feature-title {
  font-size: 1.6em;
  color: #1A1A1A;
  margin-bottom: 10px;
}

.page-index__feature-description {
  font-size: 1em;
  color: #555555;
}

/* CTA Section */
.page-index__cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, #1A1A1A, #333333);
  color: #ffffff;
  text-align: center;
}

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

.page-index__cta-section .page-index__section-subtitle {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsible Gambling Section */
.page-index__responsible-gambling-section {
  padding: 80px 0;
  background-color: #f4f4f4;
  text-align: center;
}

.page-index__responsible-gambling-section p {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: #444444;
}

/* 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: 2.2em;
  }
  .page-index__game-card-title {
    font-size: 1.6em;
  }
  .page-index__promo-card-title {
    font-size: 1.6em;
  }
  .page-index__app-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-buttons .page-index__button {
    margin: 10px 0;
    display: block;
  }
  .page-index__about-content {
    flex-direction: column;
  }
  .page-index__about-image-wrapper {
    margin-top: 30px;
  }
  .page-index__game-grid, .page-index__promo-grid, .page-index__security-features {
    grid-template-columns: 1fr;
  }
  .page-index__download-buttons .page-index__button {
    margin: 10px 0;
    display: block;
  }
  /* Mobile content area images must be responsive */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__feature-icon {
    width: 80px; /* Adjusted for smaller screens, but still > 200px if original was large content image */
    height: 80px;
  }
  .page-index__app-image {
    max-width: 95%;
  }
  .page-index__feature-item {
    padding: 20px;
  }
  .page-index__hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    height: 450px;
  }
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__button--large {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-index__game-card-image, .page-index__promo-card-image {
    height: 200px;
  }
  .page-index__game-card-title, .page-index__promo-card-title {
    font-size: 1.4em;
  }
  .page-index__feature-title {
    font-size: 1.4em;
  }
  .page-index__feature-icon {
    width: 60px; /* Still ensuring it's not a tiny decorative icon if it was originally a content image */
    height: 60px;
  }
}