/* style/index-featured-games.css */
.page-index-featured-games {
  font-family: 'Arial', sans-serif;
  color: #F8F8F8; /* Sáng hơn một chút so với trắng tinh để dễ đọc trên nền tối */
  background-color: #1a1a1a; /* Nền tối tổng thể */
  line-height: 1.6;
}

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

.page-index-featured-games__hero {
  background: linear-gradient(135deg, #FFD700, #2F4F4F);
  padding: 100px 0;
  text-align: center;
  color: #2F4F4F; /* Chữ màu đậm trên nền gradient sáng */
}

.page-index-featured-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #2F4F4F; /* Đảm bảo độ tương phản cao */
}

.page-index-featured-games__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #3d6666; /* Màu chữ phụ trợ cho nền sáng */
}

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

.page-index-featured-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-featured-games__btn--primary {
  background-color: #2F4F4F; /* Nền đậm */
  color: #FFD700; /* Chữ vàng */
  border: 2px solid #FFD700;
}

.page-index-featured-games__btn--primary:hover {
  background-color: #1a3333;
  color: #FFEA8D;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__btn--secondary {
  background-color: transparent;
  color: #2F4F4F;
  border: 2px solid #2F4F4F;
}

.page-index-featured-games__btn--secondary:hover {
  background-color: rgba(47, 79, 79, 0.1);
  color: #1a3333;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__introduction, 
.page-index-featured-games__featured-games, 
.page-index-featured-games__strategy-guide, 
.page-index-featured-games__promotions, 
.page-index-featured-games__why-shbet, 
.page-index-featured-games__responsible-gaming, 
.page-index-featured-games__cta-final {
  padding: 60px 0;
  background-color: #222222; /* Nền tối cho các phần nội dung */
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-index-featured-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Tiêu đề màu vàng nổi bật */
  position: relative;
  padding-bottom: 15px;
}

.page-index-featured-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-index-featured-games__introduction p, .page-index-featured-games__responsible-gaming p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #E0E0E0;
}

.page-index-featured-games__image-wrapper {
  text-align: center;
  margin-top: 30px;
}

.page-index-featured-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-index-featured-games__game-card, .page-index-featured-games__promo-card {
  background-color: #2F4F4F; /* Nền đậm cho card */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #F8F8F8;
}

.page-index-featured-games__game-card:hover, .page-index-featured-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-index-featured-games__game-image, .page-index-featured-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-index-featured-games__game-title, .page-index-featured-games__promo-title {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: #FFD700;
}

.page-index-featured-games__game-title a, .page-index-featured-games__promo-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-featured-games__game-title a:hover, .page-index-featured-games__promo-title a:hover {
  color: #FFEA8D;
}

.page-index-featured-games__game-description, .page-index-featured-games__promo-description {
  font-size: 0.95em;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #E0E0E0;
}

.page-index-featured-games__btn--play, .page-index-featured-games__btn--claim {
  background-color: #FFD700;
  color: #2F4F4F;
  border: none;
  padding: 12px 25px;
  margin: 0 15px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index-featured-games__btn--play:hover, .page-index-featured-games__btn--claim:hover {
  background-color: #FFEA8D;
  color: #1a3333;
}

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

.page-index-featured-games__strategy-item {
  background-color: #2F4F4F;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-index-featured-games__strategy-item h3 {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.page-index-featured-games__strategy-item p {
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.page-index-featured-games__strategy-image {
  position: absolute;
  bottom: -20px; /* Di chuyển ảnh xuống một chút */
  right: -20px; /* Di chuyển ảnh sang phải một chút */
  width: 150px; /* Kích thước nhỏ hơn */
  height: 150px; /* Kích thước nhỏ hơn */
  object-fit: contain;
  opacity: 0.15; /* Làm mờ ảnh */
  z-index: 1;
  border-radius: 5px;
}

.page-index-featured-games__conclusion-text {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #FFD700;
  font-size: 1.1em;
}

.page-index-featured-games__benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-index-featured-games__benefit-list li {
  background-color: #2F4F4F;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index-featured-games__benefit-list li:hover {
  transform: translateY(-5px);
}

.page-index-featured-games__benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(30deg) brightness(1.2); /* Biến icon thành màu vàng */
}

.page-index-featured-games__benefit-list h3 {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index-featured-games__benefit-list p {
  font-size: 0.95em;
  color: #E0E0E0;
  line-height: 1.6;
}

.page-index-featured-games__cta-final {
  background-color: #2F4F4F;
  text-align: center;
  padding: 80px 0;
  border-radius: 10px;
}

.page-index-featured-games__cta-final .page-index-featured-games__section-title {
  color: #FFD700;
}

.page-index-featured-games__cta-final p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #E0E0E0;
}

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

.highlight {
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-featured-games__hero-title {
    font-size: 2.8em;
  }
  .page-index-featured-games__hero-subtitle {
    font-size: 1.2em;
  }
  .page-index-featured-games__section-title {
    font-size: 2em;
  }
  .page-index-featured-games__game-grid, .page-index-featured-games__promo-grid, .page-index-featured-games__strategy-grid, .page-index-featured-games__benefit-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-featured-games__hero {
    padding: 80px 0;
  }
  .page-index-featured-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-featured-games__hero-subtitle {
    font-size: 1em;
  }
  .page-index-featured-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-featured-games__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index-featured-games__introduction, 
  .page-index-featured-games__featured-games, 
  .page-index-featured-games__strategy-guide, 
  .page-index-featured-games__promotions, 
  .page-index-featured-games__why-shbet, 
  .page-index-featured-games__responsible-gaming, 
  .page-index-featured-games__cta-final {
    padding: 40px 0;
  }
  .page-index-featured-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index-featured-games__game-grid, .page-index-featured-games__promo-grid, .page-index-featured-games__strategy-grid, .page-index-featured-games__benefit-list {
    grid-template-columns: 1fr;
  }
  .page-index-featured-games__strategy-item {
    padding: 25px;
  }
  .page-index-featured-games__strategy-image {
    width: 120px;
    height: 120px;
    bottom: -10px;
    right: -10px;
  }
}

@media (max-width: 480px) {
  .page-index-featured-games__hero {
    padding: 60px 0;
  }
  .page-index-featured-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__hero-subtitle {
    font-size: 0.9em;
  }
  .page-index-featured-games__btn {
    width: 90%;
  }
  .page-index-featured-games__section-title {
    font-size: 1.5em;
  }
  .page-index-featured-games__game-card, .page-index-featured-games__promo-card, .page-index-featured-games__strategy-item, .page-index-featured-games__benefit-list li {
    margin: 0 10px;
  }
  .page-index-featured-games__container {
    padding: 0 15px;
  }
}