/* ==========================================================
   SPIRIT CRM — Official Brand System
   Official icon: red flame + golden hand
   ========================================================== */

:root {
  --spirit-red: #d40712;
  --spirit-red-deep: #750000;
  --spirit-gold: #d8a63a;
  --spirit-gold-light: #ffd978;
  --spirit-bg: #071612;
  --spirit-bg-2: #0d211c;
  --spirit-text: #fffaf0;
}

.spirit-logo-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  min-width: 38px;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  margin-right: .55rem;
  transform: translateY(-1px);
}

.spirit-logo-mark::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("spirit-official-icon-512.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 0 10px rgba(212, 7, 18, .78))
          drop-shadow(0 0 7px rgba(216, 166, 58, .35));
}

.spirit-official-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 0 10px rgba(212, 7, 18, .78))
          drop-shadow(0 0 7px rgba(216, 166, 58, .35));
}

.spirit-brand-title,
.spirit-brand-heading {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.spirit-pro-header {
  background:
    radial-gradient(circle at 20% 20%, rgba(216,166,58,.16), transparent 34%),
    linear-gradient(135deg, #06110f, #0d211c 48%, #050807);
  border: 1px solid rgba(216,166,58,.26);
  box-shadow: 0 18px 50px rgba(0,0,0,.36);
}

.spirit-pro-wordmark {
  color: var(--spirit-text);
  letter-spacing: .04em;
  text-shadow: 0 0 14px rgba(212,7,18,.35);
}

.spirit-pro-wordmark strong,
.spirit-red-text {
  color: var(--spirit-red);
}

.spirit-gold-text {
  color: var(--spirit-gold-light);
}

.spirit-header-banner {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.40);
}

.spirit-badge-card {
  background-image: url("spirit-crm-badge-dark.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 640px) {
  .spirit-logo-mark {
    width: 31px;
    height: 31px;
    min-width: 31px;
    margin-right: .42rem;
  }

  .spirit-official-icon {
    width: 36px;
    height: 36px;
  }
}