.game-start-wrapper{
    display: flex;
    flex-direction: column;
}

.game-start-wrapper .logo-container{
    display: flex;
    justify-content: center;
}

.logo-wrapper{
    position: relative;
}

.game-start-wrapper .logo-container img{
    max-width: 593px;
    width: 100%;
    transform: rotate(6deg);
}

.game-start-wrapper .logo-container p{
    text-align: center;
    font-size: 40px;
    position: absolute;
    margin-bottom: 0;
    bottom: -50px;
    right: 0;
    transform: rotate(-1deg);
}

.game-start-wrapper .start-container{
    margin-top: 111px;
    margin-bottom: 40px;
    display: flex;
    width: 100%;
    justify-content: center;
}

.game-start-wrapper .skip-container{
    display: flex;
    justify-content: flex-end;
    padding: 0 42px 32px 42px;
}

.game-start-wrapper .skip-container a{
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.game-step-wrapper .step-header{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.step-header p:nth-child(2){
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.game-wrapper{
    display: flex;
    width: 100%;
    cursor: grab;
    user-select: none;
}

.game-wrapper .game{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.game .back-part{
    position: relative;
}

.back-part .back-base{
    width: 100%;
    max-width: 411px;
    position: relative;
}

.back-part .back-cream-full{
    width: 100%;
    max-width: 411px;
    position: absolute;
    top: 0;
    left: 0;
}

.game-wrapper .help{
    margin-top: 50px;
    margin-bottom: 50px;
    width: 220px;
    height: 80px;
    border: 4px solid #fff;
    border-radius: 50px;
    position: relative;
}

.game-wrapper .help .help-container{
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    justify-content: flex-start;
    position: relative;
}

.game-wrapper.step-1{
    flex-direction: column;
    align-items: center;
}

.help-container .arrow-left{
    width: 80px;
    color: #fff;
    margin-top: -40px;
    margin-bottom: -40px;
    animation: arrow-slide 1.4s ease-in-out infinite;
}

.help-container .hand{
    position: absolute;
    width: 100%;
    max-width: 123px;
    left:-40px;
    bottom: -80px;
    animation: hand-slide 1.4s ease-in-out infinite;
}

@keyframes hand-slide {
    0%   { transform: translateX(0);     opacity: 0; }
    45%  { transform: translateX(0);     opacity: 1; }
    80%  { transform: translateX(100px); opacity: 1; }
    100% { transform: translateX(100px); opacity: 0; }
}

@keyframes hand-slide-top {
    0%   { transform: translateY(0);     opacity: 0; }
    45%  { transform: translateY(0);     opacity: 1; }
    80%  { transform: translateY(-100px); opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

@keyframes hand-slide-bottom {
    0%   { transform: translateY(0);     opacity: 0; }
    45%  { transform: translateY(0);     opacity: 1; }
    80%  { transform: translateY(100px); opacity: 1; }
    100% { transform: translateY(100px); opacity: 0; }
}

@keyframes arrow-slide {
    0%   { transform: translateX(0);     opacity: 0; }
    15%  { transform: translateX(0);     opacity: 1; }
    80%  { transform: translateX(100px); opacity: 1; }
    100% { transform: translateX(100px); opacity: 0; }
}

@keyframes arrow-slide-top {
    0%   { transform: translateY(0);     opacity: 0; }
    15%  { transform: translateY(0);     opacity: 1; }
    80%  { transform: translateY(-100px); opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

@keyframes arrow-slide-bottom {
    0%   { transform: translateY(0);     opacity: 0; }
    15%  { transform: translateY(0);     opacity: 1; }
    80%  { transform: translateY(100px); opacity: 1; }
    100% { transform: translateY(100px); opacity: 0; }
}

.front-part{
    position: absolute;
    left: 0;
    top: 0;
    user-select: none;
}

.front-part.bouncing{
    animation: front-bounce 0.8s ease infinite;
}

@keyframes front-bounce {
    0%   { top: 0; }
    25%  { top: -18px; }
    55%  { top: 0; }
    75%  { top: -8px; }
    100% { top: 0; }
}

.game-wrapper.dragging{
    cursor: grabbing;
}

.front-part .front-base{
    width: 100%;
    max-width: 411px;
    pointer-events: none;
}

.help-container .arrow-top{
    width: 80px;
    color: #fff;
    animation: arrow-slide-top 1.4s ease-in-out infinite;
}

.help-container .arrow-bottom{
    width: 80px;
    color: #fff;
    animation: arrow-slide-bottom 1.4s ease-in-out infinite;
}

.step-2 .help-container .hand{
    position: absolute;
    width: 100%;
    max-width: 123px;
    left: 0;
    bottom: -60px;
    animation: hand-slide-top 1.4s ease-in-out infinite;
}

.step-3 .help-container .hand{
    position: absolute;
    width: 100%;
    max-width: 123px;
    left: 0;
    top: 0;
    animation: hand-slide-bottom 1.4s ease-in-out infinite;
}

.game-wrapper.step-2 .front-part,
.game-wrapper.step-3 .front-part{
    position: relative;
    top: initial;
    left: initial;
    cursor: initial;
}

.game-wrapper.step-2,
.game-wrapper.step-3{
    flex-direction: row;
    align-items: center;
    padding-bottom: 167px;
    position: relative;
}

.game-wrapper.step-2 .help,
.game-wrapper.step-3 .help {
    margin-top: 50px;
    margin-bottom: 50px;
    margin-right: 30px;
    width: 80px;
    height: 220px;
    border: 4px solid #fff;
    border-radius: 50px;
    position: relative;
}

.game-wrapper.step-2 .help .help-container{
    padding: 20px 0;
    align-items: flex-end;
}

.game-wrapper.step-3 .help .help-container{
    padding: 20px 0;
    align-items: flex-start;
}

.step-2 .back-part .back-cream,
.step-3 .back-part .back-cream{
    width: 100%;
    max-width: 411px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    user-select: none;
    pointer-events: none;
}

.step-2 .back-part .back-cream-full{
    pointer-events: none;
}

.game-wrapper.step-2 .back-part.bouncing{
    animation: back-bounce 0.8s ease infinite;
}

@keyframes back-bounce {
    0%   { transform: translateY(0); }
    25%  { transform: translateY(-18px); }
    55%  { transform: translateY(0); }
    75%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.game-wrapper.step-3 .front-part.bouncing {
    animation: back-bounce 0.8s ease infinite;
}

.milk-container{
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    height: 181px;
    overflow: hidden;
}

.milk-waves{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.wave{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 120px;
    animation: wave-scroll linear infinite;
}

.wave-1{ animation-duration: 3s; }
.wave-2{ animation-duration: 4s;   animation-delay: -1s; }
.wave-3{ animation-duration: 5s;   animation-delay: -2s; }

@keyframes wave-scroll{
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.milk-splash-img{
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
}

.milk-container.milk-splash .milk-waves{
    opacity: 0 !important;
    transition: none;
}

.milk-container.milk-splash .milk-splash-img{
    animation: milk-appear 0.5s ease forwards;
}

@keyframes milk-appear{
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes particle-fly {
    0%   { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

.game-final-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 69px;
    margin-top: 70px;
    margin-bottom: 52px;
}

.game-final-container p{
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-bottom: 0;
}

.game-final-container a{
    padding: 10px 70px;
}
