/* Creator pages, 1 Des 2026 (owner): "dibayar." sits in a tilted white sticker with a red edge, like the approved
   preview, and big text gets a slow light sweep. Landing (body.cr), sign-in aside (.cm-title) and the portal
   (body.cp-dark). Loaded after the dark theme files. Motion stops with prefers-reduced-motion. */

@keyframes crs-shine {
  0% {
    background-position: 130% 0;
  }
  60%,
  100% {
    background-position: -30% 0;
  }
}
@keyframes crs-pop {
  0% {
    opacity: 0;
    transform: rotate(-12deg) scale(0.6) translateY(20px);
  }
  70% {
    opacity: 1;
    transform: rotate(-1deg) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: rotate(-3deg) scale(1);
  }
}
@keyframes crs-glint {
  0%,
  55% {
    transform: translateX(-130%) skewX(-20deg);
  }
  80%,
  100% {
    transform: translateX(260%) skewX(-20deg);
  }
}
@keyframes crs-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

/* ------------------------------------------------------------------ the "dibayar." sticker */
body.cr .cr-hero h1 .cr-hl,
.cm-title em {
  position: relative;
  display: inline-block;
  margin: 0.06em 0 0.12em 0.02em;
  padding: 0.02em 0.2em 0.1em;
  border-radius: 0.16em;
  background: linear-gradient(180deg, #ffffff, #f3efe9);
  color: #0b0b0f !important;
  -webkit-text-fill-color: #0b0b0f;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.04em;
  transform: rotate(-3deg);
  box-shadow: -0.05em 0.1em 0 #f0465e, 0 0.35em 0.7em -0.2em rgba(240, 70, 94, 0.55);
  overflow: hidden;
  animation: crs-pop 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.2) 0.35s both;
  transition: transform 0.25s;
  white-space: nowrap;
}
/* a light glint runs over the sticker every few seconds */
body.cr .cr-hero h1 .cr-hl::after,
.cm-title em::after {
  content: '';
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  mix-blend-mode: soft-light;
  animation: crs-glint 4.5s ease-in-out 1.4s infinite;
  pointer-events: none;
}
@media (hover: hover) {
  body.cr .cr-hero h1 .cr-hl:hover,
  .cm-title em:hover {
    transform: rotate(0deg) scale(1.04);
  }
}
/* the sign-in aside: the sticker sits on its own line under "Bikin konten," */
.cm-title em {
  margin-top: 0.14em;
}

/* ------------------------------------------------------------------ light sweep over big text */
/* only the plain words of the headline shine: clipping the whole h1 also painted the tilted sticker's letters a second
   time at the start of the line in Chrome (owner screenshot 1 Des 12:47) */
body.cr .cr-hero h1 .cr-h1t,
body.cr .cr-sec h2,
body.cr .cr-amount,
body.cr .cr-num,
body.cr .cr-flow b,
body.cr .cr-cashout h3,
body.cr .cr-p-balance b,
body.cp-dark .cp h1,
body.cp-dark .cp-bal dd,
body.cp-dark .cr-bal b {
  background-image: linear-gradient(105deg, #e4e4ea 0%, #e4e4ea 38%, #ffffff 45%, #ffd3da 50%, #ffffff 55%, #e4e4ea 62%, #e4e4ea 100%);
  background-size: 260% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: crs-shine 7s ease-in-out infinite;
}
/* red numbers stay red, with a pink sweep */
body.cr .cr-num,
body.cr .cr-amount,
body.cp-dark .cp-bal div:first-child dd {
  background-image: linear-gradient(105deg, #ff8a9a 0%, #f0465e 36%, #ffe4e8 48%, #f0465e 60%, #c92a47 100%);
}
body.cr .cr-sec h2 {
  animation-delay: 0.4s;
}
body.cr .cr-grid3 > :nth-child(2) .cr-amount,
body.cr .cr-grid3 > :nth-child(2) .cr-num {
  animation-delay: 0.3s;
}
body.cr .cr-grid3 > :nth-child(3) .cr-amount,
body.cr .cr-grid3 > :nth-child(3) .cr-num {
  animation-delay: 0.6s;
}
body.cp-dark .cp-bal div:nth-child(2) dd {
  animation-delay: 0.25s;
}
body.cp-dark .cp-bal div:nth-child(3) dd {
  animation-delay: 0.5s;
}
body.cp-dark .cp-bal div:nth-child(4) dd {
  animation-delay: 0.75s;
}

/* ------------------------------------------------------------------ landing hero: words come in, chips follow */
body.cr .cr-hero .cr-eyebrow {
  animation: crs-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
body.cr .cr-hero h1 {
  animation: crs-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}
body.cr .cr-hero h1 .cr-h1t {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation-delay: 1.2s;
}
body.cr .cr-hero .cr-lede {
  animation: crs-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both;
}
body.cr .cr-hero .cr-actions {
  animation: crs-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s both;
}
body.cr .cr-hero .cr-trust li {
  animation: crs-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
body.cr .cr-hero .cr-trust li:nth-child(1) {
  animation-delay: 0.75s;
}
body.cr .cr-hero .cr-trust li:nth-child(2) {
  animation-delay: 0.85s;
}
body.cr .cr-hero .cr-trust li:nth-child(3) {
  animation-delay: 0.95s;
}
body.cr .cr-hero .cr-trust li:nth-child(4) {
  animation-delay: 1.05s;
}
/* cards glow a little on hover */
@media (hover: hover) {
  body.cr .cr-card,
  body.cp-dark .cp-card {
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  body.cr .cr-card:hover,
  body.cp-dark .cp-card:hover {
    border-color: rgba(240, 70, 94, 0.45) !important;
    box-shadow: 0 30px 60px -32px rgba(240, 70, 94, 0.5) !important;
  }
}

/* ------------------------------------------------------------------ portal: sections rise in one after another on open */
body.cp-dark .cp > * {
  animation: crs-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
body.cp-dark .cp > :nth-child(2) {
  animation-delay: 0.08s;
}
body.cp-dark .cp > :nth-child(3) {
  animation-delay: 0.16s;
}
body.cp-dark .cp > :nth-child(4) {
  animation-delay: 0.24s;
}
body.cp-dark .cp > :nth-child(5) {
  animation-delay: 0.32s;
}
body.cp-dark .cp > :nth-child(n + 6) {
  animation-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  body.cr .cr-hero h1 .cr-hl,
  .cm-title em,
  body.cr .cr-hero h1 .cr-hl::after,
  .cm-title em::after,
  body.cr .cr-hero h1,
  body.cr .cr-hero h1 .cr-h1t,
  body.cr .cr-sec h2,
  body.cr .cr-amount,
  body.cr .cr-num,
  body.cr .cr-flow b,
  body.cr .cr-cashout h3,
  body.cr .cr-p-balance b,
  body.cp-dark .cp h1,
  body.cp-dark .cp-bal dd,
  body.cp-dark .cr-bal b,
  body.cr .cr-hero .cr-eyebrow,
  body.cr .cr-hero .cr-lede,
  body.cr .cr-hero .cr-actions,
  body.cr .cr-hero .cr-trust li,
  body.cp-dark .cp > * {
    animation: none !important;
  }
}

/* portal buttons in title case, like the admin (owner 1 Des 2026) */
body.cp-dark .cp :is(button, .cp-btn, .btn, input[type='submit']):not([data-kb-plain]):not(.ks-btn):not([role='option']) { text-transform: capitalize; }

/* sign-up opened from the app: the WhatsApp number is filled in and locked (creator.js, 1 Des 2026) */
body.cr .cr-apply .field.is-locked input,
body.cr #creator-form .field.is-locked input#c-contact {
  opacity: 1;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: rgba(48, 209, 122, 0.08) !important;
  border-color: rgba(48, 209, 122, 0.5) !important;
  box-shadow: inset 0 0 0 1px rgba(48, 209, 122, 0.5) !important;
  cursor: default;
}
body.cr .cr-apply .wa-lock {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #7be3a8;
}
body.cr .cr-apply .wa-lock::before {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border-radius: 50%;
  background: #30d17a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}
