@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

html,
body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Roboto', Arial, sans-serif;
    color: #ffffff;
    font-size: 9px;
    background-color: #c83d3b;
    isolation: isolate;
}

#magic,
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#magic {
    display: block;
    z-index: 1;
    pointer-events: none;
}

#particles-js {
    z-index: 0;
    background-color: #c83d3b;
}

.playground {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.bottom-position {
    text-align: center;
    margin-bottom: 50px;
}

.brand-logo {
    display: block;
    width: min(180px, 55vw);
    height: auto;
}

.tagline {
    margin: 18px 0 0;
    font-size: 14px;
    font-weight: 400;
}

.finish-page .playground {
    justify-content: center;
    gap: 30px;
    padding: 28px;
    text-align: center;
}

.finish-page .bottom-position {
    margin-bottom: 0;
}

.finish-message {
    width: min(520px, 100%);
    pointer-events: auto;
    margin-top: 200px;
}

.finish-message h1 {
    margin: 0;
    font-size: clamp(26px, 5vw, 46px);
    font-weight: 700;
}

.finish-message p {
    margin: 14px auto 0;
    font-size: 16px;
    line-height: 1.55;
}

.instagram-follow {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 4;
}

.instagram-follow a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 10px 16px 10px 12px;
    color: #fffaf5;
    text-decoration: none;
    background: rgba(35, 18, 18, 0.28);
    border: 1px solid rgba(255, 250, 245, 0.28);
    border-radius: 999px;
    box-shadow: 0 18px 38px rgba(80, 12, 10, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        background 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.instagram-follow a:hover,
.instagram-follow a:focus-visible {
    background: rgba(35, 18, 18, 0.4);
    border-color: rgba(255, 250, 245, 0.5);
    box-shadow: 0 22px 48px rgba(80, 12, 10, 0.36);
    transform: translateY(-2px);
}

.instagram-follow a:focus-visible {
    outline: 3px solid rgba(255, 250, 245, 0.72);
    outline-offset: 3px;
}

.instagram-follow img {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
}

.instagram-follow span {
    display: grid;
    gap: 2px;
    text-align: left;
}

.instagram-follow strong {
    font-size: 13px;
    line-height: 1.1;
}

.instagram-follow small {
    font-size: 12px;
    line-height: 1.1;
    opacity: 0.82;
}

@media (max-width: 576px) {
    .instagram-follow {
        left: 16px;
        bottom: 16px;
        max-width: calc(100vw - 32px);
    }

    .instagram-follow a {
        box-sizing: border-box;
    }
}
