
/* Efeitos trazidos da tela de lançamento */
@property --idledock-launch-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --idledock-launch-shine {
    syntax: "<percentage>";
    initial-value: 100%;
    inherits: false;
}

/* Borda azul com dourado */
header.hero .hero-glass::after {
    background: conic-gradient(
        from var(--idledock-launch-angle),
        transparent 0deg,
        transparent 230deg,
        rgba(90, 225, 235, .15) 275deg,
        #74eaf0 310deg,
        #f5e3b2 340deg,
        transparent 360deg
    ) !important;

    animation: idleDockLaunchBorder 7s linear infinite !important;
}

@keyframes idleDockLaunchBorder {
    to { --idledock-launch-angle: 360deg; }
}

/* Símbolo + IdleDock dentro do painel */
header.hero .idledock-hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 0 0 26px;
}

header.hero .idledock-hero-brand img {
    display: block;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    object-fit: contain;
}

header.hero .idledock-hero-brand span {
    display: inline-block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.04em;
    color: #f1eee7;
}

/* Cores de segurança caso o navegador não suporte recorte de texto */
header.hero .hero-title-shine .shine-line {
    color: #eaf4fb !important;
    -webkit-text-fill-color: currentColor !important;
}

header.hero .hero-title-shine .shine-line-accent {
    color: #87e6ed !important;
}

/* Branco, azul e faixa de luz */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    header.hero .hero-title-shine .shine-line {
        background: linear-gradient(
            110deg,
            #edf4fc 0%,
            #edf4fc 28%,
            #87dce9 42%,
            #ffffff 49%,
            #ffffff 52%,
            #87dce9 60%,
            #edf4fc 74%,
            #edf4fc 100%
        ) !important;

        background-size: 250% 100% !important;
        background-repeat: no-repeat !important;
        background-position:
            var(--idledock-launch-shine) 50% !important;

        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;
        text-shadow: none !important;

        animation: idleDockLaunchShine 4s ease-in-out infinite !important;
    }

    header.hero .idledock-hero-brand span {
        background: linear-gradient(
            110deg,
            #cbd1da 40%,
            #ffffff 48%,
            #ffe8b0 52%,
            #cbd1da 60%
        );

        background-size: 250% 100%;
        background-repeat: no-repeat;
        background-position: var(--idledock-launch-shine) 50%;

        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;

        animation: idleDockLaunchShine 4s ease-in-out infinite;
    }
}

@keyframes idleDockLaunchShine {
    0%, 15% {
        --idledock-launch-shine: 100%;
    }
    80%, 100% {
        --idledock-launch-shine: 0%;
    }
}

@media (max-width: 700px) {
    header.hero .idledock-hero-brand {
        gap: 10px;
        margin-bottom: 22px;
    }

    header.hero .idledock-hero-brand img {
        width: 44px;
        height: 44px;
    }

    header.hero .idledock-hero-brand span {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    header.hero .hero-glass::after,
    header.hero .hero-title-shine .shine-line,
    header.hero .idledock-hero-brand span {
        animation: none !important;
    }
}
