/* ── Bonus Calculator ── */
.bcalc-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.bcalc-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);
}
.bcalc-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;
}
.bcalc-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: #111827;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.bcalc-sub {
  color: rgba(17,24,39,0.6);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Main layout */
.bcalc-main { padding: 32px 0 60px; }
.bcalc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Form panel */
.bcalc-form-panel {
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(17,24,39,0.05);
}
.bcalc-field { margin-bottom: 20px; }
.bcalc-field:last-child { margin-bottom: 0; }
.bcalc-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111827;
  margin-bottom: 8px;
}
.bcalc-label i { color: #055A78; font-size: 0.85rem; }
.bcalc-optional {
  font-weight: 400;
  color: rgba(17,24,39,0.4);
  font-size: 0.82rem;
}
.bcalc-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid rgba(17,24,39,0.14);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.bcalc-input-wrap:focus-within {
  border-color: #0AA6D6;
  box-shadow: 0 0 0 3px rgba(10,166,214,0.12);
}
.bcalc-input-prefix,
.bcalc-input-suffix {
  padding: 0 12px;
  font-weight: 700;
  color: rgba(17,24,39,0.45);
  font-size: 0.95rem;
  background: rgba(17,24,39,0.03);
  line-height: 46px;
}
.bcalc-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  background: transparent;
  font-family: inherit;
}
.bcalc-input::placeholder { color: rgba(17,24,39,0.3); }
.bcalc-divider {
  height: 1px;
  background: rgba(17,24,39,0.08);
  margin: 22px 0;
}

/* Toggle group */
.bcalc-toggle-group {
  display: flex;
  gap: 0;
  border: 1px solid rgba(17,24,39,0.14);
  border-radius: 12px;
  overflow: hidden;
}
.bcalc-toggle {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(17,24,39,0.55);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.bcalc-toggle.active {
  background: #055A78;
  color: #fff;
}

/* Autocomplete */
.bcalc-ac-wrap {
  position: relative;
}
.bcalc-ac-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(17,24,39,0.3);
  font-size: 0.85rem;
  pointer-events: none;
}
.bcalc-ac-input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 1px solid rgba(17,24,39,0.14);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  color: #111827;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.bcalc-ac-input:focus {
  border-color: #0AA6D6;
  box-shadow: 0 0 0 3px rgba(10,166,214,0.12);
}
.bcalc-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: 14px;
  box-shadow: 0 12px 32px rgba(17,24,39,0.12);
  max-height: 260px;
  overflow-y: auto;
  z-index: 50;
}
.bcalc-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s;
}
.bcalc-ac-item:hover,
.bcalc-ac-item.is-active {
  background: rgba(10,166,214,0.06);
}
.bcalc-ac-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
}
.bcalc-ac-name { font-weight: 700; color: #111827; font-size: 0.9rem; }
.bcalc-ac-rating { margin-left: auto; font-weight: 700; color: #055A78; font-size: 0.85rem; }

/* Results panel */
.bcalc-results-panel {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bcalc-result-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(17,24,39,0.04);
}
.bcalc-result-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.bcalc-result--bonus .bcalc-result-icon { background: rgba(10,166,214,0.10); color: #055A78; }
.bcalc-result--balance .bcalc-result-icon { background: rgba(16,185,129,0.10); color: #065f46; }
.bcalc-result--wager .bcalc-result-icon { background: rgba(245,158,11,0.10); color: #92400e; }
.bcalc-result--effective .bcalc-result-icon { background: rgba(139,92,246,0.10); color: #5b21b6; }
.bcalc-result-body { flex: 1; min-width: 0; }
.bcalc-result-label { font-size: 0.82rem; font-weight: 600; color: rgba(17,24,39,0.5); margin-bottom: 2px; }
.bcalc-result-value { font-size: 1.5rem; font-weight: 900; color: #111827; letter-spacing: -0.5px; }
.bcalc-result-sub { font-size: 0.78rem; color: rgba(17,24,39,0.45); margin-top: 2px; }

/* Visual bars */
.bcalc-visual {
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(17,24,39,0.04);
}
.bcalc-bar-row {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  height: 34px;
}
.bcalc-bar-row:last-child { margin-bottom: 0; }
.bcalc-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  transition: flex-basis 0.4s ease;
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
}
.bcalc-bar--deposit { background: #055A78; flex-basis: 50%; }
.bcalc-bar--bonus { background: #0AA6D6; flex-basis: 50%; }
.bcalc-bar--wager { background: linear-gradient(90deg, #f59e0b, #d97706); flex-basis: 100%; }

/* CTA */
.bcalc-cta {
  text-align: center;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(17,24,39,0.04);
}
.bcalc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  background: #055A78;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bcalc-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(5,90,120,0.30);
}
.bcalc-cta-review {
  display: block;
  margin-top: 10px;
  color: #055A78;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}
.bcalc-cta-review:hover { text-decoration: underline; }

/* SEO content */
.bcalc-content {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(17,24,39,0.08);
}
.bcalc-content h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #111827;
  margin: 0 0 16px;
}
.bcalc-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin: 24px 0 10px;
}
.bcalc-content p {
  color: rgba(17,24,39,0.7);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* FAQ */
.bcalc-faq-list { display: flex; flex-direction: column; gap: 8px; }
.bcalc-faq-item {
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.bcalc-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;
}
.bcalc-faq-item summary::-webkit-details-marker { display: none; }
.bcalc-faq-item summary i {
  transition: transform 0.25s;
  color: rgba(17,24,39,0.35);
  font-size: 0.8rem;
}
.bcalc-faq-item[open] summary i { transform: rotate(180deg); }
.bcalc-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) {
  .bcalc-layout { grid-template-columns: 1fr; }
  .bcalc-results-panel { position: static; }
  .bcalc-result-value { font-size: 1.3rem; }
  .bcalc-hero { padding: 36px 0 22px; }
}
