/* ==========================================
   E-SHOPS ISRAEL - ADVANCED ANIMATIONS
   ========================================== */

/* === KEYFRAMES === */

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-1deg); }
}

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

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

/* Pulse Glow */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.6), 0 0 60px rgba(139, 92, 246, 0.3); }
}

@keyframes pulseGlowStrong {
    0%, 100% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 60px rgba(139, 92, 246, 0.8), 0 0 100px rgba(59, 130, 246, 0.4); }
}

/* Gradient Animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Bounce */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Shake */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Spin */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Ripple */
@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

/* Slide Animations */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

/* Scale */
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

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

/* Fade */
@keyframes fadeInBlur {
    from { opacity: 0; filter: blur(10px); }
    to { opacity: 1; filter: blur(0); }
}

/* Text Animations */
@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }
    50% { text-shadow: 0 0 20px rgba(139, 92, 246, 0.8), 0 0 30px rgba(139, 92, 246, 0.6); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Notification Stack */
@keyframes notifSlideIn {
    0% { opacity: 0; transform: translateX(100px) scale(0.8); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

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

/* Particles */
@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-30px) translateX(10px) rotate(90deg); opacity: 1; }
    50% { transform: translateY(-50px) translateX(-10px) rotate(180deg); opacity: 0.8; }
    75% { transform: translateY(-30px) translateX(15px) rotate(270deg); opacity: 1; }
}

@keyframes particleRise {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Card Flip */
@keyframes flipIn {
    from { transform: perspective(400px) rotateY(90deg); opacity: 0; }
    to { transform: perspective(400px) rotateY(0); opacity: 1; }
}

/* Border Animation */
@keyframes borderDance {
    0% { border-color: #8b5cf6; }
    33% { border-color: #3b82f6; }
    66% { border-color: #06b6d4; }
    100% { border-color: #8b5cf6; }
}

/* === SCROLL REVEAL CLASSES === */

.scroll-reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.visible {
    opacity: 1;
}

.reveal-up {
    transform: translateY(60px);
}
.reveal-up.visible {
    transform: translateY(0);
}

.reveal-down {
    transform: translateY(-60px);
}
.reveal-down.visible {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-80px);
}
.reveal-left.visible {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(80px);
}
.reveal-right.visible {
    transform: translateX(0);
}

.reveal-scale {
    transform: scale(0.8);
}
.reveal-scale.visible {
    transform: scale(1);
}

.reveal-rotate {
    transform: rotate(-10deg) scale(0.9);
}
.reveal-rotate.visible {
    transform: rotate(0) scale(1);
}

.reveal-blur {
    filter: blur(10px);
}
.reveal-blur.visible {
    filter: blur(0);
}

/* Staggered Children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* === HERO ENHANCEMENTS === */

.hero {
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #4c1d95 50%, #1e1b4b 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Animated Hero Title */
.hero h1 span {
    display: inline-block;
    animation: slideInUp 0.8s ease forwards;
    opacity: 0;
}

.hero h1 span:nth-child(1) { animation-delay: 0.2s; }
.hero h1 span:nth-child(2) { animation-delay: 0.4s; color: #a78bfa; }
.hero h1 span:nth-child(3) { animation-delay: 0.6s; }

.hero h1 .gradient-text {
    background: linear-gradient(90deg, #a78bfa, #60a5fa, #a78bfa);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Hero Badge */
.hero-badge {
    animation: bounceIn 0.8s ease forwards, pulseGlow 2s ease-in-out infinite 1s;
}

/* Hero Buttons */
.hero .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

/* Phone Mockup Float */
.hero-visual .phone-mockup,
.hero-phone {
    animation: float 6s ease-in-out infinite;
}

.hero-visual .phone-mockup::after,
.hero-phone::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.3) 0%, transparent 70%);
    animation: floatReverse 6s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    animation: bounce 2s ease-in-out infinite;
}

/* === PARTICLES === */

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(167, 139, 250, 0.6);
    border-radius: 50%;
    animation: particleRise linear infinite;
}

.particle:nth-child(1) { left: 10%; width: 8px; height: 8px; animation-duration: 25s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; width: 12px; height: 12px; animation-duration: 20s; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; width: 6px; height: 6px; animation-duration: 28s; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; width: 10px; height: 10px; animation-duration: 22s; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; width: 14px; height: 14px; animation-duration: 18s; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; width: 8px; height: 8px; animation-duration: 24s; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; width: 10px; height: 10px; animation-duration: 26s; animation-delay: 2s; }
.particle:nth-child(8) { left: 80%; width: 6px; height: 6px; animation-duration: 21s; animation-delay: 4s; }
.particle:nth-child(9) { left: 90%; width: 12px; height: 12px; animation-duration: 23s; animation-delay: 1s; }
.particle:nth-child(10) { left: 15%; width: 8px; height: 8px; animation-duration: 27s; animation-delay: 3s; }

/* === FEATURE SECTIONS === */

.feature-section {
    position: relative;
    overflow: hidden;
}

.feature-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 8s ease-in-out infinite;
}

.feature-section:nth-child(odd)::before {
    top: -100px;
    right: -200px;
}

.feature-section:nth-child(even)::before {
    bottom: -100px;
    left: -200px;
    animation-delay: 4s;
}

/* Feature Phone */
.feature-phone,
.iphone-mockup {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatSlow 5s ease-in-out infinite;
}

.feature-phone:hover,
.iphone-mockup:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Feature Cards */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

/* Notification Stack Animation */
.notification-stack {
    perspective: 1000px;
}

.notification-item {
    animation: notifSlideIn 0.6s ease forwards;
    opacity: 0;
    transition: all 0.3s ease;
}

.notification-item:nth-child(1) { animation-delay: 0.3s; }
.notification-item:nth-child(2) { animation-delay: 0.5s; }
.notification-item:nth-child(3) { animation-delay: 0.7s; }
.notification-item:nth-child(4) { animation-delay: 0.9s; }

.notification-item:hover {
    transform: translateX(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Loyalty Card */
.loyalty-card-demo {
    animation: float 4s ease-in-out infinite;
    transition: all 0.4s ease;
}

.loyalty-card-demo:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.3);
}

/* === COMPARISON CARDS === */

.comparison-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.comparison-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6, #8b5cf6);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    animation: gradientShift 3s ease infinite;
    transition: opacity 0.3s;
}

.comparison-card:hover::after {
    opacity: 1;
}

.comparison-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.25);
}

/* VS Badge */
.vs-badge {
    animation: pulseGlow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.comparison-card:hover .vs-badge {
    animation: shake 0.5s ease;
    transform: scale(1.1);
}

/* Comparison Icons */
.compare-icon {
    transition: all 0.4s ease;
}

.comparison-card:hover .compare-icon {
    transform: scale(1.2) rotate(10deg);
}

/* === TECH STATS === */

.tech-stats-section {
    position: relative;
    overflow: hidden;
}

.tech-stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    animation: zoomInOut 8s ease-in-out infinite;
}

.stat-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(139, 92, 246, 0.1), transparent 30%);
    animation: spinSlow 10s linear infinite;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.stat-number {
    background: linear-gradient(135deg, #8b5cf6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 3s ease-in-out infinite;
}

/* === PORTFOLIO === */

.portfolio-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.portfolio-card img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-badge {
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-badge {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

/* Gallery Thumbnails */
.gallery-thumb {
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 10;
}

/* === BUTTONS === */

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ripple Effect */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Shine Effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.6s;
}

.btn-primary:hover::after {
    transform: rotate(30deg) translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.15);
}

/* === FORM INPUTS === */

.form-input {
    transition: all 0.3s ease;
    position: relative;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

/* === SAVINGS SECTION === */

.savings-summary {
    animation: pulseGlowStrong 3s ease-in-out infinite;
}

.saving-item {
    transition: all 0.3s ease;
}

.saving-item:hover {
    transform: translateX(10px);
    background: rgba(139, 92, 246, 0.1);
    padding-left: 15px;
    border-radius: 8px;
}

.total-savings {
    animation: textGlow 2s ease-in-out infinite;
}

/* === HEADER === */

.main-header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #60a5fa);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Language Buttons */
.lang-btn {
    transition: all 0.3s ease;
}

.lang-btn:hover {
    transform: scale(1.1);
}

.lang-btn.active {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* === FOOTER === */

.footer a {
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #a78bfa;
    transform: translateX(5px);
}

/* === BACK TO TOP === */

.back-to-top {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatSlow 3s ease-in-out infinite;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

/* === PRELOADER === */

.preloader {
    transition: all 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.preloader-spinner {
    animation: spin 1s linear infinite;
}

/* === MOUSE FOLLOWER === */

.mouse-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s;
    transform: translate(-50%, -50%);
}

.mouse-follower.hover {
    width: 50px;
    height: 50px;
    border-color: rgba(139, 92, 246, 0.8);
    background: rgba(139, 92, 246, 0.1);
}

/* === TILT EFFECT === */

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

.tilt-card > * {
    transform: translateZ(30px);
}

/* === PARALLAX LAYERS === */

.parallax-layer {
    transition: transform 0.1s ease-out;
}

/* === SECTION DIVIDERS === */

.section-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.section-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    animation: floatSlow 10s ease-in-out infinite;
}

/* === RESPONSIVE ADJUSTMENTS === */

@media (max-width: 768px) {
    .mouse-follower {
        display: none;
    }

    .particle {
        display: none;
    }

    .hero::before {
        animation-duration: 20s;
    }

    .comparison-card:hover {
        transform: translateY(-5px);
    }
}

/* === REDUCE MOTION === */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === FLOATING BRAND LOGOS === */

@keyframes floatLogoBubble1 {
    0% { transform: translateY(0) translateX(0) rotate(0deg) scale(0.8); opacity: 0; }
    5% { opacity: 0.5; }
    95% { opacity: 0.5; }
    100% { transform: translateY(-120vh) translateX(100px) rotate(360deg) scale(1.1); opacity: 0; }
}

@keyframes floatLogoBubble2 {
    0% { transform: translateY(0) translateX(0) rotate(0deg) scale(0.9); opacity: 0; }
    5% { opacity: 0.45; }
    95% { opacity: 0.45; }
    100% { transform: translateY(-120vh) translateX(-80px) rotate(-360deg) scale(1); opacity: 0; }
}

@keyframes floatLogoBubble3 {
    0% { transform: translateY(0) translateX(0) rotate(0deg) scale(1); opacity: 0; }
    5% { opacity: 0.55; }
    95% { opacity: 0.55; }
    100% { transform: translateY(-120vh) translateX(60px) rotate(180deg) scale(0.9); opacity: 0; }
}

@keyframes floatLogoBubble4 {
    0% { transform: translateY(0) translateX(0) rotate(0deg) scale(0.85); opacity: 0; }
    5% { opacity: 0.5; }
    95% { opacity: 0.5; }
    100% { transform: translateY(-120vh) translateX(-120px) rotate(-180deg) scale(1.05); opacity: 0; }
}

@keyframes floatLogoBubble5 {
    0% { transform: translateY(0) translateX(0) rotate(0deg) scale(0.95); opacity: 0; }
    5% { opacity: 0.4; }
    95% { opacity: 0.4; }
    100% { transform: translateY(-120vh) translateX(40px) rotate(270deg) scale(1.1); opacity: 0; }
}

.floating-logos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-logo {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
}

.floating-logo i {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* E-Shops PRO logo images - same style as icons */
.floating-logo img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Position each logo horizontally - they float up like bubbles */
.floating-logo.logo-1 { left: 3%; animation: floatLogoBubble1 12s ease-in-out infinite; animation-delay: 0s; }
.floating-logo.logo-2 { left: 8%; animation: floatLogoBubble2 14s ease-in-out infinite; animation-delay: 2s; }
.floating-logo.logo-3 { left: 13%; animation: floatLogoBubble3 11s ease-in-out infinite; animation-delay: 4s; }
.floating-logo.logo-4 { left: 18%; animation: floatLogoBubble4 15s ease-in-out infinite; animation-delay: 1s; }
.floating-logo.logo-5 { left: 23%; animation: floatLogoBubble5 13s ease-in-out infinite; animation-delay: 3s; }
.floating-logo.logo-6 { left: 28%; animation: floatLogoBubble1 12s ease-in-out infinite; animation-delay: 5s; }
.floating-logo.logo-7 { left: 33%; animation: floatLogoBubble2 14s ease-in-out infinite; animation-delay: 0.5s; }
.floating-logo.logo-8 { left: 38%; animation: floatLogoBubble3 11s ease-in-out infinite; animation-delay: 2.5s; }
.floating-logo.logo-9 { left: 43%; animation: floatLogoBubble4 15s ease-in-out infinite; animation-delay: 4.5s; }
.floating-logo.logo-10 { left: 48%; animation: floatLogoBubble5 13s ease-in-out infinite; animation-delay: 1.5s; }
.floating-logo.logo-11 { left: 53%; animation: floatLogoBubble1 12s ease-in-out infinite; animation-delay: 3.5s; }
.floating-logo.logo-12 { left: 58%; animation: floatLogoBubble2 14s ease-in-out infinite; animation-delay: 6s; }
.floating-logo.logo-13 { left: 63%; animation: floatLogoBubble3 11s ease-in-out infinite; animation-delay: 1s; }
.floating-logo.logo-14 { left: 68%; animation: floatLogoBubble4 15s ease-in-out infinite; animation-delay: 3s; }
.floating-logo.logo-15 { left: 73%; animation: floatLogoBubble5 13s ease-in-out infinite; animation-delay: 5s; }
.floating-logo.logo-16 { left: 78%; animation: floatLogoBubble1 12s ease-in-out infinite; animation-delay: 2s; }
.floating-logo.logo-17 { left: 83%; animation: floatLogoBubble2 14s ease-in-out infinite; animation-delay: 4s; }
.floating-logo.logo-18 { left: 88%; animation: floatLogoBubble3 11s ease-in-out infinite; animation-delay: 0s; }
.floating-logo.logo-19 { left: 93%; animation: floatLogoBubble4 15s ease-in-out infinite; animation-delay: 2.5s; }
.floating-logo.logo-20 { left: 5%; animation: floatLogoBubble5 13s ease-in-out infinite; animation-delay: 7s; }
.floating-logo.logo-21 { left: 15%; animation: floatLogoBubble1 12s ease-in-out infinite; animation-delay: 8s; }
.floating-logo.logo-22 { left: 35%; animation: floatLogoBubble2 14s ease-in-out infinite; animation-delay: 9s; }
.floating-logo.logo-23 { left: 55%; animation: floatLogoBubble3 11s ease-in-out infinite; animation-delay: 7.5s; }
.floating-logo.logo-24 { left: 75%; animation: floatLogoBubble4 15s ease-in-out infinite; animation-delay: 8.5s; }

/* Hover effect */
.floating-logo:hover {
    opacity: 0.8 !important;
    transform: scale(1.3) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .floating-logo {
        width: 45px;
        height: 45px;
        opacity: 0.35;
    }
    .floating-logo i {
        font-size: 18px;
    }
    .floating-logo img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {
    .floating-logo {
        width: 35px;
        height: 35px;
        opacity: 0.25;
    }
    .floating-logo i {
        font-size: 14px;
    }
    .floating-logo img {
        width: 22px;
        height: 22px;
    }
    /* Hide some logos on mobile */
    .floating-logo.logo-6,
    .floating-logo.logo-10,
    .floating-logo.logo-11,
    .floating-logo.logo-14,
    .floating-logo.logo-15,
    .floating-logo.logo-18,
    .floating-logo.logo-19,
    .floating-logo.logo-21,
    .floating-logo.logo-23 {
        display: none;
    }
}
