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

:root {
  --benbet-primary: #11A84E;
  --benbet-secondary: #22C768;
  --benbet-button-gradient-start: #2AD16F;
  --benbet-button-gradient-end: #13994A;
  --benbet-card-bg: #11271B;
  --benbet-background: #08160F;
  --benbet-text-main: #F2FFF6;
  --benbet-text-secondary: #A7D9B8;
  --benbet-border: #2E7A4E;
  --benbet-glow: #57E38D;
  --benbet-gold: #F2C14E;
  --benbet-divider: #1E3A2A;
  --benbet-deep-green: #0A4B2C;
}

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

.page-promotions-daily-cashback__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-promotions-daily-cashback__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.page-promotions-daily-cashback__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Subtle darkening for text readability */
}

.page-promotions-daily-cashback__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 10;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  position: relative;
}

.page-promotions-daily-cashback__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--benbet-gold);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-promotions-daily-cashback__hero-description {
  font-size: 1.15rem;
  color: var(--benbet-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-cashback__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.page-promotions-daily-cashback__btn-primary,
.page-promotions-daily-cashback__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-promotions-daily-cashback__btn-primary {
  background: linear-gradient(180deg, var(--benbet-button-gradient-start) 0%, var(--benbet-button-gradient-end) 100%);
  color: var(--benbet-text-main);
  border: 2px solid var(--benbet-primary);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions-daily-cashback__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-promotions-daily-cashback__btn-secondary {
  background-color: transparent;
  color: var(--benbet-gold);
  border: 2px solid var(--benbet-gold);
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.2);
}

.page-promotions-daily-cashback__btn-secondary:hover {
  background-color: var(--benbet-gold);
  color: var(--benbet-background);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-promotions-daily-cashback__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--benbet-divider);
}

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

.page-promotions-daily-cashback__section-title {
  font-size: 2.2rem;
  color: var(--benbet-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-cashback__text-block {
  font-size: 1.05rem;
  color: var(--benbet-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions-daily-cashback__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-promotions-daily-cashback__ordered-list,
.page-promotions-daily-cashback__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--benbet-text-main);
}

.page-promotions-daily-cashback__list-item {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-promotions-daily-cashback__list-item strong {
  color: var(--benbet-gold);
}

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

.page-promotions-daily-cashback__card {
  background-color: var(--benbet-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--benbet-text-main);
  border: 1px solid var(--benbet-border);
}

.page-promotions-daily-cashback__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--benbet-glow);
}

.page-promotions-daily-cashback__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px;
}

.page-promotions-daily-cashback__card-title {
  font-size: 1.4rem;
  color: var(--benbet-gold);
  margin: 20px 20px 10px;
  font-weight: 600;
}

.page-promotions-daily-cashback__card-description {
  font-size: 0.95rem;
  color: var(--benbet-text-secondary);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-promotions-daily-cashback__btn-link {
  display: inline-block;
  margin: 0 20px 20px;
  padding: 10px 20px;
  background-color: var(--benbet-primary);
  color: var(--benbet-text-main);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-align: center;
}

.page-promotions-daily-cashback__btn-link:hover {
  background-color: var(--benbet-secondary);
}

.page-promotions-daily-cashback__card--benefit .page-promotions-daily-cashback__card-image {
  height: 180px;
  object-fit: contain;
  padding: 20px;
  background-color: rgba(0,0,0,0.1); /* Slightly lighter background for benefit icons */
}

.page-promotions-daily-cashback__faq-list {
  margin-top: 30px;
}

.page-promotions-daily-cashback__faq-item {
  background-color: var(--benbet-card-bg);
  border: 1px solid var(--benbet-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--benbet-text-main);
}

.page-promotions-daily-cashback__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--benbet-gold);
  background-color: var(--benbet-deep-green);
  transition: background-color 0.3s ease;
}

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

.page-promotions-daily-cashback__faq-item summary:hover {
  background-color: var(--benbet-primary);
}

.page-promotions-daily-cashback__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions-daily-cashback__faq-item[open] .page-promotions-daily-cashback__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-daily-cashback__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1rem;
  color: var(--benbet-text-secondary);
  line-height: 1.7;
}

.page-promotions-daily-cashback__cta-final {
  text-align: center;
  padding-bottom: 80px;
}

.page-promotions-daily-cashback__btn-large {
  font-size: 1.2rem;
  padding: 16px 40px;
  margin-top: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-promotions-daily-cashback__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-promotions-daily-cashback__section-title {
    font-size: 1.8rem;
  }

  .page-promotions-daily-cashback__game-cards,
  .page-promotions-daily-cashback__benefit-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions-daily-cashback__hero-content {
    margin-top: -50px;
  }

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

  .page-promotions-daily-cashback__hero-description {
    font-size: 0.95rem;
  }

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

  .page-promotions-daily-cashback__btn-primary,
  .page-promotions-daily-cashback__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;
  }

  .page-promotions-daily-cashback__section {
    padding: 40px 0;
  }

  .page-promotions-daily-cashback__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-daily-cashback__section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .page-promotions-daily-cashback__text-block,
  .page-promotions-daily-cashback__list-item,
  .page-promotions-daily-cashback__card-description,
  .page-promotions-daily-cashback__faq-answer p {
    font-size: 15px;
  }

  .page-promotions-daily-cashback img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-daily-cashback__hero-image-wrapper,
  .page-promotions-daily-cashback__game-cards,
  .page-promotions-daily-cashback__benefit-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions-daily-cashback__card {
    margin-bottom: 20px;
  }

  .page-promotions-daily-cashback__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-promotions-daily-cashback__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .page-promotions-daily-cashback__hero-content {
    margin-top: -30px;
  }
  .page-promotions-daily-cashback__main-title {
    font-size: clamp(1.5rem, 9vw, 2rem);
  }
  .page-promotions-daily-cashback__hero-description {
    font-size: 0.9rem;
  }
  .page-promotions-daily-cashback__btn-large {
    font-size: 1.1rem;
    padding: 14px 30px;
  }
}