.demo-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.demo-modal.active {
    display: block;
}

.demo-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
}

.demo-modal__content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: auto;
    top: 5%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.demo-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.demo-modal__close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.wg-success-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: 0.3s ease;
}

.wg-success-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wg-success-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
}

.wg-success-content {
    position: relative;
    z-index: 2;

    width: min(92%, 480px);

    background: #111827;
    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 24px;

    padding: 42px 32px;

    text-align: center;

    box-shadow:
        0 25px 80px rgba(0,0,0,0.45);

    transform: translateY(30px) scale(0.96);

    transition: 0.35s ease;
}

.wg-success-modal.active .wg-success-content {
    transform: translateY(0) scale(1);
}

.wg-success-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 20px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;
    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #ff7a00,
            #ff5500
        );

    color: white;

    box-shadow:
        0 15px 40px rgba(255,102,0,0.35);
}

#wgSuccessTitle {
    color: white;
    font-size: 28px;
    font-weight: 700;

    margin-bottom: 14px;
}

#wgSuccessMessage {
    color: rgba(255,255,255,0.72);

    line-height: 1.7;

    margin-bottom: 28px;
}

#wgSuccessClose {
    border: none;

    background:
        linear-gradient(
            135deg,
            #ff7a00,
            #ff5500
        );

    color: white;

    padding: 14px 22px;

    border-radius: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.25s ease;
}

#wgSuccessClose:hover {
    transform: translateY(-2px);
}