/* style/index.css */
.page-index {
  color: #333333; /* Default text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px 0; /* Adjusted padding, image handles bottom space */
  background-color: #f4f4f4;
  position: relative;
  overflow: hidden;
}

.page-index__hero-container {
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

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

.page-index__hero-description {
  font-size: 1.3em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  margin-top: -60px; /* Pull image up slightly to integrate with hero section */
  z-index: 1;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: #FF6B00;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
}

.page-index__section-title--light {
  color: #ffffff;
}

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-index__btn--primary {
  background-color: #FF6B00;
  color: #ffffff;
  border: 2px solid #FF6B00;
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #FF6B00;
  border: 2px solid #FF6B00;
}

.page-index__btn--secondary:hover {
  background-color: #FF6B00;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-index__btn--download {
  background-color: #00A86B;
  color: #ffffff;
  border: 2px solid #00A86B;
}

.page-index__btn--download:hover {
  background-color: #008f5a;
  transform: translateY(-2px);
}

.page-index__btn--text {
  background: none;
  border: none;
  color: #FF6B00;
  padding: 10px 0;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: underline;
}

.page-index__btn--text:hover {
  color: #e65c00;
}

.page-index__btn--center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 250px;
}

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

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

.page-index__image-responsive {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index__game-categories {
  text-align: center;
}

.page-index__bg-secondary {
  background-color: #fff8f2; /* Lighter variant of primary for section background */
}

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

.page-index__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.page-index__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__card-title {
  font-size: 1.6em;
  color: #FF6B00;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index__card-title a {
  color: #FF6B00;
  text-decoration: none;
}

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

.page-index__card-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__promotions-intro {
  font-size: 1.2em;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: -40px auto 40px auto; /* Adjust margin to pull closer to title */
  color: #333333;
}

.page-index__promotions-image {
  margin-bottom: 40px;
}

.page-index__why-choose-us {
  text-align: center;
}

.page-index__bg-dark {
  background-color: #333333;
  color: #ffffff;
}

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

.page-index__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index__feature-title {
  font-size: 1.8em;
  color: #FF6B00;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-index__actions-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.page-index__btn--light {
  color: #ffffff;
  border-color: #ffffff;
}

.page-index__btn--light.page-index__btn--primary {
  background-color: #FF6B00;
  border-color: #FF6B00;
}

.page-index__btn--light.page-index__btn--primary:hover {
  background-color: #e65c00;
  border-color: #e65c00;
}

.page-index__btn--light.page-index__btn--secondary {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.page-index__btn--light.page-index__btn--secondary:hover {
  background-color: #ffffff;
  color: #333333;
}

.page-index__responsible-gaming-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: -40px auto 40px auto;
  color: #333333;
}

.page-index__blog-section {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__about-section .page-index__content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-index__about-section .page-index__text-content {
    order: 2;
  }
  .page-index__about-section .page-index__image-responsive {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 40px 15px 0;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__section-padding {
    padding: 60px 15px;
  }
  .page-index__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-index__cards-grid {
    grid-template-columns: 1fr;
  }
  .page-index__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index__hero-image, .page-index__image-responsive, .page-index__card-image {
    max-width: 100%;
    height: auto;
  }
  .page-index__actions-row {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__promotions-intro, .page-index__responsible-gaming-text {
    font-size: 1em;
  }
  .page-index__card-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__btn {
    width: 100%;
    max-width: 280px;
  }
  .page-index__section-title {
    font-size: 1.6em;
  }
  .page-index__card-image {
    height: 150px;
  }
}