.logo-container {
    position: fixed;
    left: 20px;
    bottom: 20px;
    top: auto;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: containerGlow 3s ease-in-out infinite alternate;
    z-index: 1000;
}

@keyframes containerGlow {
    0% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.2);
    }

    100% {
        box-shadow: 0 25px 50px rgba(220, 38, 38, 0.3);
        border-color: rgba(220, 38, 38, 0.3);
    }
}

.logo-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-logo {
    width: clamp(170px, 18vw, 220px);
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(181, 142, 142, 0.4));
    animation: logoFloat 4s ease-in-out infinite, logoGlow 3s ease-in-out infinite alternate;
    transition: all 0.3s ease;
    cursor: pointer;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) scale(1.02) rotate(0.5deg);
    }

    50% {
        transform: translateY(-12px) scale(1.03) rotate(0deg);
    }

    75% {
        transform: translateY(-8px) scale(1.02) rotate(-0.5deg);
    }
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(220, 38, 38, 0.2));
    }

    100% {
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(220, 38, 38, 0.5));
    }
}

.sparkle {
    position: absolute;
    color: #fbbf24;
    font-size: clamp(12px, 2vw, 18px);
    animation: sparkleFloat 3s ease-in-out infinite;
    pointer-events: none;
}

.sparkle:nth-child(1) {
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 10%;
    right: 15%;
    animation-delay: 1s;
}

.sparkle:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: 2s;
}

.sparkle:nth-child(4) {
    bottom: 5%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes sparkleFloat {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.3) translateY(0px) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1) translateY(-15px) rotate(180deg);
    }
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border: 2px solid rgba(220, 38, 38, 0.4);
    border-radius: 20px;
    animation: pulseRing 3s ease-out infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-container {
        left: 10px;
        bottom: 10px;
        top: auto;
        padding: 15px;
        border-radius: 15px;
        transform: none;
    }

    .main-logo {
        width: clamp(100px, 30vw, 180px);
    }
}

@media (max-width: 480px) {
    .logo-container {
        left: 5px;
        bottom: 5px;
        top: auto;
        padding: 10px;
        border-radius: 12px;
        transform: none;
    }

    .main-logo {
        width: clamp(80px, 35vw, 140px);
    }
}

/* Hover Effects */
.logo-container:hover {
    transform: translateY(-50%) scale(1.05);
    transition: transform 0.3s ease;
}

.logo-container:hover .main-logo {
    animation-duration: 2s;
}

.logo-container:hover .pulse-ring {
    animation-duration: 1.5s;
}

/* Demo content to show how it works with website content */
.demo-content {
    margin-left: 280px;
    padding: 40px;
    color: white;
    max-width: 800px;
}

.demo-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #dc2626;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.demo-text {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 1s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .demo-content {
        margin-left: 180px;
        padding: 20px;
    }

    .demo-title {
        font-size: 2rem;
    }

    .demo-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .demo-content {
        margin-left: 130px;
        padding: 15px;
    }

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

    .demo-text {
        font-size: 0.9rem;
    }
}