.wwso-sticker,
a.wwso-sticker {
    box-sizing: border-box;
    z-index: 999999;
    text-decoration: none;
    color: inherit;
}

/* =========================================
   BASIS / LINK-VERHALTEN
   ========================================= */

.wwso-placement-fixed {
    position: fixed;
}

.wwso-preview-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2147483000;
    background: #111827;
    color: #fff;
    font-size: 13px;
    text-align: center;
    padding: 8px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.wwso-preview-banner a {
    color: #93c5fd;
    text-decoration: underline;
    margin-left: 8px;
}

/* =========================================
   FULL-WIDTH BAR
   ========================================= */

.wwso-bar-wrap {
    display: block;
}

.wwso-sticker-bar,
a.wwso-sticker-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 12px 46px;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.wwso-sticker-icon {
    margin-right: 8px;
    flex-shrink: 0;
}

/* =========================================
   WRAP / VISIBILITY / ENTRANCE
   ========================================= */

.wwso-item-wrap {
    display: block;
}

.wwso-item-wrap.wwso-pending {
    display: none !important;
}

.wwso-item-wrap.wwso-entrance-fade {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.wwso-item-wrap.wwso-entrance-fade.wwso-visible {
    opacity: 1;
}

.wwso-item-wrap.wwso-entrance-slide {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.wwso-item-wrap.wwso-entrance-slide.wwso-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .wwso-item-wrap.wwso-entrance-fade,
    .wwso-item-wrap.wwso-entrance-slide {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.wwso-item-dismiss {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 2;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.wwso-item-dismiss:hover {
    background: #1f2937;
}

.wwso-bar-wrap .wwso-item-dismiss {
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}

.wwso-bar-wrap .wwso-item-dismiss:hover {
    transform: translateY(-50%);
    background: #1f2937;
}

.wwso-item-dismiss:focus-visible,
.wwso-overlay-close:focus-visible,
.wwso-overlay-button:focus-visible,
a.wwso-sticker:focus-visible,
.wwso-has-link:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

a.wwso-sticker,
.wwso-has-link {
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
}

a.wwso-sticker:hover,
.wwso-has-link:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.wwso-has-link:focus:not(:focus-visible),
a.wwso-sticker:focus:not(:focus-visible) {
    outline: none;
}

/* =========================================
   STANDARD SHAPE STICKER
   ========================================= */

.wwso-sticker,
a.wwso-sticker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    max-width: 220px;
    min-width: 80px;
    text-align: center;
    word-break: break-word;
    white-space: normal;
    overflow: visible;
    position: relative;
    isolation: isolate;
}

.wwso-sticker:hover,
a.wwso-sticker:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.22),
        inset 0 -2px 0 rgba(0, 0, 0, 0.10);
}

.wwso-sticker::before,
a.wwso-sticker::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.18) 32%,
        rgba(255, 255, 255, 0) 60%
    );
}

.wwso-sticker::after,
a.wwso-sticker::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.10);
    opacity: 0.9;
}

.wwso-sticker-text {
    display: block;
    width: 100%;
    font-size: var(--wwso-font-size, 14px);
    font-weight: var(--wwso-font-weight, 700);
    text-align: var(--wwso-text-align, center);
    line-height: 1.3;
    word-break: break-word;
    margin: 0;
    color: var(--wwso-text-color, inherit);
    position: relative;
    z-index: 1;
}

/* =========================================
   FREE SHAPES
   ========================================= */

.wwso-shape-rectangle {
    border-radius: 10px;
}

.wwso-shape-rounded {
    border-radius: 18px;
}

.wwso-shape-pill {
    border-radius: 999px;
    min-width: 150px;
    min-height: 50px;
    padding: 14px 22px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18),
        inset 0 -2px 0 rgba(0, 0, 0, 0.10);
}

.wwso-shape-circle {
    border-radius: 999px;
    width: 96px;
    height: 96px;
    min-width: 96px;
    max-width: 96px;
    padding: 10px;
}

.wwso-shape-ribbon {
    border-radius: 4px 14px 14px 4px;
    padding-left: 26px;
}

.wwso-shape-ribbon::before {
    border-radius: 4px 0 0 4px;
}

.wwso-shape-ribbon::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: rgba(0, 0, 0, 0.18);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* =========================================
   ANIMATIONEN
   ========================================= */

.wwso-animate-pulse:hover,
.wwso-animate-bounce:hover,
.wwso-animate-shake:hover,
.wwso-animate-wobble:hover,
.wwso-animate-shine:hover {
    transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
    .wwso-animate-pulse {
        animation: wwsoPulse 1.8s infinite;
    }

    .wwso-animate-bounce {
        animation: wwsoBounce 1.6s infinite;
    }

    .wwso-animate-shake {
        animation: wwsoShake 1.5s infinite;
    }

    .wwso-animate-wobble {
        animation: wwsoWobble 2.2s infinite;
    }

    .wwso-animate-shine {
        overflow: hidden;
    }

    .wwso-animate-shine::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
        background-size: 220% 100%;
        background-position: 130% 0;
        animation: wwsoShine 2.6s ease-in-out infinite;
    }
}

@keyframes wwsoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes wwsoBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes wwsoShake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-2deg);
    }
    75% {
        transform: rotate(2deg);
    }
}

@keyframes wwsoWobble {
    0%, 100% {
        transform: rotate(0deg);
    }
    15% {
        transform: rotate(-4deg);
    }
    30% {
        transform: rotate(3deg);
    }
    45% {
        transform: rotate(-2deg);
    }
    60% {
        transform: rotate(1deg);
    }
}

@keyframes wwsoShine {
    0% {
        background-position: 130% 0;
    }
    60%, 100% {
        background-position: -30% 0;
    }
}

/* =========================================
   OVERLAY
   ========================================= */

.wwso-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999999;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.wwso-overlay.is-visible {
    display: block !important;
    opacity: 1;
}

.wwso-overlay-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(37, 99, 235, 0.12), transparent 38%),
        rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.wwso-overlay-box {
    position: relative;
    z-index: 2;
    width: min(92%, 560px);
    margin: 9vh auto 0;
    padding: 34px 30px 28px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    color: #0f172a;
    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.28),
        0 10px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transform: translateY(24px) scale(0.98);
    opacity: 0;
    transition:
        transform 0.34s ease,
        opacity 0.34s ease;
    overflow: hidden;
}

.wwso-overlay-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #ec4899);
}

.wwso-overlay-box::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 26%),
        radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.08), transparent 26%);
}

.wwso-overlay.is-visible .wwso-overlay-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.wwso-overlay-box-banner {
    width: min(94%, 760px);
    min-height: 300px;
    padding: 40px 34px 30px;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-clip: padding-box;
}

.wwso-overlay-box-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.34)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 30%);
}

.wwso-overlay-box-banner .wwso-overlay-title,
.wwso-overlay-box-banner .wwso-overlay-text,
.wwso-overlay-box-banner .wwso-overlay-button-wrap,
.wwso-overlay-box-banner .wwso-overlay-button,
.wwso-overlay-box-banner .wwso-overlay-close {
    position: relative;
    z-index: 2;
}

.wwso-overlay-title {
    margin: 0 38px 14px 0;
    font-size: 32px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    position: relative;
    z-index: 1;
}

.wwso-overlay-text {
    margin: 0 0 24px;
    line-height: 1.7;
    font-size: 16px;
    color: #334155;
    position: relative;
    z-index: 1;
}

.wwso-overlay-text p:last-child {
    margin-bottom: 0;
}

.wwso-overlay-countdown {
    display: flex;
    gap: 10px;
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
    font-variant-numeric: tabular-nums;
}

.wwso-overlay-countdown:empty {
    display: none;
}

.wwso-overlay-countdown .wwso-countdown-segment {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 10px;
    padding: 8px 12px;
    text-align: center;
    min-width: 54px;
}

.wwso-overlay-countdown .wwso-countdown-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.wwso-overlay-countdown .wwso-countdown-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
}

.wwso-overlay-button-wrap {
    display: flex;
    width: 100%;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

.wwso-overlay-button-align-left {
    justify-content: flex-start;
}

.wwso-overlay-button-align-center {
    justify-content: center;
}

.wwso-overlay-button-align-right {
    justify-content: flex-end;
}

.wwso-overlay-button-align-full {
    justify-content: stretch;
}

.wwso-overlay-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff !important;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    box-shadow:
        0 12px 26px rgba(17, 24, 39, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease;
    position: relative;
    z-index: 1;
}

.wwso-overlay-button-full {
    width: 100%;
}

.wwso-overlay-button::after {
    content: "→";
    font-size: 16px;
    line-height: 1;
}

.wwso-overlay-button:hover {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow:
        0 18px 34px rgba(17, 24, 39, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.wwso-overlay-button:active {
    transform: translateY(0);
}

.wwso-overlay-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        color 0.18s ease;
    z-index: 3;
}

.wwso-overlay-close:hover {
    background: rgba(15, 23, 42, 0.12);
    color: #0f172a;
    transform: rotate(90deg);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    .wwso-sticker,
    a.wwso-sticker {
        font-size: 13px;
        padding: 12px 14px;
        max-width: 170px;
    }

    .wwso-sticker-bar,
    a.wwso-sticker-bar {
        max-width: none;
        padding: 10px 40px;
    }

    .wwso-preview-banner {
        font-size: 11px;
        padding: 6px 10px;
    }

    .wwso-shape-pill {
        min-width: 120px;
        min-height: 42px;
        padding: 12px 16px;
    }

    .wwso-overlay-box {
        width: min(94%, 560px);
        margin-top: 10vh;
        padding: 28px 20px 22px;
        border-radius: 20px;
    }

    .wwso-overlay-box-banner {
        width: min(94%, 560px);
        min-height: 240px;
        padding: 28px 20px 22px;
        background-position: center center !important;
    }

    .wwso-overlay-title {
        font-size: 24px;
        margin-right: 32px;
    }

    .wwso-overlay-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .wwso-overlay-button-wrap,
    .wwso-overlay-button-align-left,
    .wwso-overlay-button-align-center,
    .wwso-overlay-button-align-right,
    .wwso-overlay-button-align-full {
        justify-content: stretch;
    }

    .wwso-overlay-button,
    .wwso-overlay-button-full {
        width: 100%;
    }

    .wwso-overlay-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
        font-size: 22px;
    }
}