/* Fortnite Support-A-Creator floating badge + video popup (shared across pages) */
.creator-code {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border-radius: 13px;
    text-decoration: none;
    font-family: 'Lilita One', 'Space Grotesk', sans-serif;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(150deg, #2f7bff 0%, #5a5cff 45%, #9b4dff 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 4px 0 0 #2a2360,
        0 10px 24px -8px rgba(90, 92, 255, 0.7),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.35);
    transform: rotate(-3deg);
    transition: box-shadow .25s cubic-bezier(.16, 1, .3, 1), transform .2s cubic-bezier(.16, 1, .3, 1), filter .25s cubic-bezier(.16, 1, .3, 1);
}
.creator-code:hover {
    transform: rotate(-3deg) translateY(-3px) scale(1.05);
    filter: saturate(1.15) brightness(1.05);
    box-shadow:
        0 6px 0 0 #2a2360,
        0 16px 32px -8px rgba(110, 100, 255, 0.85),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.45);
}
.creator-code:active {
    transform: rotate(-3deg) translateY(1px) scale(1.0);
    box-shadow:
        0 2px 0 0 #2a2360,
        0 6px 16px -8px rgba(90, 92, 255, 0.7),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.35);
}
.creator-code .cc-llama {
    width: 19px;
    height: 19px;
    color: #fff;
    flex: none;
    stroke-width: 2;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}
.creator-code .cc-text {
    line-height: 1;
    padding-top: 2px;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.28);
}
.creator-code .cc-text strong {
    font-weight: 400;
    color: #ffe14d;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 0 rgba(120, 60, 0, 0.45);
}
.creator-code .cc-ad {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: lowercase;
    padding-top: 1px;
}

/* Video popup — minimized window */
.cc-popup {
    position: fixed;
    bottom: 84px;
    right: 20px;
    z-index: 70;
    width: 760px;
    max-width: calc(100vw - 32px);
    border-radius: 14px;
    overflow: hidden;
    background: #0c0c12;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 18px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(120, 150, 255, 0.25),
        0 10px 40px -10px rgba(90, 92, 255, 0.5);
    transform-origin: bottom right;
    opacity: 0;
    transform: translateY(12px) scale(0.85);
    pointer-events: none;
    transition: opacity .22s cubic-bezier(.16, 1, .3, 1), transform .28s cubic-bezier(.16, 1, .3, 1);
}
.cc-popup.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.cc-popup-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 8px 7px 11px;
    background: linear-gradient(150deg, #2f7bff 0%, #5a5cff 50%, #9b4dff 100%);
}
.cc-popup-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Lilita One', 'Space Grotesk', sans-serif;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
.cc-popup-title .cc-llama { width: 16px; height: 16px; color: #fff; }
.cc-popup-title span:nth-of-type(1) { color: #ffe14d; }
.cc-popup-ad {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: lowercase;
}
.cc-popup-close {
    flex: none;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.18);
    transition: background .2s cubic-bezier(.16, 1, .3, 1);
}
.cc-popup-close:hover { background: rgba(0, 0, 0, 0.38); }
.cc-popup-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    object-fit: contain;
}
.cc-popup-shop {
    display: block;
    padding: 9px 12px;
    text-align: center;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aecbff;
    background: #0c0c12;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: color .25s cubic-bezier(.16, 1, .3, 1), background .25s cubic-bezier(.16, 1, .3, 1);
}
.cc-popup-shop:hover { color: #fff; background: #12121c; }

@media (max-width: 480px) {
    .creator-code {
        bottom: 14px;
        right: 14px;
        padding: 7px 12px;
        font-size: 12px;
        gap: 7px;
    }
    .creator-code .cc-llama { width: 16px; height: 16px; }
    .creator-code .cc-ad { font-size: 8px; }
    .cc-popup { bottom: 74px; right: 14px; }
}
