/* style/resources-sclub88-latest-promotions.css */

/* Variables (if needed, but using shared/brand colors mostly) */
:root {
  --sclub88-primary: #FFD700; /* Gold */
  --sclub88-secondary: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-card: rgba(255, 255, 255, 0.1); /* Light transparent for dark background */
  --bg-dark-section: #1a1a1a; /* A slightly lighter dark for contrast */
}

.page-resources-sclub88-latest-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for the page content, assuming dark body bg */
  background-color: transparent; /* Main content background is transparent to show body bg */
  line-height: 1.6;
}

/* Hero Section */
.page-resources-sclub88-latest-promotions__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-resources-sclub88-latest-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-sclub88-latest-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.page-resources-sclub88-latest-promotions__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-resources-sclub88-latest-promotions__hero-title {
  font-size: 3.5em;
  color: var(--sclub88-primary);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-resources-sclub88-latest-promotions__hero-description {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-resources-sclub88-latest-promotions__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* General Section Styling */
.page-resources-sclub88-latest-promotions__section {
  padding: 60px 0;
  background-color: var(--bg-dark-section); /* Slightly lighter dark for sections */
  color: var(--text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-resources-sclub88-latest-promotions__section:nth-child(even) {
  background-color: var(--bg-dark); /* Deeper dark for alternating sections */
}

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

.page-resources-sclub88-latest-promotions__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-resources-sclub88-latest-promotions__container--center {
  text-align: center;
}

.page-resources-sclub88-latest-promotions__section-title {
  font-size: 2.5em;
  color: var(--sclub88-primary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-sclub88-latest-promotions__sub-title {
  font-size: 1.8em;
  color: var(--sclub88-primary);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-sclub88-latest-promotions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-resources-sclub88-latest-promotions__content-block {
  flex: 1;
}

.page-resources-sclub88-latest-promotions__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.page-resources-sclub88-latest-promotions__image-wrapper--full-width {
  flex: none;
  width: 100%;
  margin-top: 40px;
}

.page-resources-sclub88-latest-promotions__image-wrapper--center {
  margin-top: 40px;
}

.page-resources-sclub88-latest-promotions__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-resources-sclub88-latest-promotions__btn-primary,
.page-resources-sclub88-latest-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  text-align: center;
  box-sizing: border-box; /* Ensure padding doesn't push width */
}

.page-resources-sclub88-latest-promotions__btn-primary {
  background-color: var(--sclub88-primary);
  color: var(--text-dark); /* Ensure contrast against gold */
  border: 2px solid var(--sclub88-primary);
}

.page-resources-sclub88-latest-promotions__btn-primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  color: var(--text-dark);
  transform: translateY(-2px);
}

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

.page-resources-sclub88-latest-promotions__btn-secondary:hover {
  background-color: var(--sclub88-primary);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.page-resources-sclub88-latest-promotions__btn-text {
  color: var(--sclub88-primary);
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.page-resources-sclub88-latest-promotions__btn-text:hover {
  color: #ffe033; /* Slightly lighter gold */
}

.page-resources-sclub88-latest-promotions__icon-arrow {
  transition: transform 0.3s ease;
}

.page-resources-sclub88-latest-promotions__btn-text:hover .page-resources-sclub88-latest-promotions__icon-arrow {
  transform: translateX(5px);
}

/* Grid Layouts */
.page-resources-sclub88-latest-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

/* Card Styling */
.page-resources-sclub88-latest-promotions__card,
.page-resources-sclub88-latest-promotions__feature-card {
  background-color: var(--bg-card); /* Transparent white for dark bg */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.page-resources-sclub88-latest-promotions__card-title {
  font-size: 1.5em;
  color: var(--sclub88-primary);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-sclub88-latest-promotions__card-description {
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Lists */
.page-resources-sclub88-latest-promotions__ordered-list,
.page-resources-sclub88-latest-promotions__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-resources-sclub88-latest-promotions__ordered-list li,
.page-resources-sclub88-latest-promotions__unordered-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-sclub88-latest-promotions__ordered-list li strong {
  color: var(--sclub88-primary);
}

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

.page-resources-sclub88-latest-promotions__faq-item {
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-sclub88-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--sclub88-primary);
  transition: background-color 0.3s ease;
}

.page-resources-sclub88-latest-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-sclub88-latest-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.page-resources-sclub88-latest-promotions__faq-item.active .page-resources-sclub88-latest-promotions__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes an 'x' or minus */
}

.page-resources-sclub88-latest-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
}

.page-resources-sclub88-latest-promotions__faq-item.active .page-resources-sclub88-latest-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 30px 20px;
}

.page-resources-sclub88-latest-promotions__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}

/* Conclusion CTA Buttons */
.page-resources-sclub88-latest-promotions__cta-buttons--center {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-sclub88-latest-promotions__hero-title {
    font-size: 3em;
  }

  .page-resources-sclub88-latest-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-sclub88-latest-promotions__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-sclub88-latest-promotions__hero-title {
    font-size: 2.2em;
  }

  .page-resources-sclub88-latest-promotions__hero-description {
    font-size: 1em;
  }

  .page-resources-sclub88-latest-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}