/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #1a1a1a; /* Dark text for readability */
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #007bff; /* Main brand color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333;
}

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

.page-index__btn--primary {
  background-color: #007bff; /* Main brand color */
  color: #ffffff;
}

.page-index__btn--primary:hover {
  background-color: #0056b3; /* Darker blue */
}

.page-index__btn--secondary {
  background-color: #ffc107; /* Auxiliary brand color */
  color: #1a1a1a; /* Dark text for contrast */
}

.page-index__btn--secondary:hover {
  background-color: #e0a800; /* Darker gold */
}

.page-index__btn--outline {
  background-color: transparent;
  border: 2px solid #007bff;
  color: #007bff;
}

.page-index__btn--outline:hover {
  background-color: #007bff;
  color: #ffffff;
}

.page-index__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #007bff;
  color: #ffffff;
}

.page-index__btn--small:hover {
  background-color: #0056b3;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue gradient */
  padding: 100px 0;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

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

.page-index__hero-title {
  font-size: 3.8em;
  margin-bottom: 25px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffc107; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.page-index__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

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

.page-index__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(0, 123, 255, 0.3));
}

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

.page-index__feature-text {
  font-size: 1em;
  line-height: 1.7;
  color: #444;
}

/* Game Categories Section */
.page-index__game-categories {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-index__category-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__category-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 4px solid #ffc107;
}

.page-index__category-title {
  font-size: 1.6em;
  color: #007bff;
  margin: 25px 15px 10px 15px;
  font-weight: 700;
}

.page-index__category-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
  padding: 0 20px 20px 20px;
}

.page-index__category-card .page-index__btn {
  margin-bottom: 25px;
}

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

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

.page-index__promotion-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 4px solid #ffc107;
}

.page-index__promotion-title {
  font-size: 1.6em;
  color: #007bff;
  margin: 25px 15px 10px 15px;
  font-weight: 700;
}

.page-index__promotion-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
  padding: 0 20px 20px 20px;
}

.page-index__promotion-card .page-index__btn {
  margin-bottom: 25px;
}

.page-index__all-promotions-link {
  text-align: center;
  margin-top: 40px;
}

/* App Download Section */
.page-index__app-download-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background for app section */
  color: #ffffff;
}

.page-index__app-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

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

.page-index__app-download-section .page-index__section-title {
  color: #ffc107; /* Auxiliary color for title */
  text-align: left;
}

.page-index__app-download-section .page-index__section-description {
  color: #e0e0e0;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-index__app-features-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-index__app-features-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-index__app-features-list li::before {
  content: '✔';
  color: #ffc107;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index__app-download-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index__btn--app-store,
.page-index__btn--google-play {
  background-color: #007bff;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.1em;
}

.page-index__btn--app-store:hover,
.page-index__btn--google-play:hover {
  background-color: #0056b3;
}

.page-index__app-icon {
  width: 24px;
  height: 24px;
}

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

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

/* Responsible Gaming Section */
.page-index__responsible-gaming-section {
  padding: 80px 0;
  background-color: #f0f8ff; /* Very light blue */
}

/* Details Pages Section */
.page-index__details-pages-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-index__detail-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index__detail-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index__detail-title a {
  color: #007bff;
  text-decoration: none;
}

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

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

.page-index__detail-card .page-index__btn {
  align-self: flex-start;
}

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

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

.page-index__cta-section .page-index__section-title {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

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

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

.page-index__cta-actions .page-index__btn--primary {
  background-color: #ffffff;
  color: #007bff;
}

.page-index__cta-actions .page-index__btn--primary:hover {
  background-color: #e0e0e0;
}

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

.page-index__cta-actions .page-index__btn--secondary:hover {
  background-color: #ffffff;
  color: #007bff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-image-wrapper {
    width: 70%;
    height: 80%;
  }
  .page-index__app-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-index__app-download-section .page-index__section-title,
  .page-index__app-download-section .page-index__section-description {
    text-align: center;
  }
  .page-index__app-download-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__hero-image-wrapper {
    width: 80%;
    height: 60%;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.1;
  }
  .page-index__feature-item,
  .page-index__category-card,
  .page-index__promotion-card,
  .page-index__detail-card {
    padding: 25px;
  }
  .page-index__app-download-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-index__btn--app-store,
  .page-index__btn--google-play {
    width: 80%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index__hero-image-wrapper {
    display: none; /* Hide image on very small screens to save space */
  }
}