/*
 * The kiosk's scrolling ticker (the Marquee), shared by the kiosk (static/index.html) and the
 * admin's Marquee preview, so the preview is drawn by the same rules as the TV (PLAN-71 PB-B).
 * Moved verbatim out of static/index.html on 2026-10-14; the phone-size override stays there.
 */
/* ==================== ARCADE MARQUEE BANNER ==================== */
.arcade-marquee {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    border-top: 3px solid #ff6b35;
    border-bottom: 3px solid #ff6b35;
    box-shadow:
        0 0 20px rgba(255, 107, 53, 0.5),
        0 0 40px rgba(255, 107, 53, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.1),
        inset 0 -2px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 9997;
    cursor: pointer;
}

/* Scanline effect */
.arcade-marquee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    opacity: 0.3;
}

/* Corner brackets (arcade bezel style) */
.arcade-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to right, #00d9ff 3px, transparent 3px) 0 0,
        linear-gradient(to right, #00d9ff 3px, transparent 3px) 0 100%,
        linear-gradient(to left, #00d9ff 3px, transparent 3px) 100% 0,
        linear-gradient(to left, #00d9ff 3px, transparent 3px) 100% 100%,
        linear-gradient(to bottom, #00d9ff 3px, transparent 3px) 0 0,
        linear-gradient(to bottom, #00d9ff 3px, transparent 3px) 100% 0,
        linear-gradient(to top, #00d9ff 3px, transparent 3px) 0 100%,
        linear-gradient(to top, #00d9ff 3px, transparent 3px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 25px 25px;
    pointer-events: none;
}

/* Scrolling text container */
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee-scroll 120s linear infinite;
    padding-left: 100%;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 50px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Marquee text styling */
.marquee-item {
    display: inline;
    margin: 0 30px;
}

.marquee-separator {
    color: rgba(255, 107, 53, 0.6);
    margin: 0 20px;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}

/* Color classes for variety */
.text-cyan {
    color: #00d9ff;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

.text-yellow {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.text-magenta {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.6);
}

.text-white {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.text-green {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

/* Pulsing glow for special elements */
.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 10px currentColor;
    }
    50% {
        text-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
    }
}

/* Update flash animation */
.update-flash {
    animation: flash-update 0.5s ease-in-out;
}

@keyframes flash-update {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

