.tetrismax__dialog {
    position: absolute;
    inset: 0;
    
    background: #060919;

    border-radius: 20px;

    display: flex;
    align-items: center;
    
    justify-content: center;
    z-index: 1000;

    .tetrismax__dialog-content {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        text-align: center;

        &.hide {
            opacity: 0;
            transform: translateY(50%); /* start slightly below */
            transition: transform 0.5s ease-out, opacity 0.5s ease-out;
        }

        &.show {
            transform: translateY(0%);
            opacity: 1;
        }
        
        .logo {
            height: 2rem;
            background-image: url("../img/logo.svg");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
        }

        .header {
            width: 25rem;

            background-image: url("../img/tetrisMAX.svg");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            padding: 3rem;
        }

        .replay-button {
            width: 15rem;
            height: 4rem;
            flex-shrink: 0;
            border-radius: 2.02206rem;
            border: 0.914px solid rgba(255, 255, 255, 0.30);
            background: var(--Radial, radial-gradient(178.81% 195.64% at -6.11% 111.94%, #1B195D 0%, #423DE8 52.86%, #E1E1FF 100%));
            box-shadow: 0 0 33.701px -2.696px rgba(65, 60, 226, 0.42), 0 0 134.803px 0 rgba(66, 61, 230, 0.50);
        
            .image {
                height: 1rem;
                background-image: url("../img/form/play_again.svg");
                background-repeat: no-repeat;
                background-position: center;
                background-size: contain;
            }
        }
    }
}