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

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

.page-blog-u888-latest-promotions {
  background-color: var(--u888-background);
  color: var(--u888-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-blog-u888-latest-promotions__text-center {
  text-align: center;
}

.page-blog-u888-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* body handles --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-blog-u888-latest-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-blog-u888-latest-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-blog-u888-latest-promotions__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  color: var(--u888-text-main);
}

.page-blog-u888-latest-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--u888-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog-u888-latest-promotions__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--u888-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-u888-latest-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-u888-latest-promotions__btn-primary,
.page-blog-u888-latest-promotions__btn-secondary,
.page-blog-u888-latest-promotions__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-blog-u888-latest-promotions__btn-primary {
  background: var(--u888-button-gradient);
  color: #ffffff;
  border: 2px solid var(--u888-glow-color);
}

.page-blog-u888-latest-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-blog-u888-latest-promotions__btn-secondary {
  background-color: transparent;
  color: var(--u888-glow-color);
  border: 2px solid var(--u888-glow-color);
}

.page-blog-u888-latest-promotions__btn-secondary:hover {
  background-color: var(--u888-glow-color);
  color: var(--u888-background);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-blog-u888-latest-promotions__btn-link {
  background: none;
  color: var(--u888-glow-color);
  border: 1px solid transparent;
  padding: 8px 15px;
  font-size: 0.9rem;
}

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

.page-blog-u888-latest-promotions__section-title {
  font-size: 2.5rem;
  color: var(--u888-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-blog-u888-latest-promotions__introduction-section,
.page-blog-u888-latest-promotions__guide-section,
.page-blog-u888-latest-promotions__why-choose-section,
.page-blog-u888-latest-promotions__cta-section {
  padding: 60px 0;
  background-color: var(--u888-background);
  color: var(--u888-text-main);
}

.page-blog-u888-latest-promotions__promo-types-section,
.page-blog-u888-latest-promotions__terms-section,
.page-blog-u888-latest-promotions__faq-section {
  padding: 60px 0;
  background-color: var(--u888-card-bg);
  color: var(--u888-text-main);
}

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

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

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

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

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

.page-blog-u888-latest-promotions__promo-card-title,
.page-blog-u888-latest-promotions__feature-card-title {
  font-size: 1.5rem;
  color: var(--u888-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-u888-latest-promotions__promo-card-text,
.page-blog-u888-latest-promotions__feature-card-text {
  font-size: 0.95rem;
  color: var(--u888-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-u888-latest-promotions__step-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-blog-u888-latest-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-blog-u888-latest-promotions__step-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--u888-button-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-u888-latest-promotions__step-content {
  flex-grow: 1;
}

.page-blog-u888-latest-promotions__step-title {
  font-size: 1.6rem;
  color: var(--u888-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-blog-u888-latest-promotions__step-text {
  font-size: 1rem;
  color: var(--u888-text-secondary);
}

.page-blog-u888-latest-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-blog-u888-latest-promotions__terms-item {
  background-color: var(--u888-deep-green);
  border: 1px solid var(--u888-border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-u888-latest-promotions__terms-item-title {
  font-size: 1.4rem;
  color: var(--u888-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-blog-u888-latest-promotions__terms-item-text {
  font-size: 0.95rem;
  color: var(--u888-text-secondary);
}

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

.page-blog-u888-latest-promotions__faq-item {
  background-color: var(--u888-deep-green);
  border: 1px solid var(--u888-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-u888-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--u888-text-main);
  background-color: var(--u888-deep-green);
  border-bottom: 1px solid var(--u888-divider-color);
}

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

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

.page-blog-u888-latest-promotions__faq-qtext {
  flex-grow: 1;
}

.page-blog-u888-latest-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--u888-glow-color);
}

.page-blog-u888-latest-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--u888-text-secondary);
  background-color: var(--u888-card-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-u888-latest-promotions__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }
  .page-blog-u888-latest-promotions__section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-blog-u888-latest-promotions__hero-content {
    padding: 40px 15px;
  }
  .page-blog-u888-latest-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  .page-blog-u888-latest-promotions__description {
    font-size: 1rem;
  }
  .page-blog-u888-latest-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog-u888-latest-promotions__btn-primary,
  .page-blog-u888-latest-promotions__btn-secondary,
  .page-blog-u888-latest-promotions a[class*="button"],
  .page-blog-u888-latest-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-u888-latest-promotions__cta-buttons,
  .page-blog-u888-latest-promotions__button-group,
  .page-blog-u888-latest-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-blog-u888-latest-promotions__container,
  .page-blog-u888-latest-promotions__section,
  .page-blog-u888-latest-promotions__card,
  .page-blog-u888-latest-promotions__step-item,
  .page-blog-u888-latest-promotions__terms-item,
  .page-blog-u888-latest-promotions__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .page-blog-u888-latest-promotions__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-blog-u888-latest-promotions__promo-grid,
  .page-blog-u888-latest-promotions__feature-grid {
    gap: 20px;
  }
  .page-blog-u888-latest-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-blog-u888-latest-promotions__step-icon {
    margin-bottom: 10px;
  }
  .page-blog-u888-latest-promotions__step-title {
    font-size: 1.4rem;
  }
  .page-blog-u888-latest-promotions__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-blog-u888-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-u888-latest-promotions__section,
  .page-blog-u888-latest-promotions__card,
  .page-blog-u888-latest-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-u888-latest-promotions__hero-section,
  .page-blog-u888-latest-promotions__introduction-section,
  .page-blog-u888-latest-promotions__promo-types-section,
  .page-blog-u888-latest-promotions__guide-section,
  .page-blog-u888-latest-promotions__terms-section,
  .page-blog-u888-latest-promotions__why-choose-section,
  .page-blog-u888-latest-promotions__faq-section,
  .page-blog-u888-latest-promotions__cta-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-u888-latest-promotions__hero-section {
    padding-top: 10px !important;
  }
}