/* ============================================================
   Digital Growth – Cookie Consent Banner
   ============================================================ */
#dg-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  padding: 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease;
  font-family: 'Poppins', 'Arimo', system-ui, -apple-system, Segoe UI, sans-serif;
}
#dg-consent.dg-consent-visible {
  opacity: 1;
  transform: translateY(0);
}
#dg-consent .dg-consent-card {
  pointer-events: auto;
  width: 100%;
  max-width: 560px;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(168, 85, 247, 0.08);
  color: #fff;
}
#dg-consent .dg-consent-body { padding: 22px 24px 20px; }

#dg-consent .dg-consent-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #ffffff;
  letter-spacing: -0.01em;
}
#dg-consent .dg-consent-text {
  font-size: 13px;
  line-height: 1.55;
  color: #9ca3af;
  margin: 0 0 16px;
}
#dg-consent .dg-consent-text a { color: #c084fc; text-decoration: underline; }

#dg-consent .dg-consent-options {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
#dg-consent .dg-consent-options[data-expanded="true"] { display: flex; }
#dg-consent .dg-consent-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #d1d5db;
  cursor: pointer;
}
#dg-consent .dg-consent-opt input[type="checkbox"] {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  accent-color: #a855f7;
  cursor: pointer;
}
#dg-consent .dg-consent-opt input[type="checkbox"]:disabled { cursor: not-allowed; opacity: .7; }
#dg-consent .dg-consent-opt strong {
  display: block;
  font-weight: 600;
  color: #fff;
  font-size: 12.5px;
  margin-bottom: 2px;
}
#dg-consent .dg-consent-opt span {
  display: block;
  color: #9ca3af;
  font-size: 11.5px;
  line-height: 1.45;
}

#dg-consent .dg-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
#dg-consent .dg-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
  letter-spacing: 0.01em;
}
#dg-consent .dg-btn:hover { transform: translateY(-1px); }
#dg-consent .dg-btn-primary {
  background: linear-gradient(135deg, #a855f7, #c084fc);
  color: #0a0a0a;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.35);
}
#dg-consent .dg-btn-primary:hover { box-shadow: 0 6px 22px rgba(168, 85, 247, 0.5); }
#dg-consent .dg-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}
#dg-consent .dg-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}
#dg-consent .dg-hidden { display: none; }

#dg-consent .dg-consent-legal {
  font-size: 11px;
  color: #6b7280;
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
#dg-consent .dg-consent-legal a {
  color: #9ca3af;
  text-decoration: none;
}
#dg-consent .dg-consent-legal a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 480px) {
  #dg-consent { padding: 10px; }
  #dg-consent .dg-consent-body { padding: 18px 18px 16px; }
  #dg-consent .dg-btn { flex: 1 1 auto; justify-content: center; text-align: center; }
}
