.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;
}

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,
a.wwso-sticker:focus {
    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);
}

/* =========================================
   ANIMATIONEN
   ========================================= */

.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-pulse:hover,
.wwso-animate-bounce:hover,
.wwso-animate-shake:hover {
    transform-origin: center;
}

@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);
    }
}

/* =========================================
   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-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-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;
    }
}