/* Heksenvuur: 6,1 s zoals de referentie; warm vuur IN de letters. */
.dk-game-name.dk-game-name--witch {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    padding-right: .6em;
    overflow: visible;
    background: none;
    color: #f87825;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
    vertical-align: baseline;
    line-height: 1.3;
    font-weight: 950;
    isolation: isolate;
}
.dk-game-name--witch .dk-witch-label {
    position: relative;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: .06em;
    background: linear-gradient(#ff9c43 5%, #f2651e 55%, #d74a13 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .065em #61220d;
    paint-order: stroke fill;
    filter: drop-shadow(0 .045em 0 #3b150b);
}
.dk-witch-label::before {
    content: attr(data-witch-text);
    position: absolute;
    inset: 0;
    padding: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse at 50% 100%, #fff7a1 0%, #ffe837 25%, #ffaf13 45%, transparent 65%),
        radial-gradient(ellipse at 50% 100%, #fff58a 0%, #ffdb23 28%, transparent 62%),
        linear-gradient(to top, #ffdf31 0%, #ffa21c 35%, transparent 80%);
    background-size: .65em 145%, .9em 180%, 100% 100%;
    background-repeat: repeat-x;
    background-position: 0 1em, .3em .7em, 0 0;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
    opacity: 0;
    animation: dk-witch-burst 6.1s ease-in-out infinite,
               dk-witch-flames .58s ease-in-out infinite alternate;
}
.dk-game-name--witch::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 1.12em;
    height: 1.05em;
    right: -.08em;
    top: -.23em;
    background: url('../assets/name-effects/witch-hat.svg') center / contain no-repeat;
    transform-origin: 45% 80%;
    transform: rotate(16deg);
    animation: dk-witch-hat 6.1s ease-in-out infinite;
    pointer-events: none;
}
@keyframes dk-witch-burst {
    0%, 23%, 91%, 100% { opacity: 0; }
    28%, 83% { opacity: 1; }
    46%, 66% { opacity: .83; }
}
@keyframes dk-witch-flames {
    from { background-position: 0 -.55em, .3em -.8em, 0 0; }
    to { background-position: .2em -.95em, .05em -1.25em, 0 0; }
}
@keyframes dk-witch-hat {
    0%, 12%, 24%, 89%, 100% { transform: rotate(16deg) translateY(0); }
    17%, 49%, 76% { transform: rotate(7deg) translateY(-.035em); }
    33%, 60% { transform: rotate(22deg) translateY(.015em); }
}
@media (prefers-reduced-motion: reduce) {
    .dk-game-name--witch::after { animation: none; }
    .dk-witch-label::before { animation: none; opacity: 0; }
}

