/* style/nuw88-promotions.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f8f9fa;
  --background-dark: #0A192F;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.05);
  --border-color: #e0e0e0;
}

.page-nuw88-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light); /* Default light background for main content sections */
}

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

.page-nuw88-promotions__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-nuw88-promotions__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-nuw88-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-nuw88-promotions__text-block {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: inherit;
}

/* Hero Section */
.page-nuw88-promotions__hero-section {
  padding: 120px 0 80px 0; /* Desktop padding-top to clear fixed header */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-nuw88-promotions__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-nuw88-promotions__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-nuw88-promotions__hero-cta {
  margin-top: 30px;
}

/* Buttons */
.page-nuw88-promotions__btn-primary,
.page-nuw88-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-nuw88-promotions__btn-primary {
  background-color: var(--secondary-color);
  color: var(--background-dark);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-nuw88-promotions__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-nuw88-promotions__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  margin-left: 20px;
}

.page-nuw88-promotions__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-dark);
  transform: translateY(-2px);
}

.page-nuw88-promotions__btn-text {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-nuw88-promotions__btn-text:hover {
  background-color: rgba(255, 215, 0, 0.1);
  color: #e6c200;
}

/* Why Choose Section */
.page-nuw88-promotions__why-choose-section {
  padding: 80px 0;
}

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

.page-nuw88-promotions__feature-card {
  background-color: var(--card-bg-dark-mode);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-nuw88-promotions__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-nuw88-promotions__feature-image {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-nuw88-promotions__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-nuw88-promotions__card-description {
  font-size: 16px;
  color: var(--text-dark);
}

/* Types of Promotions Section */
.page-nuw88-promotions__types-section {
  padding: 80px 0;
}

.page-nuw88-promotions__promo-category {
  background-color: var(--card-bg-dark-mode);
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-nuw88-promotions__promo-category:last-child {
  margin-bottom: 0;
}

.page-nuw88-promotions__promo-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-nuw88-promotions__promo-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.85);
}

.page-nuw88-promotions__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-nuw88-promotions__product-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px auto;
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-nuw88-promotions__product-list li {
  display: flex;
  align-items: center;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 8px;
  flex: 1 1 calc(50% - 20px);
  min-width: 280px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-nuw88-promotions__product-icon {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  object-fit: contain;
  border-radius: 5px;
}

.page-nuw88-promotions__product-link {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-nuw88-promotions__product-link strong {
  color: var(--secondary-color);
}

.page-nuw88-promotions__product-link:hover {
  color: var(--secondary-color);
}

/* How to Claim Section */
.page-nuw88-promotions__how-to-claim-section {
  padding: 80px 0;
}

.page-nuw88-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-nuw88-promotions__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  position: relative;
  padding-top: 60px;
}

.page-nuw88-promotions__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--secondary-color);
  color: var(--background-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid var(--background-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-nuw88-promotions__step-card .page-nuw88-promotions__card-title {
  color: var(--primary-color);
}

.page-nuw88-promotions__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Terms Section */
.page-nuw88-promotions__terms-section {
  padding: 80px 0;
}

.page-nuw88-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-nuw88-promotions__terms-list li {
  font-size: 17px;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}

.page-nuw88-promotions__terms-list li::before {
  content: '•';
  color: var(--secondary-color);
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Responsible Gambling Section */
.page-nuw88-promotions__responsible-gambling-section {
  padding: 80px 0;
  text-align: center;
}

/* Final CTA Section */
.page-nuw88-promotions__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

/* General Image Styles for Responsiveness */
.page-nuw88-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nuw88-promotions__hero-title {
    font-size: 40px;
  }
  .page-nuw88-promotions__section-title {
    font-size: 30px;
  }
  .page-nuw88-promotions__hero-description,
  .page-nuw88-promotions__text-block,
  .page-nuw88-promotions__card-description,
  .page-nuw88-promotions__promo-description,
  .page-nuw88-promotions__product-list li,
  .page-nuw88-promotions__terms-list li {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-nuw88-promotions__hero-section {
    padding: 100px 0 60px 0 !important; /* Mobile padding-top to clear fixed header */
  }

  .page-nuw88-promotions__hero-title {
    font-size: 32px;
  }

  .page-nuw88-promotions__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-nuw88-promotions__hero-description,
  .page-nuw88-promotions__text-block,
  .page-nuw88-promotions__card-description,
  .page-nuw88-promotions__promo-description,
  .page-nuw88-promotions__product-list li,
  .page-nuw88-promotions__terms-list li {
    font-size: 15px;
  }

  .page-nuw88-promotions__btn-primary,
  .page-nuw88-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }

  .page-nuw88-promotions__hero-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .page-nuw88-promotions__grid,
  .page-nuw88-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-nuw88-promotions__feature-card,
  .page-nuw88-promotions__step-card,
  .page-nuw88-promotions__promo-category {
    padding: 25px;
  }

  .page-nuw88-promotions__feature-image {
    height: 150px;
  }

  .page-nuw88-promotions__card-title {
    font-size: 20px;
  }

  .page-nuw88-promotions__promo-title {
    font-size: 26px;
  }

  .page-nuw88-promotions__product-list li {
    flex: 1 1 100%;
  }

  /* Ensure all images are responsive and don't overflow */
  .page-nuw88-promotions img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-nuw88-promotions__container,
  .page-nuw88-promotions__grid,
  .page-nuw88-promotions__steps-grid,
  .page-nuw88-promotions__promo-category,
  .page-nuw88-promotions__product-list,
  .page-nuw88-promotions__terms-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-nuw88-promotions__hero-title {
    font-size: 28px;
  }
  .page-nuw88-promotions__section-title {
    font-size: 22px;
  }
  .page-nuw88-promotions__promo-title {
    font-size: 22px;
  }
  .page-nuw88-promotions__step-number {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .page-nuw88-promotions__hero-description,
  .page-nuw88-promotions__text-block,
  .page-nuw88-promotions__card-description,
  .page-nuw88-promotions__promo-description,
  .page-nuw88-promotions__product-list li,
  .page-nuw88-promotions__terms-list li {
    font-size: 14px;
  }
  .page-nuw88-promotions__product-icon {
    width: 40px;
    height: 40px;
  }
}