* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
}

body:not(.ready) .booster-pack,
.open-btn {
    transition: none;
}

.booster-pack {
    width: 180px;
    height: 260px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.open-btn {
    width: 50%;
    height: 20%;
    display: none;
    z-index: -1;
    top: 100%;
    position: absolute;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 0 0 8px 8px;
    padding: 10px;
    background-color: #44ee44;
    cursor: pointer;
    transition: all 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.selected {
    transform: translateY(-10px);
}

.show {
    display: flex;
    transition: all 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}
@keyframes vibrate {
  0% {
    transform: translate(calc(50vw - 90px), calc(50vh - 260px)) rotate(0deg);
  }
  25% {
    transform: translate(calc(50vw - 90px), calc(50vh - 260px)) rotate(3deg);
  }
  50% {
    transform: translate(calc(50vw - 90px), calc(50vh - 260px)) rotate(0deg);
  }
  75% {
    transform: translate(calc(50vw - 90px), calc(50vh - 260px)) rotate(-3deg);
  }
  100% {
    transform: translate(calc(50vw - 90px), calc(50vh - 260px)) rotate(0deg);
  }
}


.opening {
    transition: 0.8s cubic-bezier(0.83, 0.82, 0, 0.99);
    transform: translate(calc(50vw - 90px), calc(50vh - 260px));
    animation: pop 0.3s ease-in;
}

.vibrate {
    animation: vibrate 0.3s infinite;
}


/*ChatGPT and AI provided styling*/
.noselect {
    user-select: none;
    /* estándar moderno */
    -webkit-user-select: none;
    /* para navegadores basados en WebKit */
    -moz-user-select: none;
    /* para Firefox */
    -ms-user-select: none;
    /* para Internet Explorer/Edge viejos */
}

/* mientras no esté "ready", no hay transición */