/* Giftum brand — from Giftum.pdf */
:root {
  --gf-cream: #f5f3ed;
  --gf-sage: #e9eddf;
  --gf-sage-deep: #d9e5b4;
  --gf-paper: #fffef8;
  --gf-ink: #232820;
  --gf-muted: #5c6356;
  --gf-coral: #ff754d;
  --gf-forest: #29392d;
  --gf-forest-soft: #3a4a3e;
  --gf-line: rgba(35, 40, 32, 0.12);
  --gf-ok: #4f7a3e;
  --gf-danger: #c44b3c;
  --gf-radius: 24px;
  --gf-radius-sm: 16px;
  --gf-font: "Manrope", "Segoe UI", sans-serif;
  --gf-shadow: 0 18px 40px rgba(35, 40, 32, 0.1);
}

* { box-sizing: border-box; }

/* 8-point spark (PDF mark) via mask, not a 5-point star */
.gf-mark {
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-left: 0.14em;
  vertical-align: 0.06em;
  background: var(--gf-coral);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1.2l1.55 6.05 4.95-3.85-2.2 5.85 6.3.55-5.55 3.05 3.45 5.2-5.75-2.05L12 22.8l-2.75-6.8-5.75 2.05 3.45-5.2L1.4 9.8l6.3-.55-2.2-5.85 4.95 3.85z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1.2l1.55 6.05 4.95-3.85-2.2 5.85 6.3.55-5.55 3.05 3.45 5.2-5.75-2.05L12 22.8l-2.75-6.8-5.75 2.05 3.45-5.2L1.4 9.8l6.3-.55-2.2-5.85 4.95 3.85z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gf-logo {
  font-family: var(--gf-font);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gf-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}
.gf-logo .gf-mark { width: 0.55em; height: 0.55em; }

/* Certificate card (PDF coral / sage) */
.gf-cert {
  position: relative;
  border-radius: var(--gf-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  color: var(--gf-ink);
  font-family: var(--gf-font);
}
.gf-cert--coral { background: var(--gf-coral); color: var(--gf-ink); }
.gf-cert--sage { background: var(--gf-sage-deep); color: var(--gf-ink); }
.gf-cert--forest { background: var(--gf-forest); color: #fff; }
.gf-cert__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.1rem 0;
}
.gf-cert__brand {
  font-weight: 800;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  letter-spacing: -0.03em;
}
.gf-cert__badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.9;
  text-align: right;
  max-width: 7rem;
  line-height: 1.25;
}
.gf-cert__star {
  position: absolute;
  right: 7%;
  top: 34%;
  width: clamp(3.2rem, 14vw, 4.8rem);
  height: clamp(3.2rem, 14vw, 4.8rem);
  background: currentColor;
  opacity: 0.28;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1.2l1.55 6.05 4.95-3.85-2.2 5.85 6.3.55-5.55 3.05 3.45 5.2-5.75-2.05L12 22.8l-2.75-6.8-5.75 2.05 3.45-5.2L1.4 9.8l6.3-.55-2.2-5.85 4.95 3.85z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1.2l1.55 6.05 4.95-3.85-2.2 5.85 6.3.55-5.55 3.05 3.45 5.2-5.75-2.05L12 22.8l-2.75-6.8-5.75 2.05 3.45-5.2L1.4 9.8l6.3-.55-2.2-5.85 4.95 3.85z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gf-cert--coral .gf-cert__star { background: #fff; opacity: 0.42; color: #fff; }
.gf-cert__copy {
  position: absolute;
  left: 1.1rem;
  right: 38%;
  top: 42%;
  margin: 0;
  font-size: clamp(1.05rem, 3.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.gf-cert__amount {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.gf-cert__amount span {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 0.15em;
}
