.page-game-hall-card-games {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-game-hall-card-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-hall-card-games__hero {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 450px;
}

.page-game-hall-card-games__hero-content {
  z-index: 2;
  position: relative;
}

.page-game-hall-card-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

.page-game-hall-card-games__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-game-hall-card-games__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-game-hall-card-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
}

.page-game-hall-card-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(50%);
}

.page-game-hall-card-games__section {
  padding: 60px 0;
}

.page-game-hall-card-games__section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-game-hall-card-games__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-game-hall-card-games__introduction p {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 15px;
  color: #444444;
}

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

.page-game-hall-card-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-game-hall-card-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 3px solid #FFCC00;
}

.page-game-hall-card-games__game-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-game-hall-card-games__game-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-game-hall-card-games__benefit-item {
  background-color: #f0f4f7;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.page-game-hall-card-games__benefit-item:hover {
  background-color: #e6edf2;
}

.page-game-hall-card-games__benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-game-hall-card-games__benefit-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-game-hall-card-games__benefit-item p {
  color: #555555;
  font-size: 1em;
}

.page-game-hall-card-games__how-to-start ol {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-hall-card-games__how-to-start li {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #003366;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-hall-card-games__step-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-game-hall-card-games__how-to-start li p {
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-hall-card-games__faq {
  background-color: #f0f4f7;
}

.page-game-hall-card-games__faq-item {
  background-color: #ffffff;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.page-game-hall-card-games__faq-question {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-game-hall-card-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-game-hall-card-games__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-game-hall-card-games__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
  padding-top: 0;
}

.page-game-hall-card-games__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  opacity: 1;
  padding-top: 15px;
}

.page-game-hall-card-games__cta-final {
  background: linear-gradient(45deg, #003366, #001a33);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-game-hall-card-games__cta-content {
  max-width: 900px;
}

.page-game-hall-card-games__cta-final .page-game-hall-card-games__section-title {
  color: #ffffff;
}

.page-game-hall-card-games__cta-final .page-game-hall-card-games__section-title::after {
  background-color: #FFCC00;
}

.page-game-hall-card-games__cta-final p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-game-hall-card-games__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-game-hall-card-games__btn--primary {
  background-color: #FFCC00;
  color: #003366;
  box-shadow: 0 6px 15px rgba(255, 204, 0, 0.4);
}

.page-game-hall-card-games__btn--primary:hover {
  background-color: #e6b800;
  box-shadow: 0 8px 18px rgba(255, 204, 0, 0.5);
  transform: translateY(-2px);
}

.page-game-hall-card-games__btn--secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-game-hall-card-games__btn--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  box-shadow: 0 6px 15px rgba(255, 204, 0, 0.4);
  transform: translateY(-2px);
}

.page-game-hall-card-games__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 6px;
}

.page-game-hall-card-games__btn--large {
  padding: 16px 35px;
  font-size: 1.2em;
  min-width: 250px;
}

.page-game-hall-card-games .highlight {
  color: #FFCC00;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-hall-card-games__hero-title {
    font-size: 2.8em;
  }
  .page-game-hall-card-games__hero-subtitle {
    font-size: 1.2em;
  }
  .page-game-hall-card-games__section-title {
    font-size: 2em;
  }
  .page-game-hall-card-games__game-grid, .page-game-hall-card-games__benefits-grid, .page-game-hall-card-games__how-to-start ol {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-hall-card-games__hero {
    padding: 60px 0;
  }
  .page-game-hall-card-games__hero-title {
    font-size: 2.2em;
  }
  .page-game-hall-card-games__hero-subtitle {
    font-size: 1em;
  }
  .page-game-hall-card-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-hall-card-games__btn--large {
    width: 100%;
    max-width: 300px;
  }
  .page-game-hall-card-games__section {
    padding: 40px 0;
  }
  .page-game-hall-card-games__section-title {
    font-size: 1.8em;
  }
  .page-game-hall-card-games__introduction p {
    font-size: 1em;
  }
}

@media (max-width: 576px) {
  .page-game-hall-card-games__hero-title {
    font-size: 1.8em;
  }
  .page-game-hall-card-games__hero-subtitle {
    font-size: 0.9em;
  }
  .page-game-hall-card-games__section-title {
    font-size: 1.5em;
  }
  .page-game-hall-card-games__game-grid, .page-game-hall-card-games__benefits-grid, .page-game-hall-card-games__how-to-start ol {
    grid-template-columns: 1fr;
  }
  .page-game-hall-card-games__btn {
    width: 100%;
  }
  .page-game-hall-card-games__faq-question {
    font-size: 1.1em;
  }
  .page-game-hall-card-games__faq-answer {
    font-size: 0.9em;
  }
}