.app {
    backdrop-filter: blur(20px);
    border-radius: 15px;
    max-height: 100%;
    width: 100vw;
    height: 100vh;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 2s forwards;
}

.duotone {
    margin-top: -80px;
    background: url(/assets/imagens/200x200.png);
    background-size: cover;
    border-radius: 30%;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    height: 220px;
    width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 22px;
    position: relative;
    margin-bottom: 20px;
}

.duotone:after,
.duotone:after,
.duotone:before {
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: background 0.25s ease;
    border-radius: 65px;
}

.duotone:after {
    background: linear-gradient(135deg, var(--lighten) 40%, rgba(255, 255, 255, 0) 100%);
    mix-blend-mode: lighten;
    filter: brightness(1.5) saturate(1.8);
    /* Brilho e saturação elevados */
    opacity: 0.9;
    mix-blend-mode: lighten;
filter: brightness(1.5) saturate(1.8);
opacity: 0.9;
box-shadow: 0 0 15px #000000, 0 0 30px #00000000;
}

.duotone:before {
    background: var(--darken);
    mix-blend-mode: darken;
    filter: blur(12px);
    /* Blur suave aumentado */
    opacity: 0.75;
    /* Transparência equilibrada */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
    /* Sombra interna e externa para profundidade */
}

/* Adicionando um toque de textura */
.duotone:after {
    background: linear-gradient(135deg, var(--lighten) 40%, rgba(255, 255, 255, 0) 100%), url('path/to/texture.png');
    /* Adicione sua textura */
    background-blend-mode: overlay;
    /* Mistura a textura com o gradiente */
}

.color-name {
    color: white;
    font-size: 22px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.chooser {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    /* Espaçamento entre os círculos */
}

input {
    display: none;
    /* Mantém o estilo existente */
}


label {
    background: var(--bg);
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    height: 40px;
    width: 40px;
    transition: transform 0.3s ease;
}

label:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 1px 1px 8px rgba(255, 255, 255, 0.5), 0 0 15px rgba(255, 255, 255, 0.5);
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.4s ease-out, box-shadow 0.3s ease-in-out;
}

label.darken {
    transform: translate(-50%, -50%) rotate(calc(var(--angle) * 1deg)) translateX(200px);
}

input {
    display: none;
}

footer {
    margin-top: 20px;
    font-size: 14px;
}

.clear {
    border-color: #ff4757;
    /* Vermelho mais vibrante */
    border-width: 4px;
    box-shadow: 0 0 10px rgba(255, 36, 0, 0.5);
    /* Sombra ao redor para destaque */
    transition: border-color 0.3s, box-shadow 0.3s;
    /* Transição suave */
}

.clear:hover {
    border-color: #ff6b81;
    /* Muda a cor ao passar o mouse */
    box-shadow: 0 0 15px rgba(255, 36, 0, 0.8);
    /* Intensifica a sombra ao passar o mouse */
}

.clear:after {
    background: linear-gradient(45deg, #f22613, #ff6348);
    /* Gradiente para um efeito mais dinâmico */
    height: 4px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    /* Sombra suave para profundidade */
    transition: background 0.3s;
    /* Transição suave */
}

.clear:hover:after {
    background: linear-gradient(45deg, #ff6348, #ff4757);
    /* Muda o gradiente ao passar o mouse */
}

.disabled {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}

label.lighten {
    background: var(--bg);
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    height: 40px;
    width: 40px;
    transition: transform 0.3s ease;
    position: relative;
    /* Adiciona o posicionamento relativo aqui */
}

.custom-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    /* Fundo escuro semi-transparente */
    color: rgb(239, 191, 68);
    font-size: 8px;
    padding: 2px 4px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Sombra leve para destacar */
}

.unavailable-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    /* Fundo escuro semi-transparente */
    color: white;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Sombra leve para destacar */
}

.label {
    transition: transform 0.3s;
}

.label:hover {
    transform: scale(1.05);
}

.label.disabled:hover {
    box-shadow: none;
    /* Remove a sombra */
    transform: none;
    /* Impede a transformação */
    cursor: not-allowed;
    /* Muda o cursor para indicar que está desabilitado */
}


@media (max-width: 400px) {
    .chooser {
           transform-origin: top left;
           /* Ajusta o ponto de origem da transformação */
    }
}

@media (max-width: 300px) {
    .app {
           display: none;
           /* Oculta o chooser */
    }
}