/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-index__btn--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-index__btn--outline {
  background-color: transparent;
  color: #0A2463;
  border: 2px solid #0A2463;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-index__btn--outline:hover {
  background-color: #0A2463;
  color: #fff;
}

.page-index__btn--text {
  background: none;
  border: none;
  color: #0A2463;
  padding: 0;
  margin: 0;
  text-decoration: underline;
  font-weight: normal;
}

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

.page-index__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #0A2463;
  color: #FFD700;
  border: 2px solid #0A2463;
}

.page-index__btn--small:hover {
  background-color: #FFD700;
  color: #0A2463;
  border-color: #FFD700;
}

.page-index__center-cta {
  text-align: center;
  margin-top: 50px;
}

/* Hero Section */
.page-index__hero {
  background: linear-gradient(135deg, #0A2463 0%, #3a5c9f 100%); /* Dark blue to slightly lighter blue */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 0;
}

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

.page-index__hero .page-index__container {
  position: relative;
  z-index: 1;
}

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

.page-index__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.page-index__hero-actions .page-index__btn {
  margin: 0 10px;
}

/* About Section */
.page-index__about {
  padding: 60px 0;
  background-color: #fff;
}

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

.page-index__about .page-index__text-content p {
  margin-bottom: 15px;
  color: #444;
}

.page-index__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.page-index__advantages {
  padding: 80px 0;
  background-color: #f0f2f5;
}

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

.page-index__advantage-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index__advantage-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(10%) sepia(90%) saturate(2000%) hue-rotate(200deg) brightness(80%) contrast(100%); /* Adjust to match main color */
}

.page-index__advantage-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-index__advantage-description {
  color: #666;
  font-size: 0.95em;
}

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

.page-index__promotions .page-index__section-title,
.page-index__promotions .page-index__section-subtitle {
  color: #FFD700;
}

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

.page-index__promotion-card {
  background-color: #1a3a7c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
}

.page-index__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__promotion-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-index__promotion-description {
  color: #ccc;
  font-size: 0.9em;
  margin-bottom: 20px;
  padding: 0 20px;
}

.page-index__promotion-card .page-index__btn--outline {
  color: #FFD700;
  border-color: #FFD700;
}

.page-index__promotion-card .page-index__btn--outline:hover {
  background-color: #FFD700;
  color: #0A2463;
}

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

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

.page-index__game-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
}

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

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

.page-index__game-description {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Guide Section */
.page-index__guide {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index__step-item {
  background-color: #f0f2f5;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.page-index__step-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-index__step-item p {
  color: #555;
  margin-bottom: 20px;
}

.page-index__guide-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-index__guide-image {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsible Gaming Section */
.page-index__responsible-gaming {
  padding: 80px 0;
  background-color: #0A2463;
  color: #fff;
}

.page-index__responsible-gaming .page-index__section-title,
.page-index__responsible-gaming .page-index__section-subtitle {
  color: #FFD700;
}

.page-index__responsible-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-index__responsible-gaming .page-index__text-content p {
  margin-bottom: 15px;
  color: #ccc;
}

.page-index__responsible-gaming .page-index__image {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Detail Pages Section */
.page-index__detail-pages {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-index__detail-card {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__detail-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-index__detail-title a {
  color: #0A2463;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__detail-title a:hover {
  color: #FFD700;
}

.page-index__detail-description {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .page-index__hero-title {
    font-size: 4.5em;
  }

  .page-index__about .page-index__content-grid,
  .page-index__responsible-content {
    grid-template-columns: 1fr 1fr;
  }

  .page-index__about .page-index__image-content,
  .page-index__responsible-gaming .page-index__image-content {
    order: 2; /* Image on right for about, text on right for responsible gaming */
  }

  .page-index__responsible-gaming .page-index__image-content {
    order: 1;
  }
}

@media (max-width: 767px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }

  .page-index__hero-description {
    font-size: 1em;
  }

  .page-index__hero-actions .page-index__btn {
    margin: 10px 0;
    width: 100%;
  }

  .page-index__btn--secondary {
    margin-left: 0;
  }

  .page-index__section-title {
    font-size: 2em;
  }

  .page-index__guide-image {
    max-width: 100%;
  }

  .page-index__about .page-index__image-content,
  .page-index__responsible-gaming .page-index__image-content {
    order: -1; /* Image above text on mobile */
  }
}