/* Live demo banner (GitHub Pages build only) */
body {
    padding-bottom: 96px;
}

.demo-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 14px 20px;
    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 100%);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.demo-banner-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.demo-banner-text strong {
    padding: 3px 10px;
    border-radius: 999px;
    background: #22c55e;
    color: #052e16;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.demo-banner-text span {
    color: #e0e7ff;
}

.demo-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.demo-banner-github {
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.demo-banner-github:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.demo-banner .sponsor-button {
    font-size: 1.15rem;
    padding: 14px 26px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 150px;
    }

    .demo-banner {
        padding: 10px 16px;
    }

    .demo-banner-text span,
    .demo-banner-github {
        display: none;
    }

    .demo-banner-actions,
    .demo-banner-actions a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
