.ribbon-cards-wrapper-d14030e5 {
    display: grid;
    /* Columns overridden by settings */
    width: 100%; /* Make wrapper flexible */
}

.ribbon-card-d14030e5 {
    position: relative;
    border-radius: 20px;
    z-index: 1;
    overflow: visible; /* To allow ribbon extending if needed */
    width: 100%; /* Natural fit */
    
    /* Default CSS Variables for Animations */
    --anim-duration-d14030e5: 4s;
    --anim-color-1-d14030e5: rgba(255,255,255,0.4);
    --anim-color-2-d14030e5: rgba(255,255,255,0);
    --anim-intensity-d14030e5: 50%;
}

/* Glowing Border / Animation (Original) */
.ribbon-card-d14030e5.has-glow-yes::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    /* Background overridden by Elementor controls */
    background: linear-gradient(90deg, #ff6b6b, #4facfe, #ff6b6b);
    background-size: 400%;
    z-index: -1;
    border-radius: inherit;
    animation: glow-border-d14030e5 8s linear infinite;
    filter: blur(8px);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ribbon-card-d14030e5.has-glow-yes::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: inherit; /* falls back if glow color sets background */
    z-index: -2;
    border-radius: inherit;
}

@keyframes glow-border-d14030e5 {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ribbon-card-d14030e5:hover.has-glow-yes::before {
    opacity: 1;
}

/* Inner Card Background (Glass/Liquid) */
.ribbon-card-inner-d14030e5 {
    position: relative;
    background-color: #ffffff; /* fallback */
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
    padding: 30px; /* Default fallback padding */
}

.card-content-wrap-d14030e5 {
    position: relative;
    z-index: 5;
}

.card-num-d14030e5 {
    font-size: 60px;
    font-weight: 800;
    color: rgba(0,0,0,0.05);
    line-height: 1;
    margin-bottom: 10px;
}

.card-title-d14030e5 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.card-desc-d14030e5 {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Ribbon Base Structural Setup */
.ribbon-container-d14030e5 {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through except if needed */
    perspective: 1000px;
}

.ribbon-box-d14030e5 {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.ribbon-front-d14030e5,
.ribbon-front-extra-d14030e5,
.ribbon-fold-d14030e5,
.ribbon-fold-extra-d14030e5 {
    position: absolute;
    content: '';
    overflow: hidden; /* Important for inner animation clipping */
}

.ribbon-icon-d14030e5 {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transform: translateZ(20px);
}

/* Fallback base styles */
.ribbon-front-d14030e5 {
    background-color: #ff416c;
}


/* =======================================
   ANIMATION LAYERS & EFFECTS
   ======================================= */

.card-anim-layer-d14030e5,
.border-anim-layer-d14030e5,
.ribbon-anim-layer-d14030e5 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 3;
    border-radius: inherit;
    overflow: hidden;
}

.border-anim-layer-d14030e5 {
    z-index: -1;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
}

/* Hover vs Continuous Triggers */
.anim-trigger-hover.has-anim-yes .card-anim-layer-d14030e5::before,
.anim-trigger-hover.has-anim-yes .border-anim-layer-d14030e5::before,
.anim-trigger-hover.has-anim-yes .ribbon-anim-layer-d14030e5::before,
.anim-trigger-hover.has-anim-yes .has-icon-anim,
.anim-trigger-hover.has-anim-yes .card-anim-layer-d14030e5::after,
.anim-trigger-hover.has-anim-yes .border-anim-layer-d14030e5::after,
.anim-trigger-hover.has-anim-yes .ribbon-anim-layer-d14030e5::after {
    animation-play-state: paused !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ribbon-card-d14030e5:hover.anim-trigger-hover.has-anim-yes .card-anim-layer-d14030e5::before,
.ribbon-card-d14030e5:hover.anim-trigger-hover.has-anim-yes .border-anim-layer-d14030e5::before,
.ribbon-card-d14030e5:hover.anim-trigger-hover.has-anim-yes .ribbon-anim-layer-d14030e5::before,
.ribbon-card-d14030e5:hover.anim-trigger-hover.has-anim-yes .has-icon-anim,
.ribbon-card-d14030e5:hover.anim-trigger-hover.has-anim-yes .card-anim-layer-d14030e5::after,
.ribbon-card-d14030e5:hover.anim-trigger-hover.has-anim-yes .border-anim-layer-d14030e5::after,
.ribbon-card-d14030e5:hover.anim-trigger-hover.has-anim-yes .ribbon-anim-layer-d14030e5::after {
    animation-play-state: running !important;
    opacity: 1;
}

/* Continuous play state by default */
.anim-trigger-continuous.has-anim-yes .card-anim-layer-d14030e5::before,
.anim-trigger-continuous.has-anim-yes .border-anim-layer-d14030e5::before,
.anim-trigger-continuous.has-anim-yes .ribbon-anim-layer-d14030e5::before,
.anim-trigger-continuous.has-anim-yes .has-icon-anim,
.anim-trigger-continuous.has-anim-yes .card-anim-layer-d14030e5::after,
.anim-trigger-continuous.has-anim-yes .border-anim-layer-d14030e5::after,
.anim-trigger-continuous.has-anim-yes .ribbon-anim-layer-d14030e5::after {
    animation-play-state: running !important;
}


/* Original Effects */

/* Gradient Shine */
.anim-style-gradient-shine .card-anim-layer-d14030e5::before,
.anim-style-gradient-shine .border-anim-layer-d14030e5::before,
.anim-style-gradient-shine .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; width: 200%; height: 200%;
    top: -50%; left: -50%;
    background: linear-gradient(45deg, var(--anim-color-2-d14030e5), var(--anim-color-1-d14030e5), var(--anim-color-2-d14030e5));
    animation: gradient-shine-d14030e5 var(--anim-duration-d14030e5) linear infinite;
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
}
@keyframes gradient-shine-d14030e5 {
    0% { transform: translate(-30%, -30%); }
    50% { transform: translate(30%, 30%); }
    100% { transform: translate(-30%, -30%); }
}

/* Light Swipe */
.anim-style-light-swipe .card-anim-layer-d14030e5::before,
.anim-style-light-swipe .border-anim-layer-d14030e5::before,
.anim-style-light-swipe .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--anim-color-1-d14030e5), transparent);
    transform: skewX(-20deg);
    animation: light-swipe-d14030e5 var(--anim-duration-d14030e5) ease-in-out infinite;
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
}
@keyframes light-swipe-d14030e5 {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Border Shine */
.anim-style-border-shine .border-anim-layer-d14030e5::before {
    content: ''; position: absolute; width: 100%; height: 100%;
    background: conic-gradient(from 0deg, transparent, var(--anim-color-1-d14030e5) 45deg, transparent 90deg);
    animation: border-shine-d14030e5 var(--anim-duration-d14030e5) linear infinite;
}
@keyframes border-shine-d14030e5 {
    0% { transform: rotate(0deg) scale(1.5); }
    100% { transform: rotate(360deg) scale(1.5); }
}

/* Aurora Flow */
.anim-style-aurora-flow .card-anim-layer-d14030e5::before,
.anim-style-aurora-flow .border-anim-layer-d14030e5::before,
.anim-style-aurora-flow .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; width: 200%; height: 200%;
    top: -50%; left: -50%;
    background: radial-gradient(circle at 50% 50%, var(--anim-color-1-d14030e5), transparent 60%);
    animation: aurora-flow-d14030e5 var(--anim-duration-d14030e5) ease-in-out infinite alternate;
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
}
@keyframes aurora-flow-d14030e5 {
    0% { transform: translate(-20%, -20%) scale(1); }
    100% { transform: translate(20%, 20%) scale(1.2); }
}

/* Liquid Glow */
.anim-style-liquid-glow .card-anim-layer-d14030e5::before,
.anim-style-liquid-glow .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; width: 150%; height: 150%;
    top: -25%; left: -25%;
    background: radial-gradient(ellipse at center, var(--anim-color-1-d14030e5) 0%, transparent 70%);
    animation: liquid-glow-d14030e5 var(--anim-duration-d14030e5) linear infinite;
    filter: blur(10px);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
}
@keyframes liquid-glow-d14030e5 {
    0% { transform: rotate(0deg) translate(10px) rotate(0deg); }
    100% { transform: rotate(360deg) translate(10px) rotate(-360deg); }
}

/* Shimmer Sweep */
.anim-style-shimmer-sweep .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, var(--anim-color-1-d14030e5) 50%, transparent 60%);
    animation: shimmer-sweep-d14030e5 var(--anim-duration-d14030e5) linear infinite;
}
@keyframes shimmer-sweep-d14030e5 {
    0% { transform: translateY(-100%) translateX(-100%); }
    100% { transform: translateY(100%) translateX(100%); }
}

/* Neon Pulse */
.anim-style-neon-pulse .card-anim-layer-d14030e5::before,
.anim-style-neon-pulse .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
    box-shadow: inset 0 0 20px var(--anim-color-1-d14030e5);
    animation: neon-pulse-d14030e5 var(--anim-duration-d14030e5) ease-in-out infinite alternate;
}
@keyframes neon-pulse-d14030e5 {
    0% { opacity: 0.3; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

/* Moving Gradient */
.anim-style-moving-gradient .card-anim-layer-d14030e5::before,
.anim-style-moving-gradient .border-anim-layer-d14030e5::before,
.anim-style-moving-gradient .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; width: 300%; height: 300%;
    background: linear-gradient(135deg, var(--anim-color-1-d14030e5), var(--anim-color-2-d14030e5), var(--anim-color-1-d14030e5));
    background-size: 200% 200%;
    animation: moving-gradient-d14030e5 var(--anim-duration-d14030e5) ease infinite;
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
}
@keyframes moving-gradient-d14030e5 {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Light */
.anim-style-floating-light .card-anim-layer-d14030e5::before {
    content: ''; position: absolute; width: 100px; height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--anim-color-1-d14030e5), transparent 70%);
    animation: floating-light-d14030e5 var(--anim-duration-d14030e5) ease-in-out infinite alternate;
    filter: blur(20px);
}
@keyframes floating-light-d14030e5 {
    0% { transform: translate(10%, 10%); }
    100% { transform: translate(80%, 80%); }
}

/* 3D Light Reflection */
.anim-style-3d-light-reflection .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; width: 150%; height: 150%;
    background: linear-gradient(105deg, transparent 20%, var(--anim-color-1-d14030e5) 25%, transparent 30%);
    animation: reflection-3d-d14030e5 var(--anim-duration-d14030e5) cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes reflection-3d-d14030e5 {
    0% { transform: translateX(-150%) skewX(-15deg); }
    100% { transform: translateX(150%) skewX(-15deg); }
}


/* NEW 10 PREMIUM EFFECTS - FIXED */

/* 1. Prism Shine */
.anim-style-prism-shine .card-anim-layer-d14030e5::before,
.anim-style-prism-shine .border-anim-layer-d14030e5::before,
.anim-style-prism-shine .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        135deg, 
        transparent 0%, 
        transparent 40%, 
        var(--anim-color-1-d14030e5) 45%, 
        rgba(255,255,255,0.8) 50%, 
        var(--anim-color-2-d14030e5) 55%, 
        transparent 60%, 
        transparent 100%
    );
    background-size: 300% 300%;
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    animation: prism-shine-d14030e5 var(--anim-duration-d14030e5) infinite linear;
    mix-blend-mode: overlay;
}
@keyframes prism-shine-d14030e5 {
    0% { background-position: -50% -50%; }
    100% { background-position: 150% 150%; }
}

/* 2. Diagonal Light Sweep */
.anim-style-diagonal-light-sweep .card-anim-layer-d14030e5::before,
.anim-style-diagonal-light-sweep .border-anim-layer-d14030e5::before,
.anim-style-diagonal-light-sweep .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, var(--anim-color-1-d14030e5) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    animation: diagonal-sweep-d14030e5 var(--anim-duration-d14030e5) ease-in-out infinite;
}
@keyframes diagonal-sweep-d14030e5 {
    0% { left: -150%; }
    100% { left: 250%; }
}

/* 3. Border Light Runner */
.anim-style-border-light-runner .card-anim-layer-d14030e5::before,
.anim-style-border-light-runner .border-anim-layer-d14030e5::before,
.anim-style-border-light-runner .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0%, var(--anim-color-1-d14030e5) 5%, transparent 10%);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    animation: border-runner-d14030e5 var(--anim-duration-d14030e5) linear infinite;
    transform-origin: center;
}
@keyframes border-runner-d14030e5 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 4. Aurora Shimmer */
.anim-style-aurora-shimmer .card-anim-layer-d14030e5::before,
.anim-style-aurora-shimmer .border-anim-layer-d14030e5::before,
.anim-style-aurora-shimmer .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(ellipse at center, var(--anim-color-1-d14030e5) 0%, var(--anim-color-2-d14030e5) 30%, transparent 60%);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    filter: blur(15px);
    animation: aurora-shimmer-d14030e5 var(--anim-duration-d14030e5) infinite alternate ease-in-out;
}
@keyframes aurora-shimmer-d14030e5 {
    0% { transform: translate(10%, 10%) scale(0.8) rotate(0deg); }
    50% { transform: translate(20%, 0%) scale(1) rotate(10deg); }
    100% { transform: translate(0%, 20%) scale(1.2) rotate(-5deg); }
}

/* 5. Liquid Light Flow */
.anim-style-liquid-light-flow .card-anim-layer-d14030e5::before,
.anim-style-liquid-light-flow .border-anim-layer-d14030e5::before,
.anim-style-liquid-light-flow .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(120deg, transparent, var(--anim-color-1-d14030e5), transparent);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    filter: blur(8px);
    animation: liquid-flow-d14030e5 var(--anim-duration-d14030e5) infinite linear;
}
.anim-style-liquid-light-flow .card-anim-layer-d14030e5::after,
.anim-style-liquid-light-flow .border-anim-layer-d14030e5::after,
.anim-style-liquid-light-flow .ribbon-anim-layer-d14030e5::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(60deg, transparent, var(--anim-color-2-d14030e5), transparent);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    filter: blur(12px);
    animation: liquid-flow-d14030e5 calc(var(--anim-duration-d14030e5) * 1.5) infinite linear reverse;
}
@keyframes liquid-flow-d14030e5 {
    0% { transform: rotate(0deg) translate(-10%, -10%); }
    50% { transform: rotate(180deg) translate(10%, 10%); }
    100% { transform: rotate(360deg) translate(-10%, -10%); }
}

/* 6. Crystal Reflection */
.anim-style-crystal-reflection .card-anim-layer-d14030e5::before,
.anim-style-crystal-reflection .border-anim-layer-d14030e5::before,
.anim-style-crystal-reflection .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(135deg, transparent 40%, var(--anim-color-1-d14030e5) 45%, var(--anim-color-2-d14030e5) 50%, var(--anim-color-1-d14030e5) 55%, transparent 60%);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    animation: crystal-reflect-d14030e5 var(--anim-duration-d14030e5) cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    transform-origin: center;
}
@keyframes crystal-reflect-d14030e5 {
    0% { transform: translate(-50%, -50%) rotate(45deg); }
    100% { transform: translate(50%, 50%) rotate(45deg); }
}

/* 7. Golden Shine Sweep */
.anim-style-golden-shine-sweep .card-anim-layer-d14030e5::before,
.anim-style-golden-shine-sweep .border-anim-layer-d14030e5::before,
.anim-style-golden-shine-sweep .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(to right, transparent, var(--anim-color-1-d14030e5), var(--anim-color-2-d14030e5), var(--anim-color-1-d14030e5), transparent);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    animation: golden-sweep-d14030e5 var(--anim-duration-d14030e5) ease infinite;
    mix-blend-mode: color-dodge;
}
@keyframes golden-sweep-d14030e5 {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

/* 8. Neon Edge Glow */
.anim-style-neon-edge-glow .card-anim-layer-d14030e5::before,
.anim-style-neon-edge-glow .border-anim-layer-d14030e5::before,
.anim-style-neon-edge-glow .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 10px var(--anim-color-1-d14030e5), inset 0 0 20px var(--anim-color-2-d14030e5);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    animation: neon-edge-pulse-d14030e5 var(--anim-duration-d14030e5) infinite alternate;
    border-radius: inherit;
}
@keyframes neon-edge-pulse-d14030e5 {
    0% { opacity: 0.2; box-shadow: inset 0 0 5px var(--anim-color-1-d14030e5); }
    100% { opacity: calc(var(--anim-intensity-d14030e5) / 100); box-shadow: inset 0 0 20px var(--anim-color-1-d14030e5), inset 0 0 40px var(--anim-color-2-d14030e5); }
}

/* 9. Holographic Reflection */
.anim-style-holographic-reflection .card-anim-layer-d14030e5::before,
.anim-style-holographic-reflection .border-anim-layer-d14030e5::before,
.anim-style-holographic-reflection .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(135deg, 
        transparent 20%, 
        var(--anim-color-1-d14030e5) 30%, 
        rgba(255,255,255,0.5) 40%, 
        var(--anim-color-2-d14030e5) 50%, 
        rgba(255,255,255,0.5) 60%, 
        var(--anim-color-1-d14030e5) 70%, 
        transparent 80%
    );
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    animation: holo-reflect-d14030e5 var(--anim-duration-d14030e5) linear infinite;
    mix-blend-mode: screen;
}
@keyframes holo-reflect-d14030e5 {
    0% { transform: translate(-20%, -20%) rotate(0deg); }
    50% { transform: translate(20%, 20%) rotate(5deg); }
    100% { transform: translate(-20%, -20%) rotate(0deg); }
}

/* 10. Ribbon Shine Flow */
.anim-style-ribbon-shine-flow .ribbon-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(90deg, transparent 0%, var(--anim-color-1-d14030e5) 40%, rgba(255,255,255,0.8) 50%, var(--anim-color-2-d14030e5) 60%, transparent 100%);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    animation: ribbon-flow-d14030e5 var(--anim-duration-d14030e5) linear infinite;
}
@keyframes ribbon-flow-d14030e5 {
    0% { transform: rotate(45deg) translateY(-100%); }
    100% { transform: rotate(45deg) translateY(100%); }
}

/* Fallback for other layers on ribbon shine flow so it does something if accidentally selected */
.anim-style-ribbon-shine-flow .card-anim-layer-d14030e5::before,
.anim-style-ribbon-shine-flow .border-anim-layer-d14030e5::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--anim-color-1-d14030e5), transparent);
    opacity: calc(var(--anim-intensity-d14030e5) / 100);
    animation: ribbon-flow-fallback-d14030e5 var(--anim-duration-d14030e5) linear infinite;
}
@keyframes ribbon-flow-fallback-d14030e5 {
    0% { left: -100%; }
    100% { left: 100%; }
}


/* Icon Target Animations */
.has-icon-anim {
    animation: icon-pulse-d14030e5 var(--anim-duration-d14030e5) ease-in-out infinite alternate;
    filter: drop-shadow(0 0 5px var(--anim-color-1-d14030e5));
}
@keyframes icon-pulse-d14030e5 {
    0% { transform: translateZ(20px) scale(0.9); }
    100% { transform: translateZ(30px) scale(1.1); filter: drop-shadow(0 0 15px var(--anim-color-1-d14030e5)); }
}


/* =======================================
   20 UNIQUE RIBBON / BADGE STYLES (Preserved)
   ======================================= */

/* Style 1: Premium Curved Fold */
.style-1 .ribbon-box-d14030e5 { top: -10px; right: -10px; }
.style-1 .ribbon-front-d14030e5 {
    width: 150%; height: 35%; top: 25%; right: -25%;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); border-radius: 5px;
}
.style-1 .ribbon-fold-d14030e5::before,
.style-1 .ribbon-fold-d14030e5::after {
    content: ''; position: absolute; background: rgba(0,0,0,0.3);
}
.style-1 .ribbon-fold-d14030e5::before {
    top: 0; right: 10px;
    border-top: 10px solid transparent; border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0,0,0,0.5); border-left: 10px solid rgba(0,0,0,0.5);
}
.style-1 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg) translateZ(20px); }

/* Style 2: Classic Diagonal Fold */
.style-2 .ribbon-box-d14030e5 { overflow: hidden; border-top-right-radius: 20px; }
.style-2 .ribbon-front-d14030e5 {
    top: 0; right: 0; width: 200%; height: 200%;
    transform-origin: top right; transform: rotate(45deg) translate(0%, -70%);
}
.style-2 .ribbon-icon-d14030e5 { top: 75%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg) translateZ(20px); }

/* Style 3: Double-Layer Origami */
.style-3 .ribbon-front-d14030e5 { width: 100%; height: 100%; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.style-3 .ribbon-fold-d14030e5 {
    width: 100%; height: 100%; clip-path: polygon(100% 100%, 0 0, 20% 100%);
    background: rgba(0,0,0,0.1); top: 5px; right: 5px;
}
.style-3 .ribbon-icon-d14030e5 { top: 30%; right: 30%; }

/* Style 4: Liquid Glass Ribbon */
.style-4 .ribbon-front-d14030e5 {
    width: 140%; height: 40%; top: 15%; right: -20%;
    backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.6); border-radius: 30px;
    transform: rotate(45deg); box-shadow: inset 0 0 20px rgba(255,255,255,0.5), 0 10px 20px rgba(0,0,0,0.1);
}
.style-4 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg) translateZ(20px); }

/* Style 5: Floating 3D Ribbon */
.style-5 .ribbon-box-d14030e5 { top: -20px; right: -20px; }
.style-5 .ribbon-front-d14030e5 {
    width: 100%; height: 40px; top: 30px; right: 0;
    box-shadow: -10px 10px 15px rgba(0,0,0,0.2);
}
.style-5 .ribbon-fold-d14030e5 {
    width: 0; height: 0; top: 70px; right: 0;
    border-top: 20px solid rgba(0,0,0,0.3); border-right: 20px solid transparent;
}
.style-5 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(20px); }

/* Style 6: Sculpted Wave Fold */
.style-6 .ribbon-front-d14030e5 {
    width: 100%; height: 100%; border-radius: 0 20px 0 100%;
    box-shadow: inset -5px -5px 15px rgba(0,0,0,0.1);
}
.style-6 .ribbon-icon-d14030e5 { top: 25%; right: 25%; }

/* Style 7: Metallic Luxury Fold */
.style-7 .ribbon-front-d14030e5 {
    width: 141%; height: 35%; top: 15%; right: -20%;
    transform: rotate(45deg); border-top: 2px solid rgba(255,255,255,0.8); border-bottom: 2px solid rgba(0,0,0,0.3);
}
.style-7 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg) translateZ(20px); }

/* Style 8: Holographic Fold */
.style-8 .ribbon-front-d14030e5 {
    width: 100%; height: 100%; clip-path: polygon(100% 0, 0 0, 100% 100%);
    background-size: 200% 200%;
}
.style-8 .ribbon-icon-d14030e5 { top: 30%; right: 30%; }

/* Style 9: Satin Curved Ribbon */
.style-9 .ribbon-box-d14030e5 { top: -10px; right: 10px; }
.style-9 .ribbon-front-d14030e5 {
    width: 40px; height: 120%; border-radius: 0 0 20px 20px;
    box-shadow: inset 5px 0 10px rgba(0,0,0,0.1), 3px 3px 10px rgba(0,0,0,0.2);
}
.style-9 .ribbon-icon-d14030e5 { bottom: 20px; left: 50%; transform: translateX(-50%) translateZ(20px); }

/* Style 10: Crystal Edge Fold */
.style-10 .ribbon-front-d14030e5 {
    width: 150%; height: 50%; top: 10%; right: -25%;
    transform: rotate(45deg); border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 0 20px rgba(255,255,255,0.5), inset 0 0 15px rgba(255,255,255,0.7);
    backdrop-filter: blur(5px);
}
.style-10 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg) translateZ(20px); }

/* Style 11: 3D Corner Tab */
.style-11 .ribbon-box-d14030e5 { top: -15px; right: -15px; }
.style-11 .ribbon-front-d14030e5 {
    width: 100%; height: 100%; border-radius: 10px;
    transform: rotate(15deg) translateZ(15px);
    box-shadow: 5px 15px 25px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.5);
}
.style-11 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(20px); }

/* Style 12: Infinity Loop Badge */
.style-12 .ribbon-front-d14030e5 {
    width: 120%; height: 120%; top: -10%; right: -10%;
    border-radius: 50%; border: 10px solid; border-color: inherit;
    box-shadow: 0 0 15px rgba(0,0,0,0.2), inset 0 0 15px rgba(0,0,0,0.2);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
}
.style-12 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(20px); }

/* Style 13: Layered Chevron Emblem */
.style-13 .ribbon-front-d14030e5 {
    width: 100%; height: 100%; clip-path: polygon(100% 0, 100% 80%, 50% 100%, 0 80%, 0 0);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.style-13 .ribbon-fold-d14030e5 {
    width: 90%; height: 90%; top: 5%; left: 5%;
    clip-path: polygon(100% 0, 100% 80%, 50% 100%, 0 80%, 0 0);
    background: rgba(255,255,255,0.2);
}
.style-13 .ribbon-icon-d14030e5 { top: 40%; left: 50%; transform: translate(-50%, -50%) translateZ(20px); }

/* Style 14: Floating Bookmark */
.style-14 .ribbon-box-d14030e5 { top: -20px; right: 20px; width: 60px; height: 150px; }
.style-14 .ribbon-front-d14030e5 {
    width: 100%; height: 100%; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); border-radius: 5px 5px 0 0;
}
.style-14 .ribbon-icon-d14030e5 { top: 30%; left: 50%; transform: translateX(-50%) translateZ(20px); }

/* Style 15: Angular Crest */
.style-15 .ribbon-front-d14030e5 {
    width: 100%; height: 100%; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    transform: rotate(15deg); box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}
.style-15 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(20px); }

/* Style 16: Capsule Edge Badge */
.style-16 .ribbon-box-d14030e5 { top: 20px; right: -30px; width: 80px; height: 160px; }
.style-16 .ribbon-front-d14030e5 {
    width: 100%; height: 100%; border-radius: 40px;
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
}
.style-16 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(20px); }

/* Style 17: Fan Fold Emblem */
.style-17 .ribbon-front-d14030e5 {
    width: 100%; height: 100%; border-radius: 50%;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.style-17 .ribbon-fold-d14030e5 {
    width: 120%; height: 120%; top: -10%; left: -10%; border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(0,0,0,0.1) 60deg, transparent 120deg);
}
.style-17 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) translateZ(20px); }

/* Style 18: Cutout Corner Badge */
.style-18 .ribbon-box-d14030e5 { top: 0; right: 0; }
.style-18 .ribbon-front-d14030e5 {
    width: 100%; height: 100%; border-bottom-left-radius: 100%;
    box-shadow: inset 5px -5px 15px rgba(0,0,0,0.2);
}
.style-18 .ribbon-icon-d14030e5 { top: 30%; right: 30%; }

/* Style 19: Parallelogram Stack */
.style-19 .ribbon-front-d14030e5 {
    width: 120%; height: 60%; top: 20%; right: -10%;
    transform: skewX(-20deg); box-shadow: 5px 10px 15px rgba(0,0,0,0.2);
}
.style-19 .ribbon-fold-d14030e5 {
    width: 120%; height: 60%; top: 30%; right: -5%;
    transform: skewX(-20deg); background: rgba(0,0,0,0.2); z-index: -1;
}
.style-19 .ribbon-icon-d14030e5 { top: 50%; left: 50%; transform: translate(-50%, -50%) skewX(20deg) translateZ(20px); }

/* Style 20: 3D Arch Emblem */
.style-20 .ribbon-box-d14030e5 { top: -30px; left: 50%; transform: translateX(-50%); width: 140px; height: 100px; }
.style-20 .ribbon-front-d14030e5 {
    width: 100%; height: 100%; border-radius: 70px 70px 0 0;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.15);
}
.style-20 .ribbon-icon-d14030e5 { top: 40%; left: 50%; transform: translate(-50%, -50%) translateZ(20px); }
