/* style/gambling-glossary.css */
.page-gambling-glossary {
  font-family: 'Arial', sans-serif;
  color: #1A237E; /* Main text color, dark blue */
  line-height: 1.6;
}

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

.page-gambling-glossary__hero {
  background: linear-gradient(135deg, #1A237E 0%, #3f479d 100%); /* Dark blue gradient */
  color: #FFD700; /* Gold text for contrast */
  padding: 100px 0;
  text-align: center;
}

.page-gambling-glossary__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-gambling-glossary__subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #FFD700; /* Gold */
}

.page-gambling-glossary__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  margin: 10px;
}

.page-gambling-glossary__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1A237E; /* Dark blue */
  border: 2px solid #FFD700;
}

.page-gambling-glossary__button--primary:hover {
  background-color: #e5c100;
  color: #111a63;
  transform: translateY(-2px);
}

.page-gambling-glossary__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-gambling-glossary__button--secondary:hover {
  background-color: #FFD700;
  color: #1A237E;
  transform: translateY(-2px);
}

.page-gambling-glossary__button--link {
  background-color: #1A237E;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-gambling-glossary__button--link:hover {
  background-color: #FFD700;
  color: #1A237E;
}

.page-gambling-glossary__introduction,
.page-gambling-glossary__terms-basic,
.page-gambling-glossary__terms-advanced,
.page-gambling-glossary__platform-terms,
.page-gambling-glossary__qq88-commitment,
.page-gambling-glossary__related-articles,
.page-gambling-glossary__cta {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background */
}

.page-gambling-glossary__introduction p,
.page-gambling-glossary__qq88-commitment p,
.page-gambling-glossary__qq88-commitment li,
.page-gambling-glossary__cta p {
  color: #333;
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-gambling-glossary__heading {
  font-size: 2.5em;
  color: #1A237E; /* Dark blue */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-gambling-glossary__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold accent */
  border-radius: 2px;
}

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

.page-gambling-glossary__term-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #FFD700; /* Gold accent */
}

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

.page-gambling-glossary__term-title {
  font-size: 1.5em;
  color: #1A237E; /* Dark blue */
  margin-bottom: 10px;
}

.page-gambling-glossary__term-description {
  font-size: 1em;
  color: #555;
}

.page-gambling-glossary__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-gambling-glossary__image-half-width {
  display: block;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-gambling-glossary__qq88-commitment ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gambling-glossary__qq88-commitment li {
  background-color: #e8eaf6; /* Lighter shade of main color */
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #1A237E;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-gambling-glossary__qq88-commitment li::before {
  content: '✔';
  color: #FFD700; /* Gold checkmark */
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2em;
}

.page-gambling-glossary__related-articles {
  background-color: #eef1f5;
}

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

.page-gambling-glossary__detail-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 5px solid #1A237E; /* Dark blue accent */
}

.page-gambling-glossary__detail-title {
  font-size: 1.6em;
  color: #1A237E; /* Dark blue */
  margin-bottom: 10px;
}

.page-gambling-glossary__detail-title a {
  color: #1A237E;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-gambling-glossary__detail-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-gambling-glossary__cta {
  text-align: center;
  background-color: #1A237E; /* Dark blue background */
  color: #FFD700; /* Gold text */
}

.page-gambling-glossary__cta .page-gambling-glossary__heading {
  color: #FFD700; /* Gold */
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-gambling-glossary__title {
    font-size: 2.5em;
  }

  .page-gambling-glossary__subtitle {
    font-size: 1.2em;
  }

  .page-gambling-glossary__heading {
    font-size: 2em;
  }

  .page-gambling-glossary__grid,
  .page-gambling-glossary__detail-list {
    grid-template-columns: 1fr;
  }

  .page-gambling-glossary__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-gambling-glossary__title {
    font-size: 2em;
  }

  .page-gambling-glossary__subtitle {
    font-size: 1em;
  }

  .page-gambling-glossary__heading {
    font-size: 1.8em;
  }

  .page-gambling-glossary__term-title,
  .page-gambling-glossary__detail-title {
    font-size: 1.3em;
  }

  .page-gambling-glossary__button {
    padding: 10px 20px;
    font-size: 0.9em;
    margin: 5px;
  }
}