/* ── Compare Casinos ── */
.cmp-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.cmp-hero {
  padding: 48px 0 28px;
  text-align: center;
  background: radial-gradient(900px 500px at 50% 0%, rgba(10,166,214,0.12), transparent 60%);
  border-bottom: 1px solid rgba(17,24,39,0.08);
}
.cmp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10,166,214,0.10);
  color: #055A78;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.cmp-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: #111827;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.cmp-sub {
  color: rgba(17,24,39,0.6);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Main */
.cmp-main { padding: 32px 0 60px; }

/* Selectors */
.cmp-selectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.cmp-slot {
  background: #fff;
  border: 2px dashed rgba(17,24,39,0.12);
  border-radius: 16px;
  padding: 20px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.cmp-slot--filled {
  border: 2px solid rgba(10,166,214,0.25);
  border-style: solid;
  box-shadow: 0 4px 14px rgba(17,24,39,0.06);
}
.cmp-slot--search {
  border-style: solid;
  border-color: rgba(17,24,39,0.12);
}
.cmp-slot--locked {
  opacity: 0.7;
  background: rgba(17,24,39,0.02);
}

/* Slot: filled state */
.cmp-slot-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  padding: 4px;
  margin-bottom: 8px;
}
.cmp-slot-name {
  font-weight: 800;
  color: #111827;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.cmp-slot-rating {
  font-weight: 700;
  color: #055A78;
  font-size: 0.85rem;
}
.cmp-slot-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(17,24,39,0.06);
  color: rgba(17,24,39,0.5);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  transition: background 0.15s;
}
.cmp-slot-remove:hover { background: rgba(239,68,68,0.12); color: #dc2626; }

/* Slot: search state */
.cmp-slot-search {
  width: 100%;
  position: relative;
}
.cmp-slot-icon {
  color: #055A78;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.cmp-slot-hint {
  font-size: 0.82rem;
  color: rgba(17,24,39,0.55);
  margin-bottom: 10px;
  font-weight: 600;
}
.cmp-ac-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(17,24,39,0.14);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  color: #111827;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.cmp-ac-input:focus {
  border-color: #0AA6D6;
  box-shadow: 0 0 0 3px rgba(10,166,214,0.12);
}
.cmp-ac-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.10);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17,24,39,0.14);
  max-height: 220px;
  overflow-y: auto;
  z-index: 50;
}
.cmp-ac-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.15s;
}
.cmp-ac-item:hover,
.cmp-ac-item.is-active {
  background: rgba(10,166,214,0.06);
}
.cmp-ac-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  border: 1px solid rgba(17,24,39,0.06);
}
.cmp-ac-name { font-weight: 700; font-size: 0.85rem; color: #111827; }
.cmp-ac-rating { margin-left: auto; font-weight: 700; color: #055A78; font-size: 0.8rem; }

/* Prompt */
.cmp-prompt {
  text-align: center;
  padding: 24px;
  color: rgba(17,24,39,0.4);
  font-weight: 600;
  font-size: 0.95rem;
}
.cmp-prompt i { margin-right: 6px; }

/* Comparison table */
.cmp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
}
.cmp-table {
  display: grid;
  grid-template-columns: 180px repeat(var(--cols,2), 1fr);
  min-width: 600px;
}

/* Header row */
.cmp-header {
  display: contents;
}
.cmp-header-cell {
  padding: 18px 14px;
  text-align: center;
  background: rgba(10,166,214,0.04);
  border-bottom: 2px solid rgba(10,166,214,0.15);
}
.cmp-header-cell:first-child {
  background: transparent;
  border-bottom-color: rgba(17,24,39,0.08);
}
.cmp-header-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid rgba(17,24,39,0.08);
  padding: 3px;
  margin: 0 auto 6px;
  display: block;
}
.cmp-header-name {
  font-weight: 800;
  color: #111827;
  font-size: 0.9rem;
}

/* Data rows */
.cmp-row { display: contents; }
.cmp-cell {
  padding: 14px;
  border-bottom: 1px solid rgba(17,24,39,0.06);
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  color: #111827;
  line-height: 1.4;
}
.cmp-cell-label {
  font-weight: 700;
  color: rgba(17,24,39,0.55);
  font-size: 0.82rem;
  gap: 6px;
}
.cmp-cell-label i { color: #055A78; font-size: 0.8rem; }
.cmp-cell-value {
  font-weight: 600;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 4px;
}
.cmp-row:nth-child(even) .cmp-cell { background: rgba(17,24,39,0.015); }

/* Rating */
.cmp-rating-num {
  font-weight: 900;
  font-size: 1.2rem;
  color: #055A78;
}
.cmp-rating-star { color: #f59e0b; margin-left: 4px; }

/* Chips */
.cmp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}
.cmp-chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(17,24,39,0.05);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(17,24,39,0.7);
  white-space: nowrap;
}

/* Pros / Cons lists */
.cmp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  text-align: left;
  width: 100%;
}
.cmp-list li {
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.cmp-list li i { flex-shrink: 0; margin-top: 2px; font-size: 0.7rem; }
.cmp-pro i { color: #10b981; }
.cmp-con i { color: #ef4444; }

/* CTA row */
.cmp-cta-cell {
  justify-content: center;
  padding: 18px 14px;
  border-bottom: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cmp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 180px;
}
.cmp-cta-visit {
  background: #055A78;
  color: #fff;
}
.cmp-cta-visit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(5,90,120,0.30);
}
.cmp-cta-review {
  background: #fff;
  color: #055A78;
  border: 2px solid rgba(5,90,120,0.2);
}
.cmp-cta-review:hover {
  transform: translateY(-1px);
  border-color: #055A78;
  box-shadow: 0 4px 10px rgba(5,90,120,0.12);
}

/* Content / FAQ */
.cmp-content {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(17,24,39,0.08);
}
.cmp-content h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #111827;
  margin: 0 0 16px;
}
.cmp-content p {
  color: rgba(17,24,39,0.7);
  line-height: 1.7;
  margin-bottom: 14px;
}
.cmp-faq-list { display: flex; flex-direction: column; gap: 8px; }
.cmp-faq-item {
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.cmp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  list-style: none;
}
.cmp-faq-item summary::-webkit-details-marker { display: none; }
.cmp-faq-item summary i {
  transition: transform 0.25s;
  color: rgba(17,24,39,0.35);
  font-size: 0.8rem;
}
.cmp-faq-item[open] summary i { transform: rotate(180deg); }
.cmp-faq-item p {
  padding: 0 18px 14px;
  color: rgba(17,24,39,0.65);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .cmp-selectors { grid-template-columns: 1fr; }
  .cmp-table { min-width: 500px; }
  .cmp-cell-label { font-size: 0.78rem; }
  .cmp-hero { padding: 36px 0 22px; }
}
@media (max-width: 480px) {
  .cmp-table { grid-template-columns: 120px repeat(var(--cols,2), 1fr); min-width: 400px; }
}
