/* style/resources-lucky8-game-types.css */
.page-resources-lucky8-game-types {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Default text color for dark background */
  background-color: #1A1A2E; /* Main background color */
  line-height: 1.6;
}

.page-resources-lucky8-game-types__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1A1A2E 0%, #3a3a5e 100%);
  position: relative;
  overflow: hidden;
}

.page-resources-lucky8-game-types__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-resources-lucky8-game-types__hero h1 {
  font-size: 3em;
  color: #E0B95B; /* Auxiliary color for headings */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-lucky8-game-types__hero p {
  font-size: 1.2em;
  color: #e5e5d1; /* Light contrast for body text */
  margin-bottom: 30px;
}

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

.page-resources-lucky8-game-types__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-lucky8-game-types__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #21213b; /* Slightly lighter dark background for sections */
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-lucky8-game-types__section h2 {
  font-size: 2.5em;
  color: #E0B95B; /* Auxiliary color for headings */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-resources-lucky8-game-types__section h3 {
  font-size: 1.8em;
  color: #E0B95B;
  margin-bottom: 15px;
}

.page-resources-lucky8-game-types__section p {
  color: #e5e5d1;
  margin-bottom: 20px;
}

.page-resources-lucky8-game-types__section ul,
.page-resources-lucky8-game-types__section ol {
  color: #e5e5d1;
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-lucky8-game-types__section ul li,
.page-resources-lucky8-game-types__section ol li {
  margin-bottom: 10px;
}

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

.page-resources-lucky8-game-types__game-card {
  background-color: #1A1A2E;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-lucky8-game-types__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-resources-lucky8-game-types__game-card-image {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid #E0B95B;
}

.page-resources-lucky8-game-types__game-card h3 {
  color: #E0B95B;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-resources-lucky8-game-types__game-card p {
  color: #e5e5d1;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-resources-lucky8-game-types__game-card ul {
  text-align: left;
  font-size: 0.9em;
  margin-top: 15px;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-resources-lucky8-game-types__game-card ul li {
  margin-bottom: 5px;
  color: #ccc;
}

.page-resources-lucky8-game-types__button {
  display: inline-block;
  background-color: #E0B95B; /* Auxiliary color for buttons */
  color: #1A1A2E; /* Main color for button text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

.page-resources-lucky8-game-types__button:hover {
  background-color: #ffda6a; /* Lighter shade for hover */
  transform: translateY(-2px);
}

.page-resources-lucky8-game-types__button--primary {
  font-size: 1.1em;
  padding: 15px 30px;
}

.page-resources-lucky8-game-types__why-choose {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.page-resources-lucky8-game-types__why-choose-content {
  max-width: 800px;
}

.page-resources-lucky8-game-types__why-choose ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-resources-lucky8-game-types__why-choose ul li {
  background-color: #1A1A2E;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #e5e5d1;
  font-size: 1.1em;
  border-left: 5px solid #E0B95B;
}

.page-resources-lucky8-game-types__why-choose ul li strong {
  color: #E0B95B;
}

.page-resources-lucky8-game-types__why-choose-image-wrapper {
  max-width: 500px;
  width: 100%;
}

.page-resources-lucky8-game-types__why-choose-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid #E0B95B;
}

.page-resources-lucky8-game-types__how-to-start ol {
  list-style-type: decimal;
  padding-left: 25px;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-resources-lucky8-game-types__how-to-start ol li {
  background-color: #1A1A2E;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #e5e5d1;
  font-size: 1.1em;
  border-left: 5px solid #E0B95B;
}

.page-resources-lucky8-game-types__how-to-start ol li strong {
  color: #E0B95B;
}

.page-resources-lucky8-game-types__faq-item {
  background-color: #1A1A2E;
  border: 1px solid #E0B95B;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-resources-lucky8-game-types__faq-question {
  color: #E0B95B;
  font-size: 1.3em;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-resources-lucky8-game-types__faq-answer {
  color: #e5e5d1;
  font-size: 1em;
  display: none; /* Hidden by default, toggled by JS */
}

.page-resources-lucky8-game-types__faq-item.active .page-resources-lucky8-game-types__faq-answer {
  display: block;
}

.page-resources-lucky8-game-types__cta-banner {
  background: linear-gradient(90deg, #E0B95B 0%, #ffda6a 100%);
  padding: 50px 20px;
  text-align: center;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-resources-lucky8-game-types__cta-content h2 {
  color: #1A1A2E;
  font-size: 2.8em;
  margin-bottom: 15px;
}

.page-resources-lucky8-game-types__cta-content p {
  color: #333;
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-resources-lucky8-game-types__cta-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-resources-lucky8-game-types__hero {
    flex-direction: row;
    text-align: left;
    padding: 100px 40px;
    justify-content: space-between;
  }

  .page-resources-lucky8-game-types__hero-content {
    text-align: left;
    max-width: 60%;
  }

  .page-resources-lucky8-game-types__hero h1 {
    font-size: 4em;
  }

  .page-resources-lucky8-game-types__hero p {
    font-size: 1.3em;
  }

  .page-resources-lucky8-game-types__hero-image-wrapper {
    position: relative;
    width: 35%;
    height: auto;
    opacity: 1;
    z-index: 1;
  }

  .page-resources-lucky8-game-types__hero-image {
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border: 3px solid #E0B95B;
  }

  .page-resources-lucky8-game-types__why-choose {
    flex-direction: row;
    text-align: left;
  }

  .page-resources-lucky8-game-types__why-choose-content {
    text-align: left;
    flex: 1;
  }

  .page-resources-lucky8-game-types__why-choose-image-wrapper {
    flex: 0 0 45%;
  }

  .page-resources-lucky8-game-types__cta-banner {
    flex-direction: row;
    justify-content: space-around;
    padding: 60px 40px;
  }

  .page-resources-lucky8-game-types__cta-content {
    text-align: left;
    max-width: 60%;
  }

  .page-resources-lucky8-game-types__cta-image {
    max-width: 350px;
  }
}

@media (max-width: 767px) {
  .page-resources-lucky8-game-types__hero h1 {
    font-size: 2.5em;
  }

  .page-resources-lucky8-game-types__hero p {
    font-size: 1em;
  }

  .page-resources-lucky8-game-types__hero-image-wrapper {
    opacity: 0.1;
  }

  .page-resources-lucky8-game-types__game-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-lucky8-game-types__section h2 {
    font-size: 2em;
  }

  .page-resources-lucky8-game-types__why-choose-image-wrapper {
    margin-top: 30px;
  }

  .page-resources-lucky8-game-types__cta-content h2 {
    font-size: 2em;
  }

  .page-resources-lucky8-game-types__cta-content p {
    font-size: 1em;
  }
}