* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    font-family: 'EB Garamond', Georgia, serif;
    background-color: #cfe6fb;
    color: #3b241a;
    overflow: hidden;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.05;
    pointer-events: none;
}

.home-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    transform: translateY(-10px);
}

.symbol-button {
    position: relative;
    width: 180px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.symbol {
    font-size: 72px;
    line-height: 1;
    color: #3b241a;
    transition:
        transform 1s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

/* subtle hover breathing */
.symbol-button:hover .symbol {
    transform: scale(1.06);
    animation: breathe 2.4s ease-in-out infinite;
}


.plus {
    margin-right: 4px;
}

.star {
    margin-left: 4px;
}

/* animation state */
body.entering .plus {
    transform: translateX(-90px) rotate(-18deg);
    opacity: 0;
}

body.entering .star {
    transform: translateX(90px) rotate(18deg);
    opacity: 0;
}

body.entering .home-wrap {
    transition: opacity 0.8s ease;
    opacity: 0.92;
}

@media (max-width: 700px) {
    .symbol {
        font-size: 56px;
    }

}

@media (hover: none) and (pointer: coarse) {
    .symbol {
        animation: breathe 3.4s ease-in-out infinite;
    }
}

@keyframes breathe {
    0% {
        transform: scale(1) translateY(0px);
    }
    50% {
        transform: scale(1.06) translateY(-3px);
    }
    100% {
        transform: scale(1) translateY(0px);
    }
}