.page-index {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%); /* Subtle gradient background */
}

.page-index__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-index__hero-title {
  font-size: 3.5em;
  color: var(--secondary-color); /* Golden color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(227, 181, 5, 0.6);
}

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

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

.page-index__button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index__button--primary {
  background-color: var(--secondary-color); /* Golden button */
  color: var(--primary-color); /* Dark blue text */
  border: 2px solid var(--secondary-color);
}

.page-index__button--primary:hover {
  background-color: #f0c52a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-index__button--secondary {
  background-color: transparent;
  color: var(--secondary-color); /* Golden text */
  border: 2px solid var(--secondary-color);
}

.page-index__button--secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(227, 181, 5, 0.4);
}

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

.page-index__features-section {
  background-color: rgba(10, 36, 99, 0.2); /* Semi-transparent primary color */
  padding: 60px 0;
  border-top: 1px solid rgba(227, 181, 5, 0.1);
  border-bottom: 1px solid rgba(227, 181, 5, 0.1);
}

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

.page-index__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Very subtle white background */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(227, 181, 5, 0.1);
}

.page-index__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.08);
}

.page-index__feature-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__feature-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-index__feature-description {
  font-size: 1em;
  color: #bbbbbb;
  line-height: 1.5;
}

.page-index__games-preview-section {
  padding: 60px 0;
}

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

.page-index__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  border: 1px solid rgba(227, 181, 5, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-index__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__game-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-index__game-title a {
  color: inherit;
  text-decoration: none;
}

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

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

.page-index__button--link {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 10px 25px;
  font-size: 0.9em;
  border-radius: 50px;
}

.page-index__button--link:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-index__promotions-section {
  background-color: rgba(10, 36, 99, 0.2);
  padding: 60px 0;
  border-top: 1px solid rgba(227, 181, 5, 0.1);
  border-bottom: 1px solid rgba(227, 181, 5, 0.1);
}

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

.page-index__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  border: 1px solid rgba(227, 181, 5, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
}

.page-index__promo-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__promo-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-index__promo-description {
  font-size: 0.95em;
  color: #bbbbbb;
  padding: 0 20px 20px;
  line-height: 1.5;
}

.page-index__view-all-promos {
  text-align: center;
}

.page-index__mobile-app-section {
  padding: 60px 0;
}

.page-index__container--flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-index__mobile-content {
  flex: 1;
}

.page-index__mobile-app-section .page-index__section-title {
  text-align: left;
}

.page-index__mobile-app-section .page-index__section-subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.page-index__app-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-index__app-features li {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-index__app-features li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-index__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
}

.page-index__deep-content-section {
  padding: 60px 0;
  background-color: rgba(10, 36, 99, 0.2);
  border-top: 1px solid rgba(227, 181, 5, 0.1);
}

.page-index__deep-content-section h2,
.page-index__deep-content-section h3 {
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-index__deep-content-section h2 {
  font-size: 2.5em;
}

.page-index__deep-content-section h3 {
  font-size: 2em;
}

.page-index__deep-content-section p {
  font-size: 1.1em;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-index__cta-section {
  background: linear-gradient(45deg, var(--primary-color), #000000);
  padding: 80px 20px;
  text-align: center;
  border-top: 2px solid var(--secondary-color);
}

.page-index__cta-content {
  max-width: 900px;
}

.page-index__cta-title {
  font-size: 3em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(227, 181, 5, 0.6);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__cta-title {
    font-size: 2.5em;
  }
  .page-index__game-image, .page-index__promo-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__features-grid, .page-index__game-categories-grid, .page-index__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-index__container--flex {
    flex-direction: column;
  }
  .page-index__mobile-app-section .page-index__section-title,
  .page-index__mobile-app-section .page-index__section-subtitle {
    text-align: center;
  }
  .page-index__app-features {
    padding-left: 20px;
  }
  .page-index__app-features li {
    text-align: left;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__cta-description {
    font-size: 1.2em;
  }
  /* Ensure all images in content area are responsive and not too small */
  .page-index img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-index__hero-image {
    width: 100%;
    height: auto;
  }
  .page-index__feature-icon, .page-index__game-image, .page-index__promo-image, .page-index__mobile-image {
    max-width: 100%; /* Important for mobile responsiveness */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__section-subtitle {
    font-size: 0.9em;
  }
  .page-index__feature-title, .page-index__game-title, .page-index__promo-title {
    font-size: 1.4em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
}

/* Ensure content area images are never smaller than 200px */
.page-index__hero-image, 
.page-index__feature-icon, 
.page-index__game-image, 
.page-index__promo-image, 
.page-index__mobile-image {
  min-width: 200px;
  min-height: 200px;
}

/* Generic img rules within .page-index to enforce minimum size */
.page-index img:not(.shared-header img):not(.shared-footer img) {
    min-width: 200px;
    min-height: 200px;
}