.wppromo-ribbon-notification,
.wppromo-ribbon-notification * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ribbon Notification Banner */
.wppromo-ribbon-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Shimmer top border */
.wppromo-ribbon-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #ff6b6b, 
        #ffd93d, 
        #6bcf7f, 
        #4d96ff, 
        #9d4edd);
    background-size: 500% 100%;
    animation: wppromo-shimmer 3s infinite linear;
}

/* Content wrapper */
.wppromo-ribbon-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Close button on left */
.wppromo-ribbon-close {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 12px;
}

.wppromo-ribbon-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Text container */
.wppromo-ribbon-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

/* Notification icon */
.wppromo-ribbon-icon {
    font-size: 1.2rem;
    animation: wppromo-bounce 2s infinite;
    flex-shrink: 0;
}

/* Message styling */
.wppromo-ribbon-message {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.wppromo-ribbon-highlight {
    color: #ffd93d;
    font-weight: 700;
}

/* Breathing Button on right */
.wppromo-ribbon-button {
    background: linear-gradient(135deg, #ffd93d 0%, #ff9a3d 100%);
    color: #333;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
    animation: wppromo-breathing 2s infinite ease-in-out;
    flex-shrink: 0;
    margin-left: 12px;
    text-decoration: none !important;
}

/* Breathing animation */
@keyframes wppromo-breathing {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 217, 61, 0.6);
    }
}

/* Button hover effect */
.wppromo-ribbon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.wppromo-ribbon-button:hover::before {
    left: 100%;
}

.wppromo-ribbon-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 217, 61, 0.6);
}

/* Animations */
@keyframes wppromo-shimmer {
    0% {
        background-position: -500px 0;
    }
    100% {
        background-position: 500px 0;
    }
}

@keyframes wppromo-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Hidden state */
.wppromo-ribbon-hidden {
    transform: translateY(-100%);
}

/* Body padding when ribbon is visible */
body.wppromo-ribbon-visible {
    padding-top: 60px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .wppromo-ribbon-notification {
        padding: 12px 10px;
    }

    .wppromo-ribbon-content {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .wppromo-ribbon-close {
        width: 28px;
        height: 28px;
        font-size: 1rem;
        margin-right: 8px;
    }

    .wppromo-ribbon-icon {
        font-size: 1rem;
    }

    .wppromo-ribbon-message {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .wppromo-ribbon-button {
        padding: 6px 14px;
        font-size: 0.85rem;
        margin-left: 8px;
        min-width: 90px;
    }

    body.wppromo-ribbon-visible {
        padding-top: 55px;
    }
}

@media (max-width: 480px) {
    .wppromo-ribbon-notification {
        padding: 10px 8px;
    }

    .wppromo-ribbon-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .wppromo-ribbon-message {
        font-size: 0.8rem;
    }

    .wppromo-ribbon-icon {
        display: none; /* Hide icon on very small screens */
    }

    .wppromo-ribbon-button {
        padding: 5px 12px;
        font-size: 0.8rem;
        min-width: 80px;
    }

    body.wppromo-ribbon-visible {
        padding-top: 50px;
    }
}

@media (max-width: 360px) {
    .wppromo-ribbon-message {
        font-size: 0.75rem;
    }

    .wppromo-ribbon-button {
        font-size: 0.75rem;
        padding: 4px 10px;
        min-width: 70px;
    }
}

.wppromo-notification-disabled{
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .8);
    cursor: not-allowed;
    display: none;
}


.wppromo-ribbon-close{
    display: none;
}