/* style/blog-u888-latest-promotions.css */

:root {
  --page-primary-color: #11A84E;
  --page-secondary-color: #22C768;
  --page-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-card-bg: #11271B;
  --page-background: #08160F;
  --page-text-main: #F2FFF6;
  --page-text-secondary: #A7D9B8;
  --page-border-color: #2E7A4E;
  --page-glow-color: #57E38D;
  --page-gold-color: #F2C14E;
  --page-divider-color: #1E3A2A;
  --page-deep-green: #0A4B2C;
}

.page-blog-u888-latest-promotions {
  color: var(--page-text-main);
  background-color: var(--page-background);
}

.page-blog-u888-latest-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* body already handles --header-offset */
  background-color: var(--page-background);
}

.page-blog-u888-latest-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
}

.page-blog-u888-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-u888-latest-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 30px 20px;
  margin-top: -150px; /* Pull content up over image slightly for visual flow */
  background-color: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-blog-u888-latest-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-blog-u888-latest-promotions__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--page-text-main);
  margin-bottom: 30px;
}

.page-blog-u888-latest-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-button-gradient);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-blog-u888-latest-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-blog-u888-latest-promotions__content-section,
.page-blog-u888-latest-promotions__promotions-grid,
.page-blog-u888-latest-promotions__guide-section,
.page-blog-u888-latest-promotions__games-section,
.page-blog-u888-latest-promotions__tips-section,
.page-blog-u888-latest-promotions__faq-section,
.page-blog-u888-latest-promotions__cta-final {
  padding: 60px 0;
}

.page-blog-u888-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-u888-latest-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--page-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-blog-u888-latest-promotions__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-text-main);
}

.page-blog-u888-latest-promotions__text-block--centered {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-u888-latest-promotions__inline-link {
  color: var(--page-secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-blog-u888-latest-promotions__inline-link:hover {
  color: var(--page-gold-color);
  text-decoration: underline;
}

/* Promotions Grid */
.page-blog-u888-latest-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-u888-latest-promotions__card {
  background-color: var(--page-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--page-border-color);
}

.page-blog-u888-latest-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-u888-latest-promotions__card-title {
  font-size: 1.4rem;
  color: var(--page-gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-u888-latest-promotions__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-blog-u888-latest-promotions__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: var(--page-secondary-color);
  border: 2px solid var(--page-secondary-color);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-blog-u888-latest-promotions__btn-secondary:hover {
  background-color: var(--page-secondary-color);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(34, 199, 104, 0.4);
}

/* Guide Section */
.page-blog-u888-latest-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-blog-u888-latest-promotions__light-bg .page-blog-u888-latest-promotions__section-title,
.page-blog-u888-latest-promotions__light-bg .page-blog-u888-latest-promotions__inline-link {
  color: var(--page-primary-color);
}

.page-blog-u888-latest-promotions__light-bg .page-blog-u888-latest-promotions__text-block {
  color: #333333;
}

.page-blog-u888-latest-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-u888-latest-promotions__step-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.page-blog-u888-latest-promotions__step-number {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background-color: var(--page-primary-color);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 10px rgba(17, 168, 78, 0.4);
}

.page-blog-u888-latest-promotions__step-title {
  font-size: 1.3rem;
  color: var(--page-primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-u888-latest-promotions__step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
}

.page-blog-u888-latest-promotions__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-blog-u888-latest-promotions__cta-button--full-width {
  width: auto;
  min-width: 250px;
}

/* Games Section */
.page-blog-u888-latest-promotions__dark-bg {
  background-color: var(--page-background);
  color: var(--page-text-main);
}

.page-blog-u888-latest-promotions__dark-bg .page-blog-u888-latest-promotions__section-title,
.page-blog-u888-latest-promotions__dark-bg .page-blog-u888-latest-promotions__inline-link {
  color: var(--page-gold-color);
}

.page-blog-u888-latest-promotions__dark-bg .page-blog-u888-latest-promotions__text-block {
  color: var(--page-text-main);
}

.page-blog-u888-latest-promotions__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-u888-latest-promotions__game-card {
  background-color: var(--page-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--page-border-color);
}

.page-blog-u888-latest-promotions__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-blog-u888-latest-promotions__game-title {
  font-size: 1.4rem;
  color: var(--page-gold-color);
  margin-bottom: 10px;
  font-weight: 600;
  padding: 0 15px;
}

.page-blog-u888-latest-promotions__game-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-text-secondary);
  flex-grow: 1;
  padding: 0 15px;
}

/* Tips Section */
.page-blog-u888-latest-promotions__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-u888-latest-promotions__tip-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
}

.page-blog-u888-latest-promotions__tip-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-blog-u888-latest-promotions__tip-title {
  font-size: 1.3rem;
  color: var(--page-primary-color);
  margin-bottom: 15px;
  font-weight: 600;
  padding: 0 15px;
}

.page-blog-u888-latest-promotions__tip-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  padding: 0 15px;
}

/* FAQ Section */
.page-blog-u888-latest-promotions__faq-list {
  margin-top: 40px;
}

.page-blog-u888-latest-promotions__faq-item {
  background-color: var(--page-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--page-border-color);
  overflow: hidden;
}

.page-blog-u888-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-u888-latest-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-u888-latest-promotions__faq-question:hover {
  background-color: rgba(var(--page-primary-color), 0.1);
}

.page-blog-u888-latest-promotions__faq-qtext {
  flex-grow: 1;
  color: var(--page-text-main);
}

.page-blog-u888-latest-promotions__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--page-gold-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-u888-latest-promotions__faq-item[open] .page-blog-u888-latest-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-u888-latest-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-text-secondary);
}

/* Final CTA Section */
.page-blog-u888-latest-promotions__cta-final {
  text-align: center;
  padding: 80px 0;
  background-color: var(--page-deep-green);
}

.page-blog-u888-latest-promotions__cta-final .page-blog-u888-latest-promotions__section-title {
  color: var(--page-gold-color);
  margin-bottom: 30px;
}

.page-blog-u888-latest-promotions__cta-final .page-blog-u888-latest-promotions__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-u888-latest-promotions__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-blog-u888-latest-promotions__hero-section {
    padding-bottom: 30px;
  }

  .page-blog-u888-latest-promotions__hero-content {
    margin-top: -80px;
    padding: 20px;
  }

  .page-blog-u888-latest-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-blog-u888-latest-promotions__description {
    font-size: 1rem;
  }

  .page-blog-u888-latest-promotions__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .page-blog-u888-latest-promotions__content-section,
  .page-blog-u888-latest-promotions__promotions-grid,
  .page-blog-u888-latest-promotions__guide-section,
  .page-blog-u888-latest-promotions__games-section,
  .page-blog-u888-latest-promotions__tips-section,
  .page-blog-u888-latest-promotions__faq-section,
  .page-blog-u888-latest-promotions__cta-final {
    padding: 40px 0;
  }

  .page-blog-u888-latest-promotions__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-u888-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-u888-latest-promotions__card-image,
  .page-blog-u888-latest-promotions__game-image,
  .page-blog-u888-latest-promotions__tip-image {
    height: auto !important;
    min-height: 200px !important; /* Ensure images are not too small */
  }

  .page-blog-u888-latest-promotions__card,
  .page-blog-u888-latest-promotions__step-item,
  .page-blog-u888-latest-promotions__game-card,
  .page-blog-u888-latest-promotions__tip-card {
    padding: 20px !important;
  }

  .page-blog-u888-latest-promotions__cta-button,
  .page-blog-u888-latest-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog-u888-latest-promotions__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-u888-latest-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-blog-u888-latest-promotions__faq-answer {
    padding: 0 20px 15px 20px;
  }

  .page-blog-u888-latest-promotions__hero-content {
    margin-top: -50px; /* Adjust for smaller screens */
  }
}

@media (max-width: 480px) {
  .page-blog-u888-latest-promotions__hero-content {
    margin-top: -30px;
  }

  .page-blog-u888-latest-promotions__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .page-blog-u888-latest-promotions__description {
    font-size: 0.9rem;
  }
}