#arthurs-popup {
    position: fixed;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
    font-family: Montserrat, Arial, sans-serif;
    color: #191c19;
    color-scheme: light;
}

#arthurs-popup * {
    box-sizing: border-box;
}

#arthurs-popup.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Positions */
#arthurs-popup.arthurs-popup--bottom-right {
    bottom: 25px;
    right: 25px;
}

#arthurs-popup.arthurs-popup--bottom-left {
    bottom: 25px;
    left: 25px;
}

#arthurs-popup .ap-panel {
    width: 580px;
    max-width: 100%;
    margin: auto;
    background: #fff;
    box-shadow: 0 12px 48px rgba(24, 39, 28, 0.22);
    border: 1px solid #e8e5df;
    position: relative;
    overflow: hidden;
}

#arthurs-popup .ap-art {
    height: 125px;
    background: radial-gradient(circle at 12% 25%, #ead39c 0 2px, transparent 4px),
                radial-gradient(circle at 73% 60%, #ffe3a2 0 3px, transparent 6px),
                radial-gradient(circle at 87% 23%, #ddc494 0 2px, transparent 5px),
                radial-gradient(ellipse at 22% 100%, #4a6044, transparent 60%),
                linear-gradient(115deg, #142b24, #263e30 55%, #11271e);
    position: relative;
    overflow: hidden;
}

#arthurs-popup .ap-art:before {
    content: '';
    position: absolute;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    right: 95px;
    top: 51px;
    background: radial-gradient(circle at 32% 25%, #fff0c6, #bca06b 40%, #6b5633 90%);
    box-shadow: 0 0 40px rgba(227, 201, 142, 0.14);
}

#arthurs-popup .ap-art:after {
    content: '';
    position: absolute;
    right: 141px;
    top: 0;
    width: 1px;
    height: 54px;
    background: #c8b17d;
}

#arthurs-popup .ap-brand {
    position: absolute;
    left: 32px;
    top: 32px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 1.7;
}

#arthurs-popup .ap-brand small {
    font-size: 9px;
    letter-spacing: 1.6px;
    opacity: .8;
}

#arthurs-popup .ap-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 26px;
    z-index: 1;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: opacity 0.2s, transform 0.2s;
}

#arthurs-popup .ap-close:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

#arthurs-popup .ap-copy {
    padding: 30px 34px 32px;
}

#arthurs-popup .ap-kicker {
    font-size: 10px;
    letter-spacing: 2px;
    color: #82704d;
    margin: 0 0 14px;
}

#arthurs-popup h2 {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -.8px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #171b17;
}

#arthurs-popup .ap-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #62665f;
    margin: 0 0 20px;
    max-width: 450px;
}

#arthurs-popup .ap-foot {
    font-size: 12px;
    color: #82704d;
    margin: 0 0 24px;
}

#arthurs-popup .ap-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 21px;
    background: #101510;
    color: white !important;
    text-decoration: none !important;
    font-size: 12px;
    letter-spacing: .5px;
    font-weight: 600;
    transition: background 0.2s ease;
}

#arthurs-popup .ap-link:hover {
    background: #304536;
    color: white !important;
    text-decoration: none !important;
}

#arthurs-popup [hidden] {
    display: none !important;
}

/* Mobile responsive */
@media (max-width: 576px) {
    #arthurs-popup.arthurs-popup--bottom-right,
    #arthurs-popup.arthurs-popup--bottom-left {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    #arthurs-popup .ap-panel {
        width: 100%;
    }

    #arthurs-popup .ap-copy {
        padding: 24px 20px 24px;
    }

    #arthurs-popup h2 {
        font-size: 22px;
    }

    #arthurs-popup .ap-desc {
        font-size: 13.5px;
        margin-bottom: 16px;
    }

    #arthurs-popup .ap-foot {
        margin-bottom: 18px;
    }

    #arthurs-popup .ap-brand {
        left: 24px;
    }

    #arthurs-popup .ap-art:before {
        right: 54px;
    }

    #arthurs-popup .ap-art:after {
        right: 100px;
    }
}
