/* style/gambling-glossary.css */

.page-gambling-glossary {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #0A2239; /* Primary dark blue background */
}

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

.page-gambling-glossary__hero {
  background: linear-gradient(135deg, #0A2239 0%, #1a3e5d 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

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

.page-gambling-glossary__cta-button {
  display: inline-block;
  background-color: #DC143C; /* Accent dark red for CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #DC143C;
}

.page-gambling-glossary__cta-button:hover {
  background-color: #FFD700;
  color: #0A2239;
  transform: translateY(-3px);
  border-color: #FFD700;
}

.page-gambling-glossary__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-gambling-glossary__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gambling-glossary__section:last-of-type {
  border-bottom: none;
}

.page-gambling-glossary__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-gambling-glossary__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #DC143C;
  border-radius: 2px;
}

.page-gambling-glossary__intro-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #CCCCCC;
}

.page-gambling-glossary__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-gambling-glossary__content-grid:nth-child(even) {
    flex-direction: row-reverse;
}

.page-gambling-glossary__text-content {
  flex: 1;
}

.page-gambling-glossary__text-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #E0E0E0;
}

.page-gambling-glossary__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-gambling-glossary__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-gambling-glossary__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
  border-left: 5px solid #DC143C;
  padding-left: 15px;
}

.page-gambling-glossary__sub-title--mt {
    margin-top: 60px;
}

.page-gambling-glossary__highlight {
  color: #FFD700;
  font-weight: bold;
}

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

.page-gambling-glossary__card {
  background-color: #1a3e5d; /* Slightly lighter dark blue */
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-gambling-glossary__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-gambling-glossary__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gambling-glossary__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 15px 10px;
  flex-grow: 1;
}

.page-gambling-glossary__card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gambling-glossary__card-title a:hover {
  color: #DC143C;
}

.page-gambling-glossary__card-description {
  font-size: 0.95em;
  color: #CCCCCC;
  padding: 0 15px 20px;
  line-height: 1.6;
}

.page-gambling-glossary__card-button {
  display: inline-block;
  background-color: #DC143C;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-gambling-glossary__card-button:hover {
  background-color: #FFD700;
  color: #0A2239;
}

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

.page-gambling-glossary__term-item {
  background-color: #1a3e5d;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gambling-glossary__term-name {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-gambling-glossary__term-description {
  font-size: 1em;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-gambling-glossary__content-image {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-gambling-glossary__tip-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  max-width: 900px;
}

.page-gambling-glossary__tip-list li {
  background-color: #1a3e5d;
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gambling-glossary__list-icon {
  color: #FFD700;
  font-size: 1.8em;
  margin-right: 15px;
  line-height: 1;
}

.page-gambling-glossary__tip-list p {
  margin: 0;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-gambling-glossary__tip-list strong {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gambling-glossary__hero-title {
    font-size: 2.8em;
  }

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

  .page-gambling-glossary__content-grid {
    flex-direction: column;
  }

  .page-gambling-glossary__content-grid:nth-child(even) {
    flex-direction: column;
  }

  .page-gambling-glossary__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-gambling-glossary__terms-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-gambling-glossary__hero {
    padding: 80px 0;
  }

  .page-gambling-glossary__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-gambling-glossary__section {
    padding: 40px 0;
  }

  .page-gambling-glossary__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-gambling-glossary__intro-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-gambling-glossary__sub-title {
    font-size: 1.5em;
  }

  .page-gambling-glossary__card-title {
    font-size: 1.3em;
  }

  .page-gambling-glossary__card-description {
    font-size: 0.9em;
  }

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

  .page-gambling-glossary__term-description {
    font-size: 0.9em;
  }

  .page-gambling-glossary__tip-list li {
    padding: 15px 20px;
  }

  .page-gambling-glossary__list-icon {
    font-size: 1.5em;
    margin-right: 10px;
  }

  .page-gambling-glossary__tip-list p {
    font-size: 0.95em;
  }
}