.page-resources-tg77-slot-game-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-tg77-slot-game-guide__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  padding-bottom: 40px;
}

.page-resources-tg77-slot-game-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-resources-tg77-slot-game-guide__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.page-resources-tg77-slot-game-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 800px;
  padding: 20px;
  z-index: 10;
}

.page-resources-tg77-slot-game-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources-tg77-slot-game-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-resources-tg77-slot-game-guide__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-tg77-slot-game-guide__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-resources-tg77-slot-game-guide__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-tg77-slot-game-guide__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-resources-tg77-slot-game-guide__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-tg77-slot-game-guide__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-resources-tg77-slot-game-guide__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-tg77-slot-game-guide__button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-resources-tg77-slot-game-guide__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-resources-tg77-slot-game-guide__button--secondary:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}

.page-resources-tg77-slot-game-guide__content-area {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-tg77-slot-game-guide__toc {
  flex: 0 0 250px;
  padding: 20px;
  background-color: #F8F8F8;
  border-radius: 8px;
  align-self: flex-start;
  position: sticky;
  top: calc(var(--header-offset, 120px) + 20px); /* Adjust sticky position */
}

.page-resources-tg77-slot-game-guide__toc-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #000000;
}

.page-resources-tg77-slot-game-guide__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-tg77-slot-game-guide__toc-list-item a {
  display: block;
  padding: 8px 0;
  color: #333333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-resources-tg77-slot-game-guide__toc-list-item a:hover {
  color: #FCBC45;
}

.page-resources-tg77-slot-game-guide__article {
  flex: 1;
  max-width: 800px; /* Content width control */
}

.page-resources-tg77-slot-game-guide__article-heading {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #000000;
  line-height: 1.3;
}

.page-resources-tg77-slot-game-guide__article-heading:first-of-type {
  margin-top: 0;
}

.page-resources-tg77-slot-game-guide__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-tg77-slot-game-guide__article-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-tg77-slot-game-guide__article-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-resources-tg77-slot-game-guide__article-ordered-list {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-resources-tg77-slot-game-guide__article-list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-tg77-slot-game-guide__blockquote {
  background-color: #FFFBE6; /* Light yellow for quote */
  border-left: 5px solid #FCBC45;
  padding: 20px 25px;
  margin: 30px 0;
  border-radius: 4px;
  font-style: italic;
  color: #555555;
}

.page-resources-tg77-slot-game-guide__blockquote-text {
  margin: 0;
  font-size: 1.1em;
}

.page-resources-tg77-slot-game-guide__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-tg77-slot-game-guide__link:hover {
  text-decoration: underline;
}

.page-resources-tg77-slot-game-guide__faq-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-resources-tg77-slot-game-guide__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-tg77-slot-game-guide__faq-answer {
  font-size: 1em;
  color: #555555;
  margin-bottom: 0;
}

.page-resources-tg77-slot-game-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-tg77-slot-game-guide__related-resources {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #EEEEEE;
}

.page-resources-tg77-slot-game-guide__related-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-tg77-slot-game-guide__related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.page-resources-tg77-slot-game-guide__related-list li {
  margin-bottom: 10px;
}

.page-resources-tg77-slot-game-guide__related-link {
  color: #FCBC45;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.2s ease;
}

.page-resources-tg77-slot-game-guide__related-link:hover {
  text-decoration: underline;
  color: #e0a53b;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-tg77-slot-game-guide__content-area {
    flex-direction: column;
    gap: 30px;
  }

  .page-resources-tg77-slot-game-guide__toc {
    position: static;
    width: auto;
    flex: none;
  }

  .page-resources-tg77-slot-game-guide__article {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-tg77-slot-game-guide__hero-title {
    font-size: 2.5em;
  }

  .page-resources-tg77-slot-game-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-tg77-slot-game-guide__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-tg77-slot-game-guide__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-resources-tg77-slot-game-guide__article-heading {
    font-size: 1.8em;
  }

  .page-resources-tg77-slot-game-guide__article-paragraph,
  .page-resources-tg77-slot-game-guide__article-list-item,
  .page-resources-tg77-slot-game-guide__blockquote-text,
  .page-resources-tg77-slot-game-guide__faq-question,
  .page-resources-tg77-slot-game-guide__faq-answer {
    font-size: 0.95em;
  }

  .page-resources-tg77-slot-game-guide__hero-image,
  .page-resources-tg77-slot-game-guide__article-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure content images are responsive and don't overflow */
  .page-resources-tg77-slot-game-guide img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-tg77-slot-game-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-tg77-slot-game-guide__hero-description {
    font-size: 0.9em;
  }

  .page-resources-tg77-slot-game-guide__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-tg77-slot-game-guide__hero-content {
    padding: 15px;
  }
}