@import url("https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap");
@import "./animation.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Silkscreen", sans-serif;
    position: relative;
    width: 100dvw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #000;
    user-select: none;
    -webkit-user-select: none;
}

/* Loading */

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(#f00 0%, #ffffff50 0%);
}

.power-btn {
    font-size: 36px;
    width: 90px;
    height: 90px;
    color: #ffffff50;
    border-radius: 50%;
    border: none;
    background: #000000;
    cursor: pointer;
    transition: color 0.2s;
}

.power-btn:active {
    color: #f00;
    text-shadow: 0 0 10px red, 0 0 10px red;
}

/* Wrapper */

.wrapper {
    width: 100%;
    height: 100%;
    display: none;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.heart-coin {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.heart-coin img {
    height: 30px;
}

.score {
    font-size: 24px;
}

.heart-container {
    position: relative;
}

.heart-container i {
    font-size: 200px;
    color: red;
    transition: transform 0.1s ease-in-out;
}

.clear-btn {
    color: red;
    background-color: #000;
    border: 1px solid red;
    cursor: pointer;
    width: 50px;
    height: 50px;
    font-size: 24px;
    border-radius: 10px;
    transition: all 0.2s;
}

.clear-btn:hover {
    color: black;
    background: red;
}

.plus-one {
    position: absolute;
    font-size: 24px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    animation: move-up 2s forwards;
}

@keyframes move-up {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-250px);
    }
}

.gradient {
    background-color: #f68fff;
    background: linear-gradient(#f68fff 0%, #00fff0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
