@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Montserrat:wght@500;600&display=swap");

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#mensaje {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.92);
    z-index: 1000;
    width: min(82vw, 430px);
    padding: 32px 24px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 20px;
    background: rgba(35, 16, 39, .72);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 226, 237, .12);
    color: #fff7fb;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2rem, 8vw, 4.4rem);
    line-height: 1.05;
    text-align: center;
    opacity: .9;
    pointer-events: none;
    transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1), background .35s ease;
}

#mensaje::before,
#mensaje::after {
    content: "✦";
    position: absolute;
    color: #ffd1e1;
    font-size: 1.1rem;
    animation: twinkle 1.8s ease-in-out infinite;
}

#mensaje::before {
    top: 14px;
    left: 20px;
}

#mensaje::after {
    right: 20px;
    bottom: 14px;
    animation-delay: .7s;
}

#mensaje.encontrado {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: rgba(98, 34, 67, .82);
    animation: appear .7s both;
}

#mensaje.esperando {
    top: auto;
    bottom: 28px;
    transform: translateX(-50%);
    width: max-content;
    max-width: 88vw;
    padding: 12px 18px;
    border-radius: 999px;
    font-family: "Montserrat", sans-serif;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(20, 14, 25, .62);
}

@keyframes appear {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.72) rotate(-2deg); }
    65% { transform: translate(-50%, -50%) scale(1.04) rotate(.5deg); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
}

@keyframes twinkle {
    0%, 100% { opacity: .35; transform: scale(.8) rotate(0); }
    50% { opacity: 1; transform: scale(1.25) rotate(18deg); }
}
.a-enter-vr-button{
    display: none !important;                                  
}