/* ===================================
   Order Bump Modal - Viewer Level
   =================================== */

/* Modal Base */
/* .ob-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: obFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ob-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(8px);
    animation: obOverlayFade 0.4s ease;
} */

/* Desktop: use Bootstrap modal-xl default (no overrides) */
/* Mobile overrides applied in media queries below */

.ob-container {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 28px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(124, 58, 237, 0.25), 0 0 0 1px rgba(124, 58, 237, 0.1);
    animation: obSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-x: hidden;
}

/* Scrollbar Styling */
.ob-container::-webkit-scrollbar {
    width: 8px;
}

.ob-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 28px 28px 0;
}

.ob-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7c3aed 0%, #a78bfa 100%);
    border-radius: 4px;
}

/* Close Button */
.ob-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    color: #b45309;
}

.ob-close .ob-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.ob-close:hover {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
    color: #dc2626;
    transform: rotate(90deg) scale(1.1);
}

/* Header */
.ob-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
    border-radius: 28px 28px 0 0;
    position: relative;
    overflow: hidden;
}

.ob-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    animation: obPulse 4s ease-in-out infinite;
}

.ob-success-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.3), 0 0 0 8px rgba(16, 185, 129, 0.1);
    animation: obSuccessPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
    position: relative;
    font-size: 2.5rem; /* For emoji */
}

.ob-success-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #10b981;
    animation: obRipple 2s ease-out infinite;
}

.ob-title {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    position: relative;
}

.ob-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Content */
.ob-content {
    padding: 2rem;
    overflow: auto;
}

/* Free Item Card */
.ob-item-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #6ee7b7;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: obItemSlide 0.5s ease 0.3s both;
}

.ob-item-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: obShimmer 3s ease-in-out infinite;
}

.ob-item-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
}

.ob-item-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    animation: obIconFloat 3s ease-in-out infinite;
    font-size: 1.75rem; /* For emoji */
}

.ob-item-info {
    flex: 1;
}

.ob-item-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: obBadgePulse 2s ease-in-out infinite;
}

.ob-item-badge .ob-icon {
    font-size: 0.75rem;
    line-height: 1;
}

.ob-item-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.375rem 0;
}

.ob-item-desc {
    font-size: 0.9375rem;
    color: #475569;
    margin: 0;
}

/* Pay What You Want Card */
.ob-pwyw-card {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e9d5ff;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
    animation: obItemSlide 0.5s ease 0.4s both;
}

.ob-pwyw-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ob-pwyw-icon {
    display: inline-flex;
    margin-bottom: 1rem;
    animation: obIconSpin 4s linear infinite;
    font-size: 2rem; /* For emoji */
}

.ob-pwyw-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.ob-pwyw-desc {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Slider Container */
.ob-slider-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e9d5ff;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
}

.ob-slider-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ob-emoji {
    animation: obEmojiPop 0.3s ease;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#obEmojiNative {
    font-size: 64px; /* Increased font size for better visibility */
    line-height: 1;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    animation: obEmojiFloat 3s ease-in-out infinite;
    user-select: none; /* Prevent text selection */
}

.ob-amount-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ob-amount {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ob-amount-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Slider Track */
.ob-slider-track {
    position: relative;
    height: 12px;
    background: linear-gradient(90deg, #e9d5ff 0%, #c4b5fd 100%);
    border-radius: 6px;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(124, 58, 237, 0.1);
}

.ob-slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #7c3aed 0%, #a78bfa 50%, #c4b5fd 100%);
    border-radius: 6px;
    width: 0%;
    transition: width 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.ob-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
}

.ob-slider-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 28px;
    height: 28px;
    background: white;
    border: 4px solid #7c3aed;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    transition: left 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 2;
    animation: obThumbPulse 2s ease-in-out infinite;
}

.ob-slider:active + .ob-slider-thumb {
    transform: translate(-50%, -50%) scale(1.2);
}

.ob-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.ob-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 1.5rem;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-radius: 12px;
    color: #7c3aed;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid #e9d5ff;
    animation: obMessageSlide 0.4s ease;
}

.ob-message-icon {
    flex-shrink: 0;
    animation: obHeartbeat 1.5s ease-in-out infinite;
}

#obMessageText {
    transition: all 0.3s ease;
}

/* Premium Card */
.ob-premium-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #fbbf24;
    border-radius: 20px;
    padding: 0;
    position: relative;
    animation: obItemSlide 0.5s ease 0.5s both;
}

.ob-premium-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    z-index: 1;
    animation: obBadgeBounce 2s ease-in-out infinite;
    white-space: nowrap;
}

/* Error Message */
.ob-error-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fef2f2;
    border: 2px solid #fecaca;
    border-radius: 12px;
    margin: 1.5rem 2rem 0;
    animation: obErrorSlideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ob-error-icon {
    flex-shrink: 0;
    color: #ef4444;
}

.ob-error-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #b91c1c;
    margin: 0;
}


.ob-premium-badge .ob-icon {
    font-size: 0.75rem;
}

.ob-premium-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin: 1rem;
    margin-top: 1.5rem;
}

.ob-premium-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.ob-premium-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    animation: obIconFloat 3s ease-in-out infinite 0.5s;
    font-size: 1.75rem; /* For emoji */
}

.ob-premium-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.375rem 0;
}

.ob-premium-desc {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Features */
.ob-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ob-feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.9375rem;
    color: #1e293b;
    font-weight: 600;
    animation: obFeatureSlide 0.4s ease backwards;
}

.ob-feature:nth-child(1) { animation-delay: 0.6s; }
.ob-feature:nth-child(2) { animation-delay: 0.7s; }
.ob-feature:nth-child(3) { animation-delay: 0.8s; }
.ob-feature:nth-child(4) { animation-delay: 0.9s; }

.ob-feature-icon {
    flex-shrink: 0;
    animation: obCheckPop 0.5s ease backwards;
    color: #10b981;
}

.ob-feature:nth-child(1) .ob-feature-icon { animation-delay: 0.6s; }
.ob-feature:nth-child(2) .ob-feature-icon { animation-delay: 0.7s; }
.ob-feature:nth-child(3) .ob-feature-icon { animation-delay: 0.8s; }
.ob-feature:nth-child(4) .ob-feature-icon { animation-delay: 0.9s; }

/* Pricing */
.ob-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 2px solid #86efac;
}

.ob-pricing-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ob-price-old {
    font-size: 1.5rem;
    font-weight: 700;
    color: #94a3b8;
    text-decoration: line-through;
    position: relative;
}

.ob-price-new {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: obPriceScale 2s ease-in-out infinite;
}

.ob-price-save {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: obSavePulse 2s ease-in-out infinite;
}

.ob-price-save .ob-icon {
    font-size: 1rem;
}

/* Checkbox */
.ob-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 3px solid #e9d5ff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
}

.ob-checkbox:hover {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #c4b5fd;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
}

.ob-checkbox input {
    display: none;
}

.ob-checkbox-mark {
    width: 28px;
    height: 28px;
    border: 3px solid #7c3aed;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-checkbox-mark .ob-icon {
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1rem;
    line-height: 1;
}

.ob-checkbox input:checked + .ob-checkbox-mark .ob-icon {
    opacity: 1;
    transform: scale(1);
}

.ob-checkbox-text {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

/* Actions - stays visible at bottom when content scrolls */
.ob-actions {
    padding: 1.5rem 2rem 1rem;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

.ob-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.ob-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ob-btn:hover::before {
    width: 400px;
    height: 400px;
}

.ob-btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.ob-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.5);
}

.ob-btn-primary:active {
    transform: translateY(-1px);
}

.ob-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ob-btn .ob-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.ob-btn:hover .ob-icon {
    transform: translateX(4px);
}

#obBtnText {
    position: relative;
    z-index: 1;
}

/* Trust Badges - stays visible at bottom when content scrolls */
.ob-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem 2rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    flex-wrap: wrap;
    background: #ffffff;
}

.ob-trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    animation: obTrustSlide 0.5s ease backwards;
}

.ob-trust-item:nth-child(1) { animation-delay: 1s; }
.ob-trust-item:nth-child(2) { animation-delay: 1.1s; }
.ob-trust-item:nth-child(3) { animation-delay: 1.2s; }

.ob-trust-item .ob-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
}

/* ===================================
   Animations
   =================================== */

@keyframes obFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes obOverlayFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes obSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes obSuccessPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes obRipple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes obPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes obItemSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes obShimmer {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(100%) translateY(50%);
    }
}

@keyframes obIconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes obBadgePulse {
    0%, 100% {
        transform: translateX(0px) scale(1);
    }
    50% {
        transform: translateX(-2px) scale(1.05);
    }
}

@keyframes obIconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes obEmojiPop {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes obEmojiFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes obThumbPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
    }
}

@keyframes obMessageSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes obHeartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.2);
    }
    20%, 40% {
        transform: scale(1);
    }
}

@keyframes obShine {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

@keyframes obBadgeBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-4px);
    }
}

@keyframes obFeatureSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes obCheckPop {
    0% {
        transform: scale(0) rotate(-180deg);
    }
    100% {
        transform: scale(1) rotate(0);
    }
}

@keyframes obPriceScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes obSavePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    }
}

@keyframes obTrustSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes obErrorSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 992px) {
    .ob-trust {
        gap: 1.25rem;
        padding: 1rem 1.5rem 2rem;
    }

    .ob-premium-content {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .ob-premium-content {
        padding: 1.5rem;
        margin: 0.875rem;
        margin-top: 1.25rem;
    }

    .ob-premium-title {
        font-size: 1.125rem;
    }

    .ob-price-old {
        font-size: 1.25rem;
    }

    .ob-price-new {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    #orderBumpModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
        max-height: calc(100vh - 1rem);
    }

    #orderBumpModal .modal-content {
        border: none;
        border-radius: 24px;
        overflow: hidden;
    }

    .ob-container {
        border-radius: 24px;
        max-height: 95vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ob-container::-webkit-scrollbar-track {
        border-radius: 0 24px 24px 0;
    }

    .ob-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }

    .ob-error-container {
        margin: 1rem 1rem 0;
    }

    .ob-header {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .ob-success-icon {
        width: 80px;
        height: 80px;
    }

    .ob-title {
        font-size: 1.5rem;
    }

    .ob-subtitle {
        font-size: 1rem;
    }

    .ob-content {
        padding: 1.5rem;
    }

    .ob-item-card {
        padding: 1.25rem;
    }

    .ob-item-icon {
        width: 48px;
        height: 48px;
    }

    .ob-pwyw-card {
        padding: 1.5rem;
    }

    .ob-slider-container {
        padding: 1.5rem;
    }

    .ob-slider-display {
        flex-direction: column;
        gap: 1.5rem;
    }

    .ob-emoji {
        width: 64px;
        height: 64px;
    }

    #obEmojiNative {
        font-size: 48px;
    }

    .ob-amount {
        font-size: 2.5rem;
    }

    .ob-premium-content {
        padding: 1.5rem;
    }

    .ob-premium-header {
        gap: 1rem;
    }

    .ob-premium-icon {
        width: 48px;
        height: 48px;
    }

    .ob-premium-title {
        font-size: 1.125rem;
    }

    .ob-premium-desc {
        font-size: 0.9375rem;
    }

    .ob-price-old {
        font-size: 1.25rem;
    }

    .ob-price-new {
        font-size: 2rem;
    }

    .ob-price-save {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }

    .ob-feature {
        font-size: 0.9375rem;
    }

    .ob-actions {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .ob-btn {
        padding: 1.125rem 1.5rem;
        font-size: 1rem;
    }

    /* Hide non-essential elements on small/medium devices to reduce scroll */
    .ob-header {
        display: none;
    }

    .ob-trust {
        display: none;
    }

    .ob-message {
        display: none;
    }

    .ob-slider-labels {
        display: none;
    }
}

@media (max-width: 480px) {
    #orderBumpModal .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
    }

    #orderBumpModal .modal-content {
        border-radius: 20px;
    }

    .ob-container {
        border-radius: 20px;
    }

    .ob-container::-webkit-scrollbar-track {
        border-radius: 0 20px 20px 0;
    }

    .ob-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
    }

    .ob-close svg {
        width: 16px;
        height: 16px;
    }

    .ob-error-container {
        margin: 0.75rem 1rem 0;
    }

    .ob-pricing {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .ob-pricing-left {
        justify-content: center;
    }

    .ob-checkbox {
        padding: 1rem;
    }

    .ob-checkbox-text {
        font-size: 0.9375rem;
    }

    .ob-header {
        padding: 2rem 1rem 1.25rem;
    }

    .ob-success-icon {
        width: 64px;
        height: 64px;
    }

    .ob-title {
        font-size: 1.25rem;
    }

    .ob-subtitle {
        font-size: 0.9375rem;
    }

    .ob-content {
        padding: 1.25rem;
    }

    .ob-item-card {
        padding: 1rem;
    }

    .ob-item-icon {
        width: 44px;
        height: 44px;
    }

    .ob-item-title {
        font-size: 1.125rem;
    }

    .ob-item-desc {
        font-size: 0.875rem;
    }

    .ob-pwyw-card {
        padding: 1.25rem;
    }

    .ob-pwyw-title {
        font-size: 1.125rem;
    }

    .ob-pwyw-desc {
        font-size: 0.9375rem;
    }

    .ob-slider-container {
        padding: 1.25rem;
    }

    .ob-slider-display {
        gap: 1rem;
    }

    .ob-emoji {
        width: 56px;
        height: 56px;
    }

    #obEmojiNative {
        font-size: 40px;
    }

    .ob-amount {
        font-size: 2rem;
    }

    .ob-premium-content {
        padding: 1.25rem;
    }

    .ob-premium-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .ob-premium-icon {
        width: 44px;
        height: 44px;
    }

    .ob-premium-title {
        font-size: 1.125rem;
    }

    .ob-premium-desc {
        font-size: 0.875rem;
    }

    .ob-price-new {
        font-size: 2rem;
    }

    .ob-price-save {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }

    .ob-actions {
        padding: 1rem 1.25rem 1.25rem;
    }

    .ob-btn {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 360px) {
    .ob-premium-content {
        padding: 1rem;
        margin: 0.625rem;
        margin-top: 1.125rem;
    }

    .ob-premium-header {
        gap: 0.625rem;
    }

    .ob-premium-icon {
        width: 40px;
        height: 40px;
        font-size: 1.375rem;
    }

    .ob-premium-title {
        font-size: 1rem;
    }

    .ob-premium-desc {
        font-size: 0.8125rem;
    }

    .ob-features {
        gap: 0.75rem;
    }

    .ob-feature {
        font-size: 0.875rem;
        gap: 0.625rem;
    }

    .ob-pricing {
        padding: 1rem;
        gap: 0.75rem;
    }

    .ob-price-new {
        font-size: 1.75rem;
    }

    .ob-price-save {
        font-size: 0.75rem;
        padding: 0.4375rem 0.875rem;
    }

    .ob-checkbox {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    .ob-checkbox-mark {
        width: 24px;
        height: 24px;
    }

    .ob-checkbox-text {
        font-size: 0.875rem;
    }
}