.main-container {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.hero-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-note {
    font-size: 26px;
    color: var(--yellow);
    transform: rotate(4deg);
}

.hero-word {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
}

.hero-blur {
    filter: blur(7px);
    user-select: none;
}

.hero-rules {
    margin: 0;
    padding: 0 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
    line-height: 1.35;
    opacity: .92;
}

.play-btn {
    margin-top: auto;
}

.footnote {
    text-align: center;
}

/* Модалка входа */
.modal-content {
    gap: 20px;
}

.close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 3;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    color: inherit;
    font: inherit;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    background: rgba(255, 255, 255, .15);
}

.close:hover {
    background: rgba(255, 255, 255, .28);
}

.auth-tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    border-radius: 16px;
    background: rgba(30, 26, 58, .35);
}

.tab-link {
    flex: 1;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, .75);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.tab-link.active {
    background: var(--yellow);
    color: var(--ink);
}

.tab-content {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.tab-content.active {
    display: flex;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#login .field,
#register .field {
    gap: 10px;
}

#login .line-input,
#register .line-input {
    padding: 10px 8px 12px 14px;
}

.submit-btn {
    margin-top: 6px;
}

.external-logins {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.external-logins[hidden] {
    display: none;
}

.oauth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    font-weight: 500;
}

.oauth-divider::before,
.oauth-divider::after {
    content: "";
    height: 2px;
    flex: 1;
    background: rgba(255, 255, 255, .28);
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
    transition: transform .08s, box-shadow .08s;
}

.oauth-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}

.oauth-btn--yandex,
.oauth-btn--yandex:visited,
.oauth-btn--yandex:hover {
    background: var(--white);
    color: var(--ink);
}

.oauth-btn--vk,
.oauth-btn--vk:visited,
.oauth-btn--vk:hover {
    background: #0077FF;
    color: #fff;
}

.oauth-mark {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

.oauth-btn--yandex .oauth-mark {
    background: #FC3F1D;
    color: var(--white);
    font-size: 15px;
}

.oauth-btn--vk .oauth-mark {
    background: #fff;
    color: #0077FF;
    font-size: 11px;
}
