.page-resources-go88-dice-game-tips {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Matches shared.css body background */
}

.page-resources-go88-dice-game-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #1A202C 0%, #0d0d0d 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-resources-go88-dice-game-tips__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources-go88-dice-game-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  line-height: 1.2;
}

.page-resources-go88-dice-game-tips__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-go88-dice-game-tips__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-go88-dice-game-tips__btn-primary,
.page-resources-go88-dice-game-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-go88-dice-game-tips__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-resources-go88-dice-game-tips__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-go88-dice-game-tips__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-go88-dice-game-tips__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-go88-dice-game-tips__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-go88-dice-game-tips__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(50%); /* Allowed for decorative background images */
}

.page-resources-go88-dice-game-tips__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #ffffff;
  line-height: 1.8;
}

.page-resources-go88-dice-game-tips__section-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-resources-go88-dice-game-tips__sub-section-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 10px;
}

.page-resources-go88-dice-game-tips__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-go88-dice-game-tips__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-go88-dice-game-tips__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-resources-go88-dice-game-tips__list-item strong {
  color: #FFD700;
}

.page-resources-go88-dice-game-tips__image-container {
  margin: 40px auto;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-go88-dice-game-tips__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  display: block;
}

.page-resources-go88-dice-game-tips__video-section {
  margin: 60px auto;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-go88-dice-game-tips__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  background-color: #000;
}

.page-resources-go88-dice-game-tips__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-resources-go88-dice-game-tips__video-caption {
  font-size: 1em;
  color: #f0f0f0;
  margin-top: 15px;
}

.page-resources-go88-dice-game-tips__faq-container {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding-top: 20px;
}

.page-resources-go88-dice-game-tips__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-go88-dice-game-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1A202C;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-resources-go88-dice-game-tips__faq-question:hover {
  background-color: #2a303c;
}

.page-resources-go88-dice-game-tips__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #FFD700;
}

.page-resources-go88-dice-game-tips__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-resources-go88-dice-game-tips__faq-item.active .page-resources-go88-dice-game-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-go88-dice-game-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-go88-dice-game-tips__faq-item.active .page-resources-go88-dice-game-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-go88-dice-game-tips__cta-section {
  background: linear-gradient(90deg, #FFD700 0%, #e6c200 100%);
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 80px;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  color: #1A202C; /* Dark text for light background */
}

.page-resources-go88-dice-game-tips__cta-title {
  font-size: 2.8em;
  color: #1A202C;
  margin-bottom: 20px;
}

.page-resources-go88-dice-game-tips__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #333333;
}

.page-resources-go88-dice-game-tips__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-go88-dice-game-tips__cta-buttons .page-resources-go88-dice-game-tips__btn-primary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #1A202C;
}

.page-resources-go88-dice-game-tips__cta-buttons .page-resources-go88-dice-game-tips__btn-primary:hover {
  background-color: #333333;
  color: #FFD700;
  border-color: #333333;
}

.page-resources-go88-dice-game-tips__cta-buttons .page-resources-go88-dice-game-tips__btn-secondary {
  background-color: transparent;
  color: #1A202C;
  border: 2px solid #1A202C;
}

.page-resources-go88-dice-game-tips__cta-buttons .page-resources-go88-dice-game-tips__btn-secondary:hover {
  background-color: #1A202C;
  color: #FFD700;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-go88-dice-game-tips__hero-title {
    font-size: 3em;
  }
  .page-resources-go88-dice-game-tips__section-title {
    font-size: 2.2em;
  }
  .page-resources-go88-dice-game-tips__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-go88-dice-game-tips {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-go88-dice-game-tips__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-resources-go88-dice-game-tips__hero-title {
    font-size: 2.5em;
  }
  .page-resources-go88-dice-game-tips__hero-description {
    font-size: 1em;
  }
  .page-resources-go88-dice-game-tips__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-go88-dice-game-tips__btn-primary,
  .page-resources-go88-dice-game-tips__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-go88-dice-game-tips__content-area {
    padding: 40px 15px;
  }
  .page-resources-go88-dice-game-tips__section-title {
    font-size: 2em;
  }
  .page-resources-go88-dice-game-tips__sub-section-title {
    font-size: 1.5em;
  }
  .page-resources-go88-dice-game-tips__paragraph,
  .page-resources-go88-dice-game-tips__list-item {
    font-size: 0.95em;
  }
  .page-resources-go88-dice-game-tips__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-go88-dice-game-tips__image-container,
  .page-resources-go88-dice-game-tips__video-section,
  .page-resources-go88-dice-game-tips__video-wrapper,
  .page-resources-go88-dice-game-tips__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-go88-dice-game-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-go88-dice-game-tips__faq-question {
    padding: 15px 20px;
  }
  .page-resources-go88-dice-game-tips__faq-title {
    font-size: 1.1em;
  }
  .page-resources-go88-dice-game-tips__faq-answer {
    padding: 0 20px;
  }
  .page-resources-go88-dice-game-tips__faq-item.active .page-resources-go88-dice-game-tips__faq-answer {
    padding: 10px 20px;
  }
  .page-resources-go88-dice-game-tips__cta-title {
    font-size: 2em;
  }
  .page-resources-go88-dice-game-tips__cta-description {
    font-size: 1em;
  }
  .page-resources-go88-dice-game-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}