.amby-promo {
    display: none;
    font-family: inherit;
    color: var(--amby-text);
    z-index: 99999;
}
.amby-promo.is-visible {
    display: block;
}

/* Base styles */
.amby-promo-headline {
    margin-top: 0;
    color: var(--amby-text);
}
.amby-promo-subtitle {
    color: var(--amby-text);
}
.amby-promo-cta {
    display: inline-block;
    background: var(--amby-accent);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
.amby-promo-close {
    background: none;
    border: none;
    color: var(--amby-text);
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    opacity: 0.7;
}
.amby-promo-close:hover {
    opacity: 1;
}

/* Discount Code */
.amby-promo-discount {
    display: inline-flex;
    align-items: center;
    border: 2px dashed var(--amby-accent);
    padding: 5px 10px;
    margin: 10px 0;
    border-radius: 4px;
}
.amby-promo-discount .amby-code {
    font-family: monospace;
    font-size: 1.1em;
    margin-right: 10px;
}
.amby-promo-discount .amby-copy-btn {
    background: var(--amby-accent);
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
}

/* Banner */
.amby-promo-banner {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--amby-bg);
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    animation: slideDown 0.5s ease-out;
}
.amby-promo-banner .amby-promo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.amby-promo-banner .amby-promo-headline {
    margin: 0;
    font-size: 1.2em;
}
.amby-promo-banner .amby-promo-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* Floating */
.amby-promo-floating {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--amby-bg);
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    animation: slideUp 0.5s ease-out;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.amby-promo-floating .amby-promo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Slide-in */
.amby-promo-slide_in {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: var(--amby-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: slideUpRight 0.5s ease-out;
}

/* Popup */
.amby-promo-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}
.amby-promo-popup.is-visible {
    display: flex;
}
.amby-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
}
.amby-promo-popup .amby-promo-content {
    position: relative;
    background-color: var(--amby-bg);
    background-image: var(--amby-bg-image);
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-out;
    z-index: 1;
}

/* Animations */
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes slideUpRight {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
    .amby-promo-popup .amby-promo-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .amby-promo-slide_in {
        bottom: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
    }
}
