.page-index-surewin-latest-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--surewin-text-main); /* Default text color, ensuring contrast with potential dark body bg */
  background-color: var(--bg-color); /* Inherited from shared.css */
}

/* Custom Colors from palette */
.page-index-surewin-latest-promotions {
  --surewin-primary: #11A84E;
  --surewin-secondary: #22C768;
  --surewin-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --surewin-card-bg: #11271B;
  --surewin-section-bg: #08160F; /* For darker sections */
  --surewin-text-main: #F2FFF6;
  --surewin-text-secondary: #A7D9B8;
  --surewin-border: #2E7A4E;
  --surewin-glow: #57E38D;
  --surewin-gold: #F2C14E;
  --surewin-divider: #1E3A2A;
  --surewin-deep-green: #0A4B2C;
  --surewin-primary-rgb: 17, 168, 78; /* RGB for #11A84E for rgba usage */
}

/* Base styles for sections and containers */
.page-index-surewin-latest-promotions__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-index-surewin-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 15px; /* Add some default horizontal padding */
}

.page-index-surewin-latest-promotions__section-title {
  font-size: 2.8em;
  color: var(--surewin-primary);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-surewin-latest-promotions__section-description {
  font-size: 1.1em;
  color: var(--surewin-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-index-surewin-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: var(--surewin-section-bg); /* Dark background for hero */
}

.page-index-surewin-latest-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

.page-index-surewin-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

.page-index-surewin-latest-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 15px;
  max-width: 900px;
  color: var(--surewin-text-main);
}

.page-index-surewin-latest-promotions__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
  color: var(--surewin-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-index-surewin-latest-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--surewin-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-surewin-latest-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  margin-top: 30px;
}

.page-index-surewin-latest-promotions__cta-buttons--center {
  margin-top: 40px;
}

/* Buttons */
.page-index-surewin-latest-promotions__btn-primary,
.page-index-surewin-latest-promotions__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;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-index-surewin-latest-promotions__btn-primary {
  background: var(--surewin-button-gradient);
  color: var(--surewin-text-main);
  border: 2px solid var(--surewin-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-surewin-latest-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-surewin-latest-promotions__btn-secondary {
  background-color: transparent;
  color: var(--surewin-primary);
  border: 2px solid var(--surewin-primary);
}

.page-index-surewin-latest-promotions__btn-secondary:hover {
  background-color: var(--surewin-primary);
  color: var(--surewin-text-main);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Card styles */
.page-index-surewin-latest-promotions__card {
  background-color: var(--surewin-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--surewin-text-secondary);
  border: 1px solid var(--surewin-border);
}

.page-index-surewin-latest-promotions__card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

/* Why Choose Section */
.page-index-surewin-latest-promotions__about-promotions {
  background-color: var(--surewin-section-bg);
  color: var(--surewin-text-main);
}
.page-index-surewin-latest-promotions__about-promotions .page-index-surewin-latest-promotions__section-title {
    color: var(--surewin-primary);
}
.page-index-surewin-latest-promotions__about-promotions .page-index-surewin-latest-promotions__section-description {
    color: var(--surewin-text-secondary);
}

.page-index-surewin-latest-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-surewin-latest-promotions__feature-icon {
  width: 100%; /* Ensure feature icons are responsive and fill card */
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

.page-index-surewin-latest-promotions__feature-title {
  font-size: 1.5em;
  color: var(--surewin-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-surewin-latest-promotions__feature-text {
  font-size: 1em;
  color: var(--surewin-text-secondary);
}

/* Promotion Types Section */
.page-index-surewin-latest-promotions__promotion-types {
  background-color: var(--bg-color); /* Use body background for this section */
}

.page-index-surewin-latest-promotions__promotion-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-surewin-latest-promotions__promotion-title {
  font-size: 1.6em;
  color: var(--surewin-primary);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-surewin-latest-promotions__promotion-text {
  font-size: 1em;
  color: var(--surewin-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* How to Claim Section */
.page-index-surewin-latest-promotions__how-to-claim {
  background-color: var(--surewin-section-bg);
  color: var(--surewin-text-main);
}
.page-index-surewin-latest-promotions__how-to-claim .page-index-surewin-latest-promotions__section-title {
    color: var(--surewin-primary);
}
.page-index-surewin-latest-promotions__how-to-claim .page-index-surewin-latest-promotions__section-description {
    color: var(--surewin-text-secondary);
}

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

.page-index-surewin-latest-promotions__step-card {
  text-align: center;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-index-surewin-latest-promotions__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surewin-button-gradient);
  color: var(--surewin-text-main);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid var(--surewin-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-surewin-latest-promotions__step-title {
  font-size: 1.4em;
  color: var(--surewin-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-surewin-latest-promotions__step-text {
  font-size: 1em;
  color: var(--surewin-text-secondary);
  margin-bottom: 20px;
}

/* Important Notes Section (Dark Background) */
.page-index-surewin-latest-promotions__important-notes {
  background-color: var(--surewin-deep-green); /* Use deep green for this section */
  color: var(--surewin-text-main);
  padding: 80px 20px;
}
.page-index-surewin-latest-promotions__important-notes .page-index-surewin-latest-promotions__section-title {
    color: var(--surewin-gold);
}
.page-index-surewin-latest-promotions__important-notes .page-index-surewin-latest-promotions__section-description {
    color: var(--surewin-text-secondary);
}

.page-index-surewin-latest-promotions__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-index-surewin-latest-promotions__notes-list li {
  background-color: var(--surewin-card-bg);
  border-left: 5px solid var(--surewin-primary);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--surewin-text-secondary);
  font-size: 1.05em;
}

.page-index-surewin-latest-promotions__notes-list li p {
    margin: 0;
    color: var(--surewin-text-secondary);
}
.page-index-surewin-latest-promotions__notes-list li strong {
    color: var(--surewin-text-main);
}


/* Games Overview Section */
.page-index-surewin-latest-promotions__games-overview {
  background-color: var(--bg-color); /* Use body background */
}

.page-index-surewin-latest-promotions__game-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-surewin-latest-promotions__game-card {
  text-align: center;
  padding: 20px;
}

.page-index-surewin-latest-promotions__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
}

.page-index-surewin-latest-promotions__game-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-surewin-latest-promotions__game-title a {
  color: var(--surewin-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-surewin-latest-promotions__game-title a:hover {
  color: var(--surewin-gold);
}

.page-index-surewin-latest-promotions__game-text {
  font-size: 0.95em;
  color: var(--surewin-text-secondary);
}

/* FAQ Section */
.page-index-surewin-latest-promotions__faq-section {
  background-color: var(--surewin-section-bg);
  color: var(--surewin-text-main);
}
.page-index-surewin-latest-promotions__faq-section .page-index-surewin-latest-promotions__section-title {
    color: var(--surewin-primary);
}
.page-index-surewin-latest-promotions__faq-section .page-index-surewin-latest-promotions__section-description {
    color: var(--surewin-text-secondary);
}

.page-index-surewin-latest-promotions__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-index-surewin-latest-promotions__faq-item {
  margin-bottom: 15px;
  background-color: var(--surewin-card-bg);
  border: 1px solid var(--surewin-border);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--surewin-text-secondary);
}

.page-index-surewin-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: var(--surewin-text-main);
  transition: background-color 0.3s ease;
}

.page-index-surewin-latest-promotions__faq-question:hover {
  background-color: rgba(var(--surewin-primary-rgb), 0.1); /* Using rgba for hover effect */
}

.page-index-surewin-latest-promotions__faq-qtext {
  flex-grow: 1;
}

.page-index-surewin-latest-promotions__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--surewin-primary);
}

.page-index-surewin-latest-promotions__faq-item[open] .page-index-surewin-latest-promotions__faq-toggle {
  content: "−";
}

.page-index-surewin-latest-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--surewin-text-secondary);
}

.page-index-surewin-latest-promotions__faq-answer p {
    margin: 0;
}

/* Final CTA Section (Dark Background) */
.page-index-surewin-latest-promotions__final-cta {
  background-color: var(--surewin-deep-green); /* Deep green background for final CTA */
  color: var(--surewin-text-main);
  padding: 80px 20px;
}
.page-index-surewin-latest-promotions__final-cta .page-index-surewin-latest-promotions__section-title {
    color: var(--surewin-gold);
}
.page-index-surewin-latest-promotions__final-cta .page-index-surewin-latest-promotions__section-description {
    color: var(--surewin-text-secondary);
    margin-bottom: 50px;
}
.page-index-surewin-latest-promotions__final-cta .page-index-surewin-latest-promotions__btn-primary {
    background: var(--surewin-button-gradient);
    border-color: var(--surewin-primary);
    color: var(--surewin-text-main);
}
.page-index-surewin-latest-promotions__final-cta .page-index-surewin-latest-promotions__btn-secondary {
    color: var(--surewin-primary);
    border-color: var(--surewin-primary);
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-surewin-latest-promotions__section-title {
    font-size: 2.2em;
  }
  .page-index-surewin-latest-promotions__main-title {
    font-size: clamp(2em, 4.5vw, 3.2em);
  }
  .page-index-surewin-latest-promotions__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-index-surewin-latest-promotions__section {
    padding: 40px 15px;
  }
  .page-index-surewin-latest-promotions__hero-section {
    padding-bottom: 40px;
  }
  .page-index-surewin-latest-promotions__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-index-surewin-latest-promotions__hero-content {
    padding: 0 10px;
  }
  .page-index-surewin-latest-promotions__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
    margin-bottom: 15px;
  }
  .page-index-surewin-latest-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-index-surewin-latest-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%; /* Ensure buttons take full width */
  }
  .page-index-surewin-latest-promotions__btn-primary,
  .page-index-surewin-latest-promotions__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important; /* Force full width for buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsiveness */
  .page-index-surewin-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-surewin-latest-promotions__section,
  .page-index-surewin-latest-promotions__card,
  .page-index-surewin-latest-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video responsiveness - general rule, though not explicitly used for video on this page */
  .page-index-surewin-latest-promotions video,
  .page-index-surewin-latest-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-surewin-latest-promotions__video-section,
  .page-index-surewin-latest-promotions__video-container,
  .page-index-surewin-latest-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-index-surewin-latest-promotions__video-section {
    padding-top: 10px !important; /* Small top padding, not --header-offset */
  }

  .page-index-surewin-latest-promotions__features-grid,
  .page-index-surewin-latest-promotions__promotion-card-grid,
  .page-index-surewin-latest-promotions__steps-grid,
  .page-index-surewin-latest-promotions__game-categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-surewin-latest-promotions__step-card {
    padding-top: 50px;
  }
  .page-index-surewin-latest-promotions__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.5em;
  }
  .page-index-surewin-latest-promotions__game-image {
    height: 180px; /* Adjust height for mobile */
  }
  .page-index-surewin-latest-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-index-surewin-latest-promotions__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-surewin-latest-promotions__section-title {
    font-size: 1.8em;
  }
  .page-index-surewin-latest-promotions__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em);
  }
  .page-index-surewin-latest-promotions__hero-image-wrapper {
    max-height: 300px;
  }
  .page-index-surewin-latest-promotions__hero-description {
    font-size: 0.95em;
  }
  .page-index-surewin-latest-promotions__btn-primary,
  .page-index-surewin-latest-promotions__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px;
  }
}

/* Color contrast enforcement - general rules */
.page-index-surewin-latest-promotions p,
.page-index-surewin-latest-promotions li {
  color: var(--surewin-text-secondary); /* Default for paragraphs and list items */
}
.page-index-surewin-latest-promotions h2,
.page-index-surewin-latest-promotions h3 {
    color: var(--surewin-text-main); /* Default for headings */
}
/* Ensure text in dark sections is light */
.page-index-surewin-latest-promotions__dark-section p,
.page-index-surewin-latest-promotions__dark-section li {
    color: var(--surewin-text-secondary);
}
.page-index-surewin-latest-promotions__dark-section h2,
.page-index-surewin-latest-promotions__dark-section h3 {
    color: var(--surewin-gold); /* Headings in dark sections */
}

/* Emergency contrast fix classes (as per instructions) */
.page-index-surewin-latest-promotions__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-index-surewin-latest-promotions__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Ensure that colors used are from the provided palette */
.page-index-surewin-latest-promotions__about-promotions {
  background-color: var(--surewin-section-bg);
  color: var(--surewin-text-main); /* Ensure main text is visible */
}
.page-index-surewin-latest-promotions__promotion-types {
  background-color: var(--bg-color); /* This would be the body bg from shared.css */
  color: var(--surewin-text-main); /* Assuming body bg is dark enough for light text */
}
.page-index-surewin-latest-promotions__how-to-claim {
  background-color: var(--surewin-section-bg);
  color: var(--surewin-text-main);
}
.page-index-surewin-latest-promotions__games-overview {
  background-color: var(--bg-color); /* This would be the body bg from shared.css */
  color: var(--surewin-text-main); /* Assuming body bg is dark enough for light text */
}
.page-index-surewin-latest-promotions__faq-section {
  background-color: var(--surewin-section-bg);
  color: var(--surewin-text-main);
}
.page-index-surewin-latest-promotions__final-cta {
  background-color: var(--surewin-deep-green);
  color: var(--surewin-text-main);
}

/* FAQ details/summary styling for custom toggle */
.page-index-surewin-latest-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-index-surewin-latest-promotions__faq-item summary {
  list-style: none; /* Remove default marker */
}