/* ==========================================================================
   Halloween 2026 LP — "Cele mai populare bonusuri" offer list under the decks
   (templates/components/halloween-2026/popular_offers.twig). Loaded after
   halloween-2026.css. Figma: SC---HALLOWEEN, Section 1 → OLD → OFERTE.
   Desktop: 868px list, 32px title → list, 24px between cards; card #2b25bc,
   12px radius and padding, 16px gaps, min 104px tall; 80px logo tile, headline
   Georama Black 18 #f3a718, bullets Georama Medium 16 white, CTA #f3a718 with
   #0c0a67 Open Sans Bold 16, 8px radius.
   The logo tile is dark navy (#0c0a67) instead of Figma's white: the casino
   logos are the white/light versions, made for dark backgrounds.
   Mobile (≤768px, no design): logo + text side by side, CTA full width below.
   ========================================================================== */

.lp-halloween-live-offers {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 900px; /* 868px list + 16px side padding */
  margin: 0 auto;
  padding: 20px 16px 80px;
}

.lp-halloween-live-offers-title {
  margin: 0;
  color: #e99d0e;
  font-family: "Georama", sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
}

/* Lists are reset here: the global theme CSS styles ul/li (margins, bullets) */
.lp-halloween-live-offers-list,
.lp-halloween-live-offer-details {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-halloween-live-offers-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-halloween-live-offer {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background-color: #2b25bc;
}

.lp-halloween-live-offer::before {
  content: none;
}

.lp-halloween-live-offer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  padding: 10px;
  border-radius: 8px;
  background-color: #0c0a67;
}

.lp-halloween-live-offer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  -o-object-fit: contain;
  object-fit: contain;
}

.lp-halloween-live-offer-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.lp-halloween-live-offer-headline {
  margin: 0;
  color: #f3a718;
  font-family: "Georama", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
}

.lp-halloween-live-offer-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-halloween-live-offer-details li {
  position: relative;
  margin: 0;
  padding: 0 0 0 24px;
  color: #ffffff;
  font-family: "Georama", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
}

/* Bullet: 4px dot, centred on the first line */
.lp-halloween-live-offer-details li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 10px;
  width: 4px;
  height: 4px;
  margin: -2px 0 0;
  border-radius: 50%;
  background-color: currentColor;
}

.lp-halloween-live-offer-cta,
.lp-halloween-live-offer-cta:hover,
.lp-halloween-live-offer-cta:focus {
  color: #0c0a67;
  text-decoration: none;
}

.lp-halloween-live-offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 11px 39px; /* + 1px border = 12px 40px */
  border: 1px solid rgba(12, 10, 103, 0.3);
  border-radius: 8px;
  background-color: #f3a718;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.lp-halloween-live-offer-cta:hover {
  background-color: #ffbb33;
}

.lp-halloween-live-offer-cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .lp-halloween-live-offers {
    gap: 20px;
    padding-bottom: 48px;
  }

  .lp-halloween-live-offers-title {
    font-size: 24px;
  }

  .lp-halloween-live-offers-list {
    gap: 16px;
  }

  .lp-halloween-live-offer {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }

  .lp-halloween-live-offer-logo {
    width: 64px;
    height: 64px;
    padding: 8px;
  }

  .lp-halloween-live-offer-text {
    flex-basis: calc(100% - 76px); /* beside the 64px logo + 12px gap */
  }

  .lp-halloween-live-offer-headline {
    font-size: 16px;
  }

  .lp-halloween-live-offer-details li {
    font-size: 14px;
  }

  .lp-halloween-live-offer-cta {
    width: 100%;
  }
}
