/* ===================================
   ULTIMATE DELIGHTFUL SEARCH PILL
   Enhanced Interactive Experience
   =================================== */

:root {
    /* Enhanced animation variables */
    --spring-bounce-exaggerated: cubic-bezier(0.68, -0.75, 0.32, 1.75);
    --spring-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --delightful-timing-quick: 0.3s;
    --delightful-timing-slow: 0.6s;
    --glow-intensity: 0.8;

    /* Enhanced color palette */
    --glow-primary: rgba(204, 153, 51, 0.6);
    --glow-secondary: rgba(139, 92, 246, 0.4);
    --glow-success: rgba(16, 185, 129, 0.5);
    --glow-error: rgba(239, 68, 68, 0.5);
}

/* Enhanced Search Container with Extra Delight */
.search-input-wrapper {
    position: relative;
    transform: translateY(0) scale(1);
    transition: all var(--delightful-timing-slow) var(--spring-bounce-exaggerated);
    will-change: transform, box-shadow;
    isolation: isolate;
}

/* Subtle floating animation when idle */
.search-input-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--glow-primary), var(--glow-secondary), var(--glow-primary));
    border-radius: 100px;
    opacity: 0;
    z-index: -1;
    transition: opacity var(--delightful-timing-slow) ease;
    filter: blur(8px);
    animation: floatingBorder 4s ease-in-out infinite;
}

@keyframes floatingBorder {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.02) rotate(1deg); }
    50% { transform: scale(1) rotate(0deg); }
    75% { transform: scale(1.02) rotate(-1deg); }
}

.search-input-wrapper:hover::before {
    opacity: 0.3;
}

/* Enhanced Search Pill Glassmorphism */
.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(30px) saturate(1.8);
    -webkit-backdrop-filter: blur(30px) saturate(1.8);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 100px;
    padding: 0.875rem;
    transition: all var(--delightful-timing-slow) var(--spring-smooth);
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

/* Magical rainbow border on hover */
.search-input-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 100px;
    padding: 2px;
    background: linear-gradient(45deg,
        var(--primary-gold),
        #d4a84c,
        #8b5cf6,
        #3b82f6,
        #10b981,
        var(--primary-gold));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--delightful-timing-slow) ease;
    animation: rainbowFlow 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes rainbowFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.search-input-wrapper:hover::after {
    opacity: 0.7;
    animation-duration: 3s;
}

/* Enhanced focus state with extra magic */
.search-input-wrapper:focus-within {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--primary-gold);
    background: linear-gradient(135deg,
        rgba(204, 153, 51, 0.15) 0%,
        rgba(204, 153, 51, 0.08) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    box-shadow:
        0 0 0 6px rgba(204, 153, 51, 0.2),
        0 0 0 12px rgba(204, 153, 51, 0.1),
        0 20px 60px rgba(204, 153, 51, 0.3),
        0 8px 32px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    animation: searchGlowPulse 2s ease-in-out infinite alternate;
}

.search-input-wrapper:focus-within::after {
    opacity: 1;
    animation-duration: 2s;
}

@keyframes searchGlowPulse {
    0% {
        box-shadow:
            0 0 0 6px rgba(204, 153, 51, 0.2),
            0 0 0 12px rgba(204, 153, 51, 0.1),
            0 20px 60px rgba(204, 153, 51, 0.3),
            0 8px 32px rgba(139, 92, 246, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.25),
            inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow:
            0 0 0 8px rgba(204, 153, 51, 0.3),
            0 0 0 16px rgba(204, 153, 51, 0.15),
            0 25px 80px rgba(204, 153, 51, 0.4),
            0 12px 40px rgba(139, 92, 246, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.35),
            inset 0 -1px 0 rgba(255, 255, 255, 0.15);
    }
}

/* Ultimate Transparent Input */
.search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    font-size: 1.125rem;
    padding: 0.875rem 1.5rem;
    outline: none !important;
    z-index: 2;
    transition: all var(--delightful-timing-quick) var(--spring-smooth);
    font-weight: 500;
    letter-spacing: 0.02em;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.search-input::placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.8;
    transition: all var(--delightful-timing-quick) ease;
    font-weight: 400;
}

/* Playful placeholder animations */
.search-input:focus::placeholder {
    opacity: 0.6;
    transform: translateX(6px) scale(0.98);
    font-style: italic;
}

/* Enhanced typing animation with text wobble */
.search-input.typing {
    animation: typingWobble 0.8s ease-in-out infinite;
}

@keyframes typingWobble {
    0%, 100% { transform: translateX(0) scale(1); }
    25% { transform: translateX(-0.5px) scale(1.005); }
    75% { transform: translateX(0.5px) scale(1.005); }
}

/* Magical cursor effects */
.search-input {
    caret-color: var(--primary-gold);
    caret-shape: 'underline';
}

/* Enhanced Search Icon Button with Extra Flair */
.search-icon-btn {
    background: linear-gradient(135deg,
        var(--primary-gold) 0%,
        #d4a84c 50%,
        #b38829 100%);
    background-size: 200% 200%;
    border: none;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--delightful-timing-quick) var(--spring-bounce-exaggerated);
    color: white;
    margin-left: 0.875rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(204, 153, 51, 0.4),
        0 3px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 56px;
    min-height: 56px;
    z-index: 3;
    animation: subtleFloat 3s ease-in-out infinite;
}

@keyframes subtleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-2px) rotate(1deg); }
}

/* Enhanced ripple effect */
.search-icon-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.4) 40%,
        transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.search-icon-btn:hover::before {
    width: 150px;
    height: 150px;
}

.search-icon-btn:hover {
    transform: scale(1.15) rotate(8deg) translateY(-3px);
    box-shadow:
        0 8px 28px rgba(204, 153, 51, 0.5),
        0 4px 16px rgba(139, 92, 246, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.3);
    background-position: 100% 50%;
}

.search-icon-btn:active {
    transform: scale(0.92) rotate(-3deg) translateY(1px);
    transition: all 0.1s ease;
}

/* Enhanced icon animations */
.search-icon-btn svg {
    width: 24px;
    height: 24px;
    transition: all var(--delightful-timing-quick) var(--spring-bounce-exaggerated);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.search-icon-btn:hover svg {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Supercharged loading states */
.search-icon-btn.searching {
    animation: searchSpin 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    background: linear-gradient(135deg,
        var(--info-blue) 0%,
        #2563eb 50%,
        #1e40af 100%);
    background-size: 200% 200%;
    animation: searchSpin 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite,
               gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.search-icon-btn.searching svg {
    animation: iconPulse 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

@keyframes searchSpin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.05); }
    50% { transform: rotate(180deg) scale(1); }
    75% { transform: rotate(270deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.85); opacity: 0.7; }
}

/* Epic success celebration */
.search-icon-btn.success {
    background: linear-gradient(135deg,
        var(--success-green) 0%,
        #059669 50%,
        #047857 100%);
    animation: successCelebration 1s var(--spring-bounce-exaggerated);
}

@keyframes successCelebration {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.3) rotate(10deg); }
    50% { transform: scale(0.8) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(2deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Dramatic error feedback */
.search-icon-btn.error {
    background: linear-gradient(135deg,
        var(--error-red) 0%,
        #dc2626 50%,
        #b91c1c 100%);
    animation: errorDramatic 0.8s ease-in-out;
}

@keyframes errorDramatic {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-6px) rotate(-2deg); }
    20%, 40%, 60%, 80% { transform: translateX(6px) rotate(2deg); }
}

/* Enhanced magical particles */
.search-input-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
        var(--glow-primary) 0%,
        var(--glow-secondary) 30%,
        transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--delightful-timing-slow) ease;
    animation: particleFloat 8s ease-in-out infinite;
    z-index: -2;
}

.search-input-wrapper:focus-within::after {
    opacity: 0.8;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    33% {
        transform: translateY(-15px) rotate(120deg) scale(1.1);
        opacity: 0.6;
    }
    66% {
        transform: translateY(10px) rotate(240deg) scale(0.9);
        opacity: 0.4;
    }
}

/* Enhanced Domain Selector */
.domain-selector {
    position: relative;
    margin: 0 0.625rem;
    z-index: 2;
}

.domain-suffix-btn {
    background: linear-gradient(135deg,
        rgba(204, 153, 51, 0.15) 0%,
        rgba(204, 153, 51, 0.08) 100%);
    border: 2px solid rgba(204, 153, 51, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
    color: var(--primary-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--delightful-timing-quick) var(--spring-bounce-exaggerated);
    backdrop-filter: blur(15px) saturate(1.5);
    -webkit-backdrop-filter: blur(15px) saturate(1.5);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(204, 153, 51, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.domain-suffix-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: left 0.6s ease;
}

.domain-suffix-btn:hover::before {
    left: 100%;
}

.domain-suffix-btn:hover {
    background: linear-gradient(135deg,
        rgba(204, 153, 51, 0.25) 0%,
        rgba(204, 153, 51, 0.15) 100%);
    border-color: var(--primary-gold);
    transform: translateY(-3px) scale(1.08);
    box-shadow:
        0 6px 20px rgba(204, 153, 51, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.domain-suffix-btn .dropdown-arrow {
    transition: all var(--delightful-timing-quick) var(--spring-bounce-exaggerated);
}

.domain-suffix-btn:hover .dropdown-arrow {
    transform: translateY(3px) scale(1.2) rotate(180deg);
}

/* Enhanced confetti system */
.confetti {
    position: fixed;
    width: 12px;
    height: 12px;
    position: fixed;
    animation: confettiExplosion 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    pointer-events: none;
    z-index: 9999;
    border-radius: 2px;
}

@keyframes confettiExplosion {
    0% {
        transform: translateY(-100vh) rotate(0deg) scale(0);
        opacity: 1;
    }
    10% {
        transform: translateY(-80vh) rotate(90deg) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0.8);
        opacity: 0;
    }
}

/* Enhanced typing indicator with more personality */
.typing-indicator {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    gap: 6px;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg,
        rgba(204, 153, 51, 0.15) 0%,
        rgba(204, 153, 51, 0.08) 100%);
    border: 1px solid rgba(204, 153, 51, 0.2);
    border-radius: 25px;
    font-size: 0.8rem;
    color: var(--primary-gold);
    font-weight: 600;
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    box-shadow:
        0 4px 16px rgba(204, 153, 51, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.typing-indicator.active {
    display: flex;
    animation: indicatorBounce 0.4s var(--spring-bounce-exaggerated);
}

@keyframes indicatorBounce {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.7) translateX(20px);
    }
    60% {
        transform: translateY(-50%) scale(1.05) translateX(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1) translateX(0);
    }
}

/* Enhanced typing dots with more personality */
.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dots span {
    width: 5px;
    height: 5px;
    background: var(--primary-gold);
    border-radius: 50%;
    animation: typingDotDance 1.2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(204, 153, 51, 0.5);
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes typingDotDance {
    0%, 70%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
        box-shadow: 0 0 6px rgba(204, 153, 51, 0.5);
    }
    35% {
        transform: translateY(-8px) scale(1.3);
        opacity: 1;
        box-shadow: 0 0 12px rgba(204, 153, 51, 0.8);
    }
}

/* Enhanced search suggestions */
.search-suggestions {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(30px) saturate(1.8);
    -webkit-backdrop-filter: blur(30px) saturate(1.8);
    border: 2px solid rgba(204, 153, 51, 0.2);
    border-radius: 20px;
    padding: 0.75rem;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.4s var(--spring-bounce-exaggerated);
    pointer-events: none;
    max-height: 300px;
    overflow-y: auto;
}

.search-suggestions.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.suggestion-item {
    padding: 0.875rem 1.25rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s var(--spring-smooth);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.suggestion-item:last-child {
    margin-bottom: 0;
}

.suggestion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, var(--primary-gold), #d4a84c);
    transform: scaleY(0);
    transition: transform 0.3s var(--spring-smooth);
    border-radius: 0 3px 3px 0;
}

.suggestion-item:hover {
    background: linear-gradient(135deg,
        rgba(204, 153, 51, 0.2) 0%,
        rgba(204, 153, 51, 0.1) 100%);
    transform: translateX(8px) scale(1.02);
    border-color: var(--primary-gold);
}

.suggestion-item:hover::before {
    transform: scaleY(1);
}

.suggestion-item-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: all 0.3s ease;
    color: var(--primary-gold);
}

.suggestion-item:hover .suggestion-item-icon {
    opacity: 1;
    transform: scale(1.2) rotate(5deg);
}

/* Enhanced Mobile responsiveness */
@media (max-width: 768px) {
    .search-input-wrapper {
        width: 96%;
        padding: 0.75rem;
        margin: 0 auto;
    }

    .search-input {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }

    .search-icon-btn {
        min-width: 48px;
        min-height: 48px;
        padding: 0.875rem;
    }

    .domain-suffix-btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
        margin: 0 0.5rem;
    }

    .typing-indicator {
        right: 65px;
        padding: 0.312rem 0.625rem;
        font-size: 0.75rem;
    }

    .search-suggestions {
        top: calc(100% + 0.5rem);
        padding: 0.625rem;
        max-height: 250px;
    }

    .suggestion-item {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .search-input-wrapper {
        width: 94%;
        padding: 0.625rem;
    }

    .search-input {
        font-size: 0.9rem;
        padding: 0.625rem 1rem;
    }

    .search-icon-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 0.75rem;
        margin-left: 0.625rem;
    }

    .domain-suffix-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .typing-indicator {
        display: none !important; /* Hide on very small screens */
    }
}

/* Ultra small devices */
@media (max-width: 247.98px) {
    .search-input-wrapper {
        width: 92%;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
        border-radius: 20px;
    }

    .search-input {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .search-icon-btn {
        align-self: center;
        margin-left: 0;
    }

    .domain-selector {
        width: 100%;
        margin: 0;
    }

    .domain-suffix-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Enhanced accessibility with reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .search-input-wrapper,
    .search-input,
    .search-icon-btn,
    .domain-suffix-btn,
    .typing-indicator,
    .search-suggestions,
    .suggestion-item,
    .confetti {
        animation: none !important;
        transition: opacity 0.2s ease, background-color 0.2s ease !important;
        transform: none !important;
    }

    .search-input-wrapper:focus-within {
        transform: none;
        box-shadow: 0 0 0 2px var(--primary-gold);
    }

    .search-icon-btn:hover {
        transform: none;
    }

    .search-icon-btn::before,
    .domain-suffix-btn::before,
    .suggestion-item::before {
        display: none;
    }
}

/* Enhanced high contrast mode */
@media (prefers-contrast: high) {
    .search-input-wrapper {
        border-width: 3px;
        border-color: var(--text-primary);
        background: var(--bg-primary);
    }

    .search-icon-btn {
        border: 3px solid var(--text-primary);
    }

    .domain-suffix-btn {
        border-width: 2px;
        border-color: var(--text-primary);
    }

    .typing-indicator,
    .search-suggestions {
        border-width: 2px;
        border-color: var(--text-primary);
    }
}

/* Enhanced loading dots with more drama */
.search-loading-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.search-loading-dots span {
    width: 7px;
    height: 7px;
    background: currentColor;
    border-radius: 50%;
    animation: loadingDotDance 1.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 10px currentColor;
}

.search-loading-dots span:nth-child(2) {
    animation-delay: 0.3s;
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.search-loading-dots span:nth-child(3) {
    animation-delay: 0.6s;
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes loadingDotDance {
    0%, 70%, 100% {
        transform: scale(0.8) translateY(0);
        opacity: 0.5;
        box-shadow: 0 0 10px currentColor;
    }
    35% {
        transform: scale(1.4) translateY(-6px);
        opacity: 1;
        box-shadow: 0 0 20px currentColor;
    }
}