/* style/promotions-daily-bonus.css */

/* Base styles for the page */
.page-promotions-daily-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #F2FFF6); /* Default text color for dark background */
  background: var(--bg-color, #08160F); /* Dark background */
}

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

.page-promotions-daily-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Sections */
.page-promotions-daily-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-promotions-daily-bonus__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-promotions-daily-bonus__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-promotions-daily-bonus__hero-content {
  position: relative;
  z-index: 2; /* Ensure text is above image if any overlap occurs (though structure prevents it) */
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions-daily-bonus__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp as per instruction */
  color: var(--text-main-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions-daily-bonus__hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary-color);
  margin-bottom: 40px;
}

.page-promotions-daily-bonus__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-promotions-daily-bonus__btn-primary,
.page-promotions-daily-bonus__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-promotions-daily-bonus__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-promotions-daily-bonus__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions-daily-bonus__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions-daily-bonus__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  transform: translateY(-2px);
}

.page-promotions-daily-bonus__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions-daily-bonus__text-block {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-promotions-daily-bonus__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Dark sections */
.page-promotions-daily-bonus__dark-section {
  background-color: var(--deep-green-color); /* Using deep green for contrast */
  padding: 80px 0;
  color: var(--text-main-color);
}

/* How it works section */
.page-promotions-daily-bonus__how-it-works-section {
  padding: 80px 0;
  background-color: var(--bg-color); /* Use main background color */
}

.page-promotions-daily-bonus__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-daily-bonus__step-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
}

.page-promotions-daily-bonus__card-title {
  font-size: 1.5rem;
  color: var(--text-main-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-daily-bonus__card-description {
  font-size: 1rem;
  color: var(--text-secondary-color);
  margin-bottom: 25px;
  flex-grow: 1; /* Allow description to take available space */
}

/* Benefits section */
.page-promotions-daily-bonus__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-promotions-daily-bonus__benefits-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions-daily-bonus__item-title {
  font-size: 1.4rem;
  color: var(--text-main-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions-daily-bonus__item-description {
  font-size: 1rem;
  color: var(--text-secondary-color);
}

/* FAQ Section */
.page-promotions-daily-bonus__faq-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.page-promotions-daily-bonus__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-promotions-daily-bonus__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-daily-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  color: var(--text-main-color);
  font-weight: bold;
  cursor: pointer;
  background-color: var(--card-bg-color);
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-promotions-daily-bonus__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-daily-bonus__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-promotions-daily-bonus__faq-item[open] .page-promotions-daily-bonus__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-promotions-daily-bonus__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary-color);
  line-height: 1.7;
  /* For JS-driven accordion: */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-promotions-daily-bonus__faq-item.active .page-promotions-daily-bonus__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to reveal content */
  transition: max-height 0.5s ease-in;
}

/* Final CTA Section */
.page-promotions-daily-bonus__cta-final {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-green-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-daily-bonus__hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-promotions-daily-bonus__hero-description {
    font-size: 1.1rem;
  }
  .page-promotions-daily-bonus__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-promotions-daily-bonus {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-promotions-daily-bonus__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions-daily-bonus__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-promotions-daily-bonus__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-promotions-daily-bonus__hero-description {
    font-size: 1rem;
  }

  .page-promotions-daily-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-promotions-daily-bonus__btn-primary,
  .page-promotions-daily-bonus__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  /* All images */
  .page-promotions-daily-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-promotions-daily-bonus__container,
  .page-promotions-daily-bonus__section,
  .page-promotions-daily-bonus__card,
  .page-promotions-daily-bonus__step-card,
  .page-promotions-daily-bonus__benefits-item,
  .page-promotions-daily-bonus__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific section paddings */
  .page-promotions-daily-bonus__introduction-section,
  .page-promotions-daily-bonus__how-it-works-section,
  .page-promotions-daily-bonus__benefits-section,
  .page-promotions-daily-bonus__faq-section,
  .page-promotions-daily-bonus__cta-final {
    padding: 40px 0;
  }

  .page-promotions-daily-bonus__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 25px;
  }

  .page-promotions-daily-bonus__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-promotions-daily-bonus__step-card,
  .page-promotions-daily-bonus__benefits-item {
    padding: 25px;
  }

  .page-promotions-daily-bonus__card-title,
  .page-promotions-daily-bonus__item-title {
    font-size: 1.3rem;
  }

  .page-promotions-daily-bonus__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-promotions-daily-bonus__faq-answer {
    padding: 0 20px 15px;
  }
}