/* ============================================= */
/* STILURI BANNER CTA (v11 - FIXURI FINALE 2)    */
/* ============================================= */
.cta-grid { display: flex; flex-direction: column; gap: 15px; margin: 24px 0; }
.cta-banner-modern { container-type: inline-size; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #02000b 0%, #1d054a 25%, #380B81 50%, #1d054a 75%, #02000b 100%); color: #ffffff; border-radius: 5px; padding: 18px 22px; gap: 18px; position: relative; transition: opacity 0.5s ease, background-position 0.8s ease-out; opacity: 0; overflow: hidden; background-size: 200% auto; }
.cta-banner-modern:nth-child(even) { background: linear-gradient(115deg, #18122b 0%, #1d054a 50%, #02000b 100%); background-size: 200% auto; }
.cta-banner-modern:hover { background-position: right center; }
.cta-banner-modern.is-visible { opacity: 1; }
.cta-badge-modern { position: absolute; top: 10px; left: 10px; background: linear-gradient(45deg, #c5abff, #a484e8); color: #1d054a; font-size: 8px; font-weight: 800; padding: 2px 7px; border-radius: 3px; z-index: 3; text-transform: uppercase; animation: pulse-color 2s infinite ease-in-out; }
@keyframes pulse-color { 0% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.05); filter: brightness(1.2); } 100% { transform: scale(1); filter: brightness(1); } }

.cta-col-modern.image { width: 16cqw; min-width: 120px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.image-container-modern { width: 100%; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 4px; }
.image-container-modern img { width: 100%; height: 100%; object-fit: cover; }
.cta-license-modern { font-size: 11px; color: #E2D8FF; opacity: 0.8; }
.cta-col-modern.content { flex: 1; min-width: 250px; }
.cta-title-modern { font-size: 2.2cqw; font-weight: 700; margin-bottom: 10px; color: #ffffff; line-height: 1.3; }
.cta-col-modern.content ul { list-style: none; padding: 0; margin: 0; }
.cta-col-modern.content ul li { font-size: 1.7cqw; margin-bottom: 6px; padding-left: 24px; position: relative; color: #ffffff; }
.cta-col-modern.content ul li::before { content: "✔"; position: absolute; left: 0; color: #c5abff; font-weight: bold; }
.cta-col-modern.actions { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 150px; width: 20cqw; }
.cta-button-modern { width: 100%; background: #ffffff; color: #380B81; padding: 12px 18px; font-weight: 800; font-size: 1.7cqw; border: none; border-radius: 5px; text-transform: uppercase; text-decoration: none; text-align: center; transition: all 0.2s ease; cursor: pointer; white-space: nowrap; }
.cta-button-modern:hover { background: #380B81; color: #ffffff; }
.cta-review-link-modern { font-size: 1.4cqw; color: #E2D8FF; text-decoration: underline; opacity: 0.9; transition: color 0.2s ease; }
.cta-review-link-modern:hover { color: #ffffff; }

.banner-rating-stars { font-size: 14px; text-align: center; margin-top: 2px; line-height: 1; color: #FFC107; }
.banner-rating-stars .rbcp-stars-rating-value { color: #E2D8FF; }

@container (max-width: 700px) { .cta-title-modern { font-size: 17px; } .cta-col-modern.content ul li { font-size: 14px; } .cta-button-modern { font-size: 13px; } .cta-review-link-modern { font-size: 12px; } }
@container (min-width: 1000px) { .cta-title-modern { font-size: 24px; } .cta-col-modern.content ul li { font-size: 18px; } .cta-button-modern { font-size: 18px; } .cta-review-link-modern { font-size: 15px; } }

.cta-accordion-modern { flex-basis: 100%; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(197, 171, 255, 0.2); }
.accordion-toggle-modern { background: none; border: none; color: #E2D8FF; cursor: pointer; font-size: 13px; font-weight: 600; width: 100%; text-transform: uppercase; letter-spacing: 0.5px; padding: 0; display: flex; justify-content: center; align-items: center; gap: 8px; opacity: 0.9; transition: opacity 0.2s ease; }
.accordion-toggle-modern:hover { opacity: 1; }
.accordion-toggle-modern::after { content: '▼'; font-size: 10px; display: inline-block; transition: transform 0.2s ease-out; }
.accordion-toggle-modern.active::after { transform: rotate(180deg); }
.accordion-content-modern { display: none; margin-top: 15px; background: rgba(0, 0, 0, 0.2); border-radius: 4px; padding: 15px; font-size: 13px; }
.accordion-content-modern p { margin: 0 0 10px 0; color: #f0f0f0; } .accordion-content-modern p:last-child { margin-bottom: 0; }
.accordion-content-modern p::before { content: attr(data-label); font-weight: bold; margin-right: 8px; color: #c5abff; }

@media (max-width: 768px) {
  .cta-grid { grid-template-columns: 1fr; gap: 20px; }
  .cta-banner-modern { display: grid; grid-template-columns: 1fr; grid-template-areas: "badge" "image" "content" "actions" "accordion"; justify-items: center; padding: 20px; gap: 15px; }
  .cta-badge-modern { grid-area: badge; position: static; margin-bottom: 0; justify-self: start; }
  /* MODIFICARE PUNCT 5: Adăugat text-align: center */
  .cta-col-modern.image { grid-area: image; width: 80%; max-width: 250px; display: block !important; min-width: 0 !important; margin: 0 auto; text-align: center; }
  .cta-col-modern.content { grid-area: content; text-align: center; width: 100%; }
  .cta-col-modern.actions { grid-area: actions; width: 100%; max-width: 300px; }
  .cta-accordion-modern { grid-area: accordion; width: 100%; }
  .cta-title-modern { font-size: 1.3rem !important; }
  .cta-col-modern.content ul { text-align: left; display: inline-block; }
  .cta-col-modern.content ul li { font-size: 1rem !important; }
  .cta-button-modern { font-size: 1rem !important; }
  .cta-review-link-modern { font-size: 0.9rem !important; }
}

/* Stiluri Grid */
.cta-grid-auto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 36px 0; }
.cta-banner-grid-new { background: #fdfcff; border-radius: 5px; border: 1px solid #e0d8f0; overflow: hidden; display: flex; flex-direction: column; position: relative; transition: all 0.3s ease; opacity: 0; }
.cta-banner-grid-new.is-visible { opacity: 1; } .cta-banner-grid-new:hover { transform: translateY(-5px); border-color: #380B81; }
.grid-badge-gold { position: absolute; top: 10px; left: 10px; background: linear-gradient(45deg, #FFD700, #FFA500); color: #1d054a; font-size: 9px; font-weight: 800; padding: 3px 8px; border-radius: 3px; z-index: 2; text-transform: uppercase; animation: pulse-color 2s infinite ease-in-out; }
.grid-thumb-wrap { background: linear-gradient(120deg, #18122b 85%, #2a1c59 100%); padding: 20px; position: relative; text-align: center; }
.image-container-grid { width: 70%; max-width: 160px; margin: 0 auto; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 4px; }
.image-container-grid img { width: 100%; height: 100%; object-fit: cover; }
.cta-license-grid { margin-top: 12px; text-align: center; font-size: 11px; color: #E2D8FF; opacity: 0.8; }
.grid-body-new { flex-grow: 1; display: flex; flex-direction: column; padding: 20px; } .grid-title-new { font-size: 1.3rem; font-weight: 800; color: #1d054a; margin-bottom: 12px; line-height: 1.3; } .grid-list-new { margin: 0 0 15px 0; padding: 0; list-style: none; font-size: 1rem; line-height: 1.6; color: #333; }
.grid-list-new li { margin-bottom: 6px; padding-left: 22px; position: relative; } 
.grid-list-new li::before { content: "✔"; position: absolute; left: 0; color: #28a745; font-weight: bold; }
.grid-footer-new { padding: 20px; margin-top: auto; border-top: 1px solid #f0e9ff; }
.cta-button-grid-new { width: 100%; display: block; background: #ffffff; color: #380B81; padding: 14px; font-weight: 800; font-size: 1rem; border: 1px solid #380B81; border-radius: 5px; text-transform: uppercase; text-decoration: none; text-align: center; transition: all 0.2s ease; }
.cta-button-grid-new:hover { background: #380B81; color: #ffffff; }
@media (max-width: 1024px) { .cta-grid-auto { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .cta-grid-auto { grid-template-columns: repeat(1, 1fr); } }

/* Load More */
.cbb-hidden-banner { display: none; } .cbb-load-more-wrapper { text-align: center; margin-top: 24px; }
.cbb-load-more-btn { background-color: #380B81; color: #ffffff; border: 2px solid #c5abff; padding: 12px 32px; font-size: 1rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; }
.cbb-load-more-btn:hover { background-color: #c5abff; color: #380B81; }

/* STILURI CASETA RECENZIE */
.casino-review-box { background: #18122b; color: #ffffff; border: 1px solid #380B81; border-radius: 8px; padding: 25px; margin: 30px 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; box-shadow: 0 4px 20px rgba(56, 11, 129, 0.3); }
.casino-review-box .review-title { font-size: 24px; font-weight: 700; color: #ffffff; text-align: center; margin: 0 0 20px 0; }
.casino-review-box .review-summary { background-color: rgba(0, 0, 0, 0.2); border: 1px solid rgba(197, 171, 255, 0.2); border-radius: 6px; padding: 20px; text-align: center; margin-bottom: 25px; }
.casino-review-box .total-score-text { font-size: 16px; color: #E2D8FF; margin-bottom: 5px; }
.casino-review-box .total-score-number { font-size: 48px; font-weight: 800; color: #c5abff; line-height: 1; }
/* MODIFICARE PUNCT 3: Aliniere perfectă a steluțelor cu textul */
.casino-review-box .total-score-stars { color: #c5abff; font-size: 1.3em; margin-top: 5px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.casino-review-box .criteria-list { display: flex; flex-direction: column; gap: 15px; }
.casino-review-box .criteria-row { display: flex; align-items: center; gap: 15px; font-size: 16px; }
.casino-review-box .criteria-name { flex-basis: 180px; flex-shrink: 0; font-weight: 600; color: #E2D8FF; }
.casino-review-box .criteria-bar { flex-grow: 1; background-color: rgba(0, 0, 0, 0.3); border-radius: 20px; height: 10px; overflow: hidden; }
.casino-review-box .bar-fill { background-color: #c5abff; height: 100%; border-radius: 20px; transition: width 0.5s ease-in-out; }
.casino-review-box .criteria-score { font-weight: 700; color: #ffffff; font-size: 18px; }

/* STILURI BLOC & UTILITARE RATING */
/* MODIFICARE PUNCT 4: Stiluri noi pentru stele parțiale */
.rbcp-stars-wrapper { position: relative; display: inline-block; vertical-align: middle; line-height: 1; }
.rbcp-stars-background { color: #ccc; }
.rbcp-stars-foreground { position: absolute; top: 0; left: 0; white-space: nowrap; overflow: hidden; color: inherit; }

.rbcp-stars-rating-value { font-weight: normal; font-size: 0.8em; color: #555; margin-left: 8px; vertical-align: middle; }
.casino-review-box .rbcp-stars-rating-value, .dark-context .rbcp-stars-rating-value { color: #E2D8FF; }

/* MODIFICARE PUNCT 1 & 2: Stiluri noi pentru blocul de stele în frontend */
.wp-block-rbcp-stars-rating { display: flex; align-items: center; background: none; border: none; padding: 0; }
.wp-block-rbcp-stars-rating.aligncenter { justify-content: center; }
.wp-block-rbcp-stars-rating.alignright { justify-content: flex-end; }
.wp-block-rbcp-stars-rating .rbcp-stars-rating-value { margin-left: 4px; }