/* XME FotoQR clean branding — no jump */

:root {
    --fotoqr-bg-1: #050721;
    --fotoqr-bg-2: #0b1234;
    --fotoqr-cyan: #6ff7ff;
    --fotoqr-blue: #42c7ff;
    --fotoqr-green: #37d67a;
    --fotoqr-text: #f2f7ff;
    --fotoqr-muted: rgba(234, 244, 255, .68);
}

html {
    min-height: 100%;
    background:
        radial-gradient(circle at 15% 12%, rgba(111, 247, 255, .18), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(55, 214, 122, .11), transparent 34%),
        linear-gradient(135deg, var(--fotoqr-bg-1), var(--fotoqr-bg-2) 58%, #060819);
}

body {
    min-height: 100%;
    background:
        linear-gradient(rgba(111, 247, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111, 247, 255, .028) 1px, transparent 1px),
        radial-gradient(circle at 20% 18%, rgba(66, 199, 255, .14), transparent 32%),
        radial-gradient(circle at 78% 5%, rgba(55, 214, 122, .10), transparent 28%);
    background-size: 42px 42px, 42px 42px, auto, auto;
    color: var(--fotoqr-text);
}

.xme-fotoqr-brand-shell {
    width: min(1120px, calc(100vw - 32px));
    margin: 22px auto 14px;
    color: var(--fotoqr-text);
}

.xme-fotoqr-brand-main {
    width: 100%;
}

.xme-fotoqr-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
}

.xme-fotoqr-service-logo {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.xme-fotoqr-mark-img {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    filter:
        drop-shadow(0 18px 34px rgba(0,0,0,.34))
        drop-shadow(0 0 26px rgba(111,247,255,.28));
}

.xme-fotoqr-wordblock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 104px;
    min-width: 0;
}

.xme-fotoqr-name {
    font-size: 72px;
    line-height: .86;
    font-weight: 1000;
    letter-spacing: -4.8px;
    color: #fff;
    text-shadow: 0 0 24px rgba(111,247,255,.16);
    white-space: nowrap;
}

.xme-fotoqr-name .qr {
    color: var(--fotoqr-cyan);
}

.xme-fotoqr-subtitle {
    margin-top: 13px;
    font-size: 18px;
    line-height: 1.08;
    font-weight: 850;
    color: #dff7ff;
    white-space: nowrap;
}

.xme-fotoqr-xmeone-top {
    display: block;
    height: 86px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
    margin-top: 8px;
    margin-left: auto;
    background: transparent;
    mix-blend-mode: screen;
    filter:
        drop-shadow(0 16px 28px rgba(0,0,0,.32))
        drop-shadow(0 0 16px rgba(111,247,255,.20));
}

.xme-fotoqr-service-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 0 12px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(111, 247, 255, .28);
    background: rgba(111, 247, 255, .11);
    color: var(--fotoqr-cyan);
    font-size: 13px;
    font-weight: 900;
}

.xme-fotoqr-service-pill::before {
    content: "▦";
    font-size: 15px;
    color: var(--fotoqr-green);
}

body .xme-fotoqr-brand-enhanced-card {
    position: relative;
    overflow: hidden;
}

body .xme-fotoqr-brand-enhanced-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(111, 247, 255, .10), transparent 34%),
        radial-gradient(circle at bottom right, rgba(55, 214, 122, .07), transparent 36%);
    opacity: .85;
}

body .xme-fotoqr-brand-enhanced-card > * {
    position: relative;
    z-index: 1;
}

.xme-fotoqr-footer {
    width: min(1120px, calc(100vw - 32px));
    margin: 34px auto 20px;
    padding: 16px 0 4px;
    border-top: 1px solid rgba(111, 247, 255, .18);
    color: rgba(234, 244, 255, .56);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.xme-fotoqr-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.xme-fotoqr-footer strong {
    color: var(--fotoqr-cyan);
}

.xme-fotoqr-footer-xmeone-logo {
    height: 36px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter:
        drop-shadow(0 8px 16px rgba(0,0,0,.28))
        drop-shadow(0 0 10px rgba(111,247,255,.16));
}

/* Mobile */
@media (max-width: 760px) {
    .xme-fotoqr-brand-shell {
        width: min(100vw - 24px, 760px);
        margin-top: 16px;
    }

    .xme-fotoqr-top-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .xme-fotoqr-service-logo {
        gap: 10px;
        flex: 1 1 auto;
        min-width: 0;
    }

    .xme-fotoqr-mark-img {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
    }

    .xme-fotoqr-wordblock {
        min-height: 70px;
        min-width: 0;
    }

    .xme-fotoqr-name {
        font-size: 42px;
        line-height: .9;
        letter-spacing: -2.7px;
    }

    .xme-fotoqr-subtitle {
        margin-top: 7px;
        font-size: 8.8px;
        line-height: 1;
        white-space: nowrap;
        max-width: 215px;
    }

    .xme-fotoqr-xmeone-top {
        height: 38px;
        max-width: 118px;
        margin-left: 2px;
        margin-top: 12px;
        flex: 0 0 auto;
    }

    .xme-fotoqr-footer {
        margin-top: 24px;
        font-size: 12px;
    }

    .xme-fotoqr-footer-xmeone-logo {
        height: 28px;
        max-width: 170px;
    }
}

@media (max-width: 390px) {
    .xme-fotoqr-mark-img {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .xme-fotoqr-name {
        font-size: 38px;
    }

    .xme-fotoqr-subtitle {
        font-size: 8px;
        max-width: 195px;
    }

    .xme-fotoqr-xmeone-top {
        height: 34px;
        max-width: 104px;
        margin-top: 11px;
    }
}
