/*-----------------------------------*\
  #LIVE DOSA BANNER ANIMATION
\*-----------------------------------*/

.live-dosa-banner {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;

    background: linear-gradient(135deg, #0a0a0a 0%, #1a1410 50%, #0a0a0a 100%);
    border: 3px solid hsl(38, 61%, 73%);
    border-radius: 50%;

    width: 250px;
    height: 250px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;

    animation: bannerPulse 3s ease-in-out infinite, orbitRotate 20s linear infinite;
    box-shadow:
        0 0 30px rgba(216, 175, 117, 0.4),
        0 0 60px rgba(216, 175, 117, 0.2);
}

@keyframes bannerPulse {

    0%,
    100% {
        box-shadow:
            0 0 30px rgba(216, 175, 117, 0.4),
            0 0 60px rgba(216, 175, 117, 0.2);
    }

    50% {
        box-shadow:
            0 0 50px rgba(216, 175, 117, 0.6),
            0 0 80px rgba(216, 175, 117, 0.3);
    }
}

@keyframes orbitRotate {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

.live-dosa-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;

    /* Counter-rotate to keep text upright */
    animation: counterRotate 20s linear infinite;
}

@keyframes counterRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.dosa-icon {
    font-size: 2.8rem;
    animation: bounce 1s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.8));
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.1);
    }
}

.live-dosa-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: 'Forum', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.live-text {
    color: #ff4444;
    animation: pulseGlow 1.5s ease-in-out infinite;
    text-shadow:
        0 0 5px rgba(255, 68, 68, 0.8),
        0 0 10px rgba(255, 68, 68, 0.5);
    /* Crisp text - no blur */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.03);
    }
}

.dosa-text {
    color: hsl(38, 61%, 73%);
    animation: shimmer 3s linear infinite;
    background: linear-gradient(90deg,
            hsl(38, 61%, 73%) 0%,
            hsl(38, 61%, 85%) 50%,
            hsl(38, 61%, 73%) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 3px rgba(216, 175, 117, 0.6));
    /* Crisp text - no blur */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.available-text {
    color: #4CAF50;
    font-size: 1.8rem;
    animation: zoomPulse 1s ease-in-out infinite;
    text-shadow:
        0 0 5px rgba(76, 175, 80, 0.8),
        0 0 10px rgba(76, 175, 80, 0.5);
    /* Crisp text - no blur */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@keyframes zoomPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

/* Sparkles - orbiting around the circle */
.sparkles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: hsl(38, 61%, 73%);
    border-radius: 50%;
    box-shadow: 0 0 8px hsl(38, 61%, 73%);
    opacity: 0;
}

/* Position sparkles around circle perimeter */
.sparkle:nth-child(1) {
    top: 0;
    left: 50%;
    animation: sparkleOrbit 3s ease-in-out infinite;
}

.sparkle:nth-child(2) {
    top: 25%;
    right: 10%;
    animation: sparkleOrbit 3s ease-in-out infinite 0.6s;
}

.sparkle:nth-child(3) {
    top: 50%;
    right: 0;
    animation: sparkleOrbit 3s ease-in-out infinite 1.2s;
}

.sparkle:nth-child(4) {
    bottom: 25%;
    right: 10%;
    animation: sparkleOrbit 3s ease-in-out infinite 1.8s;
}

.sparkle:nth-child(5) {
    bottom: 0;
    left: 50%;
    animation: sparkleOrbit 3s ease-in-out infinite 2.4s;
}

@keyframes sparkleOrbit {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Mobile Responsive - Horizontal banner on mobile */
@media (max-width: 768px) {
    .live-dosa-banner {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 0 auto;

        /* Switch to horizontal banner */
        border-radius: 15px;
        width: 100%;
        max-width: 90%;
        height: auto;
        min-height: 100px;
        padding: 20px;

        animation: bannerPulse 3s ease-in-out infinite;
    }

    .live-dosa-content {
        animation: none;
        flex-direction: row;
        gap: 15px;
    }

    .dosa-icon {
        font-size: 2.5rem;
    }

    .live-dosa-text {
        flex-direction: row;
        font-size: 1.8rem;
        gap: 10px;
    }

    .available-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .live-dosa-banner {
        max-width: 95%;
        min-height: 90px;
        padding: 15px;
    }

    .live-dosa-content {
        gap: 10px;
    }

    .dosa-icon {
        font-size: 2rem;
    }

    .live-dosa-text {
        font-size: 1.5rem;
        gap: 8px;
    }

    .available-text {
        font-size: 1.3rem;
    }

    .sparkle {
        width: 4px;
        height: 4px;
    }
}